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

@google-cloud/common

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/common - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

4

build/src/util.js

@@ -21,3 +21,3 @@ "use strict";

const projectify_1 = require("@google-cloud/projectify");
const ent = require("ent");
const htmlEntities = require("html-entities");
const extend = require("extend");

@@ -97,3 +97,3 @@ const google_auth_library_1 = require("google-auth-library");

else if (err.response && err.response.body) {
messages.add(ent.decode(err.response.body.toString()));
messages.add(htmlEntities.decode(err.response.body.toString()));
}

@@ -100,0 +100,0 @@ else if (!err.message) {

@@ -7,2 +7,9 @@ # Changelog

## [5.0.2](https://github.com/googleapis/nodejs-common/compare/v5.0.1...v5.0.2) (2024-04-30)
### Bug Fixes
* Replace ent with html-entities ([7ec0a32](https://github.com/googleapis/nodejs-common/commit/7ec0a324d8e41e5c74ab8ac08b94fca9514ae893))
## [5.0.1](https://github.com/googleapis/nodejs-common/compare/v5.0.0...v5.0.1) (2023-10-26)

@@ -9,0 +16,0 @@

{
"name": "@google-cloud/common",
"description": "Common components for Cloud APIs Node.js Client Libraries",
"version": "5.0.1",
"version": "5.0.2",
"license": "Apache-2.0",

@@ -39,5 +39,5 @@ "author": "Google Inc.",

"duplexify": "^4.1.1",
"ent": "^2.2.0",
"extend": "^3.0.2",
"google-auth-library": "^9.0.0",
"html-entities": "^2.5.2",
"retry-request": "^7.0.0",

@@ -47,3 +47,3 @@ "teeny-request": "^9.0.0"

"devDependencies": {
"@compodoc/compodoc": "^1.1.11",
"@compodoc/compodoc": "1.1.23",
"@types/ent": "^2.2.1",

@@ -57,4 +57,4 @@ "@types/extend": "^3.0.1",

"@types/request": "^2.48.4",
"@types/sinon": "^10.0.0",
"@types/tmp": "0.2.5",
"@types/sinon": "^17.0.0",
"@types/tmp": "0.2.6",
"c8": "^8.0.1",

@@ -70,5 +70,5 @@ "codecov": "^3.6.5",

"sinon": "^17.0.0",
"tmp": "0.2.1",
"tmp": "0.2.3",
"typescript": "^5.1.6"
}
}
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