Socket
Socket
Sign inDemoInstall

@aws-sdk/is-array-buffer

Package Overview
Dependencies
2
Maintainers
5
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.310.0 to 3.374.0

6

dist-cjs/index.js
"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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc