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

cjs-esm

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cjs-esm - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

dist/index.d.ts

@@ -17,1 +17,5 @@ import { Context } from './context';

export declare function transform(code: string, options?: TransformeOptions): Transformed;
declare const _default: {
transform: typeof transform;
};
export default _default;

4

dist/index.js

@@ -10,4 +10,3 @@ "use strict";

const context = context_1.createContext({ code });
const analyze = analyze_1.createAnalyze(context);
analyze.analyze();
analyze_1.createAnalyze(context).analyze();
transform_1.createTransform(context, {

@@ -28,1 +27,2 @@ transformImport: options.transformImport,

exports.transform = transform;
exports.default = { transform }; // Compatible tsc transpileModule
{
"name": "cjs-esm",
"version": "0.1.2",
"version": "0.1.3",
"description": "Another CommonJs transform ESModule lib.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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