We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a7d42b commit 1e2d654Copy full SHA for 1e2d654
.changeset/calm-beers-design.md
@@ -0,0 +1,5 @@
1
+---
2
+"@nodesecure/scanner": minor
3
4
+
5
+Add a standalone export for extractors (for usage such as web imports)
workspaces/scanner/package.json
@@ -3,8 +3,17 @@
"version": "8.0.0",
"description": "A package API to run a static analysis of your module's dependencies.",
"type": "module",
6
- "exports": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "import": "./dist/index.js"
10
+ },
11
+ "./extractors": {
12
+ "types": "./dist/extractors/index.d.ts",
13
+ "import": "./dist/extractors/index.js"
14
15
+ "./package.json": "./package.json"
16
17
"engines": {
18
"node": ">=20"
19
},
0 commit comments