vuestorefront / vue-storefront-1

The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
https://www.vuestorefront.io
MIT License
19 stars 13 forks source link

uuid/v4 is deprecated as of uuid@7.x #397

Open pschaub opened 4 years ago

pschaub commented 4 years ago

I got this warning during yarn build:

(node:19940) DeprecationWarning: Deep requiring like const uuidv4 = require('uuid/v4'); is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.

https://github.com/DivanteLtd/vue-storefront/blob/594618a46e75be39dc03067537f41657fee34044/core/build/webpack.server.config.ts#L10

gibkigonzo commented 4 years ago

@pschaub thanks, can you please prepare pr? :)

pschaub commented 3 years ago

@gibkigonzo feel free to do it :) I have currently not enough time for it.