@google-cloud/storage
Advanced tools
Comparing version 7.10.2 to 7.11.0
@@ -190,2 +190,5 @@ /// <reference types="node" /> | ||
} | null; | ||
hierarchicalNamespace?: { | ||
enabled?: boolean; | ||
}; | ||
iamConfiguration?: { | ||
@@ -192,0 +195,0 @@ publicAccessPrevention?: string; |
@@ -49,3 +49,3 @@ "use strict"; | ||
const projectify_1 = require("@google-cloud/projectify"); | ||
const ent = __importStar(require("ent")); | ||
const htmlEntities = __importStar(require("html-entities")); | ||
const google_auth_library_1 = require("google-auth-library"); | ||
@@ -136,3 +136,3 @@ const retry_request_1 = __importDefault(require("retry-request")); | ||
else if (err.response && err.response.body) { | ||
messages.add(ent.decode(err.response.body.toString())); | ||
messages.add(htmlEntities.decode(err.response.body.toString())); | ||
} | ||
@@ -139,0 +139,0 @@ else if (!err.message) { |
@@ -87,2 +87,12 @@ /// <reference types="node" /> | ||
enableObjectRetention?: boolean; | ||
hierarchicalNamespace?: { | ||
enabled?: boolean; | ||
}; | ||
iamConfiguration?: { | ||
publicAccessPrevention?: string; | ||
uniformBucketLevelAccess?: { | ||
enabled?: boolean; | ||
lockedTime?: string; | ||
}; | ||
}; | ||
location?: string; | ||
@@ -89,0 +99,0 @@ multiRegional?: boolean; |
@@ -603,2 +603,3 @@ "use strict"; | ||
* @property {boolean} [enableObjectRetention=false] Specifiy whether or not object retention should be enabled on this bucket. | ||
* @property {object} [hierarchicalNamespace.enabled=false] Specify whether or not to enable hierarchical namespace on this bucket. | ||
* @property {string} [location] Specify the bucket's location. If specifying | ||
@@ -605,0 +606,0 @@ * a dual-region, the `customPlacementConfig` property should be set in conjunction. |
@@ -190,2 +190,5 @@ /// <reference types="node" /> | ||
} | null; | ||
hierarchicalNamespace?: { | ||
enabled?: boolean; | ||
}; | ||
iamConfiguration?: { | ||
@@ -192,0 +195,0 @@ publicAccessPrevention?: string; |
@@ -20,3 +20,3 @@ /*! | ||
import { replaceProjectIdToken, MissingProjectIdError, } from '@google-cloud/projectify'; | ||
import * as ent from 'ent'; | ||
import * as htmlEntities from 'html-entities'; | ||
import { GoogleAuth } from 'google-auth-library'; | ||
@@ -107,3 +107,3 @@ import retryRequest from 'retry-request'; | ||
else if (err.response && err.response.body) { | ||
messages.add(ent.decode(err.response.body.toString())); | ||
messages.add(htmlEntities.decode(err.response.body.toString())); | ||
} | ||
@@ -110,0 +110,0 @@ else if (!err.message) { |
@@ -87,2 +87,12 @@ /// <reference types="node" /> | ||
enableObjectRetention?: boolean; | ||
hierarchicalNamespace?: { | ||
enabled?: boolean; | ||
}; | ||
iamConfiguration?: { | ||
publicAccessPrevention?: string; | ||
uniformBucketLevelAccess?: { | ||
enabled?: boolean; | ||
lockedTime?: string; | ||
}; | ||
}; | ||
location?: string; | ||
@@ -89,0 +99,0 @@ multiRegional?: boolean; |
@@ -599,2 +599,3 @@ // Copyright 2019 Google LLC | ||
* @property {boolean} [enableObjectRetention=false] Specifiy whether or not object retention should be enabled on this bucket. | ||
* @property {object} [hierarchicalNamespace.enabled=false] Specify whether or not to enable hierarchical namespace on this bucket. | ||
* @property {string} [location] Specify the bucket's location. If specifying | ||
@@ -601,0 +602,0 @@ * a dual-region, the `customPlacementConfig` property should be set in conjunction. |
{ | ||
"name": "@google-cloud/storage", | ||
"description": "Cloud Storage Client Library for Node.js", | ||
"version": "7.10.2", | ||
"version": "7.11.0", | ||
"license": "Apache-2.0", | ||
@@ -81,6 +81,6 @@ "author": "Google Inc.", | ||
"duplexify": "^4.1.3", | ||
"ent": "^2.2.0", | ||
"fast-xml-parser": "^4.3.0", | ||
"gaxios": "^6.0.2", | ||
"google-auth-library": "^9.6.3", | ||
"html-entities": "^2.5.2", | ||
"mime": "^3.0.0", | ||
@@ -99,3 +99,2 @@ "p-limit": "^3.0.1", | ||
"@types/async-retry": "^1.4.3", | ||
"@types/ent": "^2.2.1", | ||
"@types/mime": "^3.0.0", | ||
@@ -102,0 +101,0 @@ "@types/mocha": "^9.1.1", |
Sorry, the diff of this file is too big to display
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
1663166
35
36624
+ Addedhtml-entities@^2.5.2
+ Addedhtml-entities@2.5.2(transitive)
- Removedent@^2.2.0
- Removedent@2.2.1(transitive)
- Removedpunycode@1.4.1(transitive)