New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/storage

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/storage - npm Package Versions

1
19

2.0.0

Diff

Changelog

Source

v2.0.0

This release has breaking changes. This release has a few notable breaking changes. Please take care when upgrading!

require syntax changes

The import style of this library has been changed to support es module syntax. This provides both forward compatibility with es modules, and better supports the TypeScript and Babel ecosystems. As a result, the import syntax has changed:

Old Code
const storage = require('@google-cloud/storage')();
// or...
const Storage = require('@google-cloud/storage');
const storage = new Storage({
  // config...
});
New Code
const {Storage} = require('@google-cloud/storage');
const storage = new Storage({
  // config...
});
lukesneeringer
published 1.7.0 •

lukesneeringer
published 1.6.0 •

lukesneeringer
published 1.5.2 •

lukesneeringer
published 1.5.1 •

lukesneeringer
published 1.5.0 •

callmehiphop
published 1.4.0 •

lukesneeringer
published 1.3.1 •

lukesneeringer
published 1.3.0 •

stephenplusplus
published 1.2.1 •

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