1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 12:00:03 +02:00

use minify

This commit is contained in:
s2
2019-04-15 10:35:12 +02:00
parent 9528e1e8e1
commit 86e1333c3e
9417 changed files with 70210 additions and 462173 deletions

10
node_modules/acorn-globals/index.js generated vendored
View File

@@ -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;

View File

@@ -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"
}