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+
1161.6.0 / 2022-02-13
217==================
318
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments