New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hexagon/base64

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexagon/base64 - npm Package Compare versions

Comparing version 1.1.28 to 2.0.0-dev.0

esm/_dnt.test_shims.d.ts.map

68

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc