@yushijinhun/three-minifier-common
Advanced tools
Comparing version 0.3.0-alpha.0 to 0.3.0
@@ -10,3 +10,3 @@ const { minifyGLSL } = require("./glsl-minifier"); | ||
function minifyJavascript(/**@type {string}*/code, /**@type {string}*/file) { | ||
const ast = astParser.parse(code, { sourceType: "module", ecmaVersion: 2020 }); | ||
const ast = astParser.parse(code, { sourceType: "module", ecmaVersion: "latest" }); | ||
@@ -13,0 +13,0 @@ /**@type {{start:number,end:number,replacement:string}[]}*/ |
{ | ||
"name": "@yushijinhun/three-minifier-common", | ||
"description": "util package for three-minifier", | ||
"version": "0.3.0-alpha.0", | ||
"version": "0.3.0", | ||
"author": "Haowei Wen <yushijinhun@gmail.com> (https://github.com/yushijinhun)", | ||
@@ -24,4 +24,4 @@ "homepage": "https://github.com/yushijinhun/three-minifier#readme", | ||
"dependencies": { | ||
"acorn": "^8.0.5", | ||
"acorn-walk": "^8.0.2", | ||
"acorn": "^8.4.1", | ||
"acorn-walk": "^8.1.0", | ||
"glsl-tokenizer": "^2.1.5" | ||
@@ -32,3 +32,3 @@ }, | ||
}, | ||
"gitHead": "3c8e530a703e03aa6470cbe92c8893de01152a7c" | ||
"gitHead": "6051fa70be0af7382ccbf4438116b43006be3d3a" | ||
} |
24697
Updatedacorn@^8.4.1
Updatedacorn-walk@^8.1.0