safevalues
Advanced tools
Comparing version 0.4.3 to 0.5.0
{ | ||
"name": "safevalues", | ||
"version": "0.4.3", | ||
"version": "0.5.0", | ||
"description": "Safe builders for Trusted Types values", | ||
@@ -11,37 +11,34 @@ "repository": "https://github.com/google/safevalues", | ||
}, | ||
"main": "index.js", | ||
"module": "index.mjs", | ||
"types": "index.d.ts", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/mjs/index.js", | ||
"types": "dist/mjs/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./index.js", | ||
"import": "./index.mjs", | ||
"types": "./index.d.ts" | ||
}, | ||
"./restricted/*": { | ||
"require": "./restricted/*.js", | ||
"import": "./restricted/*.mjs", | ||
"types": "./restricted/*.d.ts" | ||
}, | ||
"./dom": { | ||
"require": "./dom/index.js", | ||
"import": "./dom/index.mjs", | ||
"types": "./dom/index.d.ts" | ||
} | ||
".": { | ||
"import": "./dist/mjs/index.js", | ||
"require": "./dist/cjs/index.js", | ||
"types": "./dist/mjs/index.d.ts" | ||
}, | ||
"./restricted/*": { | ||
"import": "./dist/mjs/restricted/*.js", | ||
"require": "./dist/cjs/restricted/*.js", | ||
"types": "./dist/mjs/restricted/*.d.ts" | ||
}, | ||
"./dom": { | ||
"import": "./dist/mjs/dom/index.js", | ||
"require": "./dist/cjs/dom/index.js", | ||
"types": "./dist/mjs/dom/index.d.ts" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"files": [ | ||
"/index.*", | ||
"/environment/*", | ||
"/restricted/*", | ||
"/internals/*", | ||
"/builders/*", | ||
"/dom/*" | ||
"dist/", | ||
"dom/", | ||
"restricted/" | ||
], | ||
"scripts": { | ||
"clean": "rm -rf ./dist", | ||
"build": "yarn clean && yarn build:esm && yarn build:cjs", | ||
"build:esm": "yarn && tsc -p ./tsconfig.esm.json", | ||
"build:cjs": "yarn && tsc -p ./tsconfig.cjs.json", | ||
"prepack": "yarn test && bash ./prepack.sh", | ||
"clean": "rm -rf ./dist/*", | ||
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:fixup", | ||
"build:esm": "yarn && tsc -p ./tsconfig.json", | ||
"build:cjs": "yarn && tsc -p ./tsconfig-cjs.json", | ||
"build:fixup": "./fixup.sh", | ||
"test": "yarn build && karma start --browsers ChromeHeadless,FirefoxHeadless --single-run", | ||
@@ -48,0 +45,0 @@ "itest": "yarn build && karma start --browsers ChromeHeadless,FirefoxHeadless" |
# safevalues | ||
WARNING: This library is still in development and we might make | ||
backward-incompatible changes at any moment. | ||
Safevalues is a library to help you prevent Cross-Site Scripting vulnerabilities | ||
@@ -7,0 +4,0 @@ in TypeScript (and JavaScript). It is meant to be used together with |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
17366
6
0
80
2