You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@rspack/core

Package Overview
Dependencies
Maintainers
1
Versions
1123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rspack/core - npm Package Compare versions

Comparing version

to
0.0.0-20221201094737

dist/bundle.js

3

dist/config/module.d.ts

@@ -30,3 +30,4 @@ /// <reference types="node" />

source: number[];
sourceMap: string | null;
sourceMap: string | undefined | null;
additionalData: AdditionalData | undefined | null;
resource: string;

@@ -33,0 +34,0 @@ resourcePath: string;

@@ -160,9 +160,12 @@ "use strict";

content: [...toBuffer(content)],
sourceMap: [
...toBuffer(typeof sourceMap === "string"
? sourceMap
: JSON.stringify(sourceMap || {}))
],
// TODO: Use `None` for the rust side
additionalData: [...toBuffer(JSON.stringify(additionalData || {}))]
sourceMap: !(0, utils_1.isNil)(sourceMap)
? [
...toBuffer(typeof sourceMap === "string"
? sourceMap
: JSON.stringify(sourceMap))
]
: sourceMap,
additionalData: !(0, utils_1.isNil)(additionalData)
? [...toBuffer(JSON.stringify(additionalData))]
: additionalData
};

@@ -169,0 +172,0 @@ return Buffer.from(JSON.stringify(loaderResultPayload), "utf-8");

{
"name": "@rspack/core",
"version": "0.0.0-20221129130808",
"version": "0.0.0-20221201094737",
"main": "./dist/index.js",

@@ -26,6 +26,6 @@ "types": "./dist/index.d.ts",

"@types/rimraf": "3.0.2",
"@rspack/plugin-node-polyfill": "^0.0.0-20221129130808",
"@rspack/less-loader": "^0.0.0-20221129130808",
"@rspack/postcss-loader": "^0.0.0-20221129130808",
"@rspack/core": "0.0.0-20221129130808"
"@rspack/postcss-loader": "^0.0.0-20221201094737",
"@rspack/core": "0.0.0-20221201094737",
"@rspack/less-loader": "^0.0.0-20221201094737",
"@rspack/plugin-node-polyfill": "^0.0.0-20221201094737"
},

@@ -41,4 +41,4 @@ "dependencies": {

"@swc/helpers": "0.4.13",
"@rspack/binding": "0.0.0-20221129130808",
"@rspack/dev-client": "0.0.0-20221129130808"
"@rspack/dev-client": "0.0.0-20221201094737",
"@rspack/binding": "0.0.0-20221201094737"
},

@@ -45,0 +45,0 @@ "optionalDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet