Skip to content

Commit 0ab81bb

Browse files
author
cloudinary-bot
committed
Version 1.8.0
1 parent 18f37ec commit 0ab81bb

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
1.8.0 / 2022-05-08
2+
==================
3+
4+
New functionality
5+
-----------------
6+
* Add conditional Action from/to Json (#524)
7+
8+
Other changes
9+
-----------------
10+
* Enable the e_tint syntax (#526)
11+
* fix antiremoval from to json (#525)
12+
13+
114
1.7.0 / 2022-03-13
215
==================
316

__DOCS__/JSDocTemplate/template/static/js/prism.js

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,8 +1623,24 @@ Prism.languages.javascript['class-name'][0].pattern = /(\b(?:class|extends|imple
16231623

16241624
Prism.languages.insertBefore('javascript', 'keyword', {
16251625
'regex': {
1626-
// eslint-disable-next-line regexp/no-dupe-characters-character-class
1627-
pattern: /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,
1626+
pattern: RegExp(
1627+
// lookbehind
1628+
// eslint-disable-next-line regexp/no-dupe-characters-character-class
1629+
/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source +
1630+
// Regex pattern:
1631+
// There are 2 regex patterns here. The RegExp set notation proposal added support for nested character
1632+
// classes if the `v` flag is present. Unfortunately, nested CCs are both context-free and incompatible
1633+
// with the only syntax, so we have to define 2 different regex patterns.
1634+
/\//.source +
1635+
'(?:' +
1636+
/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source +
1637+
'|' +
1638+
// `v` flag syntax. This supports 3 levels of nested character classes.
1639+
/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source +
1640+
')' +
1641+
// lookahead
1642+
/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source
1643+
),
16281644
lookbehind: true,
16291645
greedy: true,
16301646
inside: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudinary/url-gen",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
44
"description": "",
55
"scripts": {
66
"test": "npm run test:types && npm run build && jest --coverage --reporters default && npm run test:size",

0 commit comments

Comments
 (0)