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

theprogrammablemind_4wp

Package Overview
Dependencies
Maintainers
0
Versions
492
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 8.0.0-beta.42 to 8.0.0-beta.43

5

index.js
const { Semantics, Semantic } = require('./src/semantics')
const { Generators, Generator } = require('./src/generators')
const { Config } = require('./src/config')
const { w, where } = require('./src/helpers')
const Digraph = require('./src/digraph')

@@ -17,5 +18,5 @@ const client = require('./client')

ensureTestFile: client.ensureTestFile,
where: client.where,
where,
stableId: client.stableId,
w: client.w,
w,
Config,

@@ -22,0 +23,0 @@ Semantics,

2

package.json

@@ -67,4 +67,4 @@ {

},
"version": "8.0.0-beta.42",
"version": "8.0.0-beta.43",
"license": "UNLICENSED"
}
const deepEqual = require('deep-equal')
const stringify = require('json-stable-stringify')
function where (goUp = 2) {
const e = new Error()
const regexForm1 = /\((.*):(\d+):(\d+)\)$/
const regexForm2 = /at (.*):(\d+):(\d+)$/
const lines = e.stack.split('\n')
let line
let match
for (line of lines.slice(1)) {
// if (!(line.includes('config.js:') || line.includes('client.js:') || line.includes('<anonymous>'))) {
if (!(line.includes('config.js:') || line.includes('client.js:'))) {
match = regexForm1.exec(line) || regexForm2.exec(line)
if (!match) {
continue
}
break
}
}
// const line = e.stack.split("\n")[goUp];
// const match = regexForm1.exec(line) || regexForm2.exec(line)
if (match) {
return `${match[1]}:${match[2]}`
} else {
return 'running in browser'
}
}
function w (func) {
func.where = where(3)
return func
}
// properties - the properties that correspond to types

@@ -406,3 +437,5 @@ // types - the expected types of the properties

sortJson,
subPriority
subPriority,
where,
w,
}

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

args.uuid = this.uuid
debugger
Object.assign(args, (args.getUUIDScoped || (() => { return {} }))(this.uuid))

@@ -72,0 +71,0 @@ }

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