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

strider-extension-loader

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strider-extension-loader - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

21

lib/index.js

@@ -140,2 +140,6 @@

initConfig: function (jspath, csspath, done) {
if (arguments.length === 1) {
done = jspath
jspath = csspath = null
}
var alljs = []

@@ -184,2 +188,5 @@ , allcss = []

, csstext = allcss.join('\n\n')
if (jspath === null && csspath === null) {
return done(null, jstext, csstext, configs)
}
fs.writeFile(jspath, jstext, 'utf8', function (err) {

@@ -194,2 +201,6 @@ fs.writeFile(csspath, csstext, 'utf8', function (cerr) {

initUserConfig: function (jspath, csspath, done) {
if (arguments.length === 1) {
done = jspath
jspath = csspath = null
}
var alljs = []

@@ -239,2 +250,5 @@ , allcss = []

, csstext = allcss.join('\n\n')
if (jspath === null && csspath === null) {
return done(null, jstext, csstext, configs)
}
fs.writeFile(jspath, jstext, 'utf8', function (err) {

@@ -249,2 +263,6 @@ fs.writeFile(csspath, csstext, 'utf8', function (cerr) {

initStatusBlocks: function (jspath, csspath, done) {
if (arguments.length === 1) {
done = jspath
jspath = csspath = null
}
var alljs = []

@@ -282,2 +300,5 @@ , allcss = []

, csstext = allcss.join('\n\n')
if (jspath === null && csspath === null) {
return done(null, jstext, csstext, blocks)
}
fs.writeFile(jspath, jstext, 'utf8', function (err) {

@@ -284,0 +305,0 @@ fs.writeFile(csspath, csstext, 'utf8', function (cerr) {

2

package.json
{
"name": "strider-extension-loader",
"version": "0.4.0",
"version": "0.4.1",
"description": "Load Strider extensions",

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

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