Socket
Socket
Sign inDemoInstall

canonical-path

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

1

index.js

@@ -26,1 +26,2 @@ var path = require('path');

});
exports.canonical = canonicalPath;

@@ -17,2 +17,7 @@ var path = require('./index');

describe("canonical", function() {
it("should return a path with forward slashes", function() {
expect(path.canonical('a'+path.sep+'b'+path.sep+'c')).toEqual('a/b/c');
});
});
});

2

package.json
{
"name": "canonical-path",
"version": "0.0.1",
"version": "0.0.2",
"description": "paths that always use forward slashes",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc