@hexagon/base64
Advanced tools
Comparing version 1.1.28 to 2.0.0-dev.0
{ | ||
"name": "@hexagon/base64", | ||
"version": "1.1.28", | ||
"version": "2.0.0-dev.0", | ||
"description": "Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.", | ||
"author": "Hexagon <github.com/hexagon>", | ||
"contributors": [ | ||
{ | ||
"name": "Niklas von Hertzen", | ||
"email": "niklasvh@gmail.com", | ||
"url": "https://hertzen.com" | ||
} | ||
], | ||
"homepage": "https://base64.56k.guru", | ||
@@ -21,54 +14,19 @@ "repository": { | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"src/*", | ||
"types/*", | ||
"SECURITY.md" | ||
], | ||
"keywords": [ | ||
"base64", | ||
"base64url", | ||
"parser", | ||
"base64", | ||
"isomorphic", | ||
"arraybuffer", | ||
"string" | ||
], | ||
"scripts": { | ||
"test": "uvu test test.base64.js", | ||
"test:dist": "uvu test/node/js && npm run test:ts", | ||
"test:coverage": "c8 --include=src npm test", | ||
"test:lint": "eslint ./**/*.js ./**/*.cjs", | ||
"test:lint:fix": "eslint --fix ./**/*.js ./**/*.cjs", | ||
"test:ts": "tsc --strict --noEmit ./test/node/ts/basics.ts", | ||
"build": "npm update && npm run build:precleanup && npm run test:lint && npm run build:typings && npm run build:dist && npm run build:minify && npm run build:cleanup && npm run test:coverage && npm run test:dist", | ||
"build:ci": "npm run test:lint && npm run build:typings && npm run build:dist && npm run build:minify && npm run build:cleanup && npm run test:coverage && npm run test:dist", | ||
"build:precleanup": "(rm -rf types/* || del /Q types\\*) && (rm -rf dist/* || del /Q dist\\*)", | ||
"build:dist": "rollup -c ./rollup.config.js", | ||
"build:minify": "uglifyjs dist/base64.cjs --source-map -o dist/base64.min.js && uglifyjs dist/base64.mjs --source-map -o dist/base64.min.mjs", | ||
"build:typings": "tsc", | ||
"build:cleanup": "(rm dist/base64.mjs || del dist\\base64.mjs)" | ||
}, | ||
"type": "module", | ||
"main": "./dist/base64.cjs", | ||
"browser": "./dist/base64.min.js", | ||
"module": "./src/base64.js", | ||
"types": "types/base64.single.d.ts", | ||
"main": "./script/src/base64.js", | ||
"module": "./esm/src/base64.js", | ||
"exports": { | ||
".": { | ||
"import": "./src/base64.js", | ||
"require": "./dist/base64.cjs", | ||
"browser": "./dist/base64.min.js" | ||
"import": "./esm/src/base64.js", | ||
"require": "./script/src/base64.js" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "node test_runner.js" | ||
}, | ||
"devDependencies": { | ||
"c8": "^8.0.1", | ||
"eslint": "^8.46.0", | ||
"jsdoc": "^4.0.2", | ||
"rollup": "^3.27.2", | ||
"typescript": "^5.2.2", | ||
"uglify-js": "^3.17.4", | ||
"uvu": "^0.5.6" | ||
"@types/node": "^20.9.0", | ||
"picocolors": "^1.0.0", | ||
"@deno/shim-deno": "~0.18.0" | ||
}, | ||
"license": "MIT" | ||
} | ||
"_generatedBy": "dnt@dev" | ||
} |
@@ -41,4 +41,6 @@ <p align="center"> | ||
Deno: `import base64 from "https://deno.land/x/b64@1.1.28/src/base64.js";` | ||
Deno (x): `import base64 from "https://deno.land/x/b64@1.1.28/src/base64.js";` | ||
Deno (jsr.io): `import base64 from "jsr:@hexagon/base64@1.1.28";` | ||
For browser/cdn usage, refer to the documentation. | ||
@@ -45,0 +47,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
48994
3
86
72
367
1
1
No