Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alicloud/pop-core

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/pop-core - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

lib/core.js

@@ -8,3 +8,3 @@ 'use strict';

function firstLetterUpper(str) {
return str.slice(0, 1).toUpperCase() + str.slice(1).toLowerCase();
return str.slice(0, 1).toUpperCase() + str.slice(1);
}

@@ -117,4 +117,7 @@

if (json.Code) {
var err = new Error('OpenAPI: ' + json.Msg);
err.name = json.Code;
var err = new Error(json.Message);
err.code = json.Code;
err.requestid = json.RequestId;
err.url = url;
err.name = json.Code + 'Error';
return Promise.reject(err);

@@ -121,0 +124,0 @@ }

{
"name": "@alicloud/pop-core",
"version": "1.0.0",
"version": "1.0.1",
"description": "AliCloud POP SDK core",

@@ -9,3 +9,3 @@ "main": "lib/core.js",

"lint": "eslint --fix lib",
"cov": "istanbul cover --report html ./node_modules/.bin/_mocha -- --reporter spec --require co-mocha test/*.test.js"
"test-cov": "istanbul cover --report html ./node_modules/.bin/_mocha -- --reporter spec --require co-mocha test/*.test.js"
},

@@ -12,0 +12,0 @@ "keywords": [

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