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.0.24 to 1.0.25

2

package.json
{
"name": "stacktracey",
"version": "1.0.24",
"version": "1.0.25",
"description": "Parses call stacks, reads sources and meta-information.",

@@ -5,0 +5,0 @@ "main": "stacktracey",

@@ -116,9 +116,18 @@ # StackTracey

All StackTracey instances expose `map`, `filter`, `concat` and `slice` methods. These methods will return mapped, filtered and sliced stacks, respectively. Any other method of the `Array` is supported too, it return `Array` instances, not StackTracey instances. You can convert from array via this:
All StackTracey instances expose `map`, `filter`, `concat` and `slice` methods. These methods will return mapped, filtered, joined and sliced stacks, respectively.
```javascript
s = new StackTracey ().slice (1).filter (x => !x.isThirdParty) // current stack shifted by 1 and cleaned from library class
s instanceof StackTracey // true
s instanceof Array // true
```
Any other method of the `Array` is supported too, but they will return `Array` instances, not StackTracey instances. You can convert from array via this:
```javascript
stack = new StackTracey (array)
```
And to array via this (but generally this is not needed, you can pass around StackTracey instances as if they were real Arrays):
..and to array via this (but generally this is not needed — you can pass around StackTracey instances as if they were real Arrays):

@@ -125,0 +134,0 @@ ```javascript

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