Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .yarn/patches/rollup-license-plugin-npm-3.0.0-038e5f6edc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/index.js b/dist/index.js
index 9baea0c8023c03d19b1494f818e1e11578f05b32..8f1a7a6050980d88e050423e63ef041195011fcc 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -101,7 +101,7 @@ function createRollupLicensePlugin(pluginOptions = {}, pluginName = "rollup-lice
Object.entries(chunk.modules).filter(
([path, module]) => Boolean(path.match(/node_modules/)) && module.renderedLength > 0
).map(
- ([path]) => path.startsWith("\0") ? path.replace(/^\0/, "") : path
+ ([path]) => (path.startsWith("\0") ? path.replace(/^\0/, "") : path).replace(/\\/g, '/')
).map((path) => [path, path.split("node_modules").pop()]).map(([path, filePath]) => {
const segments = filePath.replace(/^\//, "").split("/");
const packageName = segments[0].startsWith("@") ? `${segments[0]}/${segments[1]}` : segments[0];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"quicktype-core": "23.0.170",
"resolve-url-loader": "5.0.0",
"rollup": "4.24.2",
"rollup-license-plugin": "^3.0.0",
"rollup-license-plugin": "patch:rollup-license-plugin@npm%3A3.0.0#~/.yarn/patches/rollup-license-plugin-npm-3.0.0-038e5f6edc.patch",
"rollup-plugin-sourcemaps": "^0.6.0",
"rxjs": "7.8.1",
"sass": "1.80.4",
Expand Down
15 changes: 13 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ __metadata:
quicktype-core: "npm:23.0.170"
resolve-url-loader: "npm:5.0.0"
rollup: "npm:4.24.2"
rollup-license-plugin: "npm:^3.0.0"
rollup-license-plugin: "patch:rollup-license-plugin@npm%3A3.0.0#~/.yarn/patches/rollup-license-plugin-npm-3.0.0-038e5f6edc.patch"
rollup-plugin-sourcemaps: "npm:^0.6.0"
rxjs: "npm:7.8.1"
sass: "npm:1.80.4"
Expand Down Expand Up @@ -16104,7 +16104,7 @@ __metadata:
languageName: node
linkType: hard

"rollup-license-plugin@npm:^3.0.0":
"rollup-license-plugin@npm:3.0.0":
version: 3.0.0
resolution: "rollup-license-plugin@npm:3.0.0"
dependencies:
Expand All @@ -16115,6 +16115,17 @@ __metadata:
languageName: node
linkType: hard

"rollup-license-plugin@patch:rollup-license-plugin@npm%3A3.0.0#~/.yarn/patches/rollup-license-plugin-npm-3.0.0-038e5f6edc.patch":
version: 3.0.0
resolution: "rollup-license-plugin@patch:rollup-license-plugin@npm%3A3.0.0#~/.yarn/patches/rollup-license-plugin-npm-3.0.0-038e5f6edc.patch::version=3.0.0&hash=be9ba3"
dependencies:
get-npm-tarball-url: "npm:^2.1.0"
node-fetch: "npm:^3.3.2"
spdx-expression-validate: "npm:^2.0.0"
checksum: 10c0/d4f340c704cce97ba36251f43859945c15e5865edacdca71da2470067041ea66bda792a5da63ea02e5d72713731e1a42a898b517fd3ffc59f6887fc1491516b0
languageName: node
linkType: hard

"rollup-plugin-sourcemaps@npm:^0.6.0":
version: 0.6.3
resolution: "rollup-plugin-sourcemaps@npm:0.6.3"
Expand Down