Socket
Socket
Sign inDemoInstall

@aws-sdk/util-utf8-browser

Package Overview
Dependencies
Maintainers
7
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-utf8-browser - npm Package Compare versions

Comparing version 3.36.0 to 3.37.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
**Note:** Version bump only for package @aws-sdk/util-utf8-browser
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)

@@ -8,0 +16,0 @@

17

dist-types/ts3.4/pureJs.d.ts

@@ -1,17 +0,4 @@

/**
* Converts a JS string from its native UCS-2/UTF-16 representation into a
* Uint8Array of the bytes used to represent the equivalent characters in UTF-8.
*
* Cribbed from the `goog.crypt.stringToUtf8ByteArray` function in the Google
* Closure library, though updated to use typed arrays.
*/
export declare const fromUtf8: (input: string) => Uint8Array;
/**
* Converts a typed array of bytes containing UTF-8 data into a native JS
* string.
*
* Partly cribbed from the `goog.crypt.utf8ByteArrayToString` function in the
* Google Closure library, though updated to use typed arrays and to better
* handle astral plane code points.
*/
export declare const toUtf8: (input: Uint8Array) => string;
{
"name": "@aws-sdk/util-utf8-browser",
"version": "3.36.0",
"version": "3.37.0",
"description": "A browser UTF-8 string <-> UInt8Array converter",

@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.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