File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
__DOCS__/JSDocTemplate/template/static/js Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
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
+
1
16
1.6.0 / 2022-02-13
2
17
==================
3
18
Original file line number Diff line number Diff line change @@ -664,6 +664,9 @@ var Prism = (function (_self) {
664
664
language : language
665
665
} ;
666
666
_ . hooks . run ( 'before-tokenize' , env ) ;
667
+ if ( ! env . grammar ) {
668
+ throw new Error ( 'The language "' + env . language + '" has no grammar.' ) ;
669
+ }
667
670
env . tokens = _ . tokenize ( env . code , env . grammar ) ;
668
671
_ . hooks . run ( 'after-tokenize' , env ) ;
669
672
return Token . stringify ( _ . util . encode ( env . tokens ) , env . language ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @cloudinary/url-gen" ,
3
- "version" : " 1.6 .0" ,
3
+ "version" : " 1.7 .0" ,
4
4
"description" : " " ,
5
5
"scripts" : {
6
6
"test" : " npm run test:types && npm run build && jest --coverage --reporters default && npm run test:size" ,
You can’t perform that action at this time.
0 commit comments