Socket
Socket
Sign inDemoInstall

@alicloud/tea-util

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/tea-util - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

1

dist/client.d.ts

@@ -61,2 +61,3 @@ /// <reference types="node" />

};
static assertAsArray(value: any): any[];
static assertAsBytes(value: any): Buffer;

@@ -63,0 +64,0 @@ static getUserAgent(userAgent: string): string;

@@ -179,2 +179,8 @@ "use strict";

}
static assertAsArray(value) {
if (Array.isArray(value)) {
return value;
}
throw new Error(`The value is not array`);
}
static assertAsBytes(value) {

@@ -181,0 +187,0 @@ if (Buffer.isBuffer(value)) {

2

package.json
{
"name": "@alicloud/tea-util",
"version": "1.4.1",
"version": "1.4.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/client.js",

@@ -214,2 +214,9 @@ import { Readable } from 'stream';

static assertAsArray(value: any): any[] {
if (Array.isArray(value)) {
return value;
}
throw new Error(`The value is not array`);
}
static assertAsBytes(value: any): Buffer {

@@ -216,0 +223,0 @@ if (Buffer.isBuffer(value)) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc