Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chialab/estransform

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chialab/estransform - npm Package Compare versions

Comparing version 0.10.0 to 0.10.4

4

lib/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc