iron-webcrypto
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -133,3 +133,3 @@ /** | ||
*/ | ||
declare const macPrefix: string; | ||
declare const macPrefix = "Fe26.2"; | ||
/** | ||
@@ -136,0 +136,0 @@ * Generate cryptographically strong pseudorandom bits. |
@@ -1,2 +0,2 @@ | ||
// node_modules/.pnpm/@aws-sdk+util-base64@3.310.0/node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js | ||
// node_modules/.pnpm/@smithy+util-base64@2.0.0/node_modules/@smithy/util-base64/dist-es/constants.browser.js | ||
var alphabetByEncoding = {}; | ||
@@ -30,3 +30,3 @@ var alphabetByValue = new Array(64); | ||
// node_modules/.pnpm/@aws-sdk+util-base64@3.310.0/node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js | ||
// node_modules/.pnpm/@smithy+util-base64@2.0.0/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js | ||
var fromBase64 = (input) => { | ||
@@ -66,3 +66,3 @@ let totalByteLength = input.length / 4 * 3; | ||
// node_modules/.pnpm/@aws-sdk+util-base64@3.310.0/node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js | ||
// node_modules/.pnpm/@smithy+util-base64@2.0.0/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js | ||
function toBase64(input) { | ||
@@ -69,0 +69,0 @@ let str = ""; |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "iron-webcrypto", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "a cryptographic utility for sealing-unsealing a JSON object using symmetric key encryption with message integrity verification", | ||
@@ -23,12 +23,6 @@ "keywords": [ | ||
"exports": { | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/index.d.cts", | ||
"default": "./dist/index.cjs" | ||
} | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"main": "./dist/index.cjs", | ||
"main": "dist/index.cjs", | ||
"files": [ | ||
@@ -42,2 +36,3 @@ "dist/*" | ||
"prepublishOnly": "pnpm lint && pnpm test:node", | ||
"test": "pnpm prepublishOnly && pnpm test:bun && pnpm test:deno", | ||
"test:bun": "bun --cwd=tests/bun test", | ||
@@ -48,33 +43,33 @@ "test:deno": "deno test tests/deno/index.test.ts --parallel --no-check", | ||
"devDependencies": { | ||
"@arethetypeswrong/cli": "^0.7.0", | ||
"@aws-sdk/util-base64": "^3.310.0", | ||
"@commitlint/cli": "^17.6.6", | ||
"@commitlint/config-conventional": "^17.6.6", | ||
"@arethetypeswrong/cli": "^0.8.0", | ||
"@commitlint/cli": "^17.7.1", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@release-it/conventional-changelog": "^7.0.0", | ||
"@types/node": "^20.4.2", | ||
"@types/semver": "^7.5.0", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"bun-types": "^0.6.14", | ||
"eslint": "^8.45.0", | ||
"@smithy/util-base64": "^2.0.0", | ||
"@types/node": "^20.5.7", | ||
"@types/semver": "^7.5.1", | ||
"@typescript-eslint/eslint-plugin": "^6.5.0", | ||
"@typescript-eslint/parser": "^6.5.0", | ||
"bun-types": "^0.8.1", | ||
"eslint": "^8.48.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-config-airbnb-typescript": "^17.1.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-import-resolver-node": "^0.3.7", | ||
"eslint-import-resolver-typescript": "^3.5.5", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-import-resolver-node": "^0.3.9", | ||
"eslint-import-resolver-typescript": "^3.6.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-security": "^1.7.1", | ||
"lefthook": "^1.4.5", | ||
"prettier": "^3.0.0", | ||
"lefthook": "^1.4.9", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-packagejson": "^2.4.5", | ||
"publint": "^0.1.16", | ||
"release-it": "^16.1.2", | ||
"publint": "^0.2.2", | ||
"release-it": "^16.1.5", | ||
"replace": "^1.2.2", | ||
"test": "^3.3.0", | ||
"tsup": "^7.1.0", | ||
"tsup": "^7.2.0", | ||
"tsx": "^3.12.7", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.2.2" | ||
}, | ||
"packageManager": "pnpm@8.6.8" | ||
"packageManager": "pnpm@8.7.0" | ||
} |
@@ -27,3 +27,3 @@ # iron-webcrypto (beta) [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue?style=flat-square)](https://www.jsdocs.io/package/iron-webcrypto) [![downloads](https://img.shields.io/npm/dm/iron-webcrypto?style=flat-square)](https://www.npmjs.com/package/iron-webcrypto) [![npm](https://img.shields.io/npm/v/iron-webcrypto?style=flat-square)](https://www.npmjs.com/package/iron-webcrypto) | ||
```ts | ||
import * as Iron from 'https://esm.sh/iron-webcrypto@0.7.1' | ||
import * as Iron from 'https://esm.sh/iron-webcrypto@0.8.0' | ||
``` | ||
@@ -91,5 +91,5 @@ | ||
@aws-sdk/util-base64 | ||
@smithy/util-base64 | ||
Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
https://cdn.jsdelivr.net/npm/@aws-sdk/util-base64@3.310.0/LICENSE | ||
https://cdn.jsdelivr.net/npm/@smithy/util-base64@2.0.0/LICENSE | ||
``` | ||
@@ -96,0 +96,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
44591