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

@parcel/node-resolver-core

Package Overview
Dependencies
Maintainers
1
Versions
879
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/node-resolver-core - npm Package Compare versions

Comparing version 2.0.0-nightly.1724 to 2.0.0-nightly.1729

11

lib/NodeResolver.js

@@ -100,11 +100,6 @@ "use strict";

if (resolved) {
let result = {
filePath: resolved.path
return {
filePath: resolved.path,
sideEffects: resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg) ? false : undefined
};
if (resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg)) {
result.sideEffects = false;
}
return result;
}

@@ -111,0 +106,0 @@

{
"name": "@parcel/node-resolver-core",
"version": "2.0.0-nightly.1724+28f7bfd1",
"version": "2.0.0-nightly.1729+b2851080",
"license": "MIT",

@@ -18,3 +18,3 @@ "publishConfig": {

"dependencies": {
"@parcel/utils": "2.0.0-nightly.102+28f7bfd1",
"@parcel/utils": "2.0.0-nightly.107+b2851080",
"micromatch": "^3.0.4",

@@ -24,3 +24,3 @@ "node-libs-browser": "^2.1.0",

},
"gitHead": "28f7bfd13f0c03317b75cb70c433681250a70518"
"gitHead": "b2851080dd7c4c1df22b2c512ce50d7424c36927"
}

@@ -101,11 +101,9 @@ // @flow

if (resolved) {
let result: ResolveResult = {
return {
filePath: resolved.path,
sideEffects:
resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg)
? false
: undefined,
};
if (resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg)) {
result.sideEffects = false;
}
return result;
}

@@ -112,0 +110,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