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

ignite-dev-screens

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignite-dev-screens - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

2

package.json
{
"name": "ignite-dev-screens",
"version": "2.4.2",
"version": "2.4.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "files": [

@@ -49,2 +49,40 @@ const sourceFolder = `${process.cwd()}/node_modules/ignite-dev-screens/templates`

// Patch for animatable
const pluginExamplesScreen = `${process.cwd()}/ignite/DevScreens/PluginExamplesScreen.js`
try {
const animatableExample = `${process.cwd()}/node_modules/ignite-animatable`
if (!filesystem.exists(animatableExample)) {
ignite.patchInFile(pluginExamplesScreen, {
replace: 'import \'../Examples/Components/animatableExample.js\'',
insert: '// animatableExample removed - ignite-animatable not installed'
})
} else {
ignite.patchInFile(pluginExamplesScreen, {
replace: '// animatableExample removed - ignite-animatable not installed',
insert: 'import \'../Examples/Components/animatableExample.js\''
})
}
} catch(e) {
print.info(`Something went wrong patching out missing ignite-animatable - ${e}`)
}
try {
// Patch for vector-icons
const vectorExample = `${process.cwd()}/node_modules/ignite-vector-icons`
if (!filesystem.exists(vectorExample)) {
ignite.patchInFile(pluginExamplesScreen, {
replace: 'import \'../Examples/Components/vectorExample.js\'',
insert: '// vectorExample removed - ignite-vector-icons not installed'
})
} else {
ignite.patchInFile(pluginExamplesScreen, {
replace: '// vectorExample removed - ignite-vector-icons not installed',
insert: 'import \'../Examples/Components/vectorExample.js\''
})
}
} catch(e) {
print.info(`Something went wrong patching out missing ignite-vector-icons - ${e}`)
}
// Call the function in the navigation, which adds/provides the dev screens

@@ -51,0 +89,0 @@ // TODO: Use navigation generator to add screens

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