uint8arrays
Version:
Utility functions to make dealing with Uint8Arrays easier
251 lines (250 loc) • 6.6 kB
JSON
{
"name": "uint8arrays",
"version": "5.1.1",
"description": "Utility functions to make dealing with Uint8Arrays easier",
"author": "Alex Potsides <alex@achingbrain.net>",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/achingbrain/uint8arrays#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/achingbrain/uint8arrays.git"
},
"bugs": {
"url": "https://github.com/achingbrain/uint8arrays/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js",
"module-sync": "./dist/src/index.js"
},
"./alloc": {
"types": "./dist/src/alloc.d.ts",
"node": "./dist/src/alloc.node.js",
"import": "./dist/src/alloc.js",
"module-sync": "./dist/src/alloc.js"
},
"./compare": {
"types": "./dist/src/compare.d.ts",
"node": "./dist/src/compare.node.js",
"import": "./dist/src/compare.js",
"module-sync": "./dist/src/compare.js"
},
"./concat": {
"types": "./dist/src/concat.d.ts",
"node": "./dist/src/concat.node.js",
"import": "./dist/src/concat.js",
"module-sync": "./dist/src/concat.js"
},
"./equals": {
"types": "./dist/src/equals.d.ts",
"import": "./dist/src/equals.js",
"module-sync": "./dist/src/equals.js"
},
"./from-string": {
"types": "./dist/src/from-string.d.ts",
"node": "./dist/src/from-string.node.js",
"import": "./dist/src/from-string.js",
"module-sync": "./dist/src/from-string.js"
},
"./to-string": {
"types": "./dist/src/to-string.d.ts",
"node": "./dist/src/to-string.node.js",
"import": "./dist/src/to-string.js",
"module-sync": "./dist/src/to-string.js"
},
"./xor": {
"types": "./dist/src/xor.d.ts",
"import": "./dist/src/xor.js",
"module-sync": "./dist/src/xor.js"
},
"./xor-compare": {
"types": "./dist/src/xor-compare.d.ts",
"import": "./dist/src/xor-compare.js",
"module-sync": "./dist/src/xor-compare.js"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "deps",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
]
}
]
]
},
"scripts": {
"clean": "aegir clean",
"test": "aegir test",
"test:node": "aegir test -t node --cov",
"test:chrome": "aegir test -t browser --cov",
"test:chrome-webworker": "aegir test -t webworker",
"test:firefox": "aegir test -t browser -- --browser firefox",
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
"lint": "aegir lint",
"release": "aegir release",
"build": "aegir build",
"dep-check": "aegir dep-check",
"docs": "aegir docs"
},
"dependencies": {
"multiformats": "^13.0.0"
},
"devDependencies": {
"@types/benchmark": "^2.1.1",
"aegir": "^47.1.5",
"benchmark": "^2.1.4"
},
"imports": {
"#util/as-uint8array": {
"types": "./dist/src/util/as-uint8array.d.ts",
"node": "./dist/src/util/as-uint8array.node.js",
"import": "./dist/src/util/as-uint8array.js"
},
"#alloc": {
"types": "./dist/src/alloc.d.ts",
"node": "./dist/src/alloc.node.js",
"import": "./dist/src/alloc.js"
},
"#compare": {
"types": "./dist/src/compare.d.ts",
"node": "./dist/src/compare.node.js",
"import": "./dist/src/compare.js"
},
"#concat": {
"types": "./dist/src/concat.d.ts",
"node": "./dist/src/concat.node.js",
"import": "./dist/src/concat.js"
},
"#from-string": {
"types": "./dist/src/from-string.d.ts",
"node": "./dist/src/from-string.node.js",
"import": "./dist/src/from-string.js"
},
"#to-string": {
"types": "./dist/src/to-string.d.ts",
"node": "./dist/src/to-string.node.js",
"import": "./dist/src/to-string.js"
}
},
"react-native": {
"#util/as-uint8array": "./dist/src/util/as-uint8array.js",
"#alloc": "./dist/src/alloc.js",
"#compare": "./dist/src/compare.js",
"#concat": "./dist/src/concat.js",
"#from-string": "./dist/src/from-string.js",
"#to-string": "./dist/src/to-string.js"
}
}