use directories for structure
This commit is contained in:
11
node_modules/try-catch/ChangeLog
generated
vendored
11
node_modules/try-catch/ChangeLog
generated
vendored
@@ -1,3 +1,14 @@
|
||||
2020.02.24, v3.0.0
|
||||
|
||||
feature:
|
||||
- (try-catch) drop support of node < 6
|
||||
- (package) madrun v5.4.2
|
||||
- (package) eslint-plugin-putout v3.2.1
|
||||
- (package) putout v7.13.1
|
||||
- (package) eslint-plugin-node v11.0.0
|
||||
- (package) nyc v15.0.0
|
||||
|
||||
|
||||
2019.09.12, v2.0.1
|
||||
|
||||
feature:
|
||||
|
6
node_modules/try-catch/lib/try-catch.js
generated
vendored
6
node_modules/try-catch/lib/try-catch.js
generated
vendored
@@ -1,10 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function tryCatch(fn) {
|
||||
var args = [].slice.call(arguments, 1);
|
||||
|
||||
module.exports = (fn, ...args) => {
|
||||
try {
|
||||
return [null, fn.apply(null, args)];
|
||||
return [null, fn(...args)];
|
||||
} catch(e) {
|
||||
return [e];
|
||||
}
|
||||
|
34
node_modules/try-catch/package.json
generated
vendored
34
node_modules/try-catch/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_from": "try-catch@^2.0.0",
|
||||
"_id": "try-catch@2.0.1",
|
||||
"_from": "try-catch@^3.0.0",
|
||||
"_id": "try-catch@3.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-LsOrmObN/2WdM+y2xG+t16vhYrQsnV8wftXIcIOWZhQcBJvKGYuamJGwnU98A7Jxs2oZNkJztXlphEOoA0DWqg==",
|
||||
"_integrity": "sha512-3uAqUnoemzca1ENvZ72EVimR+E8lqBbzwZ9v4CEbLjkaV3Q+FtdmPUt7jRtoSoTiYjyIMxEkf6YgUpe/voJ1ng==",
|
||||
"_location": "/try-catch",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "try-catch@^2.0.0",
|
||||
"raw": "try-catch@^3.0.0",
|
||||
"name": "try-catch",
|
||||
"escapedName": "try-catch",
|
||||
"rawSpec": "^2.0.0",
|
||||
"rawSpec": "^3.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
"fetchSpec": "^3.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/minify"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/try-catch/-/try-catch-2.0.1.tgz",
|
||||
"_shasum": "a35d354187c422f291a0bcfd9eb77e3a4f90c1e5",
|
||||
"_spec": "try-catch@^2.0.0",
|
||||
"_where": "/home/s2/Code/vanillajs-seed/node_modules/minify",
|
||||
"_resolved": "https://registry.npmjs.org/try-catch/-/try-catch-3.0.0.tgz",
|
||||
"_shasum": "7996d8b89895e2e8ae62cbdbeb4fe17470f8131b",
|
||||
"_spec": "try-catch@^3.0.0",
|
||||
"_where": "D:\\Projects\\siag\\vanillajs-seed\\node_modules\\minify",
|
||||
"author": {
|
||||
"name": "coderaiser",
|
||||
"email": "mnemonic.enemy@gmail.com",
|
||||
@@ -37,15 +37,15 @@
|
||||
"devDependencies": {
|
||||
"coveralls": "^3.0.0",
|
||||
"eslint": "^6.3.0",
|
||||
"eslint-plugin-node": "^10.0.0",
|
||||
"eslint-plugin-putout": "^2.0.0",
|
||||
"madrun": "^3.0.3",
|
||||
"nyc": "^14.1.1",
|
||||
"putout": "^5.27.0",
|
||||
"eslint-plugin-node": "^11.0.0",
|
||||
"eslint-plugin-putout": "^3.2.1",
|
||||
"madrun": "^5.4.2",
|
||||
"nyc": "^15.0.0",
|
||||
"putout": "^7.13.1",
|
||||
"supertape": "^1.2.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.4"
|
||||
"node": ">=6"
|
||||
},
|
||||
"homepage": "http://github.com/coderaiser/try-catch",
|
||||
"license": "MIT",
|
||||
@@ -62,5 +62,5 @@
|
||||
"report": "madrun report",
|
||||
"test": "madrun test"
|
||||
},
|
||||
"version": "2.0.1"
|
||||
"version": "3.0.0"
|
||||
}
|
||||
|
Reference in New Issue
Block a user