pkgprn 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts.map CHANGED
@@ -1 +1,16 @@
1
- {"version":3,"file":"index.d.ts","names":["prunePkg","Logger"],"sources":["prune.js"],"sourcesContent":[null],"mappings":";;;;iBAmEsBA,QAAQA;aA/BUC,MAAMA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "file": "index.d.ts",
4
+ "names": [
5
+ "prunePkg",
6
+ "Logger"
7
+ ],
8
+ "sources": [
9
+ "prune.js"
10
+ ],
11
+ "sourcesContent": [
12
+ null
13
+ ],
14
+ "mappings": ";;;;iBAmEsBA,QAAQA;aA/BUC,MAAMA",
15
+ "ignoreList": []
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pkgprn",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "MIT",
5
5
  "author": "Konstantin Shutkin",
6
6
  "bin": "./index.js",
package/prune.js CHANGED
@@ -532,7 +532,7 @@ async function adjustSourcemapPaths(newMapPath, oldMapPath, oldToNew) {
532
532
  delete map.sourceRoot;
533
533
  }
534
534
 
535
- await writeFile(newMapPath, JSON.stringify(map), 'utf8');
535
+ await writeFile(newMapPath, JSON.stringify(map, null, 2) + '\n', 'utf8');
536
536
  }
537
537
 
538
538
  /**