@chialab/estransform
Advanced tools
Comparing version 0.10.0 to 0.10.4
@@ -9,3 +9,3 @@ import { readFile } from 'fs/promises'; | ||
const SOURCEMAP_REGEX = /(?:(\/\*+[\s\S]*?sourceMappingURL\s*=)([\s\S]*?)(\*\/))|(?:(\/\/.*?sourceMappingURL\s*=)(.*?)([\r\n]))/; | ||
const SOURCEMAP_REGEX = /(?:(\/\*+\s*?sourceMappingURL\s*=)([\s\S]*?)(\*\/))|(?:(\/\/\s*?sourceMappingURL\s*=)(.*?)([\r\n]))/; | ||
@@ -285,6 +285,6 @@ const Parser = AcornParser.extend(/** @type {*} */ (jsx())); | ||
if (code) { | ||
pipeline.code = code; | ||
if (pipeline.sourceMaps && map && code !== pipeline.code) { | ||
pipeline.sourceMaps.push(map); | ||
} | ||
pipeline.code = code; | ||
} | ||
@@ -291,0 +291,0 @@ |
{ | ||
"name": "@chialab/estransform", | ||
"type": "module", | ||
"version": "0.10.0", | ||
"version": "0.10.4", | ||
"description": "Execute multiple transformations on JavaScript sources with full sourcemaps support.", | ||
@@ -46,3 +46,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "c77e08a61882aa710601732c035efd9fb7164bc3" | ||
"gitHead": "7f174e0680356966c7cce4b50f2cf2bc58492c5a" | ||
} |
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
16765