UNPKG

node-opcua-pki

Version:
61 lines (60 loc) 2.28 kB
{ "name": "node-opcua-pki", "version": "6.19.0", "description": "PKI management for node-opcua", "type": "commonjs", "main": "./dist/index.js", "types": "./dist/index.d.ts", "//main": "main/types are the pre-'exports' fallback, used only by resolvers that ignore the exports map. They are deliberately left as the CommonJS pair, matching \"type\": \"commonjs\", so that path behaves exactly as it did before - do not 'fix' one without the other.", "//exports": "types are declared PER CONDITION on purpose. A single shared \"types\" key is resolved for BOTH import and require; since this package is \"type\": \"commonjs\", a bare .d.ts is a CommonJS module, so an ESM consumer got CJS types describing the real .mjs it imports. attw reports that as FalseCJS ('Masquerading as CJS'); it was present in 6.18.0. The .d.mts file already existed - tsup emits it from dts:true with format esm+cjs - the map simply never pointed at it.", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./package.json": "./package.json" }, "bin": { "pki": "./dist/bin/pki.mjs", "node-opcua-pki": "./dist/bin/pki.mjs" }, "files": [ "dist", "bin", "LICENSE", "readme.md" ], "repository": { "type": "git", "url": "https://github.com/node-opcua/node-opcua-pki.git" }, "bugs": { "url": "https://github.com/node-opcua/node-opcua-pki/issues" }, "keywords": [ "PKI", "node-opcua" ], "collective": { "url": "https://opencollective.com/node-opcua" }, "author": "Etienne Rossignon", "license": "MIT", "dependencies": { "@ster5/global-mutex": "^3.3.0", "byline": "^5.0.0", "chalk": "4.1.2", "chokidar": "4.0.3", "command-line-args": "^6.0.2", "command-line-usage": "^7.0.4", "node-opcua-crypto": "5.4.0", "yauzl": "^3.4.0" }, "gitHead": "3a43116bac242fa14bdc99ae1bdee1f4054fdb6b" }