Socket
Socket
Sign inDemoInstall

obfuscate-mail

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.2 to 1.4.3

dist/bundle.mjs

14

package.json
{
"name": "obfuscate-mail",
"version": "1.4.2",
"version": "1.4.3",
"description": "Obfuscate email",
"main": "dist/bundle.js",
"types": "index.d.ts",
"main": "obfuscateEmail.js",
"types": "obfuscateEmail.d.ts",
"exports": {
".": {
"require": "./dist/bundle.js",
"types": "./index.d.ts"
"import": "./dist/bundle.mjs"
}

@@ -16,3 +16,3 @@ },

".": [
"index.d.ts"
"obfuscateEmail.d.ts"
]

@@ -24,3 +24,2 @@ }

},
"module": "dist/bundle.js",
"scripts": {

@@ -30,3 +29,4 @@ "test": "npm run test:source",

"test:source": "cp test/obfuscate.js test/obfuscate.source.js && echo 'const obfuscate = require(\"../obfuscateEmail\");const { DEFAULT_OPTIONS } = require(\"../utils\");' | cat - test/obfuscate.source.js > temp && mv temp test/obfuscate.source.js && mocha test/obfuscate.source.js && rm test/obfuscate.source.js",
"build": "npm run types:emit && npm run bundle",
"build": "npm run types:emit && npm run bundle && npm run build:esm",
"build:esm": "npx gen-esm-wrapper dist/bundle.js dist/bundle.mjs",
"bundle": "rm -f dist/bundle.js && mkdir -p dist && browserify --standalone obfuscateEmail --node --ignore-missing obfuscateEmail.js | terser > ./dist/bundle.js",

@@ -33,0 +33,0 @@ "types:emit": "tsc --allowJs --removeComments",

{
"compilerOptions": {
"module": "CommonJS",
"target": "es2021",
"lib": ["es2021"],
"target": "ES6",
"lib": ["ES6"],
"checkJs": true,

@@ -10,8 +9,8 @@ "skipLibCheck": true,

"emitDeclarationOnly": true,
"outFile": "index.d.ts",
"moduleResolution": "node",
"noStrictGenericChecks": true
"noStrictGenericChecks": true,
"esModuleInterop": true
},
"include": ["*.js"],
"exclude": ["*.d.ts", "node_modules"]
"include": ["obfuscateEmail.js"],
"exclude": ["node_modules"]
}
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