Socket
Socket
Sign inDemoInstall

theprogrammablemind_4wp

Package Overview
Dependencies
Maintainers
1
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theprogrammablemind_4wp - npm Package Compare versions

Comparing version 7.4.3 to 7.5.0

8

client.js

@@ -1257,3 +1257,3 @@ const { Semantics, Semantic } = require('./src/semantics')

parser.add_argument('-qp ', '--queryParams', { help: 'Query params for the server call' })
parser.add_argument('-qd', '--queryDelete', { help: 'Delete the specified query from the tests file' })
parser.add_argument('-td', '--testDelete', { help: 'Delete the specified query from the tests file.' })
parser.add_argument('-c', '--clean', { help: 'Remove data from the test files. a === association' })

@@ -1297,7 +1297,7 @@ parser.add_argument('-od', '--objectDiff', { action: 'store_true', help: 'When showing the objects use a colour diff' })

if (args.queryDelete) {
if (args.testDelete) {
let tests = JSON.parse(runtime.fs.readFileSync(testConfig.name))
tests = tests.filter( (test) => test.query !== args.queryDelete );
tests = tests.filter( (test) => test.query !== args.testDelete );
writeTestFile(testConfig.name, tests)
console.log(`Remove the test for "${args.queryDelete}"`)
console.log(`Remove the test for "${args.testDelete}"`)
return

@@ -1304,0 +1304,0 @@ }

@@ -64,4 +64,4 @@ {

},
"version": "7.4.3",
"version": "7.5.0",
"license": "ISC"
}

@@ -127,3 +127,4 @@ const { args: contextArgs, normalizeGenerator } = require('./helpers')

class Generators {
constructor (generators, logs = []) {
constructor (generators, logs = [], options = {}) {
let index = -1
generators = (generators || []).map((generator) => {

@@ -133,3 +134,4 @@ if (generator instanceof Generator) {

} else {
return new Generator(generator)
index += 1
return new Generator({ km: options.km, index, ...normalizeGenerator(generator) })
}

@@ -136,0 +138,0 @@ })

@@ -118,3 +118,4 @@ const { args: contextArgs, normalizeGenerator, normalizeSemantic } = require('./helpers')

class Semantics {
constructor (semantics, logs = []) {
constructor (semantics, logs = [], options = {}) {
let index = -1
semantics = semantics.map((semantic) => {

@@ -124,3 +125,4 @@ if (semantic instanceof Semantic) {

} else {
return new Semantic(semantic)
index += 1
return new Semantic({ km: options.km, index, ...normalizeSemantic(semantic) })
}

@@ -127,0 +129,0 @@ })

Sorry, the diff of this file is too big to display

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