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

@parcel/scope-hoisting

Package Overview
Dependencies
Maintainers
1
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/scope-hoisting - npm Package Compare versions

Comparing version 2.0.0-nightly.232 to 2.0.0-nightly.236

3

lib/link.js

@@ -190,3 +190,4 @@ "use strict";

if (binding) {
parent = path.findParent(p => getScopeBefore(p) === binding.scope && p.isStatement());
(0, _assert.default)(binding.path.getStatementParent().parentPath.isProgram(), "Expected binding declaration's parent to be the program");
parent = path.findParent(p => t.isProgram(p.parent));
}

@@ -193,0 +194,0 @@

{
"name": "@parcel/scope-hoisting",
"version": "2.0.0-nightly.232+6bf8145c",
"version": "2.0.0-nightly.236+297087a8",
"description": "Blazing fast, zero configuration web application bundler",

@@ -24,9 +24,9 @@ "license": "MIT",

"@babel/types": "^7.3.3",
"@parcel/babylon-walk": "2.0.0-nightly.1854+6bf8145c",
"@parcel/diagnostic": "2.0.0-nightly.232+6bf8145c",
"@parcel/babylon-walk": "2.0.0-nightly.1858+297087a8",
"@parcel/diagnostic": "2.0.0-nightly.236+297087a8",
"@parcel/source-map": "2.0.0-alpha.4.9",
"@parcel/utils": "2.0.0-nightly.232+6bf8145c",
"@parcel/utils": "2.0.0-nightly.236+297087a8",
"nullthrows": "^1.1.1"
},
"gitHead": "6bf8145c61334e29e20f0619d6ce52b9dcd1f236"
"gitHead": "297087a806f9ed958fad1e2217d735b284cd3d5c"
}

@@ -215,5 +215,7 @@ // @flow

if (binding) {
parent = path.findParent(
p => getScopeBefore(p) === binding.scope && p.isStatement(),
invariant(
binding.path.getStatementParent().parentPath.isProgram(),
"Expected binding declaration's parent to be the program",
);
parent = path.findParent(p => t.isProgram(p.parent));
}

@@ -220,0 +222,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