New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

corvid-local-site

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corvid-local-site - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "corvid-local-site",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

@@ -160,6 +160,19 @@ const path = require("path");

const getLocalFileContent = siteItem => {
const file = itemToFile(siteItem);
return sc.matchItem(siteItem, {
[sc.pageWithCode]: () => ({ page: file[0].content, code: file[1].content }),
[sc.lightboxWithCode]: () => ({
lightbox: file[0].content,
code: file[1].content
}),
"*": () => file.content
});
};
module.exports = {
buildFull,
buildPartial,
getLocalFilePath
getLocalFilePath,
getLocalFileContent
};
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