ses
Version:
Hardened JavaScript for Fearless Cooperation
155 lines (154 loc) • 3.98 kB
JSON
{
"name": "ses",
"version": "1.14.0",
"description": "Hardened JavaScript for Fearless Cooperation",
"keywords": [
"lockdown",
"harden",
"Compartment",
"assert",
"security",
"confinement",
"isolation",
"object capabilities",
"ocaps",
"secure execution",
"third-party code",
"prototype pollution",
"supply-chain attack",
"plugin"
],
"author": "Agoric",
"license": "Apache-2.0",
"homepage": "https://github.com/Agoric/SES-shim/tree/master/packages/ses#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/endojs/endo.git",
"directory": "packages/ses"
},
"bugs": {
"url": "https://github.com/endojs/endo/issues"
},
"type": "module",
"main": "./dist/ses.cjs",
"module": "./index.js",
"unpkg": "./dist/ses.umd.js",
"types": "./types.d.ts",
"exports": {
".": {
"import": {
"types": "./types.d.ts",
"xs": "./src-xs/index.js",
"default": "./index.js"
},
"require": {
"types": "./dist/types.d.cts",
"default": "./dist/ses.cjs"
}
},
"./lockdown": {
"import": {
"types": "./types.d.ts",
"default": "./index.js"
},
"require": {
"types": "./dist/types.d.cts",
"default": "./dist/ses.cjs"
}
},
"./hermes": {
"require": {
"types": "./dist/types.d.cts",
"default": "./dist/ses-hermes.cjs"
}
},
"./tools.js": "./tools.js",
"./assert-shim.js": "./assert-shim.js",
"./lockdown-shim.js": {
"xs": "./src-xs/lockdown-shim.js",
"default": "./lockdown-shim.js"
},
"./compartment-shim.js": {
"xs": "./src-xs/compartment-shim.js",
"default": "./compartment-shim.js"
},
"./console-shim.js": "./console-shim.js",
"./package.json": "./package.json"
},
"scripts": {
"build:vanilla": "node scripts/bundle.js",
"build:hermes": "node scripts/bundle.js hermes",
"build": "yarn build:vanilla && yarn build:hermes",
"clean": "rm -rf dist",
"cover": "c8 ava",
"demo": "python3 -m http.server",
"lint": "yarn lint:types && yarn lint:eslint",
"lint-fix": "eslint --fix .",
"lint:eslint": "eslint .",
"lint:types": "tsc",
"prepare": "npm run clean && npm run build",
"qt": "ava",
"test": "tsd && ava",
"test:hermes": "./scripts/hermes-test.sh",
"test:xs": "xst dist/ses.umd.js test/_lockdown-safe.js && node scripts/generate-test-xs.js && xst tmp/test-xs.js && rm -rf tmp",
"postpack": "git clean -fX \"*.d.ts*\" \"*.d.cts*\" \"*.d.mts*\" \"*.tsbuildinfo\""
},
"dependencies": {
"@endo/cache-map": "^1.1.0",
"@endo/env-options": "^1.1.11",
"@endo/immutable-arraybuffer": "^1.1.2"
},
"devDependencies": {
"@babel/generator": "^7.26.3",
"@babel/parser": "~7.26.2",
"@babel/traverse": "~7.25.9",
"@babel/types": "~7.26.0",
"@endo/compartment-mapper": "^1.6.3",
"@endo/module-source": "^1.3.3",
"@endo/test262-runner": "^0.1.48",
"@types/babel__traverse": "^7.20.5",
"ava": "^6.1.3",
"babel-eslint": "^10.1.0",
"c8": "^7.14.0",
"core-js": "^3.31.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.31.0",
"hermes-engine-cli": "^0.12.0",
"prettier": "^3.5.3",
"terser": "^5.16.6",
"tsd": "^0.31.2",
"typescript": "~5.8.3"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
},
"eslintConfig": {
"extends": [
"plugin:@endo/ses"
]
},
"ava": {
"files": [
"test/**/*.test.*"
],
"timeout": "2m"
},
"typeCoverage": {
"atLeast": 81.17
},
"gitHead": "9815aea9541f241389d2135c6097a7442bdffa17"
}