New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@parcel/runtime-js

Package Overview
Dependencies
Maintainers
1
Versions
899
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/runtime-js - npm Package Compare versions

Comparing version 2.0.0-dev.1424 to 2.0.0-dev.1426

7

lib/JSRuntime.js

@@ -184,3 +184,2 @@ "use strict";

for (let dependency of otherDependencies) {
var _dependency$meta;
// Resolve the dependency to a bundle. If inline, export the dependency id,

@@ -228,3 +227,3 @@ // which will be replaced with the contents of that bundle later.

// the url is inlined and statically analyzable.
if (bundle.env.isLibrary && ((_dependency$meta = dependency.meta) === null || _dependency$meta === void 0 ? void 0 : _dependency$meta.isESM) !== true) {
if (bundle.env.isLibrary && mainBundle.bundleBehavior !== 'isolated') {
continue;

@@ -425,4 +424,4 @@ }

for (let dependency of asyncDependencies) {
var _dependency$meta2;
let attributes = (_dependency$meta2 = dependency.meta) === null || _dependency$meta2 === void 0 ? void 0 : _dependency$meta2.importAttributes;
var _dependency$meta;
let attributes = (_dependency$meta = dependency.meta) === null || _dependency$meta === void 0 ? void 0 : _dependency$meta.importAttributes;
if (typeof attributes === 'object' && attributes != null && (

@@ -429,0 +428,0 @@ // $FlowFixMe

{
"name": "@parcel/runtime-js",
"version": "2.0.0-dev.1424+7f6b4dbbc",
"version": "2.0.0-dev.1426+2369415b7",
"license": "MIT",

@@ -20,11 +20,11 @@ "publishConfig": {

"node": ">= 12.0.0",
"parcel": "^2.0.0-dev.1422+7f6b4dbbc"
"parcel": "^2.0.0-dev.1424+2369415b7"
},
"dependencies": {
"@parcel/diagnostic": "2.0.0-dev.1424+7f6b4dbbc",
"@parcel/plugin": "2.0.0-dev.1424+7f6b4dbbc",
"@parcel/utils": "2.0.0-dev.1424+7f6b4dbbc",
"@parcel/diagnostic": "2.0.0-dev.1426+2369415b7",
"@parcel/plugin": "2.0.0-dev.1426+2369415b7",
"@parcel/utils": "2.0.0-dev.1426+2369415b7",
"nullthrows": "^1.1.1"
},
"gitHead": "7f6b4dbbc56a203e0fce8794856c03598c4f6708"
"gitHead": "2369415b703a85196b2e76d18cf748bad349932b"
}

@@ -235,3 +235,3 @@ // @flow strict-local

// the url is inlined and statically analyzable.
if (bundle.env.isLibrary && dependency.meta?.isESM !== true) {
if (bundle.env.isLibrary && mainBundle.bundleBehavior !== 'isolated') {
continue;

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