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

@parcel/packager-js

Package Overview
Dependencies
Maintainers
1
Versions
892
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/packager-js - npm Package Compare versions

Comparing version 2.0.0-canary.1749 to 2.0.0-canary.1759

10

lib/DevPackager.js

@@ -111,2 +111,12 @@ "use strict";

}
// Add dependencies for parcelRequire calls added by runtimes
// so that the HMR runtime can correctly traverse parents.
let hmrDeps = asset.meta.hmrDeps;
if (this.options.hmrOptions && Array.isArray(hmrDeps)) {
for (let id of hmrDeps) {
(0, _assert().default)(typeof id === 'string');
deps[id] = id;
}
}
let {

@@ -113,0 +123,0 @@ code,

16

package.json
{
"name": "@parcel/packager-js",
"version": "2.0.0-canary.1749+a53f8f3ba",
"version": "2.0.0-canary.1759+4d27ec8b8",
"license": "MIT",

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

"node": ">= 16.0.0",
"parcel": "^2.0.0-canary.1747+a53f8f3ba"
"parcel": "^2.0.0-canary.1757+4d27ec8b8"
},
"dependencies": {
"@parcel/diagnostic": "2.0.0-canary.1749+a53f8f3ba",
"@parcel/plugin": "2.0.0-canary.1749+a53f8f3ba",
"@parcel/rust": "2.13.1-canary.3372+a53f8f3ba",
"@parcel/diagnostic": "2.0.0-canary.1759+4d27ec8b8",
"@parcel/plugin": "2.0.0-canary.1759+4d27ec8b8",
"@parcel/rust": "2.13.3-canary.3382+4d27ec8b8",
"@parcel/source-map": "^2.1.1",
"@parcel/types": "2.0.0-canary.1749+a53f8f3ba",
"@parcel/utils": "2.0.0-canary.1749+a53f8f3ba",
"@parcel/types": "2.0.0-canary.1759+4d27ec8b8",
"@parcel/utils": "2.0.0-canary.1759+4d27ec8b8",
"globals": "^13.2.0",
"nullthrows": "^1.1.1"
},
"gitHead": "a53f8f3ba1025c7ea8653e9719e0a61ef9717079"
"gitHead": "4d27ec8b8bd1792f536811fef86e74a31fa0e704"
}

@@ -115,2 +115,12 @@ // @flow strict-local

// Add dependencies for parcelRequire calls added by runtimes
// so that the HMR runtime can correctly traverse parents.
let hmrDeps = asset.meta.hmrDeps;
if (this.options.hmrOptions && Array.isArray(hmrDeps)) {
for (let id of hmrDeps) {
invariant(typeof id === 'string');
deps[id] = id;
}
}
let {code, mapBuffer} = results[i];

@@ -117,0 +127,0 @@ let output = code || '';

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