@yandeu/events
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
{ | ||
"name": "@yandeu/events", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Simplified and TypeScripted version of EventEmitter3@4.0.7", | ||
"type": "module", | ||
"type": "commonjs", | ||
"main": "./cjs/index.js", | ||
"exports": { | ||
"import": "./cjs/index.js", | ||
"require": "./esm/index.js" | ||
}, | ||
"types": "./cjs/index.d.ts", | ||
"author": "Yannick Deubel (https://github.com/yandeu)", | ||
@@ -30,3 +27,3 @@ "license": "MIT", | ||
"dev:tsc-esm": "tsc --project tsconfig.esm.json --watch", | ||
"build": "npm-run-all build:*", | ||
"build": "npm-run-all build:* && node scripts/rename.cjs", | ||
"build:tsc-cjs": "tsc --project tsconfig.cjs.json", | ||
@@ -33,0 +30,0 @@ "build:tsc-esm": "tsc --project tsconfig.esm.json", |
@@ -25,4 +25,7 @@ # Events | ||
```ts | ||
import { Events } from '@yandeu/events' | ||
const { Events } = require('@yandeu/events') | ||
// (experimental ECMAScript modules for Node.js) | ||
// import { Events } from '@yandeu/events/esm/index.mjs' | ||
const events = new Events() | ||
@@ -29,0 +32,0 @@ |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17
504
44
38231
1
No