lettersanitizer
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "lettersanitizer", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "DOM-based HTML email sanitizer for in-browser email rendering.", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"type": "module", | ||
"main": "./lib/cjs/index.js", | ||
"module": "./lib/esm/index.js", | ||
"types": "./lib/esm/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./lib/cjs/index.js", | ||
"import": "./lib/esm/index.js", | ||
"types": "./lib/esm/index.d.ts" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -21,4 +30,7 @@ "email", | ||
"prepare": "npm run build", | ||
"test": "jest", | ||
"build": "tsc", | ||
"test": "vitest", | ||
"coverage": "vitest --coverage --run", | ||
"build": "npm run build:cjs && npm run build:esm", | ||
"build:esm": "tsc --module esnext --outDir lib/esm && echo '{\"type\": \"module\"}' > lib/esm/package.json", | ||
"build:cjs": "tsc --module commonjs --outDir lib/cjs && echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json", | ||
"lint": "eslint src" | ||
@@ -51,15 +63,13 @@ }, | ||
"devDependencies": { | ||
"@types/jest": "24.9.0", | ||
"@typescript-eslint/eslint-plugin": "^5.37.0", | ||
"@typescript-eslint/parser": "^5.37.0", | ||
"eslint": "^8.23.1", | ||
"@typescript-eslint/eslint-plugin": "^6.7.3", | ||
"@typescript-eslint/parser": "^6.7.3", | ||
"@vitest/coverage-v8": "^0.34.5", | ||
"eslint": "^8.50.0", | ||
"husky": "^8.0.1", | ||
"jest": "24.9.0", | ||
"jsdom": "11.12.0", | ||
"lint-staged": "^13.0.3", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^24.3.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.3" | ||
"prettier": "^3.0.3", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.5" | ||
} | ||
} |
@@ -8,3 +8,3 @@ <h1 align="center">lettersanitizer</h1> | ||
<p align="center"> | ||
<img alt="workflow" src="https://img.shields.io/github/workflow/status/mat-sz/lettersanitizer/Node.js%20CI%20(yarn)"> | ||
<img alt="workflow" src="https://img.shields.io/github/actions/workflow/status/mat-sz/lettersanitizer/node.js.yml?branch=main"> | ||
<a href="https://npmjs.com/package/lettersanitizer"> | ||
@@ -11,0 +11,0 @@ <img alt="npm" src="https://img.shields.io/npm/v/lettersanitizer"> |
{ | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"module": "ES2020", | ||
"module": "CommonJS", | ||
"moduleResolution": "node", | ||
"esModuleInterop": false, | ||
"declaration": true, | ||
"outDir": "./lib", | ||
"lib": ["ES2020", "DOM"], | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"downlevelIteration": true, | ||
"strict": true | ||
@@ -12,0 +11,0 @@ }, |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
41430
10
15
1255
Yes
1