Socket
Socket
Sign inDemoInstall

@aws-sdk/util-buffer-from

Package Overview
Dependencies
2
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.292.0 to 3.295.0

4

dist-types/index.d.ts
import { Buffer } from "buffer";
export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer;
export declare type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex";
export declare const fromString: (input: string, encoding?: StringEncoding | undefined) => Buffer;
export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex";
export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer;

@@ -7,3 +7,3 @@ import { Buffer } from "buffer";

) => Buffer;
export declare type StringEncoding =
export type StringEncoding =
| "ascii"

@@ -19,3 +19,3 @@ | "utf8"

input: string,
encoding?: StringEncoding | undefined
encoding?: StringEncoding
) => Buffer;
{
"name": "@aws-sdk/util-buffer-from",
"version": "3.292.0",
"version": "3.295.0",
"scripts": {

@@ -20,4 +20,4 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"dependencies": {
"@aws-sdk/is-array-buffer": "3.292.0",
"tslib": "^2.3.1"
"@aws-sdk/is-array-buffer": "3.295.0",
"tslib": "^2.5.0"
},

@@ -31,3 +31,3 @@ "devDependencies": {

"typedoc": "0.23.23",
"typescript": "~4.6.2"
"typescript": "~4.9.5"
},

@@ -34,0 +34,0 @@ "main": "./dist-cjs/index.js",

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