Skip to content

Commit 8612e37

Browse files
author
cloudinary-bot
committed
Version 1.7.0
1 parent 9646b52 commit 8612e37

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
1.7.0 / 2022-03-13
2+
==================
3+
4+
New Functionality
5+
-----------------
6+
* Add textFit (#523)
7+
* Enable overlay and underlay for snippets (#522)
8+
* Add videoCodec to/fromJson (#521)
9+
* Add string type to compass gravity (#516)
10+
11+
Other Changes
12+
---------------
13+
* Update travis.yml to run tests on node 12 & node 14 (#514)
14+
* Fix makeTransparent (#518)
15+
116
1.6.0 / 2022-02-13
217
==================
318

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ var Prism = (function (_self) {
664664
language: language
665665
};
666666
_.hooks.run('before-tokenize', env);
667+
if (!env.grammar) {
668+
throw new Error('The language "' + env.language + '" has no grammar.');
669+
}
667670
env.tokens = _.tokenize(env.code, env.grammar);
668671
_.hooks.run('after-tokenize', env);
669672
return Token.stringify(_.util.encode(env.tokens), env.language);

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.6.0",
3+
"version": "1.7.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)