@aws-sdk/util-utf8-node
Advanced tools
Comparing version 0.1.0-preview.3 to 0.1.0-preview.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var util_buffer_from_1 = require("@aws-sdk/util-buffer-from"); | ||
const util_buffer_from_1 = require("@aws-sdk/util-buffer-from"); | ||
function fromUtf8(input) { | ||
var buf = util_buffer_from_1.fromString(input, "utf8"); | ||
const buf = util_buffer_from_1.fromString(input, "utf8"); | ||
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); | ||
@@ -7,0 +7,0 @@ } |
@@ -6,2 +6,27 @@ # Change Log | ||
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/util-utf8-node@0.1.0-preview.1...@aws-sdk/util-utf8-node@0.1.0-preview.4) (2019-09-19) | ||
# 0.3.0 (2019-09-09) | ||
### Features | ||
* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) | ||
# 0.2.0 (2019-07-12) | ||
### Features | ||
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) | ||
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) | ||
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/util-utf8-node@0.1.0-preview.1...@aws-sdk/util-utf8-node@0.1.0-preview.3) (2019-09-09) | ||
@@ -8,0 +33,0 @@ |
{ | ||
"name": "@aws-sdk/util-utf8-node", | ||
"version": "0.1.0-preview.3", | ||
"version": "0.1.0-preview.4", | ||
"description": "A Node.JS UTF-8 string <-> UInt8Array converter", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"target": "es2017", | ||
"module": "commonjs", | ||
@@ -8,3 +8,2 @@ "declaration": true, | ||
"strict": true, | ||
"lib": ["es5", "es2015.collection"], | ||
"rootDir": "./src", | ||
@@ -11,0 +10,0 @@ "outDir": "./build", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15966
32