mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 12:00:03 +02:00
use terser and clean-css directly
create a sourcemap as well by default
This commit is contained in:
17
node_modules/esutils/README.md
generated
vendored
17
node_modules/esutils/README.md
generated
vendored
@@ -98,8 +98,8 @@ respectively. If the `strict` flag is truthy, this function additionally checks
|
||||
|
||||
Returns `true` if provided identifier string is a Keyword or Future Reserved Word
|
||||
in ECMA262 edition 6. They are formally defined in ECMA262 sections
|
||||
[11.6.2.1](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-keywords) and
|
||||
[11.6.2.2](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-future-reserved-words),
|
||||
[11.6.2.1](http://ecma-international.org/ecma-262/6.0/#sec-keywords) and
|
||||
[11.6.2.2](http://ecma-international.org/ecma-262/6.0/#sec-future-reserved-words),
|
||||
respectively. If the `strict` flag is truthy, this function additionally checks whether
|
||||
`id` is a Keyword or Future Reserved Word under strict mode.
|
||||
|
||||
@@ -113,7 +113,7 @@ is a Reserved Word under strict mode.
|
||||
#### keyword.isReservedWordES6(id, strict)
|
||||
|
||||
Returns `true` if provided identifier string is a Reserved Word in ECMA262 edition 6.
|
||||
They are formally defined in ECMA262 section [11.6.2](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-reserved-words).
|
||||
They are formally defined in ECMA262 section [11.6.2](http://ecma-international.org/ecma-262/6.0/#sec-reserved-words).
|
||||
If the `strict` flag is truthy, this function additionally checks whether `id`
|
||||
is a Reserved Word under strict mode.
|
||||
|
||||
@@ -121,13 +121,18 @@ is a Reserved Word under strict mode.
|
||||
|
||||
Returns `true` if provided identifier string is one of `eval` or `arguments`.
|
||||
They are restricted in strict mode code throughout ECMA262 edition 5.1 and
|
||||
in ECMA262 edition 6 section [12.1.1](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-identifiers-static-semantics-early-errors).
|
||||
in ECMA262 edition 6 section [12.1.1](http://ecma-international.org/ecma-262/6.0/#sec-identifiers-static-semantics-early-errors).
|
||||
|
||||
#### keyword.isIdentifierName(id)
|
||||
#### keyword.isIdentifierNameES5(id)
|
||||
|
||||
Return true if provided identifier string is an IdentifierName as specified in
|
||||
ECMA262 edition 5.1 section [7.6](https://es5.github.io/#x7.6).
|
||||
|
||||
#### keyword.isIdentifierNameES6(id)
|
||||
|
||||
Return true if provided identifier string is an IdentifierName as specified in
|
||||
ECMA262 edition 6 section [11.6](http://ecma-international.org/ecma-262/6.0/#sec-names-and-keywords).
|
||||
|
||||
#### keyword.isIdentifierES5(id, strict)
|
||||
|
||||
Return true if provided identifier string is an Identifier as specified in
|
||||
@@ -138,7 +143,7 @@ under strict mode.
|
||||
#### keyword.isIdentifierES6(id, strict)
|
||||
|
||||
Return true if provided identifier string is an Identifier as specified in
|
||||
ECMA262 edition 6 section [12.1](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-identifiers).
|
||||
ECMA262 edition 6 section [12.1](http://ecma-international.org/ecma-262/6.0/#sec-identifiers).
|
||||
If the `strict` flag is truthy, this function additionally checks whether `id`
|
||||
is an Identifier under strict mode.
|
||||
|
||||
|
18
node_modules/esutils/lib/code.js
generated
vendored
18
node_modules/esutils/lib/code.js
generated
vendored
File diff suppressed because one or more lines are too long
21
node_modules/esutils/package.json
generated
vendored
21
node_modules/esutils/package.json
generated
vendored
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"_from": "esutils@^2.0.2",
|
||||
"_id": "esutils@2.0.2",
|
||||
"_id": "esutils@2.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",
|
||||
"_integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
|
||||
"_location": "/esutils",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -18,8 +18,8 @@
|
||||
"_requiredBy": [
|
||||
"/escodegen"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
|
||||
"_shasum": "0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b",
|
||||
"_resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
|
||||
"_shasum": "74d2eb4de0b8da1293711910d50775b9b710ef64",
|
||||
"_spec": "esutils@^2.0.2",
|
||||
"_where": "F:\\projects\\p\\minifyfromhtml\\node_modules\\escodegen",
|
||||
"bugs": {
|
||||
@@ -33,8 +33,8 @@
|
||||
"coffee-script": "~1.6.3",
|
||||
"jshint": "2.6.3",
|
||||
"mocha": "~2.2.1",
|
||||
"regenerate": "~1.2.1",
|
||||
"unicode-7.0.0": "^0.1.5"
|
||||
"regenerate": "~1.3.1",
|
||||
"unicode-9.0.0": "~0.7.0"
|
||||
},
|
||||
"directories": {
|
||||
"lib": "./lib"
|
||||
@@ -48,12 +48,7 @@
|
||||
"lib"
|
||||
],
|
||||
"homepage": "https://github.com/estools/esutils",
|
||||
"licenses": [
|
||||
{
|
||||
"type": "BSD",
|
||||
"url": "http://github.com/estools/esutils/raw/master/LICENSE.BSD"
|
||||
}
|
||||
],
|
||||
"license": "BSD-2-Clause",
|
||||
"main": "lib/utils.js",
|
||||
"maintainers": [
|
||||
{
|
||||
@@ -73,5 +68,5 @@
|
||||
"test": "npm run-script lint && npm run-script unit-test",
|
||||
"unit-test": "mocha --compilers coffee:coffee-script -R spec"
|
||||
},
|
||||
"version": "2.0.2"
|
||||
"version": "2.0.3"
|
||||
}
|
||||
|
Reference in New Issue
Block a user