Socket
Socket
Sign inDemoInstall

@alicloud/tea-util

Package Overview
Dependencies
2
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.6 to 1.3.0

1

dist/client.d.ts

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

};
static assertAsBytes(value: any): Buffer;
static getUserAgent(userAgent: string): string;

@@ -63,0 +64,0 @@ static is2xx(code: number): boolean;

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

}
static assertAsBytes(value) {
if (Buffer.isBuffer(value)) {
return value;
}
throw new Error(`The value is not bytes`);
}
static getUserAgent(userAgent) {

@@ -178,0 +184,0 @@ if (!userAgent || !userAgent.length) {

2

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

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

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

static assertAsBytes(value: any): Buffer {
if (Buffer.isBuffer(value)) {
return value;
}
throw new Error(`The value is not bytes`);
}
static getUserAgent(userAgent: string): string {

@@ -213,0 +220,0 @@ if(!userAgent || !userAgent.length){

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc