Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

path-normalize

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-normalize - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

index.d.ts

20

package.json
{
"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()
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc