@aws-sdk/util-hex-encoding
Advanced tools
Comparing version 0.1.0-preview.1 to 0.1.0-preview.2
@@ -20,3 +20,3 @@ "use strict"; | ||
if (encoded.length % 2 !== 0) { | ||
throw new Error('Hex encoded strings must have an even number length'); | ||
throw new Error("Hex encoded strings must have an even number length"); | ||
} | ||
@@ -42,3 +42,3 @@ var out = new Uint8Array(encoded.length / 2); | ||
function toHex(bytes) { | ||
var out = ''; | ||
var out = ""; | ||
for (var i = 0; i < bytes.byteLength; i++) { | ||
@@ -45,0 +45,0 @@ out += SHORT_TO_HEX[bytes[i]]; |
{ | ||
"name": "@aws-sdk/util-hex-encoding", | ||
"version": "0.1.0-preview.1", | ||
"description": "Converts binary buffers to and from lowercase hexadecimal encoding", | ||
"scripts": { | ||
"prepublishOnly": "tsc", | ||
"pretest": "tsc -p tsconfig.test.json", | ||
"test": "jest" | ||
}, | ||
"author": { | ||
"name": "AWS SDK for JavaScript Team", | ||
"email": "aws-sdk-js@amazon.com", | ||
"url": "https://aws.amazon.com/javascript/" | ||
}, | ||
"license": "Apache-2.0", | ||
"main": "./build/index.js", | ||
"dependencies": { | ||
"tslib": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^20.0.2", | ||
"jest": "^20.0.4", | ||
"typescript": "^3.0.0" | ||
}, | ||
"types": "./build/index.d.ts", | ||
"gitHead": "960970c0c25938a8d51d1a243d3f21f05acea92e" | ||
"name": "@aws-sdk/util-hex-encoding", | ||
"version": "0.1.0-preview.2", | ||
"description": "Converts binary buffers to and from lowercase hexadecimal encoding", | ||
"scripts": { | ||
"prepublishOnly": "tsc", | ||
"pretest": "tsc -p tsconfig.test.json", | ||
"test": "jest" | ||
}, | ||
"author": { | ||
"name": "AWS SDK for JavaScript Team", | ||
"email": "", | ||
"url": "https://aws.amazon.com/javascript/" | ||
}, | ||
"license": "Apache-2.0", | ||
"main": "./build/index.js", | ||
"dependencies": { | ||
"tslib": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^24.0.12", | ||
"jest": "^24.7.1", | ||
"typescript": "~3.4.0" | ||
}, | ||
"types": "./build/index.d.ts" | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"lib": [ | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection" | ||
], | ||
"sourceRoot": "./src", | ||
"outDir": "./build", | ||
"importHelpers": true, | ||
"noEmitHelpers": true | ||
} | ||
} | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"lib": ["es5", "es2015.promise", "es2015.collection"], | ||
"sourceRoot": "./src", | ||
"outDir": "./build", | ||
"importHelpers": true, | ||
"noEmitHelpers": true | ||
} | ||
} |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
16480
9
77
0
5