@google-cloud/common
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133523
+ Addedhtml-entities@^2.5.2
+ Added@types/node@22.8.2(transitive)
+ Addedhtml-entities@2.5.2(transitive)
- Removedent@^2.2.0
- Removed@types/node@22.8.1(transitive)
- Removedent@2.2.1(transitive)
- Removedpunycode@1.4.1(transitive)