mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 12:00:03 +02:00
use minify
This commit is contained in:
10
node_modules/acorn-globals/index.js
generated
vendored
10
node_modules/acorn-globals/index.js
generated
vendored
@@ -61,7 +61,7 @@ function findGlobals(source, options) {
|
||||
break;
|
||||
case 'ObjectPattern':
|
||||
node.properties.forEach(function (node) {
|
||||
declarePattern(node.value, parent);
|
||||
declarePattern(node.value || node.argument, parent);
|
||||
});
|
||||
break;
|
||||
case 'ArrayPattern':
|
||||
@@ -105,7 +105,9 @@ function findGlobals(source, options) {
|
||||
}
|
||||
}
|
||||
parent.locals = parent.locals || {};
|
||||
parent.locals[node.id.name] = true;
|
||||
if (node.id) {
|
||||
parent.locals[node.id.name] = true;
|
||||
}
|
||||
declareFunction(node);
|
||||
},
|
||||
'Function': declareFunction,
|
||||
@@ -117,7 +119,9 @@ function findGlobals(source, options) {
|
||||
}
|
||||
}
|
||||
parent.locals = parent.locals || {};
|
||||
parent.locals[node.id.name] = true;
|
||||
if (node.id) {
|
||||
parent.locals[node.id.name] = true;
|
||||
}
|
||||
},
|
||||
'TryStatement': function (node) {
|
||||
if (node.handler === null) return;
|
||||
|
12
node_modules/acorn-globals/package.json
generated
vendored
12
node_modules/acorn-globals/package.json
generated
vendored
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"_from": "acorn-globals@^4.3.0",
|
||||
"_id": "acorn-globals@4.3.0",
|
||||
"_id": "acorn-globals@4.3.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-hMtHj3s5RnuhvHPowpBYvJVj3rAar82JiDQHvGs1zO0l10ocX/xEdBShNHTJaboucJUsScghp74pH3s7EnHHQw==",
|
||||
"_integrity": "sha512-gJSiKY8dBIjV/0jagZIFBdVMtfQyA5QHCvAT48H2q8REQoW8Fs5AOjqBql1LgSXgrMWdevcE+8cdZ33NtVbIBA==",
|
||||
"_location": "/acorn-globals",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -18,10 +18,10 @@
|
||||
"_requiredBy": [
|
||||
"/jsdom"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.0.tgz",
|
||||
"_shasum": "e3b6f8da3c1552a95ae627571f7dd6923bb54103",
|
||||
"_resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.1.tgz",
|
||||
"_shasum": "deb149c59276657ebd40ba2ba849ddd529763ccf",
|
||||
"_spec": "acorn-globals@^4.3.0",
|
||||
"_where": "E:\\projects\\p\\minifyfromhtml\\node_modules\\jsdom",
|
||||
"_where": "F:\\projects\\p\\minifyfromhtml\\node_modules\\jsdom",
|
||||
"author": {
|
||||
"name": "ForbesLindesay"
|
||||
},
|
||||
@@ -62,5 +62,5 @@
|
||||
"scripts": {
|
||||
"test": "node test"
|
||||
},
|
||||
"version": "4.3.0"
|
||||
"version": "4.3.1"
|
||||
}
|
||||
|
Reference in New Issue
Block a user