node-red-contrib-web-worldmap 4.6.1 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/README.md +6 -3
- package/node_modules/body-parser/HISTORY.md +8 -0
- package/node_modules/body-parser/README.md +11 -10
- package/node_modules/body-parser/lib/types/json.js +15 -4
- package/node_modules/body-parser/package.json +8 -8
- package/node_modules/call-bind/.eslintrc +0 -1
- package/node_modules/call-bind/.nycrc +0 -4
- package/node_modules/call-bind/CHANGELOG.md +51 -0
- package/node_modules/call-bind/README.md +63 -1
- package/node_modules/call-bind/index.js +11 -23
- package/node_modules/call-bind/package.json +38 -23
- package/node_modules/call-bind/test/callBound.js +0 -1
- package/node_modules/call-bind/test/index.js +18 -4
- package/node_modules/content-type/HISTORY.md +5 -0
- package/node_modules/content-type/README.md +21 -19
- package/node_modules/content-type/index.js +12 -9
- package/node_modules/content-type/package.json +13 -11
- package/node_modules/define-data-property/.eslintrc +24 -0
- package/node_modules/define-data-property/.github/FUNDING.yml +12 -0
- package/node_modules/define-data-property/.nycrc +13 -0
- package/node_modules/define-data-property/CHANGELOG.md +70 -0
- package/node_modules/define-data-property/LICENSE +21 -0
- package/node_modules/define-data-property/README.md +67 -0
- package/node_modules/define-data-property/index.d.ts +12 -0
- package/node_modules/define-data-property/index.js +56 -0
- package/node_modules/define-data-property/package.json +106 -0
- package/node_modules/define-data-property/test/index.js +392 -0
- package/node_modules/define-data-property/tsconfig.json +59 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +15 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +16 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +55 -0
- package/node_modules/es-define-property/tsconfig.json +50 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/express/History.md +14 -5
- package/node_modules/express/Readme.md +1 -1
- package/node_modules/express/lib/router/index.js +1 -1
- package/node_modules/express/lib/router/route.js +7 -2
- package/node_modules/express/lib/utils.js +3 -4
- package/node_modules/express/package.json +5 -6
- package/node_modules/function-bind/.eslintrc +11 -5
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/README.md +25 -27
- package/node_modules/function-bind/implementation.js +44 -12
- package/node_modules/function-bind/package.json +38 -14
- package/node_modules/get-intrinsic/.eslintrc +1 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +45 -0
- package/node_modules/get-intrinsic/index.js +41 -16
- package/node_modules/get-intrinsic/package.json +20 -18
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +1 -1
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +25 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/index.js +16 -0
- package/node_modules/gopd/package.json +71 -0
- package/node_modules/gopd/test/index.js +35 -0
- package/node_modules/has-property-descriptors/.eslintrc +13 -0
- package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
- package/node_modules/has-property-descriptors/.nycrc +9 -0
- package/node_modules/has-property-descriptors/CHANGELOG.md +35 -0
- package/node_modules/has-property-descriptors/LICENSE +21 -0
- package/node_modules/has-property-descriptors/README.md +43 -0
- package/node_modules/has-property-descriptors/index.js +22 -0
- package/node_modules/has-property-descriptors/package.json +77 -0
- package/node_modules/has-property-descriptors/test/index.js +57 -0
- package/node_modules/has-proto/.eslintrc +5 -0
- package/node_modules/has-proto/.github/FUNDING.yml +12 -0
- package/node_modules/has-proto/CHANGELOG.md +38 -0
- package/node_modules/has-proto/LICENSE +21 -0
- package/node_modules/has-proto/README.md +38 -0
- package/node_modules/has-proto/index.d.ts +3 -0
- package/node_modules/has-proto/index.js +15 -0
- package/node_modules/has-proto/package.json +78 -0
- package/node_modules/has-proto/test/index.js +19 -0
- package/node_modules/has-proto/tsconfig.json +49 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +28 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +89 -0
- package/node_modules/hasown/tsconfig.json +49 -0
- package/node_modules/http-parser-js/README.md +43 -0
- package/node_modules/http-parser-js/http-parser.d.ts +175 -0
- package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/http-parser.js +12 -7
- package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/package.json +4 -2
- package/node_modules/object-inspect/CHANGELOG.md +29 -0
- package/node_modules/object-inspect/index.js +18 -6
- package/node_modules/object-inspect/package.json +13 -8
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/raw-body/HISTORY.md +5 -0
- package/node_modules/raw-body/README.md +1 -1
- package/node_modules/raw-body/index.js +7 -0
- package/node_modules/raw-body/package.json +7 -7
- package/node_modules/set-function-length/.eslintrc +27 -0
- package/node_modules/set-function-length/.github/FUNDING.yml +12 -0
- package/node_modules/set-function-length/.nycrc +13 -0
- package/node_modules/set-function-length/CHANGELOG.md +59 -0
- package/node_modules/set-function-length/LICENSE +21 -0
- package/node_modules/set-function-length/README.md +56 -0
- package/node_modules/set-function-length/env.d.ts +6 -0
- package/node_modules/set-function-length/env.d.ts.map +1 -0
- package/node_modules/set-function-length/env.js +24 -0
- package/node_modules/set-function-length/index.d.ts +7 -0
- package/node_modules/set-function-length/index.d.ts.map +1 -0
- package/node_modules/set-function-length/index.js +44 -0
- package/node_modules/set-function-length/package.json +104 -0
- package/node_modules/set-function-length/tsconfig.json +59 -0
- package/node_modules/{function-bind → side-channel}/.editorconfig +3 -14
- package/node_modules/side-channel/.eslintrc +1 -1
- package/node_modules/side-channel/CHANGELOG.md +30 -0
- package/node_modules/side-channel/index.d.ts +27 -0
- package/node_modules/side-channel/index.js +25 -20
- package/node_modules/side-channel/package.json +36 -19
- package/node_modules/side-channel/test/index.js +6 -1
- package/node_modules/side-channel/tsconfig.json +50 -0
- package/package.json +1 -1
- package/worldmap/index.html +2 -2
- package/worldmap/worldmap.js +4 -2
- package/worldmap.js +2 -2
- package/node_modules/function-bind/.jscs.json +0 -176
- package/node_modules/function-bind/.npmignore +0 -22
- package/node_modules/function-bind/.travis.yml +0 -168
- package/node_modules/has/LICENSE-MIT +0 -22
- package/node_modules/has/README.md +0 -18
- package/node_modules/has/package.json +0 -48
- package/node_modules/has/src/index.js +0 -5
- package/node_modules/has/test/index.js +0 -10
- package/node_modules/side-channel/.eslintignore +0 -1
- package/node_modules/websocket-driver/node_modules/http-parser-js/CHANGELOG.md +0 -14
- package/node_modules/websocket-driver/node_modules/http-parser-js/README.md +0 -31
- /package/node_modules/{compression/node_modules/bytes → bytes}/History.md +0 -0
- /package/node_modules/{compression/node_modules/bytes → bytes}/LICENSE +0 -0
- /package/node_modules/{compression/node_modules/bytes → bytes}/Readme.md +0 -0
- /package/node_modules/{compression/node_modules/bytes → bytes}/index.js +0 -0
- /package/node_modules/{compression/node_modules/bytes → bytes}/package.json +0 -0
- /package/node_modules/{websocket-driver/node_modules/http-parser-js → http-parser-js}/LICENSE.md +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "side-channel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Store information about any JS value in a side channel. Uses WeakMap if available.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./package.json": "./package.json",
|
|
8
|
-
".":
|
|
9
|
-
{
|
|
10
|
-
"default": "./index.js"
|
|
11
|
-
},
|
|
12
|
-
"./index.js"
|
|
13
|
-
]
|
|
8
|
+
".": "./index.js"
|
|
14
9
|
},
|
|
10
|
+
"types": "./index.d.ts",
|
|
15
11
|
"scripts": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
12
|
+
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
13
|
+
"prepublishOnly": "safe-publish-latest",
|
|
14
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
15
|
+
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
|
|
16
|
+
"lint": "eslint --ext=js,mjs .",
|
|
17
|
+
"postlint": "tsc -p .",
|
|
18
18
|
"pretest": "npm run lint",
|
|
19
19
|
"tests-only": "nyc tape 'test/**/*.js'",
|
|
20
20
|
"test": "npm run tests-only",
|
|
21
|
-
"posttest": "
|
|
21
|
+
"posttest": "aud --production",
|
|
22
22
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
23
23
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
24
24
|
},
|
|
@@ -43,18 +43,27 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/ljharb/side-channel#readme",
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ljharb/eslint-config": "^
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
46
|
+
"@ljharb/eslint-config": "^21.1.0",
|
|
47
|
+
"@types/call-bind": "^1.0.5",
|
|
48
|
+
"@types/get-intrinsic": "^1.2.2",
|
|
49
|
+
"@types/object-inspect": "^1.8.4",
|
|
50
|
+
"@types/tape": "^5.6.4",
|
|
51
|
+
"aud": "^2.0.4",
|
|
52
|
+
"auto-changelog": "^2.4.0",
|
|
53
|
+
"eclint": "^2.8.1",
|
|
54
|
+
"eslint": "=8.8.0",
|
|
55
|
+
"in-publish": "^2.0.1",
|
|
56
|
+
"npmignore": "^0.3.1",
|
|
50
57
|
"nyc": "^10.3.2",
|
|
51
|
-
"safe-publish-latest": "^
|
|
52
|
-
"tape": "^5.
|
|
58
|
+
"safe-publish-latest": "^2.0.0",
|
|
59
|
+
"tape": "^5.7.5",
|
|
60
|
+
"typescript": "next"
|
|
53
61
|
},
|
|
54
62
|
"dependencies": {
|
|
55
|
-
"call-bind": "^1.0.
|
|
56
|
-
"
|
|
57
|
-
"
|
|
63
|
+
"call-bind": "^1.0.7",
|
|
64
|
+
"es-errors": "^1.3.0",
|
|
65
|
+
"get-intrinsic": "^1.2.4",
|
|
66
|
+
"object-inspect": "^1.13.1"
|
|
58
67
|
},
|
|
59
68
|
"auto-changelog": {
|
|
60
69
|
"output": "CHANGELOG.md",
|
|
@@ -63,5 +72,13 @@
|
|
|
63
72
|
"commitLimit": false,
|
|
64
73
|
"backfillLimit": false,
|
|
65
74
|
"hideCredit": true
|
|
75
|
+
},
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"ignore": [
|
|
78
|
+
".github/workflows"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">= 0.4"
|
|
66
83
|
}
|
|
67
84
|
}
|
|
@@ -32,13 +32,18 @@ test('assert', function (t) {
|
|
|
32
32
|
|
|
33
33
|
test('has', function (t) {
|
|
34
34
|
var channel = getSideChannel();
|
|
35
|
-
var o = [];
|
|
35
|
+
/** @type {unknown[]} */ var o = [];
|
|
36
36
|
|
|
37
37
|
t.equal(channel.has(o), false, 'nonexistent value yields false');
|
|
38
38
|
|
|
39
39
|
channel.set(o, 'foo');
|
|
40
40
|
t.equal(channel.has(o), true, 'existent value yields true');
|
|
41
41
|
|
|
42
|
+
t.equal(channel.has('abc'), false, 'non object value non existent yields false');
|
|
43
|
+
|
|
44
|
+
channel.set('abc', 'foo');
|
|
45
|
+
t.equal(channel.has('abc'), true, 'non object value that exists yields true');
|
|
46
|
+
|
|
42
47
|
t.end();
|
|
43
48
|
});
|
|
44
49
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
|
4
|
+
|
|
5
|
+
/* Projects */
|
|
6
|
+
|
|
7
|
+
/* Language and Environment */
|
|
8
|
+
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
9
|
+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
10
|
+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
11
|
+
"useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
12
|
+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
13
|
+
|
|
14
|
+
/* Modules */
|
|
15
|
+
"module": "commonjs", /* Specify what module code is generated. */
|
|
16
|
+
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
17
|
+
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
18
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
19
|
+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
20
|
+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
21
|
+
// "typeRoots": ["types"], /* Specify multiple folders that act like `./node_modules/@types`. */
|
|
22
|
+
"resolveJsonModule": true, /* Enable importing .json files. */
|
|
23
|
+
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
|
24
|
+
|
|
25
|
+
/* JavaScript Support */
|
|
26
|
+
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
|
|
27
|
+
"checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
28
|
+
"maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
|
|
29
|
+
|
|
30
|
+
/* Emit */
|
|
31
|
+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
32
|
+
"declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
33
|
+
"noEmit": true, /* Disable emitting files from a compilation. */
|
|
34
|
+
|
|
35
|
+
/* Interop Constraints */
|
|
36
|
+
"allowSyntheticDefaultImports": true, /* Allow `import x from y` when a module doesn't have a default export. */
|
|
37
|
+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
|
|
38
|
+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
39
|
+
|
|
40
|
+
/* Type Checking */
|
|
41
|
+
"strict": true, /* Enable all strict type-checking options. */
|
|
42
|
+
|
|
43
|
+
/* Completeness */
|
|
44
|
+
// "skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
45
|
+
},
|
|
46
|
+
"exclude": [
|
|
47
|
+
"coverage",
|
|
48
|
+
"test/list-exports"
|
|
49
|
+
],
|
|
50
|
+
}
|
package/package.json
CHANGED
package/worldmap/index.html
CHANGED
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
<script src="leaflet/esri-leaflet.js"></script>
|
|
79
79
|
<script src="leaflet/protomaps-leaflet.min.js"></script>
|
|
80
80
|
<script src="leaflet/Semicircle.js"></script>
|
|
81
|
-
<script src=
|
|
82
|
-
<script src=
|
|
81
|
+
<script src="leaflet/leaflet-arc.min.js"></script>
|
|
82
|
+
<script src="leaflet/leaflet.antimeridian-src.js"></script>
|
|
83
83
|
<script src="leaflet/L.TileLayer.PixelFilter.js"></script>
|
|
84
84
|
<script src="leaflet/jszip.min.js"></script>
|
|
85
85
|
<script src="leaflet/dialog-polyfill.js"></script>
|
package/worldmap/worldmap.js
CHANGED
|
@@ -908,8 +908,10 @@ map.on('contextmenu', function(e) {
|
|
|
908
908
|
rclk = e.latlng;
|
|
909
909
|
form = {};
|
|
910
910
|
var ramen = ""+addmenu;
|
|
911
|
-
|
|
912
|
-
|
|
911
|
+
if (typeof rmenudata !== "string") {
|
|
912
|
+
for (const item in rmenudata) {
|
|
913
|
+
ramen = ramen.replace(new RegExp("\\${"+item+"}","g"),rmenudata[item]);
|
|
914
|
+
}
|
|
913
915
|
}
|
|
914
916
|
ramen = ramen.replace(/\${.*?}/g,'')
|
|
915
917
|
rightmenuMap.setContent(ramen);
|
package/worldmap.js
CHANGED
|
@@ -306,7 +306,7 @@ module.exports = function(RED) {
|
|
|
306
306
|
var WorldMapIn = function(n) {
|
|
307
307
|
RED.nodes.createNode(this,n);
|
|
308
308
|
this.path = n.path || "/worldmap";
|
|
309
|
-
this.events = n.events || "connect,disconnect,point,bounds,files,draw,other";
|
|
309
|
+
this.events = n.events || "connect,disconnect,point,layer,bounds,files,draw,other";
|
|
310
310
|
if (this.path.charAt(0) != "/") { this.path = "/" + this.path; }
|
|
311
311
|
if (!sockets[this.path]) {
|
|
312
312
|
var libPath = path.posix.join(RED.settings.httpNodeRoot, this.path, 'leaflet', 'sockjs.min.js');
|
|
@@ -345,7 +345,7 @@ module.exports = function(RED) {
|
|
|
345
345
|
if ((node.events.indexOf("draw")!==-1) && ((message.action === "draw")||(message.action === "drawdelete"))) {
|
|
346
346
|
setImmediate(function() {node.send({payload:message, topic:node.path.substr(1), _sessionid:client.id, _sessionip:sessionip})});
|
|
347
347
|
}
|
|
348
|
-
if (node.events.indexOf("other")!==-1 && "connected,point,delete,move,draw,drawdelete,files,bounds".indexOf(message.action) === -1) {
|
|
348
|
+
if (node.events.indexOf("other")!==-1 && "connected,point,addlayer,dellayer,delete,move,draw,drawdelete,files,bounds".indexOf(message.action) === -1) {
|
|
349
349
|
setImmediate(function() {node.send({payload:message, topic:node.path.substr(1), _sessionid:client.id, _sessionip:sessionip})});
|
|
350
350
|
}
|
|
351
351
|
}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"es3": true,
|
|
3
|
-
|
|
4
|
-
"additionalRules": [],
|
|
5
|
-
|
|
6
|
-
"requireSemicolons": true,
|
|
7
|
-
|
|
8
|
-
"disallowMultipleSpaces": true,
|
|
9
|
-
|
|
10
|
-
"disallowIdentifierNames": [],
|
|
11
|
-
|
|
12
|
-
"requireCurlyBraces": {
|
|
13
|
-
"allExcept": [],
|
|
14
|
-
"keywords": ["if", "else", "for", "while", "do", "try", "catch"]
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
|
|
18
|
-
|
|
19
|
-
"disallowSpaceAfterKeywords": [],
|
|
20
|
-
|
|
21
|
-
"disallowSpaceBeforeComma": true,
|
|
22
|
-
"disallowSpaceAfterComma": false,
|
|
23
|
-
"disallowSpaceBeforeSemicolon": true,
|
|
24
|
-
|
|
25
|
-
"disallowNodeTypes": [
|
|
26
|
-
"DebuggerStatement",
|
|
27
|
-
"ForInStatement",
|
|
28
|
-
"LabeledStatement",
|
|
29
|
-
"SwitchCase",
|
|
30
|
-
"SwitchStatement",
|
|
31
|
-
"WithStatement"
|
|
32
|
-
],
|
|
33
|
-
|
|
34
|
-
"requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },
|
|
35
|
-
|
|
36
|
-
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
|
|
37
|
-
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
38
|
-
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
39
|
-
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
|
40
|
-
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
|
|
41
|
-
|
|
42
|
-
"requireSpaceBetweenArguments": true,
|
|
43
|
-
|
|
44
|
-
"disallowSpacesInsideParentheses": true,
|
|
45
|
-
|
|
46
|
-
"disallowSpacesInsideArrayBrackets": true,
|
|
47
|
-
|
|
48
|
-
"disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },
|
|
49
|
-
|
|
50
|
-
"disallowSpaceAfterObjectKeys": true,
|
|
51
|
-
|
|
52
|
-
"requireCommaBeforeLineBreak": true,
|
|
53
|
-
|
|
54
|
-
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
55
|
-
"requireSpaceAfterPrefixUnaryOperators": [],
|
|
56
|
-
|
|
57
|
-
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
58
|
-
"requireSpaceBeforePostfixUnaryOperators": [],
|
|
59
|
-
|
|
60
|
-
"disallowSpaceBeforeBinaryOperators": [],
|
|
61
|
-
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
62
|
-
|
|
63
|
-
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
64
|
-
"disallowSpaceAfterBinaryOperators": [],
|
|
65
|
-
|
|
66
|
-
"disallowImplicitTypeConversion": ["binary", "string"],
|
|
67
|
-
|
|
68
|
-
"disallowKeywords": ["with", "eval"],
|
|
69
|
-
|
|
70
|
-
"requireKeywordsOnNewLine": [],
|
|
71
|
-
"disallowKeywordsOnNewLine": ["else"],
|
|
72
|
-
|
|
73
|
-
"requireLineFeedAtFileEnd": true,
|
|
74
|
-
|
|
75
|
-
"disallowTrailingWhitespace": true,
|
|
76
|
-
|
|
77
|
-
"disallowTrailingComma": true,
|
|
78
|
-
|
|
79
|
-
"excludeFiles": ["node_modules/**", "vendor/**"],
|
|
80
|
-
|
|
81
|
-
"disallowMultipleLineStrings": true,
|
|
82
|
-
|
|
83
|
-
"requireDotNotation": { "allExcept": ["keywords"] },
|
|
84
|
-
|
|
85
|
-
"requireParenthesesAroundIIFE": true,
|
|
86
|
-
|
|
87
|
-
"validateLineBreaks": "LF",
|
|
88
|
-
|
|
89
|
-
"validateQuoteMarks": {
|
|
90
|
-
"escape": true,
|
|
91
|
-
"mark": "'"
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
"disallowOperatorBeforeLineBreak": [],
|
|
95
|
-
|
|
96
|
-
"requireSpaceBeforeKeywords": [
|
|
97
|
-
"do",
|
|
98
|
-
"for",
|
|
99
|
-
"if",
|
|
100
|
-
"else",
|
|
101
|
-
"switch",
|
|
102
|
-
"case",
|
|
103
|
-
"try",
|
|
104
|
-
"catch",
|
|
105
|
-
"finally",
|
|
106
|
-
"while",
|
|
107
|
-
"with",
|
|
108
|
-
"return"
|
|
109
|
-
],
|
|
110
|
-
|
|
111
|
-
"validateAlignedFunctionParameters": {
|
|
112
|
-
"lineBreakAfterOpeningBraces": true,
|
|
113
|
-
"lineBreakBeforeClosingBraces": true
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
"requirePaddingNewLinesBeforeExport": true,
|
|
117
|
-
|
|
118
|
-
"validateNewlineAfterArrayElements": {
|
|
119
|
-
"maximum": 8
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
"requirePaddingNewLinesAfterUseStrict": true,
|
|
123
|
-
|
|
124
|
-
"disallowArrowFunctions": true,
|
|
125
|
-
|
|
126
|
-
"disallowMultiLineTernary": true,
|
|
127
|
-
|
|
128
|
-
"validateOrderInObjectKeys": "asc-insensitive",
|
|
129
|
-
|
|
130
|
-
"disallowIdenticalDestructuringNames": true,
|
|
131
|
-
|
|
132
|
-
"disallowNestedTernaries": { "maxLevel": 1 },
|
|
133
|
-
|
|
134
|
-
"requireSpaceAfterComma": { "allExcept": ["trailing"] },
|
|
135
|
-
"requireAlignedMultilineParams": false,
|
|
136
|
-
|
|
137
|
-
"requireSpacesInGenerator": {
|
|
138
|
-
"afterStar": true
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
"disallowSpacesInGenerator": {
|
|
142
|
-
"beforeStar": true
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
"disallowVar": false,
|
|
146
|
-
|
|
147
|
-
"requireArrayDestructuring": false,
|
|
148
|
-
|
|
149
|
-
"requireEnhancedObjectLiterals": false,
|
|
150
|
-
|
|
151
|
-
"requireObjectDestructuring": false,
|
|
152
|
-
|
|
153
|
-
"requireEarlyReturn": false,
|
|
154
|
-
|
|
155
|
-
"requireCapitalizedConstructorsNew": {
|
|
156
|
-
"allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"]
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
"requireImportAlphabetized": false,
|
|
160
|
-
|
|
161
|
-
"requireSpaceBeforeObjectValues": true,
|
|
162
|
-
"requireSpaceBeforeDestructuredValues": true,
|
|
163
|
-
|
|
164
|
-
"disallowSpacesInsideTemplateStringPlaceholders": true,
|
|
165
|
-
|
|
166
|
-
"disallowArrayDestructuringReturn": false,
|
|
167
|
-
|
|
168
|
-
"requireNewlineBeforeSingleStatementsInIf": false,
|
|
169
|
-
|
|
170
|
-
"disallowUnusedVariables": true,
|
|
171
|
-
|
|
172
|
-
"requireSpacesInsideImportedObjectBraces": true,
|
|
173
|
-
|
|
174
|
-
"requireUseStrict": true
|
|
175
|
-
}
|
|
176
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# gitignore
|
|
2
|
-
.DS_Store
|
|
3
|
-
.monitor
|
|
4
|
-
.*.swp
|
|
5
|
-
.nodemonignore
|
|
6
|
-
releases
|
|
7
|
-
*.log
|
|
8
|
-
*.err
|
|
9
|
-
fleet.json
|
|
10
|
-
public/browserify
|
|
11
|
-
bin/*.json
|
|
12
|
-
.bin
|
|
13
|
-
build
|
|
14
|
-
compile
|
|
15
|
-
.lock-wscript
|
|
16
|
-
coverage
|
|
17
|
-
node_modules
|
|
18
|
-
|
|
19
|
-
# Only apps should have lockfiles
|
|
20
|
-
npm-shrinkwrap.json
|
|
21
|
-
package-lock.json
|
|
22
|
-
yarn.lock
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
language: node_js
|
|
2
|
-
os:
|
|
3
|
-
- linux
|
|
4
|
-
node_js:
|
|
5
|
-
- "8.4"
|
|
6
|
-
- "7.10"
|
|
7
|
-
- "6.11"
|
|
8
|
-
- "5.12"
|
|
9
|
-
- "4.8"
|
|
10
|
-
- "iojs-v3.3"
|
|
11
|
-
- "iojs-v2.5"
|
|
12
|
-
- "iojs-v1.8"
|
|
13
|
-
- "0.12"
|
|
14
|
-
- "0.10"
|
|
15
|
-
- "0.8"
|
|
16
|
-
before_install:
|
|
17
|
-
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
|
|
18
|
-
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5 ; else npm install -g npm; fi; fi'
|
|
19
|
-
install:
|
|
20
|
-
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
|
|
21
|
-
script:
|
|
22
|
-
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
|
|
23
|
-
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
|
|
24
|
-
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
|
|
25
|
-
- 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
|
|
26
|
-
sudo: false
|
|
27
|
-
env:
|
|
28
|
-
- TEST=true
|
|
29
|
-
matrix:
|
|
30
|
-
fast_finish: true
|
|
31
|
-
include:
|
|
32
|
-
- node_js: "node"
|
|
33
|
-
env: PRETEST=true
|
|
34
|
-
- node_js: "4"
|
|
35
|
-
env: COVERAGE=true
|
|
36
|
-
- node_js: "8.3"
|
|
37
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
38
|
-
- node_js: "8.2"
|
|
39
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
40
|
-
- node_js: "8.1"
|
|
41
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
42
|
-
- node_js: "8.0"
|
|
43
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
44
|
-
- node_js: "7.9"
|
|
45
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
46
|
-
- node_js: "7.8"
|
|
47
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
48
|
-
- node_js: "7.7"
|
|
49
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
50
|
-
- node_js: "7.6"
|
|
51
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
52
|
-
- node_js: "7.5"
|
|
53
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
54
|
-
- node_js: "7.4"
|
|
55
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
56
|
-
- node_js: "7.3"
|
|
57
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
58
|
-
- node_js: "7.2"
|
|
59
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
60
|
-
- node_js: "7.1"
|
|
61
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
62
|
-
- node_js: "7.0"
|
|
63
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
64
|
-
- node_js: "6.10"
|
|
65
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
66
|
-
- node_js: "6.9"
|
|
67
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
68
|
-
- node_js: "6.8"
|
|
69
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
70
|
-
- node_js: "6.7"
|
|
71
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
72
|
-
- node_js: "6.6"
|
|
73
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
74
|
-
- node_js: "6.5"
|
|
75
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
76
|
-
- node_js: "6.4"
|
|
77
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
78
|
-
- node_js: "6.3"
|
|
79
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
80
|
-
- node_js: "6.2"
|
|
81
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
82
|
-
- node_js: "6.1"
|
|
83
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
84
|
-
- node_js: "6.0"
|
|
85
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
86
|
-
- node_js: "5.11"
|
|
87
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
88
|
-
- node_js: "5.10"
|
|
89
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
90
|
-
- node_js: "5.9"
|
|
91
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
92
|
-
- node_js: "5.8"
|
|
93
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
94
|
-
- node_js: "5.7"
|
|
95
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
96
|
-
- node_js: "5.6"
|
|
97
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
98
|
-
- node_js: "5.5"
|
|
99
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
100
|
-
- node_js: "5.4"
|
|
101
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
102
|
-
- node_js: "5.3"
|
|
103
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
104
|
-
- node_js: "5.2"
|
|
105
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
106
|
-
- node_js: "5.1"
|
|
107
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
108
|
-
- node_js: "5.0"
|
|
109
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
110
|
-
- node_js: "4.7"
|
|
111
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
112
|
-
- node_js: "4.6"
|
|
113
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
114
|
-
- node_js: "4.5"
|
|
115
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
116
|
-
- node_js: "4.4"
|
|
117
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
118
|
-
- node_js: "4.3"
|
|
119
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
120
|
-
- node_js: "4.2"
|
|
121
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
122
|
-
- node_js: "4.1"
|
|
123
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
124
|
-
- node_js: "4.0"
|
|
125
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
126
|
-
- node_js: "iojs-v3.2"
|
|
127
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
128
|
-
- node_js: "iojs-v3.1"
|
|
129
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
130
|
-
- node_js: "iojs-v3.0"
|
|
131
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
132
|
-
- node_js: "iojs-v2.4"
|
|
133
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
134
|
-
- node_js: "iojs-v2.3"
|
|
135
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
136
|
-
- node_js: "iojs-v2.2"
|
|
137
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
138
|
-
- node_js: "iojs-v2.1"
|
|
139
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
140
|
-
- node_js: "iojs-v2.0"
|
|
141
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
142
|
-
- node_js: "iojs-v1.7"
|
|
143
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
144
|
-
- node_js: "iojs-v1.6"
|
|
145
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
146
|
-
- node_js: "iojs-v1.5"
|
|
147
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
148
|
-
- node_js: "iojs-v1.4"
|
|
149
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
150
|
-
- node_js: "iojs-v1.3"
|
|
151
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
152
|
-
- node_js: "iojs-v1.2"
|
|
153
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
154
|
-
- node_js: "iojs-v1.1"
|
|
155
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
156
|
-
- node_js: "iojs-v1.0"
|
|
157
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
158
|
-
- node_js: "0.11"
|
|
159
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
160
|
-
- node_js: "0.9"
|
|
161
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
162
|
-
- node_js: "0.6"
|
|
163
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
164
|
-
- node_js: "0.4"
|
|
165
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
166
|
-
allow_failures:
|
|
167
|
-
- os: osx
|
|
168
|
-
- env: TEST=true ALLOW_FAILURE=true
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2013 Thiago de Arruda
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person
|
|
4
|
-
obtaining a copy of this software and associated documentation
|
|
5
|
-
files (the "Software"), to deal in the Software without
|
|
6
|
-
restriction, including without limitation the rights to use,
|
|
7
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
-
copies of the Software, and to permit persons to whom the
|
|
9
|
-
Software is furnished to do so, subject to the following
|
|
10
|
-
conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be
|
|
13
|
-
included in all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
17
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
19
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
20
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# has
|
|
2
|
-
|
|
3
|
-
> Object.prototype.hasOwnProperty.call shortcut
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install --save has
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
var has = require('has');
|
|
15
|
-
|
|
16
|
-
has({}, 'hasOwnProperty'); // false
|
|
17
|
-
has(Object.prototype, 'hasOwnProperty'); // true
|
|
18
|
-
```
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "has",
|
|
3
|
-
"description": "Object.prototype.hasOwnProperty.call shortcut",
|
|
4
|
-
"version": "1.0.3",
|
|
5
|
-
"homepage": "https://github.com/tarruda/has",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "Thiago de Arruda",
|
|
8
|
-
"email": "tpadilha84@gmail.com"
|
|
9
|
-
},
|
|
10
|
-
"contributors": [
|
|
11
|
-
{
|
|
12
|
-
"name": "Jordan Harband",
|
|
13
|
-
"email": "ljharb@gmail.com",
|
|
14
|
-
"url": "http://ljharb.codes"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git://github.com/tarruda/has.git"
|
|
20
|
-
},
|
|
21
|
-
"bugs": {
|
|
22
|
-
"url": "https://github.com/tarruda/has/issues"
|
|
23
|
-
},
|
|
24
|
-
"license": "MIT",
|
|
25
|
-
"licenses": [
|
|
26
|
-
{
|
|
27
|
-
"type": "MIT",
|
|
28
|
-
"url": "https://github.com/tarruda/has/blob/master/LICENSE-MIT"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"main": "./src",
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"function-bind": "^1.1.1"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@ljharb/eslint-config": "^12.2.1",
|
|
37
|
-
"eslint": "^4.19.1",
|
|
38
|
-
"tape": "^4.9.0"
|
|
39
|
-
},
|
|
40
|
-
"engines": {
|
|
41
|
-
"node": ">= 0.4.0"
|
|
42
|
-
},
|
|
43
|
-
"scripts": {
|
|
44
|
-
"lint": "eslint .",
|
|
45
|
-
"pretest": "npm run lint",
|
|
46
|
-
"test": "tape test"
|
|
47
|
-
}
|
|
48
|
-
}
|