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

shift-scope

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shift-scope - npm Package Compare versions

Comparing version 3.1.0 to 4.0.0

8

dist/scope-analyzer.js

@@ -61,2 +61,10 @@ 'use strict';

fold(list, a) {
var _this = this;
return list.reduce(function (memo, x) {
return _this.append(memo, x);
}, a == null ? this.identity : a);
}
static analyze(program) {

@@ -63,0 +71,0 @@ return (0, _shiftReducer2.default)(new this(program), program).children[0];

8

package.json
{
"name": "shift-scope",
"version": "3.1.0",
"version": "4.0.0",
"description": "produce a scope tree for Shift format ASTs",

@@ -24,4 +24,4 @@ "author": "Shape Security",

"multimap": "1.0.2",
"shift-reducer": "4.0.1",
"shift-spec": "2016.0.0"
"shift-reducer": "5.0.0",
"shift-spec": "2017.0.0"
},

@@ -35,3 +35,3 @@ "devDependencies": {

"mocha": "2.3.4",
"shift-parser": "5.2.0"
"shift-parser": "6.0.0"
},

@@ -38,0 +38,0 @@ "keywords": [

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