File: fix-for-rollup-3.patch

package info (click to toggle)
node-d3-dsv 3.0.1%2B~3.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 380 kB
  • sloc: javascript: 885; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix for rollup 3
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1022594
Forwarded: not-needed
Last-Update: 2022-10-26

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,6 +1,6 @@
 import {readFileSync} from "fs";
 import {terser} from "rollup-plugin-terser";
-import * as meta from "./package.json";
+import * as meta from "./package.json" assert { type: 'json' };
 
 // Extract copyrights from the LICENSE.
 const copyright = readFileSync("./LICENSE", "utf-8")