New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.11.8 to 0.11.10

2

lib/parser.js

@@ -61,3 +61,3 @@ import { Parser as AcornParser } from 'acorn';

export function parseComments(code) {
const matches = code.match(/(\/\*[\w'\s\r\n*]*\*\/)|(\/\/[\w\s']*)/g);
const matches = code.match(/\/\*[\s\S]*?\*\/|(?:[^\\:]|^)\/\/.*$/gm);
if (!matches) {

@@ -64,0 +64,0 @@ return [];

{
"name": "@chialab/estransform",
"type": "module",
"version": "0.11.8",
"version": "0.11.10",
"description": "Execute multiple transformations on JavaScript sources with full sourcemaps support.",

@@ -46,3 +46,3 @@ "main": "lib/index.js",

},
"gitHead": "c4e60500a376fc358091abeb9b2aa1c4957d5578"
"gitHead": "4475da9b7503ad14fe9afd466cb42565b09add6c"
}
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