Socket
Socket
Sign inDemoInstall

boilersuit

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boilersuit - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

tools/constants/reservedKeywords.js

9

commands/up/writeAllFiles.js

@@ -14,2 +14,3 @@ const writeIndex = require('./writeIndex');

const detectDiff = require('./detectDiff');
const reservedKeywords = require('../../tools/constants/reservedKeywords');

@@ -27,9 +28,3 @@ module.exports = ({

const arrayOfDomains = Object.keys(schema)
.filter(
key =>
![
// Add keys to this list to reserve them
'compose',
].includes(key),
)
.filter(key => !reservedKeywords.includes(key))
.map(key => ({

@@ -36,0 +31,0 @@ ...schema[key],

@@ -10,4 +10,5 @@ #!/usr/bin/env node

const rm = require('./commands/rm');
const { version } = require('./package.json');
program.version('0.3.6');
program.version(version);

@@ -14,0 +15,0 @@ program

{
"name": "boilersuit",
"description": "A CLI tool for generating selectors, reducers, actions, constants and sagas in react-boilerplate",
"version": "0.3.6",
"version": "0.3.7",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": "Matt Pocock <matt.pocock@thevirtualforge.com>",

const { concat } = require('./utils');
const rm = require('../commands/rm');
const reservedKeywords = require('../tools/constants/reservedKeywords');

@@ -7,3 +8,3 @@ module.exports = (schema, folder) => {

const domainKeys = Object.keys(schema).filter(
domain => !['compose'].includes(domain),
domain => !reservedKeywords.includes(domain),
);

@@ -10,0 +11,0 @@ if (!domainKeys.length) {

const { concat } = require('./utils');
const reservedKeywords = require('./constants/reservedKeywords');

@@ -6,3 +7,3 @@ module.exports = (schema, config) => {

const domains = Object.keys(schema)
.filter(domain => !['compose'].includes(domain))
.filter(domain => !reservedKeywords.includes(domain))
.map(key => ({

@@ -9,0 +10,0 @@ name: key,

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