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

stacktracey

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacktracey - npm Package Compare versions

Comparing version 1.2.87 to 1.2.88

10

package.json
{
"name": "stacktracey",
"version": "1.2.87",
"version": "1.2.88",
"description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.",

@@ -79,11 +79,11 @@ "main": "stacktracey",

"coveralls": "^3.0.0",
"eslint": "^4.10.0",
"eslint": "^4.14.0",
"istanbul": "^0.4.5",
"mocha": "^4.0.1",
"nyc": "^11.3.0"
"mocha": "^4.1.0",
"nyc": "^11.4.1"
},
"dependencies": {
"as-table": "^1.0.31",
"get-source": "^1.0.23"
"get-source": "^1.0.24"
}
}

@@ -126,2 +126,12 @@ "use strict";

/* Detect things like Array.reduce
TODO: detect more built-in types */
if (callee && !fileLineColumn[0]) {
const type = callee.split ('.')[0]
if (type === 'Array') {
native = true
}
}
return {

@@ -128,0 +138,0 @@ beforeParse: line,

@@ -234,2 +234,10 @@ "use strict";

})
it ('detects Array methods as native', () => {
const arr = [1,2,3]
const stack = arr.reduce (() => new StackTracey ())
stack[1].native.should.equal (true)
})
})

@@ -236,0 +244,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