Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uint8arrays

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uint8arrays - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

cjs/src/compare.js

17

index.js

@@ -1,16 +0,1 @@

'use strict'
const compare = require('./compare')
const concat = require('./concat')
const equals = require('./equals')
const fromString = require('./from-string')
const toString = require('./to-string')
const xor = require('./xor')
module.exports = {
compare,
concat,
equals,
fromString,
toString,
xor
}
module.exports = require('./cjs/src/index.js')
{
"name": "uint8arrays",
"version": "2.1.8",
"version": "2.1.9",
"description": "Utility functions to make dealing with Uint8Arrays easier",
"main": "index.js",
"main": "./cjs/src/index.js",
"author": "Alex Potsides <alex@achingbrain.net>",
"homepage": "https://github.com/achingbrain/uint8arrays",
"bugs": "https://github.com/achingbrain/uint8arrays/issues",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/*"
],
"index.js": [
"dist/index.d.ts"
]
}
},
"files": [
"compare.js",
"concat.js",
"equals.js",
"from-string.js",
"index.js",
"to-string.js",
"xor.js",
"dist/**/*.ts",
"dist/**/*.map",
"dist/**/*.js",
"util/*.js"
],
"types": "types/index.d.ts",
"repository": {

@@ -38,3 +15,2 @@ "type": "git",

"scripts": {
"prepare": "aegir build --no-bundle",
"test": "aegir test",

@@ -52,3 +28,3 @@ "lint": "aegir ts -p check && aegir lint",

"devDependencies": {
"aegir": "^34.0.2",
"aegir": "https://gitpkg.now.sh/ipfs/aegir?feat/build-esm-modules-follow-up",
"util": "^0.12.4"

@@ -58,2 +34,5 @@ },

"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
},
"ignorePatterns": [

@@ -63,2 +42,49 @@ "!.aegir.js"

},
"typesVersions": {
"*": {
"*": [
"types/*"
],
"types/*": [
"types/*"
]
}
},
"exports": {
".": {
"browser": "./esm/src/index.js",
"require": "./cjs/src/index.js",
"import": "./esm/src/index.js"
},
"./compare": {
"browser": "./esm/src/compare.js",
"require": "./cjs/src/compare.js",
"import": "./esm/src/compare.js"
},
"./concat": {
"browser": "./esm/src/concat.js",
"require": "./cjs/src/concat.js",
"import": "./esm/src/concat.js"
},
"./equals": {
"browser": "./esm/src/equals.js",
"require": "./cjs/src/equals.js",
"import": "./esm/src/equals.js"
},
"./fromString": {
"browser": "./esm/src/from-string.js",
"require": "./cjs/src/from-string.js",
"import": "./esm/src/from-string.js"
},
"./toString": {
"browser": "./esm/src/to-string.js",
"require": "./cjs/src/to-string.js",
"import": "./esm/src/to-string.js"
},
"./xor": {
"browser": "./esm/src/xor.js",
"require": "./cjs/src/xor.js",
"import": "./esm/src/xor.js"
}
},
"contributors": [

@@ -69,5 +95,13 @@ "achingbrain <alex@achingbrain.net>",

"Hugo Dias <hugomrdias@gmail.com>",
"Mircea Nistor <mirceanis@gmail.com>",
"Rafael Ramalho <rafazelramalho19@gmail.com>"
]
],
"browser": {
".": "./cjs/src/index.js",
"./compare": "./cjs/src/compare.js",
"./concat": "./cjs/src/concat.js",
"./equals": "./cjs/src/equals.js",
"./fromString": "./cjs/src/from-string.js",
"./toString": "./cjs/src/to-string.js",
"./xor": "./cjs/src/xor.js"
}
}
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