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

esmodule-example

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esmodule-example - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

67

lib/example-1.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var test;
(function (test) {
test.c = class CC {
static hoge() {
return 'hoge'
}
}
function a() {
return 99;
}
test.a = a;
function a() {
return 99;
}
test.a = a;
})(test || (test = {}));
(function (test) {
function ee() {
return test.a() + test.b() * 2;
}
test.ee = ee;
function ee() {
return test.a() + test.b() * 2;
}
test.ee = ee;
})(test || (test = {}));
//# sourceMappingURL=a.js.map
"use strict";
var test;
(function (test) {
function b() {
return 55;
}
test.b = b;
function b() {
return 55;
}
test.b = b;
})(test || (test = {}));
//# sourceMappingURL=b.js.map
"use strict";
var test;
(function (test) {
function z() {
return 246;
}
test.z = z;
function z() {
return 246;
}
test.z = z;
})(test || (test = {}));
//# sourceMappingURL=z.js.map
var test;
(function (test) {
test.version = '1.0.0';
test.version = '1.0.0';
})(test || (test = {}));
export default test;
//# sourceMappingURL=export.js.map
//# sourceMappingURL=lib/example-1.mjs.map
var _default = test;
exports.default = _default;
{
"name": "esmodule-example",
"version": "0.2.0",
"description": "> TODO: description",
"version": "0.2.1",
"description": "ES Modules example",
"author": "Fumio Furukawa <fumio@jumilla.me>",
"homepage": "https://github.com/jumilla/node-esmodule#readme",
"license": "Apache-2.0",
"main": "lib/example-1.mjs",
"main": "lib/example-1",
"types": "lib/example-1.d.ts",

@@ -29,9 +29,8 @@ "directories": {

"devDependencies": {
"esmodule-builder": "^0.2.0"
"esmodule-builder": "^0.2.1"
},
"dependencies": {
"esmodule-server": "^0.2.0",
"example-runner": "^0.2.0"
"esmodule-server": "^0.2.0"
},
"gitHead": "ecc47493c51ec6fcb5c21c152cc1ddd4a138bc4e"
"gitHead": "cc03dce39fc769c6230d8e0a29c02dc398876b3e"
}
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