Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Update dependency @google-cloud/storage to v5 #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Jun 7, 2022

This PR contains the following updates:

Package Type Update Change
@google-cloud/storage dependencies major 1.2.0 -> 5.0.0

By merging this PR, the below vulnerabilities will be automatically resolved:

Severity CVSS Score CVE
High High 7.8 CVE-2021-43138
High High 7.5 CVE-2022-24771
High High 7.5 CVE-2022-24772
High High 7.3 CVE-2020-7720
High High 7.3 CVE-2020-8116
Medium Medium 6.6 WS-2022-0008
Medium Medium 6.1 CVE-2022-0122
Medium Medium 5.3 CVE-2022-24773

Release Notes

googleapis/nodejs-storage

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • automatically detect contentType if not provided (#​1190)
  • drop keepAcl parameter in file copy (#​1166)
  • drop support for node.js 8.x
Features
Bug Fixes
Miscellaneous Chores
Build System
  • drop support for node.js 8.x (b80c025)

v4.7.2

Compare Source

Bug Fixes

v4.7.0

Compare Source

Features
Bug Fixes

v4.6.0

Compare Source

Features
  • storage: Add versioning as optional metadata param of createBucket (#​1090) (39869e3)

v4.5.0

Compare Source

Features

v4.4.0

Compare Source

Features
4.3.2 (2020-03-02)
Bug Fixes
4.3.1 (2020-02-06)
Bug Fixes

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

Features
Bug Fixes

v4.2.0

Compare Source

Features
Bug Fixes
4.1.3 (2019-11-18)
Bug Fixes
4.1.2 (2019-11-12)
Bug Fixes
4.1.1 (2019-11-07)
Bug Fixes

v4.1.3

Compare Source

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

Features
4.0.1 (2019-10-31)
Bug Fixes
  • docs: missing quote in signed url jsdoc (#​896) (f2d567f)
  • use storage.googleapis.com for api endpoint (862fb16)
  • signed-url: replace encodeURIComponent with custom encoding function (#​905) (ba41517)

v4.0.1

Compare Source

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • allow leading slashes in file name (#​820)
Bug Fixes

v3.5.0

Compare Source

Features

v3.4.0

Compare Source

Bug Fixes
  • file#move do not delete origin file if same as destination (#​874) (dcaba8a)
  • pass predefined acl as destinationPredefinedAcl to qs (#​872) (09b8fa4)
Features
  • add flag to allow disabling auto decompression by client (#​850) (9ebface)
  • allow setting standard Bucket storage class (#​873) (12a99e9)
3.3.1 (2019-09-30)
Bug Fixes

v3.3.1

Compare Source

v3.3.0

Compare Source

Bug Fixes
Features
  • adds support for asyncIterators (via readable-stream@3 dependency) (dd5ae7f)
  • allow removal of resumable upload cache (#​773) (da943db), closes #​217
3.2.1 (2019-08-28)
Bug Fixes
  • docs: stop redirecting reference docs to anchor, add new sample to README (bbb5537)
  • samples: fix failing sample view IAM member-role groups (1c4f21f)

v3.2.1

Compare Source

v3.2.0

Compare Source

Bug Fixes
Features

v3.1.0

Compare Source

Bug Fixes
Features
  • file: allow setting configPath of resumable upload (#​642) (a8ceb78)
3.0.4 (2019-07-25)
Bug Fixes
3.0.3 (2019-07-16)
Bug Fixes
3.0.2 (2019-07-01)
Bug Fixes
3.0.1 (2019-06-14)
Bug Fixes

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • upgrade engines field to >=8.10.0 (#​688)
Bug Fixes
Build System
Features

v2.5.0

Compare Source

04-04-2019 12:27 PDT

This release brings an option to file#getSignedURL to create a version 4 Signed URL.

file.getSignedUrl({
  version: 'v4', // optional, defaults to v2 (existing version)
  action: 'read',
  expires: FUTURE_DATE,
})
New Features
  • feat: introduce v4 signed url (#​637)
Dependencies
Documentation
  • docs: regenerate the samples/README.md (#​649)
  • docs: slight difference in how nightly synthtool run generated README (#​650)
  • docs: new synthtool generated README (#​645)
  • docs(samples): refactor the quickstart to match the new rubric (#​647)
  • docs: update README format
  • docs: add requires_billing, retire .cloud-repo-tools.json (#​644)
  • docs: add additional api_id field (#​640)
  • docs: document destination option (#​633)
  • docs: clarify in docs, the meaning of ASIA and coldline (#​632)
  • docs: add a .repo-metadata.json (#​639)
Internal / Testing Changes
  • test(v2-sign): add multi-valued headers system-test (#​646)
  • refactor: replace once with onetime (#​660)
  • fix: do not download cached files (#​643)
  • chore: publish to npm using wombat (#​634)
  • build: use per-repo npm publish token (#​630)

v2.4.3

Compare Source

03-13-2019 17:10 PDT

Bug Fixes / Implementation Changes
  • fix: getSigned(Policy|Url) throws if expiration is invalid Date (#​614)
  • fix: handle errors from file#createReadStream (#​615)
Dependencies
Documentation
  • docs: update links in contrib guide (#​610)
  • docs: update contributing path in README (#​603)
  • chore: move CONTRIBUTING.md to root (#​601)
Internal / Testing Changes
  • build: Add docuploader credentials to node publish jobs (#​624)
  • build: use node10 to run samples-test, system-test etc (#​623)
  • build: update release configuration
  • build: use linkinator for docs test (#​607)
  • build: create docs test npm scripts (#​605)
  • build: test using @​grpc/grpc-js in CI (#​604)
  • chore: remove console.log in system test (#​599)

v2.4.2

Compare Source

02-05-2019 16:55 PST

Dependencies
Documentation
  • docs: add lint/fix example to contributing guide (#​594)
Internal / Testing Changes
  • test: skip public bucket system tests running under VPCSC (#​595)

v2.4.1

Compare Source

01-29-2019 13:05 PST

Implementation Changes
  • fix(ts): fix Storage.createBucket overloaded signature (#​589)
Dependencies

v2.4.0

Compare Source

01-28-2019 12:13 PST

New Features
  • fix: expires can be a Date, string, or number (#​548)
Dependencies
Documentation
  • docs(samples): Bucket Policy Only Samples (#​557)
  • fix(docs): move jsdoc away from interface (#​565)
Internal / Testing Changes
  • test: Bucket Policy Only related system test (#​579)
  • build: check broken links in generated docs (#​567)
  • build: include only build/src in compiled source (#​572)

v2.3.4

Compare Source

12-19-2018 14:21 PST

Implementation Changes
  • fix(types): file.getMetadata should resolves to Metadata, not File (#​560)
Internal / Testing Changes
  • refactor: modernize the sample tests (#​558)
  • chore(build): inject yoshi automation key (#​555)
  • chore: update nyc and eslint configs (#​554)
  • chore: fix publish.sh permission +x (#​552)
  • fix(build): fix Kokoro release script (#​551)
  • build: add Kokoro configs for autorelease (#​550)

v2.3.3

Compare Source

12-06-2018 17:09 PST

Dependencies
Documentation
  • fix(docs): place doc comment above the last overload (#​544)
  • docs: update readme badges (#​536)
Internal / Testing Changes
  • chore: always nyc report before calling codecov (#​543)
  • chore: nyc ignore build/test by default (#​542)
  • chore: update license file (#​539)

v2.3.1

Compare Source

11-14-2018 22:15 PST

Bug fixes
  • fix: fix TypeScript and system tests (#​515)
  • fix(deps): update dependency through2 to v3 (#​507)
  • docs: File#setMetadata in parallel results in unpredictable state (#​504)
Internal / Testing Changes

v2.3.0

Compare Source

Implementation Changes

v2.2.0

Compare Source

Bug Fixes
  • fix: re-enable typescript types (#​484)
Dependencies
Documentation
  • docs: Minor docs correction (#​465)
Internal / Testing Changes
  • chore: remove old issue template (#​485)
  • chore(typescript): enable noImplicitAny (#​483)
  • chore(typescript): improve typescript types and update tests (#​482)
  • build: run tests on node11 (#​481)
  • chores(build): do not collect sponge.xml from windows builds (#​478)
  • chores(build): run codecov on continuous builds (#​476)
  • chore: update new issue template (#​475)
  • fix: enable noImplicitAny for src/bucket.ts (#​472)
  • fix(tests): use unique prefix for system tests to avoid collision with another run (#​468)
  • fix: improve the types (#​467)
  • chore: move class Storage to storage.ts, create index.ts that contains all exports (#​464)
  • chore: add types to many unit tests (#​463)
  • fix: Annotate Iam types (#​461)
  • fix: complete bucket.ts noImplicitAny (#​460)
  • fix: improve the types on acl.ts (#​459)
  • fix: improve types (7) (#​458)
  • fix: improve the types (#​453)
  • chore: update build config (#​455)
  • fix: improve typescript types in src/file.ts (#​450)
  • build: fix codecov uploading on Kokoro (#​451)
  • test: Attempt to re-enable iam#testPermissions (#​429)
  • chore(deps): update dependency sinon to v7 (#​449)
  • Re-generate library using /synth.py (#​448)
  • Correct parameter name. (#​446)

v2.1.0

Compare Source

This release brings support for Bucket/Object lock operations, as well as disable TypeScript as we continue to annotate the project with types.

New Features
  • feat: Support Bucket/Object lock operations (#​374)
Implementation Changes
TypeScript support (in progress)
  • fix: add better types for file.ts (#​436)
  • fix: use ~ for typescript (and fix compile errors) (#​426)
  • fix: Add typing for File#download() (#​409)
  • chore: convert system tests to typescript (#​424)
  • Improve TypeScript types (part 4) (#​402)
  • ts: convert jsdoc types to typescript interfaces (1) (#​383)
  • fix: TS definition (#​387)
  • Annotate types #​3 (#​391)
  • Annotate types (2) (#​388)
Dependencies
  • chore(deps): update dependency eslint-plugin-prettier to v3 (#​419)
Documentation
  • docs: Modify source location for templates (#​410)
  • docs: Explain Bucket#upload() still exists (#​421)
Internal / Testing Changes
  • fix(tests): fix system tests on CircleCI (#​431)
  • fix(tests): system-test compiles to ./build, fix relative path (#​428)
  • Update kokoro config (#​425)
  • chore(samples): convert samples to async/await (#​422)
  • build: samples test by adding approprate test variables (#​423)
  • build: bring in latest kokoro cfgs to run System tests on PRs (#​413)
  • test: remove appveyor config (#​411)
  • Enable prefer-const in the eslint config (#​404)
  • fix(test): instantiate PubSub using new (#​403)
  • fix: optionsOrCallback could be undefined if not given, check before assign (#​401)
  • Fix the requesterPays methods (#​400)
  • Enable no-var in eslint (#​398)
  • samples: don't use USA formatted dates for expiry (#​396)
  • fix: copy(): Use correct destination file name in URI (#​389)

v2.0.3

Compare Source

Implementation Changes
  • Improve TypeScript types (#​381)
  • Make some parameters optional (#​380)

v2.0.2

Compare Source

Implementation Changes

v2.0.1

Compare Source

This fixes types declaration issues with projects using TypeScript.

Implementation Changes
  • Enable noImplicitThis in the tsconfig (#​370)
  • Fix the path to the d.ts (#​364)
  • fix: make dependency on request explicit (#​361)
  • fix: remove trailing slashes from bucket name. (#​266)
Dependencies

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Jun 7, 2022
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/google-cloud-storage-5.x branch from 5a0c42a to 5075a1f Compare June 19, 2022 10:06
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/google-cloud-storage-5.x branch from 5075a1f to 4c856d4 Compare June 20, 2022 23:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security fix Security fix generated by Mend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants