Skip to content

Commit

Permalink
Version 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudinary-bot committed Mar 13, 2022
1 parent 9646b52 commit 8612e37
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
1.7.0 / 2022-03-13
==================

New Functionality
-----------------
* Add textFit (#523)
* Enable overlay and underlay for snippets (#522)
* Add videoCodec to/fromJson (#521)
* Add string type to compass gravity (#516)

Other Changes
---------------
* Update travis.yml to run tests on node 12 & node 14 (#514)
* Fix makeTransparent (#518)

1.6.0 / 2022-02-13
==================

Expand Down
3 changes: 3 additions & 0 deletions __DOCS__/JSDocTemplate/template/static/js/prism.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,9 @@ var Prism = (function (_self) {
language: language
};
_.hooks.run('before-tokenize', env);
if (!env.grammar) {
throw new Error('The language "' + env.language + '" has no grammar.');
}
env.tokens = _.tokenize(env.code, env.grammar);
_.hooks.run('after-tokenize', env);
return Token.stringify(_.util.encode(env.tokens), env.language);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudinary/url-gen",
"version": "1.6.0",
"version": "1.7.0",
"description": "",
"scripts": {
"test": "npm run test:types && npm run build && jest --coverage --reporters default && npm run test:size",
Expand Down

0 comments on commit 8612e37

Please sign in to comment.