File: 0005-Commonjs-for-flat.patch

package info (click to toggle)
node-mocha 11.7.2%2Bds1%2B~cs36.3.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,240 kB
  • sloc: javascript: 36,385; makefile: 8; sh: 2
file content (36 lines) | stat: -rw-r--r-- 966 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Yadd <yadd@debian.org>
Date: Wed, 3 Dec 2025 17:07:31 +0100
Subject: <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

node-mocha (10.4.0+ds1+~cs33.1.8-1) UNRELEASED; urgency=medium

  * Team upload
---
 flat/package.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/flat/package.json b/flat/package.json
index b660136..27934ec 100644
--- a/flat/package.json
+++ b/flat/package.json
@@ -8,11 +8,13 @@
   "exports": {
     ".": {
       "types": "./index.d.ts",
-      "default": "./index.js"
+      "import": "./index.js",
+      "require": "./index.cjs"
     }
   },
   "files": [
     "cli.js",
+    "index.cjs",
     "index.js",
     "index.d.ts"
   ],