Socket
Socket
Sign inDemoInstall

safevalues

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.3 to 0.5.0

dom/package.json

57

package.json
{
"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

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