path-normalize
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "path-normalize", | ||
"description": "path.normalize for the browser", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"author": { | ||
@@ -13,2 +13,4 @@ "name": "Zac Anger", | ||
"scripts": { | ||
"cover": "nyc npm run test:tape", | ||
"preversion": "npm run test:lint && npm run cover", | ||
"test": "npm run test:lint && npm run test:tape", | ||
@@ -38,2 +40,3 @@ "test:lint": "eslint -c .eslintrc.json index.js test.js", | ||
"eslint-plugin-unicorn": "4.0.2", | ||
"nyc": "11.4.1", | ||
"tap-spec": "4.1.1", | ||
@@ -44,3 +47,16 @@ "tape": "4.9.0" | ||
"node": ">=8.0.0" | ||
} | ||
}, | ||
"nyc": { | ||
"include": [ | ||
"index.js" | ||
], | ||
"sourceMap": true, | ||
"instrument": true, | ||
"reporter": [ | ||
"text", | ||
"html", | ||
"json" | ||
] | ||
}, | ||
"typings": "index.d.ts" | ||
} |
@@ -23,3 +23,6 @@ const test = require('tape') | ||
t.equal(normalize('../.../../foobar/../../../bar/../../baz'), '../../../../baz') | ||
t.equal(normalize(''), '.') | ||
t.throws(() => normalize(1), /Expected a string!/) | ||
t.end() | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9170
11
114
10