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

@xylabs/arraybuffer

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/arraybuffer - npm Package Compare versions

Comparing version 3.6.12 to 4.0.0

xy.config.ts

16

dist/neutral/index.d.ts

@@ -1,5 +0,13 @@

export * from './equalArrayBuffers.ts';
export * from './toArrayBuffer.ts';
export * from './toUint8Array.ts';
export { isArrayBuffer } from '@xylabs/lodash';
//# sourceMappingURL=index.d.ts.map
declare const equalArrayBuffers: (a1: ArrayBuffer, a2: ArrayBuffer) => boolean;
declare function toArrayBuffer(value: undefined, padLength?: number, base?: number): undefined;
declare function toArrayBuffer(value: ArrayBuffer | string, padLength?: number, base?: number): Uint8Array;
declare function toArrayBuffer(value: ArrayBuffer | string | undefined, padLength?: number, base?: number): Uint8Array | undefined;
declare function toUint8Array(value: undefined, padLength?: number, base?: number): undefined;
declare function toUint8Array(value: ArrayBuffer | string, padLength?: number, base?: number): Uint8Array;
declare function toUint8Array(value: ArrayBuffer | string | undefined, padLength?: number, base?: number): Uint8Array | undefined;
export { equalArrayBuffers, toArrayBuffer, toUint8Array };

@@ -16,37 +16,18 @@ {

".": {
"browser": {
"require": {
"types": "./dist/browser/index.d.cts",
"default": "./dist/browser/index.cjs"
},
"import": {
"types": "./dist/browser/index.d.ts",
"default": "./dist/browser/index.mjs"
}
},
"node": {
"require": {
"types": "./dist/node/index.d.cts",
"default": "./dist/node/index.cjs"
},
"import": {
"types": "./dist/node/index.d.ts",
"default": "./dist/node/index.mjs"
}
}
"types": "./dist/neutral/index.d.ts",
"default": "./dist/neutral/index.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/node/index.cjs",
"module": "dist/node/index.mjs",
"types": "dist/node/index.d.ts",
"module": "dist/neutral/index.mjs",
"types": "dist/neutral/index.d.ts",
"dependencies": {
"@scure/base": "^1.1.7",
"@xylabs/assert": "^3.6.12",
"@xylabs/lodash": "^3.6.12",
"@xylabs/typeof": "^3.6.12"
"@xylabs/assert": "^4.0.0",
"@xylabs/lodash": "^4.0.0",
"@xylabs/typeof": "^4.0.0"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.15.14",
"@xylabs/tsconfig": "^3.15.14",
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
"@xylabs/tsconfig": "^4.0.0-rc.15",
"typescript": "^5.5.4"

@@ -72,4 +53,4 @@ },

"sideEffects": false,
"version": "3.6.12",
"version": "4.0.0",
"type": "module"
}
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