File: 0003-fix-add-.-package.json-export-to-the-exports-field-i.patch

package info (click to toggle)
node-long 5.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 508 kB
  • sloc: javascript: 2,427; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 649 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
From: Leonardo Gomes Batista <leo.gomes@rotaexata.com.br>
Date: Thu, 24 Aug 2023 12:08:14 -0300
Subject: fix: add './package.json' export to the 'exports' field in
 package.json

bug: https://github.com/dcodeIO/long.js/issues/126
---
 package.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 0d5578e..c267721 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,8 @@
         "typings": "./umd/index.d.ts",
         "default": "./umd/index.js"
       }
-    }
+    },
+    "./package.json": "./package.json"
   },
   "scripts": {
     "build": "esm2umd Long index.js > umd/index.js",