@aws-sdk/is-array-buffer
Advanced tools
Comparing version 0.1.0-preview.1 to 0.1.0-preview.2
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function isArrayBuffer(arg) { | ||
return (typeof ArrayBuffer === 'function' && arg instanceof ArrayBuffer) | ||
|| Object.prototype.toString.call(arg) === '[object ArrayBuffer]'; | ||
return ((typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || | ||
Object.prototype.toString.call(arg) === "[object ArrayBuffer]"); | ||
} | ||
exports.isArrayBuffer = isArrayBuffer; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@aws-sdk/is-array-buffer", | ||
"version": "0.1.0-preview.1", | ||
"description": "Provides a function for detecting if an argument is an ArrayBuffer", | ||
"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", | ||
"devDependencies": { | ||
"@types/jest": "^20.0.2", | ||
"jest": "^20.0.4", | ||
"typescript": "^3.0.0" | ||
}, | ||
"types": "./build/index.d.ts", | ||
"dependencies": { | ||
"tslib": "^1.8.0" | ||
}, | ||
"gitHead": "960970c0c25938a8d51d1a243d3f21f05acea92e" | ||
"name": "@aws-sdk/is-array-buffer", | ||
"version": "0.1.0-preview.2", | ||
"description": "Provides a function for detecting if an argument is an ArrayBuffer", | ||
"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", | ||
"devDependencies": { | ||
"@types/jest": "^24.0.12", | ||
"jest": "^24.7.1", | ||
"typescript": "~3.4.0" | ||
}, | ||
"types": "./build/index.d.ts", | ||
"dependencies": { | ||
"tslib": "^1.8.0" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": [ | ||
"es5", | ||
"es2015.collection" | ||
], | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"sourceRoot": "./src", | ||
"outDir": "./build", | ||
"importHelpers": true, | ||
"noEmitHelpers": true | ||
} | ||
} | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": ["es5", "es2015.collection"], | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"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
14032
9
26
0
5