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

sourcebit-source-filesystem

Package Overview
Dependencies
Maintainers
18
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sourcebit-source-filesystem - npm Package Compare versions

Comparing version 0.1.6 to 0.2.0

2

package.json
{
"name": "sourcebit-source-filesystem",
"version": "0.1.6",
"version": "0.2.0",
"description": "Sourcebit filesystem source plugin",

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

@@ -152,8 +152,8 @@ const chokidar = require('chokidar');

__metadata: {
id: `${relProjectPath}`,
id: `${convertPathToPosix(relProjectPath)}`,
source: SOURCE,
sourceName: name,
sourcePath: sourcePath,
relSourcePath: relSourcePath,
relProjectPath: relProjectPath
sourcePath: convertPathToPosix(sourcePath),
relSourcePath: convertPathToPosix(relSourcePath),
relProjectPath: convertPathToPosix(relProjectPath)
}

@@ -169,1 +169,11 @@ }, data));

}
function convertPathToPosix(p) {
if (path.sep === path.posix.sep) {
return p;
}
if (!p) {
return p;
}
return p.split(path.sep).join(path.posix.sep);
}
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