Socket
Socket
Sign inDemoInstall

theprogrammablemind_4wp

Package Overview
Dependencies
Maintainers
1
Versions
454
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.3.11-beta.0 to 7.3.11-beta.1

2

package.json

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

},
"version": "7.3.11-beta.0",
"version": "7.3.11-beta.1",
"license": "ISC"
}

@@ -64,8 +64,8 @@ // lookup = (name) => returns <config>

const addWord = (baseConfig, config) => ({ word, id, initial }) => {
if (!baseConfig.config.words) {
baseConfig.config.words = {}
const addWord = (config, uuid) => ({ word, id, initial }) => {
if (!config.words) {
config.words = {}
}
const words = baseConfig.config.words
const def = { id, initial, uuid: config.uuid }
const words = config.words
const def = { id, initial, uuid }
if (words[word]) {

@@ -1399,3 +1399,4 @@ if (!words[word].some((e) => helpers.safeEquals(e, def))) {

if (config instanceof Config) {
const aw = addWord(this, config)
// const aw = addWord(this.config, config.uuid)
const aw = (word, def) => this.addWord(word, def)
this.get('objects').namespaced[config._uuid] = objects

@@ -1408,3 +1409,4 @@ if (config._api) {

} else {
const aw = addWord(this, this)
// const aw = addWord(this.config, this.uuid)
const aw = (word, def) => this.addWord(word, def)
this.get('objects').namespaced[this._uuid] = objects

@@ -1423,3 +1425,4 @@ if (config._api) {

if (force || !this.wasInitialized) {
const aw = addWord(this, this)
// const aw = addWord(this.config, this.uuid)
const aw = (word, def) => this.addWord(word, def)
const km = (name) => this.getConfig(name)

@@ -1631,3 +1634,4 @@ // this.initializerFn({ addWord: aw, km, config: this, baseConfig: this, currentConfig: this, objects: this.get('objects'), uuid: this._uuid, namespace: '', api: this.api })

this.setupNamespace(km)
const aw = addWord(km.config, km.config)
// const aw = addWord(km.config.config ? km.config.config : km.config, km.config.uuid)
const aw = (word, def) => this.addWord(word, def)
let config = km.config

@@ -1799,6 +1803,8 @@

if (config instanceof Config) {
const aw = addWord(this, config)
// const aw = addWord(this.config, config.uuid)
const aw = (word, def) => this.addWord(word, def)
config.initializerFn({ isModule: this.isModule, addWord: aw, baseConfig: this, km, currentConfig: config, config, objects: nsobjects, namespace, uuid, api: config.api })
} else {
const aw = addWord(this, this)
// const aw = addWord(this.config, this.uuid)
const aw = (word, def) => this.addWord(word, def)
this.initializerFn({ isModule: this.isModule, addWord: aw, baseConfig: this, km, currentConfig: this, config: this, objects: nsobjects, namespace, uuid, api: this.api })

@@ -1805,0 +1811,0 @@ }

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