Socket
Socket
Sign inDemoInstall

@chialab/cjs-to-esm

Package Overview
Dependencies
3
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.6 to 0.18.0-alpha.0

4

lib/index.js

@@ -17,4 +17,4 @@ import { TokenType, parse, walk, getBlock, getStatement, parseCommonjs, parseEsm, createEmptySourcemapComment } from '@chialab/estransform';

export const REQUIRE_FUNCTION = '$$cjs_default$$';
export const HELPER_MODULE = '$$cjs_helper$$.js';
export const REQUIRE_FUNCTION = '__cjs_default__';
export const HELPER_MODULE = '__cjs_helper__.js';

@@ -21,0 +21,0 @@ export const GLOBAL_HELPER = `((typeof window !== 'undefined' && window) ||

{
"name": "@chialab/cjs-to-esm",
"type": "module",
"version": "0.17.6",
"version": "0.18.0-alpha.0",
"description": "A commonjs to esm converter.",

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

"dependencies": {
"@chialab/estransform": "^0.17.3"
"@chialab/estransform": "^0.18.0-alpha.0"
},

@@ -33,0 +33,0 @@ "devDependencies": {

@@ -73,4 +73,4 @@ /**

export const THIS_PARAM: RegExp;
export const REQUIRE_FUNCTION: "$$cjs_default$$";
export const HELPER_MODULE: "$$cjs_helper$$.js";
export const REQUIRE_FUNCTION: "__cjs_default__";
export const HELPER_MODULE: "__cjs_helper__.js";
export const GLOBAL_HELPER: "((typeof window !== 'undefined' && window) ||\n(typeof self !== 'undefined' && self) ||\n(typeof global !== 'undefined' && global) ||\n(typeof globalThis !== 'undefined' && globalThis) ||\n{})";

@@ -77,0 +77,0 @@ export const REQUIRE_HELPER: string;

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc