profiler-md 0.1.1 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profiler-md",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "author": {
5
5
  "name": "Tomer Aberbach",
6
6
  "email": "tomer@aberba.ch",
@@ -62,18 +62,21 @@
62
62
  },
63
63
  "prettier": "@tomer/prettier-config",
64
64
  "dependencies": {
65
+ "convert-source-map": "^2.0.0",
65
66
  "meow": "^14.1.0",
66
67
  "picomatch": "^4.0.4",
67
68
  "plur": "^6.0.0",
68
69
  "pprof-format": "^2.2.1",
69
70
  "pretty-bytes": "^7.1.0",
70
- "pretty-ms": "^9.3.0"
71
+ "pretty-ms": "^9.3.0",
72
+ "source-map-js": "^1.2.1"
71
73
  },
72
74
  "devDependencies": {
73
75
  "@fast-check/vitest": "^0.4.0",
74
76
  "@rollup/plugin-terser": "^1.0.0",
75
77
  "@tomer/eslint-config": "^5.0.0",
76
78
  "@tomer/prettier-config": "^4.0.1",
79
+ "@types/convert-source-map": "^2.0.3",
77
80
  "@types/picomatch": "^4.0.3",
78
81
  "@vitest/coverage-v8": "^4.1.5",
79
82
  "diff": "^9.0.0",
package/readme.md CHANGED
@@ -66,6 +66,9 @@ $ profiler-md --help
66
66
  --cwd <path> Working directory for relative file paths in output
67
67
  --third-party <glob> Mark URLs matching this glob as third-party
68
68
  (repeatable; default: node_modules)
69
+ --source-maps <glob> Apply source maps matching this glob to profile
70
+ locations; files may be source map JSON or contain
71
+ inline source map comments (repeatable)
69
72
  --help Show this help message
70
73
  ```
71
74