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

@stackbit/cms-core

Package Overview
Dependencies
Maintainers
15
Versions
455
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackbit/cms-core - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

1

dist/utils/index.d.ts

@@ -173,1 +173,2 @@ /**

export function isRelevantReactData(data: any): any;
export function convertToPosixFilePath(filePath: any): any;

@@ -61,3 +61,4 @@ "use strict";

replaceInRange,
isRelevantReactData
isRelevantReactData,
convertToPosixFilePath
};

@@ -929,2 +930,15 @@ const INDENT = _.repeat(' ', 4);

}
function convertToPosixFilePath(filePath) {
if (path.sep === path.posix.sep) {
return filePath;
}
if (!filePath) {
return filePath;
}
// convert 'c:\foo\bar' to '/c/foo/bar'
return filePath
.replace(/^(\w):/, '/$1')
.split(path.sep)
.join(path.posix.sep);
}
//# sourceMappingURL=index.js.map

4

package.json
{
"name": "@stackbit/cms-core",
"version": "0.0.7",
"version": "0.0.8",
"description": "stackbit-dev",

@@ -42,3 +42,3 @@ "main": "dist/index.js",

},
"gitHead": "74659689c4b8c14751b9b364393fba1863e5b571"
"gitHead": "1dbb4af4333d2250548fe97eb03867e3cbd27785"
}

@@ -61,3 +61,4 @@ const path = require('path');

replaceInRange,
isRelevantReactData
isRelevantReactData,
convertToPosixFilePath
};

@@ -999,1 +1000,15 @@

}
function convertToPosixFilePath(filePath) {
if (path.sep === path.posix.sep) {
return filePath;
}
if (!filePath) {
return filePath;
}
// convert 'c:\foo\bar' to '/c/foo/bar'
return filePath
.replace(/^(\w):/, '/$1')
.split(path.sep)
.join(path.posix.sep);
}

Sorry, the diff of this file is not supported yet

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