{
  "name": "ses",
  "version": "2.0.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 --config test/_ava-ses.config.js",
    "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 -e node_modules/"
  },
  "dependencies": {
    "@endo/cache-map": "^1.1.0",
    "@endo/env-options": "^1.1.11",
    "@endo/immutable-arraybuffer": "^1.1.2"
  },
  "devDependencies": {
    "@babel/generator": "^7.28.3",
    "@babel/parser": "~7.28.3",
    "@babel/traverse": "~7.28.3",
    "@babel/types": "~7.28.2",
    "@endo/compartment-mapper": "^2.1.0",
    "@endo/module-source": "^1.4.1",
    "@endo/test262-runner": "^0.1.50",
    "ava": "catalog:dev",
    "c8": "catalog:dev",
    "core-js": "^3.31.0",
    "eslint": "catalog:dev",
    "hermes-engine-cli": "^0.12.0",
    "terser": "^5.16.6",
    "tsd": "catalog:dev",
    "typescript": "catalog:dev"
  },
  "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": "c3616c39c35f2d052f7083aba31054910951beb4"
}
