Socket
Socket
Sign inDemoInstall

theprogrammablemind_4wp

Package Overview
Dependencies
Maintainers
1
Versions
427
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.12.4-beta.2 to 7.12.4-beta.3

2

package.json

@@ -68,4 +68,4 @@ {

},
"version": "7.12.4-beta.2",
"version": "7.12.4-beta.3",
"license": "UNLICENSED"
}

@@ -377,3 +377,11 @@ const deepEqual = require('deep-equal')

const stableIds = {}
const stableId = (tag) => {
const id = stableIds[tag] || 1
stableIds[tag] = id + 1
return id
}
module.exports = {
stableId,
ecatch,

@@ -380,0 +388,0 @@ functionsToStrings,

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

semantic = normalizeSemantic(semantic)
const { match, apply, uuid, index, km, notes, priority, debug, where, applyWrapped, property, oneShot, id } = semantic
const { match, apply, uuid, index, km, notes, priority, debug, where, source, applyWrapped, property, oneShot, id, tied_ids, isQuestion } = semantic
this.matcher = match

@@ -22,4 +22,7 @@ this._apply = apply

this.where = where
this.source = source
this.oneShot = oneShot
this.isQuestion = isQuestion
this.id = id
this.tied_ids = tied_ids || []
}

@@ -189,2 +192,3 @@

let counter = 0
let seenQuestion = false
for (const isemantic in this.semantics) {

@@ -195,2 +199,6 @@ const semantic = this.semantics[isemantic]

}
// only one question at a time
if (semantic.isQuestion && seenQuestion) {
continue
}
if (semantic.matches(args, context, options)) {

@@ -205,2 +213,3 @@ if (!this.calls[counter]) {

if (!contextPrime.controlKeepMotivation && semantic.oneShot) {
// semantic.tied_ids.forEach((tied_id) => args.config.removeSemantic(tied_id))
args.config.removeSemantic(semantic)

@@ -282,2 +291,3 @@ }

applied = true
seenQuestion = seenQuestion || semantic.isQuestion
if (contextPrime.cascade) {

@@ -284,0 +294,0 @@ contextPrime.cascade = false

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

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