Socket
Socket
Sign inDemoInstall

js-awe

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-awe - npm Package Compare versions

Comparing version 1.0.38 to 1.0.39

dist/cjs/anonymize.d.ts

12

package.json
{
"name": "js-awe",
"version": "1.0.38",
"version": "1.0.39",
"homepage": "https://github.com/josuamanuel/js-awe",

@@ -23,2 +23,8 @@ "author": "josuamanuel@hotmail.com",

"type": "module",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
}
},
"main": "src/index.js",

@@ -29,3 +35,5 @@ "types": "types/index.d.ts",

"testUT": "export CONFIG_ENV=Testing && export LOG_LEVEL=SILENT && mocha ./test/**/*.js",
"build": "rollup -c"
"buildWeb": "rollup -c",
"buildLib": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup",
"buildTypes": "tsc -p tsconfig-types.json"
},

@@ -32,0 +40,0 @@ "license": "MIT",

2

README.md

@@ -259,3 +259,3 @@ # js-awe

tsc -p tsconfig.json
tsc -p tsconfig-types.json

@@ -262,0 +262,0 @@ This will output types in ./genTypes then we will need to copy the new type definitions into ./types/ . This is to keep the documentation that was already manually generated.

{
// Change this to match your project
"include": ["src/**/*"],
"extends": "./tsconfig-base.json",
"compilerOptions": {
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": true,
// Generate d.ts files
"declaration": true,
// This compiler run should
// only output d.ts files
"emitDeclarationOnly": true,
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "genTypes",
// go to js file when using IDE functions like
// "Go to Definition" in VSCode
"declarationMap": true
"module": "esnext",
"outDir": "dist/mjs",
"target": "esnext"
}
}
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