Socket
Socket
Sign inDemoInstall

@alicloud/tea-util

Package Overview
Dependencies
Maintainers
14
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.2.3 to 1.2.4

4

dist/client.d.ts

@@ -57,2 +57,6 @@ /// <reference types="node" />

static getUserAgent(userAgent: string): string;
static is2xx(code: number): boolean;
static is3xx(code: number): boolean;
static is4xx(code: number): boolean;
static is5xx(code: number): boolean;
}

@@ -179,4 +179,16 @@ "use strict";

}
static is2xx(code) {
return code >= 200 && code < 300;
}
static is3xx(code) {
return code >= 300 && code < 400;
}
static is4xx(code) {
return code >= 400 && code < 500;
}
static is5xx(code) {
return code >= 500 && code < 600;
}
}
exports.default = Client;
//# sourceMappingURL=client.js.map

2

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

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

@@ -213,2 +213,20 @@ import { Readable } from 'stream';

}
static is2xx(code: number): boolean {
return code >= 200 && code < 300;
}
static is3xx(code: number): boolean {
return code >= 300 && code < 400;
}
static is4xx(code: number): boolean {
return code >= 400 && code < 500;
}
static is5xx(code: number): boolean {
return code >= 500 && code < 600;
}
}

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