magic-string
Advanced tools
Comparing version 0.27.0 to 0.28.0
@@ -38,3 +38,3 @@ export interface BundleOptions { | ||
sources: string[]; | ||
sourcesContent: string[]; | ||
sourcesContent: (string | null)[]; | ||
names: string[]; | ||
@@ -50,3 +50,3 @@ mappings: SourceMapSegment[][]; | ||
sources: string[]; | ||
sourcesContent: string[]; | ||
sourcesContent: (string | null)[]; | ||
names: string[]; | ||
@@ -53,0 +53,0 @@ mappings: string; |
{ | ||
"name": "magic-string", | ||
"version": "0.27.0", | ||
"version": "0.28.0", | ||
"description": "Modify strings, generate sourcemaps", | ||
@@ -22,5 +22,5 @@ "keywords": [ | ||
".": { | ||
"types": "./index.d.ts", | ||
"import": "./dist/magic-string.es.mjs", | ||
"require": "./dist/magic-string.cjs.js", | ||
"types": "./index.d.ts" | ||
"require": "./dist/magic-string.cjs.js" | ||
} | ||
@@ -37,7 +37,7 @@ }, | ||
"format": "prettier --single-quote --print-width 100 --use-tabs --write src/*.js src/**/*.js", | ||
"lint": "eslint src test", | ||
"lint": "eslint src test && publint", | ||
"prepare": "npm run build", | ||
"prepublishOnly": "rm -rf dist && npm test", | ||
"prepublishOnly": "npm run lint && rm -rf dist && npm test", | ||
"release": "bumpp -x \"npm run changelog\" --all --commit --tag --push && npm publish", | ||
"pretest": "npm run lint && npm run build", | ||
"pretest": "npm run build", | ||
"test": "mocha", | ||
@@ -56,2 +56,3 @@ "bench": "npm run build && node benchmark/index.mjs", | ||
"prettier": "^2.7.1", | ||
"publint": "^0.1.7", | ||
"rollup": "^2.79.1", | ||
@@ -58,0 +59,0 @@ "source-map-js": "^1.0.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
404863
12