@aws-sdk/is-array-buffer
Advanced tools
Comparing version 3.310.0 to 3.374.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isArrayBuffer = void 0; | ||
const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || | ||
Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; | ||
exports.isArrayBuffer = isArrayBuffer; | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("@smithy/is-array-buffer"), exports); |
@@ -1,2 +0,1 @@ | ||
export const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || | ||
Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; | ||
export * from "@smithy/is-array-buffer"; |
@@ -1,4 +0,1 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; | ||
export * from "@smithy/is-array-buffer"; |
@@ -1,1 +0,1 @@ | ||
export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; | ||
export * from "@smithy/is-array-buffer"; |
{ | ||
"name": "@aws-sdk/is-array-buffer", | ||
"version": "3.310.0", | ||
"version": "3.374.0", | ||
"description": "Provides a function for detecting if an argument is an ArrayBuffer", | ||
@@ -13,3 +13,3 @@ "scripts": { | ||
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", | ||
"test": "jest" | ||
"test": "exit 0" | ||
}, | ||
@@ -25,2 +25,3 @@ "author": { | ||
"dependencies": { | ||
"@smithy/is-array-buffer": "^1.0.1", | ||
"tslib": "^2.5.0" | ||
@@ -27,0 +28,0 @@ }, |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
13671
2
7
1
1
+ Added@smithy/is-array-buffer@1.1.0(transitive)