mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
use minify
This commit is contained in:
24
node_modules/try-catch/ChangeLog
generated
vendored
Normal file
24
node_modules/try-catch/ChangeLog
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
2018.02.08, v2.0.0
|
||||
|
||||
feature:
|
||||
- (try-catch) changed the way arguments returned
|
||||
|
||||
|
||||
2014.11.24, v1.0.2
|
||||
|
||||
feature:
|
||||
- (trammel) rm util-io
|
||||
- (size) rm exec
|
||||
|
||||
|
||||
2014.11.20, v1.0.1
|
||||
|
||||
feature:
|
||||
- (trammel) util-io v1.6.3
|
||||
|
||||
|
||||
2014.11.19, v1.0.0
|
||||
|
||||
feature:
|
||||
- (size) trammel.get -> trammel
|
||||
|
21
node_modules/try-catch/LICENSE
generated
vendored
Normal file
21
node_modules/try-catch/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2018 coderaiser
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
20
node_modules/try-catch/README.md
generated
vendored
Normal file
20
node_modules/try-catch/README.md
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# TryCatch
|
||||
|
||||
`Try-catch` wrapper.
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
const tryCatch = require('tryCatch');
|
||||
const {parse} = JSON;
|
||||
const [error, result] = tryCatch(parse, 'hello');
|
||||
|
||||
if (error)
|
||||
console.error(error.message);
|
||||
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
12
node_modules/try-catch/lib/try-catch.js
generated
vendored
Normal file
12
node_modules/try-catch/lib/try-catch.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function tryCatch(fn) {
|
||||
var args = [].slice.call(arguments, 1);
|
||||
|
||||
try {
|
||||
return [null, fn.apply(null, args)];
|
||||
} catch(e) {
|
||||
return [e];
|
||||
}
|
||||
};
|
||||
|
61
node_modules/try-catch/package.json
generated
vendored
Normal file
61
node_modules/try-catch/package.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"_from": "try-catch@^2.0.0",
|
||||
"_id": "try-catch@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-RPXpVjsbtWgymwGq5F/OWDFsjEzdvzwHFaMjWWW6f/p6+uk/N7YSKJHQfIfGqITfj8qH4cBqCLMnhKZBaKk7Kg==",
|
||||
"_location": "/try-catch",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "try-catch@^2.0.0",
|
||||
"name": "try-catch",
|
||||
"escapedName": "try-catch",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/minify"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/try-catch/-/try-catch-2.0.0.tgz",
|
||||
"_shasum": "a491141d597f8b72b46757fe1c47059341a16aed",
|
||||
"_spec": "try-catch@^2.0.0",
|
||||
"_where": "F:\\projects\\p\\minifyfromhtml\\node_modules\\minify",
|
||||
"author": {
|
||||
"name": "coderaiser",
|
||||
"email": "mnemonic.enemy@gmail.com",
|
||||
"url": "https://github.com/coderaiser"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/coderaiser/try-catch/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "try-catch wrapper",
|
||||
"devDependencies": {
|
||||
"coveralls": "^3.0.0",
|
||||
"eslint": "^4.17.0",
|
||||
"nyc": "^11.4.1",
|
||||
"tape": "^4.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.4"
|
||||
},
|
||||
"homepage": "http://github.com/coderaiser/try-catch",
|
||||
"license": "MIT",
|
||||
"main": "lib/try-catch.js",
|
||||
"name": "try-catch",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/coderaiser/try-catch.git"
|
||||
},
|
||||
"scripts": {
|
||||
"coverage": "nyc npm test",
|
||||
"lint": "eslint lib test",
|
||||
"report": "nyc report --reporter=text-lcov | coveralls",
|
||||
"test": "tape 'test/*.js'"
|
||||
},
|
||||
"version": "2.0.0"
|
||||
}
|
Reference in New Issue
Block a user