Socket
Socket
Sign inDemoInstall

@ethersproject/bytes

Package Overview
Dependencies
1
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.3 to 5.0.4

2

lib.esm/_version.d.ts

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

export declare const version = "bytes/5.0.3";
export declare const version = "bytes/5.0.4";

@@ -1,2 +0,2 @@

export const version = "bytes/5.0.3";
export const version = "bytes/5.0.4";
//# sourceMappingURL=_version.js.map

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

export declare const version = "bytes/5.0.3";
export declare const version = "bytes/5.0.4";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bytes/5.0.3";
exports.version = "bytes/5.0.4";
//# sourceMappingURL=_version.js.map
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/logger": "^5.0.0"
"@ethersproject/logger": "^5.0.5"
},

@@ -28,5 +28,5 @@ "description": "Bytes utility functions for ethers.",

},
"tarballHash": "0xca093eb960bdb8b5fa26c9f986319425697a906b12e1250f579d0f4676fbf72f",
"tarballHash": "0xa07a7f838f037d4fae18f8877e868590567fe55052f629da882680b5e0eca355",
"types": "./lib/index.d.ts",
"version": "5.0.3"
"version": "5.0.4"
}

@@ -1,14 +0,61 @@

Byte Manipulation Libraries
===========================
Byte Manipulation
=================
**EXPERIMENTAL**
This sub-module is part of the [ethers project](https://github.com/ethers-io/ethers.js).
Please see the [ethers](https://github.com/ethers-io/ethers.js) repository
for more informations.
It is responsible for manipulating binary data.
API
---
For more information, see the [documentation](https://docs.ethers.io/v5/api/utils/bytes/).
`@TODO`
Importing
---------
Most users will prefer to use the [umbrella package](https://www.npmjs.com/package/ethers),
but for those with more specific needs, individual components can be imported.
```javascript
const {
isBytesLike,
isBytes,
arrayify,
concat,
stripZeros,
zeroPad,
isHexString,
hexlify,
hexDataLength,
hexDataSlice,
hexConcat,
hexValue,
hexStripZeros,
hexZeroPad,
splitSignature,
joinSignature,
// Types
Bytes,
BytesLike,
DataOptions,
Hexable,
SignatureLike,
Signature
} = require("@ethersproject/bytes");
```
License

@@ -15,0 +62,0 @@ -------

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc