From f430ed7040f766dd7bbfd6d9911cf3fb90ef1603 Mon Sep 17 00:00:00 2001
From: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Date: Thu, 2 May 2024 09:55:50 +0200
Subject: [PATCH] chore: Remove deprecated plugins (#7199)
---
packages/gatsby-source-medusa/.gitignore | 6 -
packages/gatsby-source-medusa/CHANGELOG.md | 62 -
packages/gatsby-source-medusa/LICENSE | 21 -
packages/gatsby-source-medusa/README.md | 72 -
packages/gatsby-source-medusa/jest.config.js | 13 -
packages/gatsby-source-medusa/package.json | 52 -
.../__snapshots__/process-node.test.ts.snap | 19 -
.../src/__tests__/process-node.test.ts | 20 -
packages/gatsby-source-medusa/src/client.ts | 135 -
.../gatsby-source-medusa/src/gatsby-node.ts | 239 -
.../gatsby-source-medusa/src/interface.ts | 29 -
.../src/make-source-from-operation.ts | 25 -
.../gatsby-source-medusa/src/operations.ts | 30 -
.../gatsby-source-medusa/src/process-node.ts | 49 -
.../gatsby-source-medusa/src/source-nodes.ts | 74 -
.../src/utils/format-uri.ts | 12 -
packages/gatsby-source-medusa/tsconfig.json | 29 -
.../gatsby-source-medusa/tsconfig.spec.json | 5 -
packages/medusa-payment-adyen/.babelrc | 13 -
packages/medusa-payment-adyen/.gitignore | 16 -
packages/medusa-payment-adyen/.npmignore | 8 -
packages/medusa-payment-adyen/CHANGELOG.md | 291 -
packages/medusa-payment-adyen/README.md | 79 -
packages/medusa-payment-adyen/index.js | 1 -
packages/medusa-payment-adyen/package.json | 56 -
.../medusa-payment-adyen/src/api/index.js | 10 -
.../src/api/middlewares/await-middleware.js | 1 -
.../src/api/middlewares/index.js | 5 -
.../api/routes/hooks/adyen-notification.js | 17 -
.../src/api/routes/hooks/index.js | 30 -
.../src/services/adyen.js | 432 --
.../src/services/mobilepay-adyen.js | 59 -
.../src/subscribers/adyen.js | 158 -
packages/medusa-plugin-brightpearl/.babelrc | 13 -
packages/medusa-plugin-brightpearl/.gitignore | 17 -
packages/medusa-plugin-brightpearl/.npmignore | 8 -
.../medusa-plugin-brightpearl/CHANGELOG.md | 560 --
packages/medusa-plugin-brightpearl/README.md | 108 -
packages/medusa-plugin-brightpearl/index.js | 1 -
.../medusa-plugin-brightpearl/package.json | 59 -
.../src/api/index.js | 76 -
.../src/loaders/inventory.js | 21 -
.../src/loaders/webhooks.js | 14 -
.../src/services/__tests__/brightpearl.js | 418 --
.../src/services/brightpearl.js | 1920 -------
.../src/services/oauth.js | 51 -
.../src/subscribers/order.js | 232 -
.../src/utils/__mocks__/brightpearl.js | 95 -
.../src/utils/brightpearl.js | 354 --
packages/medusa-plugin-economic/.babelrc | 13 -
packages/medusa-plugin-economic/.gitignore | 15 -
packages/medusa-plugin-economic/.npmignore | 9 -
packages/medusa-plugin-economic/CHANGELOG.md | 281 -
packages/medusa-plugin-economic/README.md | 84 -
packages/medusa-plugin-economic/index.js | 1 -
.../medusa-plugin-economic/jest.config.js | 3 -
packages/medusa-plugin-economic/package.json | 50 -
.../medusa-plugin-economic/src/api/index.js | 10 -
.../src/api/middlewares/await-middleware.js | 1 -
.../src/api/middlewares/index.js | 5 -
.../src/api/routes/book-invoice.js | 5 -
.../src/api/routes/create-draft-invoice.js | 5 -
.../src/api/routes/index.js | 20 -
.../src/services/economic.js | 222 -
.../src/subscribers/order.js | 17 -
.../src/utils/eu-countries.js | 30 -
.../utils/eu-countries.js | 8 -
packages/medusa-plugin-mailchimp/.babelrc | 13 -
packages/medusa-plugin-mailchimp/.gitignore | 15 -
packages/medusa-plugin-mailchimp/.npmignore | 9 -
packages/medusa-plugin-mailchimp/CHANGELOG.md | 280 -
packages/medusa-plugin-mailchimp/README.md | 67 -
packages/medusa-plugin-mailchimp/index.js | 1 -
.../medusa-plugin-mailchimp/jest.config.js | 6 -
packages/medusa-plugin-mailchimp/package.json | 47 -
.../medusa-plugin-mailchimp/src/api/index.ts | 10 -
.../src/api/routes/index.ts | 39 -
.../src/api/routes/subscribe-newsletter.ts | 19 -
.../src/services/__tests__/mailchimp.ts | 43 -
.../src/services/mailchimp.ts | 71 -
packages/medusa-plugin-mailchimp/src/types.ts | 4 -
.../medusa-plugin-mailchimp/tsconfig.json | 27 -
.../tsconfig.spec.json | 5 -
packages/medusa-plugin-twilio-sms/.babelrc | 13 -
packages/medusa-plugin-twilio-sms/.gitignore | 15 -
packages/medusa-plugin-twilio-sms/.npmignore | 9 -
.../medusa-plugin-twilio-sms/CHANGELOG.md | 253 -
packages/medusa-plugin-twilio-sms/README.md | 62 -
packages/medusa-plugin-twilio-sms/index.js | 1 -
.../medusa-plugin-twilio-sms/jest.config.js | 3 -
.../medusa-plugin-twilio-sms/package.json | 50 -
.../src/services/twilio-sms.js | 34 -
packages/medusa-source-shopify/.babelrc | 14 -
packages/medusa-source-shopify/.gitignore | 16 -
packages/medusa-source-shopify/.npmignore | 9 -
packages/medusa-source-shopify/CHANGELOG.md | 142 -
packages/medusa-source-shopify/README.md | 61 -
packages/medusa-source-shopify/jest.config.js | 6 -
packages/medusa-source-shopify/package.json | 57 -
.../src/loaders/index.js | 8 -
.../services/__mocks__/product-collection.js | 17 -
.../src/services/__mocks__/product-service.js | 32 -
.../src/services/__mocks__/product-variant.js | 17 -
.../services/__mocks__/shipping-profile.js | 8 -
.../src/services/__mocks__/shopify-cache.js | 18 -
.../src/services/__mocks__/shopify-client.js | 34 -
.../src/services/__mocks__/shopify-product.js | 10 -
.../src/services/__mocks__/test-products.js | 577 --
.../__snapshots__/shopify-collection.js.snap | 23 -
.../__snapshots__/shopify-product.js.snap | 159 -
.../services/__tests__/shopify-collection.js | 106 -
.../src/services/__tests__/shopify-product.js | 116 -
.../src/services/shopify-cache.js | 40 -
.../src/services/shopify-client.js | 43 -
.../src/services/shopify-collection.js | 397 --
.../src/services/shopify-product.js | 603 --
.../src/services/shopify.js | 133 -
.../src/utils/build-query.js | 13 -
.../medusa-source-shopify/src/utils/const.js | 5 -
.../src/utils/create-client.js | 7 -
.../medusa-source-shopify/src/utils/pager.js | 46 -
.../src/utils/parse-price.js | 3 -
.../src/utils/remove-index.js | 4 -
yarn.lock | 5044 +----------------
124 files changed, 206 insertions(+), 15452 deletions(-)
delete mode 100644 packages/gatsby-source-medusa/.gitignore
delete mode 100644 packages/gatsby-source-medusa/CHANGELOG.md
delete mode 100644 packages/gatsby-source-medusa/LICENSE
delete mode 100644 packages/gatsby-source-medusa/README.md
delete mode 100644 packages/gatsby-source-medusa/jest.config.js
delete mode 100644 packages/gatsby-source-medusa/package.json
delete mode 100644 packages/gatsby-source-medusa/src/__tests__/__snapshots__/process-node.test.ts.snap
delete mode 100644 packages/gatsby-source-medusa/src/__tests__/process-node.test.ts
delete mode 100644 packages/gatsby-source-medusa/src/client.ts
delete mode 100644 packages/gatsby-source-medusa/src/gatsby-node.ts
delete mode 100644 packages/gatsby-source-medusa/src/interface.ts
delete mode 100644 packages/gatsby-source-medusa/src/make-source-from-operation.ts
delete mode 100644 packages/gatsby-source-medusa/src/operations.ts
delete mode 100644 packages/gatsby-source-medusa/src/process-node.ts
delete mode 100644 packages/gatsby-source-medusa/src/source-nodes.ts
delete mode 100644 packages/gatsby-source-medusa/src/utils/format-uri.ts
delete mode 100644 packages/gatsby-source-medusa/tsconfig.json
delete mode 100644 packages/gatsby-source-medusa/tsconfig.spec.json
delete mode 100644 packages/medusa-payment-adyen/.babelrc
delete mode 100644 packages/medusa-payment-adyen/.gitignore
delete mode 100644 packages/medusa-payment-adyen/.npmignore
delete mode 100644 packages/medusa-payment-adyen/CHANGELOG.md
delete mode 100644 packages/medusa-payment-adyen/README.md
delete mode 100644 packages/medusa-payment-adyen/index.js
delete mode 100644 packages/medusa-payment-adyen/package.json
delete mode 100644 packages/medusa-payment-adyen/src/api/index.js
delete mode 100644 packages/medusa-payment-adyen/src/api/middlewares/await-middleware.js
delete mode 100644 packages/medusa-payment-adyen/src/api/middlewares/index.js
delete mode 100644 packages/medusa-payment-adyen/src/api/routes/hooks/adyen-notification.js
delete mode 100644 packages/medusa-payment-adyen/src/api/routes/hooks/index.js
delete mode 100644 packages/medusa-payment-adyen/src/services/adyen.js
delete mode 100644 packages/medusa-payment-adyen/src/services/mobilepay-adyen.js
delete mode 100644 packages/medusa-payment-adyen/src/subscribers/adyen.js
delete mode 100644 packages/medusa-plugin-brightpearl/.babelrc
delete mode 100644 packages/medusa-plugin-brightpearl/.gitignore
delete mode 100644 packages/medusa-plugin-brightpearl/.npmignore
delete mode 100644 packages/medusa-plugin-brightpearl/CHANGELOG.md
delete mode 100644 packages/medusa-plugin-brightpearl/README.md
delete mode 100644 packages/medusa-plugin-brightpearl/index.js
delete mode 100644 packages/medusa-plugin-brightpearl/package.json
delete mode 100644 packages/medusa-plugin-brightpearl/src/api/index.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/loaders/inventory.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/loaders/webhooks.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/services/__tests__/brightpearl.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/services/brightpearl.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/services/oauth.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/subscribers/order.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/utils/__mocks__/brightpearl.js
delete mode 100644 packages/medusa-plugin-brightpearl/src/utils/brightpearl.js
delete mode 100644 packages/medusa-plugin-economic/.babelrc
delete mode 100644 packages/medusa-plugin-economic/.gitignore
delete mode 100644 packages/medusa-plugin-economic/.npmignore
delete mode 100644 packages/medusa-plugin-economic/CHANGELOG.md
delete mode 100644 packages/medusa-plugin-economic/README.md
delete mode 100644 packages/medusa-plugin-economic/index.js
delete mode 100644 packages/medusa-plugin-economic/jest.config.js
delete mode 100644 packages/medusa-plugin-economic/package.json
delete mode 100644 packages/medusa-plugin-economic/src/api/index.js
delete mode 100644 packages/medusa-plugin-economic/src/api/middlewares/await-middleware.js
delete mode 100644 packages/medusa-plugin-economic/src/api/middlewares/index.js
delete mode 100644 packages/medusa-plugin-economic/src/api/routes/book-invoice.js
delete mode 100644 packages/medusa-plugin-economic/src/api/routes/create-draft-invoice.js
delete mode 100644 packages/medusa-plugin-economic/src/api/routes/index.js
delete mode 100644 packages/medusa-plugin-economic/src/services/economic.js
delete mode 100644 packages/medusa-plugin-economic/src/subscribers/order.js
delete mode 100644 packages/medusa-plugin-economic/src/utils/eu-countries.js
delete mode 100644 packages/medusa-plugin-economic/utils/eu-countries.js
delete mode 100644 packages/medusa-plugin-mailchimp/.babelrc
delete mode 100644 packages/medusa-plugin-mailchimp/.gitignore
delete mode 100644 packages/medusa-plugin-mailchimp/.npmignore
delete mode 100644 packages/medusa-plugin-mailchimp/CHANGELOG.md
delete mode 100644 packages/medusa-plugin-mailchimp/README.md
delete mode 100644 packages/medusa-plugin-mailchimp/index.js
delete mode 100644 packages/medusa-plugin-mailchimp/jest.config.js
delete mode 100644 packages/medusa-plugin-mailchimp/package.json
delete mode 100644 packages/medusa-plugin-mailchimp/src/api/index.ts
delete mode 100644 packages/medusa-plugin-mailchimp/src/api/routes/index.ts
delete mode 100644 packages/medusa-plugin-mailchimp/src/api/routes/subscribe-newsletter.ts
delete mode 100644 packages/medusa-plugin-mailchimp/src/services/__tests__/mailchimp.ts
delete mode 100644 packages/medusa-plugin-mailchimp/src/services/mailchimp.ts
delete mode 100644 packages/medusa-plugin-mailchimp/src/types.ts
delete mode 100644 packages/medusa-plugin-mailchimp/tsconfig.json
delete mode 100644 packages/medusa-plugin-mailchimp/tsconfig.spec.json
delete mode 100644 packages/medusa-plugin-twilio-sms/.babelrc
delete mode 100644 packages/medusa-plugin-twilio-sms/.gitignore
delete mode 100644 packages/medusa-plugin-twilio-sms/.npmignore
delete mode 100644 packages/medusa-plugin-twilio-sms/CHANGELOG.md
delete mode 100644 packages/medusa-plugin-twilio-sms/README.md
delete mode 100644 packages/medusa-plugin-twilio-sms/index.js
delete mode 100644 packages/medusa-plugin-twilio-sms/jest.config.js
delete mode 100644 packages/medusa-plugin-twilio-sms/package.json
delete mode 100644 packages/medusa-plugin-twilio-sms/src/services/twilio-sms.js
delete mode 100644 packages/medusa-source-shopify/.babelrc
delete mode 100644 packages/medusa-source-shopify/.gitignore
delete mode 100644 packages/medusa-source-shopify/.npmignore
delete mode 100644 packages/medusa-source-shopify/CHANGELOG.md
delete mode 100644 packages/medusa-source-shopify/README.md
delete mode 100644 packages/medusa-source-shopify/jest.config.js
delete mode 100644 packages/medusa-source-shopify/package.json
delete mode 100644 packages/medusa-source-shopify/src/loaders/index.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/product-collection.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/product-service.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/product-variant.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/shipping-profile.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/shopify-cache.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/shopify-client.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/shopify-product.js
delete mode 100644 packages/medusa-source-shopify/src/services/__mocks__/test-products.js
delete mode 100644 packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-collection.js.snap
delete mode 100644 packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-product.js.snap
delete mode 100644 packages/medusa-source-shopify/src/services/__tests__/shopify-collection.js
delete mode 100644 packages/medusa-source-shopify/src/services/__tests__/shopify-product.js
delete mode 100644 packages/medusa-source-shopify/src/services/shopify-cache.js
delete mode 100644 packages/medusa-source-shopify/src/services/shopify-client.js
delete mode 100644 packages/medusa-source-shopify/src/services/shopify-collection.js
delete mode 100644 packages/medusa-source-shopify/src/services/shopify-product.js
delete mode 100644 packages/medusa-source-shopify/src/services/shopify.js
delete mode 100644 packages/medusa-source-shopify/src/utils/build-query.js
delete mode 100644 packages/medusa-source-shopify/src/utils/const.js
delete mode 100644 packages/medusa-source-shopify/src/utils/create-client.js
delete mode 100644 packages/medusa-source-shopify/src/utils/pager.js
delete mode 100644 packages/medusa-source-shopify/src/utils/parse-price.js
delete mode 100644 packages/medusa-source-shopify/src/utils/remove-index.js
diff --git a/packages/gatsby-source-medusa/.gitignore b/packages/gatsby-source-medusa/.gitignore
deleted file mode 100644
index 874c6c69d3..0000000000
--- a/packages/gatsby-source-medusa/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-/dist
-node_modules
-.DS_store
-.env*
-.env
-*.sql
diff --git a/packages/gatsby-source-medusa/CHANGELOG.md b/packages/gatsby-source-medusa/CHANGELOG.md
deleted file mode 100644
index 90408626aa..0000000000
--- a/packages/gatsby-source-medusa/CHANGELOG.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# Change Log
-
-## 0.1.4
-
-### Patch Changes
-
-- [#4419](https://github.com/medusajs/medusa/pull/4419) [`627bdb689`](https://github.com/medusajs/medusa/commit/627bdb689f26282ba49a185bfc5182a7c1e734dd) Thanks [@adrien2p](https://github.com/adrien2p)! - chore(gatsby-source-medusa): Cleanup plugin setup
-
-## 0.1.3
-
-### Patch Changes
-
-- [#3217](https://github.com/medusajs/medusa/pull/3217) [`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0) Thanks [@adrien2p](https://github.com/adrien2p)! - chore: Fix npm packages files included
-
-## 0.1.2
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-## 0.1.1
-
-### Patch Changes
-
-- [#1914](https://github.com/medusajs/medusa/pull/1914) [`1dec44287`](https://github.com/medusajs/medusa/commit/1dec44287df5ac69b4c5769b59f9ebef58d3da68) Thanks [@fPolic](https://github.com/fPolic)! - Version bump due to missing changesets in merged PRs
-
-* [#1463](https://github.com/medusajs/medusa/pull/1463) [`cbdc5b777`](https://github.com/medusajs/medusa/commit/cbdc5b7774c76f4e95f8aa1367652acd74eb9b6b) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - Moves sourceUpdatedNodes and sourceAllNodes to a separate file, to prevent warning of unsupported exports.
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-# [0.1.0](https://github.com/medusajs/medusa/compare/gatsby-source-medusa@0.0.49...gatsby-source-medusa@0.1.0) (2022-05-01)
-
-### Bug Fixes
-
-- **gatsby-source-medusa:** adds support for incremental sourcing of medusa data ([#1217](https://github.com/medusajs/medusa/issues/1217)) ([23f8399](https://github.com/medusajs/medusa/commit/23f8399c16e3f3c7a01a6846b2b96750dde55a60))
-
-## [0.0.49](https://github.com/medusajs/medusa/compare/gatsby-source-medusa@0.0.48...gatsby-source-medusa@0.0.49) (2022-02-06)
-
-### Bug Fixes
-
-- release ([fc3fbc8](https://github.com/medusajs/medusa/commit/fc3fbc897fad5c8a5d3eea828ac7277fba9d70af))
-
-## [0.0.48](https://github.com/medusajs/medusa/compare/gatsby-source-medusa@0.0.47...gatsby-source-medusa@0.0.48) (2022-02-06)
-
-### Features
-
-- medusa-react admin hooks ([#978](https://github.com/medusajs/medusa/issues/978)) ([2e38484](https://github.com/medusajs/medusa/commit/2e384842d5b2e9742a86b96f28a8f00357795b86)), closes [#1019](https://github.com/medusajs/medusa/issues/1019)
-
-## [0.0.47](https://github.com/medusajs/medusa/compare/gatsby-source-medusa@0.0.46...gatsby-source-medusa@0.0.47) (2022-01-11)
-
-**Note:** Version bump only for package gatsby-source-medusa
-
-## [0.0.46](https://github.com/medusajs/medusa/compare/gatsby-source-medusa@0.0.45...gatsby-source-medusa@0.0.46) (2021-12-29)
-
-**Note:** Version bump only for package gatsby-source-medusa
-
-## 0.0.45 (2021-12-17)
-
-### Features
-
-- gatsby source medusa ([#924](https://github.com/medusajs/medusa/issues/924)) ([b8ff364](https://github.com/medusajs/medusa/commit/b8ff364276bf143f061a7c85e309dcd3ebfe4185))
diff --git a/packages/gatsby-source-medusa/LICENSE b/packages/gatsby-source-medusa/LICENSE
deleted file mode 100644
index ca6b650ebb..0000000000
--- a/packages/gatsby-source-medusa/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2021 Medusa
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/packages/gatsby-source-medusa/README.md b/packages/gatsby-source-medusa/README.md
deleted file mode 100644
index 01a4c0ecb9..0000000000
--- a/packages/gatsby-source-medusa/README.md
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
- gatsby-source-medusa
-
-
-Medusa is an open-source headless commerce engine that enables developers to create amazing digital commerce experiences. This is a Gatsby source plugin for building websites using Medusa as a data source.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-## Note
-
-We're not actively maintaining this repository. So, it may not work as expected with the latest versions of Medusa. Contributions are highly appreciated.**
-
-## Quickstart
-
-This takes you through the minimal steps to see your Medusa data in your Gatsby site's GraphiQL explorer.
-
-### 1. Installation
-
-Install the source plugin to your Gatsby project using your favorite package manager.
-
-```shell
-npm install gatsby-source-medusa
-```
-
-```shell
-yarn add gatsby-source-medusa
-```
-
-### 2. Configuration
-
-Add the plugin to your `gatsby-config.js`:
-
-```js:title=gatsby-config.js
-require("dotenv").config()
-
-module.exports = {
- plugins: [
- {
- resolve: "gatsby-source-medusa",
- options: {
- storeUrl: process.env.MEDUSA_URL,
- authToken: process.env.MEDUSA_AUTH_TOKEN //This is optional
- },
- },
- ...,
- ],
-}
-```
-
-The plugin accepts two options `storeUrl` and `authToken`. The `storeUrl` option is required and should point to the server where your Medusa instance is hosted (this could be `localhost:9000` in development). The `authToken` option is optional, and if you add it the plugin will also source orders from your store.
-
-## You should now be ready to begin querying your data
-
-You should now be able to view your stores `MedusaProducts`, `MedusaRegions`, `MedusaCollections`, and `MedusaOrders` (if enabled) in your Gatsby site's GraphiQL explorer.
diff --git a/packages/gatsby-source-medusa/jest.config.js b/packages/gatsby-source-medusa/jest.config.js
deleted file mode 100644
index e564d67c70..0000000000
--- a/packages/gatsby-source-medusa/jest.config.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = {
- globals: {
- "ts-jest": {
- tsconfig: "tsconfig.spec.json",
- isolatedModules: false,
- },
- },
- transform: {
- "^.+\\.[jt]s?$": "ts-jest",
- },
- testEnvironment: `node`,
- moduleFileExtensions: [`js`, `jsx`, `ts`, `tsx`, `json`],
-}
diff --git a/packages/gatsby-source-medusa/package.json b/packages/gatsby-source-medusa/package.json
deleted file mode 100644
index 31647425f9..0000000000
--- a/packages/gatsby-source-medusa/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "gatsby-source-medusa",
- "version": "0.1.4",
- "description": "Gatsby source plugin for building websites using Medusa Commerce as a data source",
- "scripts": {
- "test": "jest --passWithNoTests",
- "watch": "tsc-watch",
- "build": "tsc"
- },
- "files": [
- "dist"
- ],
- "engines": {
- "node": ">=16"
- },
- "keywords": [
- "gatsby",
- "gatsby-plugin",
- "gatsby-source",
- "gatsby-source-medusa",
- "medusa",
- "medusa-commerce"
- ],
- "author": "Kasper Kristensen (https://www.medusa-commerce.com/)",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa.git",
- "directory": "packages/gatsby-source-medusa"
- },
- "bugs": {
- "url": "https://github.com/medusajs/medusa/issues"
- },
- "dependencies": {
- "axios": "^0.24.0",
- "gatsby-core-utils": "^3.3.0",
- "gatsby-plugin-image": "^2.3.0",
- "gatsby-source-filesystem": "^4.3.0"
- },
- "devDependencies": {
- "@types/jest": "^27.0.1",
- "gatsby": "^4.1.0",
- "jest": "^27.0.6",
- "ts-jest": "^27.1.5",
- "tsc-watch": "^4.5.0",
- "typescript": "^4.5.2"
- },
- "peerDependencies": {
- "gatsby": "^4.1.0"
- },
- "gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e"
-}
diff --git a/packages/gatsby-source-medusa/src/__tests__/__snapshots__/process-node.test.ts.snap b/packages/gatsby-source-medusa/src/__tests__/__snapshots__/process-node.test.ts.snap
deleted file mode 100644
index 2dc23ec051..0000000000
--- a/packages/gatsby-source-medusa/src/__tests__/__snapshots__/process-node.test.ts.snap
+++ /dev/null
@@ -1,19 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`helper functions should return return a new node from processNode 1`] = `
-Array [
- Object {
- "children": Array [],
- "description": "A test product",
- "id": "prod_test_1234",
- "internal": Object {
- "content": "{\\"id\\":\\"prod_test_1234\\",\\"title\\":\\"Test Shirt\\",\\"description\\":\\"A test product\\",\\"unit_price\\":2500}",
- "contentDigest": "digest_string",
- "type": "MedusaProduct",
- },
- "parent": null,
- "title": "Test Shirt",
- "unit_price": 2500,
- },
-]
-`;
diff --git a/packages/gatsby-source-medusa/src/__tests__/process-node.test.ts b/packages/gatsby-source-medusa/src/__tests__/process-node.test.ts
deleted file mode 100644
index d21b6b47bd..0000000000
--- a/packages/gatsby-source-medusa/src/__tests__/process-node.test.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-const { processNode } = require("../process-node.ts")
-
-describe("helper functions", () => {
- it("should return return a new node from processNode", () => {
- const fieldName = "product"
- const node = {
- id: "prod_test_1234",
- title: "Test Shirt",
- description: "A test product",
- unit_price: 2500,
- }
-
- const createContentDigest = jest.fn(() => "digest_string")
- const processNodeResult = processNode(node, fieldName, createContentDigest)
-
- expect(createContentDigest).toBeCalled()
-
- expect(processNodeResult).toMatchSnapshot()
- })
-})
diff --git a/packages/gatsby-source-medusa/src/client.ts b/packages/gatsby-source-medusa/src/client.ts
deleted file mode 100644
index 3d6b775f23..0000000000
--- a/packages/gatsby-source-medusa/src/client.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-import axios, { AxiosPromise, AxiosRequestConfig } from "axios"
-
-function medusaRequest(
- storeURL: string,
- path = "",
- headers = {}
-): AxiosPromise {
- const options: AxiosRequestConfig = {
- method: "GET",
- withCredentials: true,
- url: path,
- headers: headers,
- }
-
- const client = axios.create({ baseURL: storeURL })
-
- return client(options)
-}
-
-export const createClient = (options: MedusaPluginOptions): any => {
- const { storeUrl, apiKey } = options
-
- /**
- * @param {string} _date used fetch products updated since the specified date
- * @return {Promise} products to create nodes from
- */
- async function products(_date?: string): Promise {
- let products: any[] = []
- let offset = 0
- let count = 1
- do {
- let path = `/store/products?offset=${offset}`
- if (_date) {
- path += `&updated_at[gt]=${_date}`
- }
-
- await medusaRequest(storeUrl, path).then(({ data }) => {
- products = [...products, ...data.products]
- count = data.count
- offset = data.products.length
- })
- } while (products.length < count)
-
- if (!products.length && !_date) {
- console.warn(
- "[gatsby-source-medusa]: 📣 No products were retrieved. If this is a new store, please ensure that you have at least one published product in your store. You can create a product by using the Medusa admin dashboard."
- )
- }
-
- return products
- }
-
- /**
- *
- * @param {string} _date used fetch regions updated since the specified date
- * @return {Promise} regions to create nodes from
- */
- async function regions(_date?: string): Promise {
- let path = `/store/regions`
- if (_date) {
- path += `?updated_at[gt]=${_date}`
- }
-
- const regions = await medusaRequest(storeUrl, path).then(({ data }) => {
- return data.regions
- })
-
- if (!regions.length && !_date) {
- console.warn(
- "[gatsby-source-medusa]: 📣 No regions were retrieved. If this is a new store, please ensure that you have configured at least one region in the Medusa admin dashboard."
- )
- }
-
- return regions
- }
-
- /**
- *
- * @param {string} _date used fetch regions updated since the specified date
- * @return {Promise} orders to create nodes from
- */
- async function orders(_date?: string): Promise {
- const orders = await medusaRequest(storeUrl, `/admin/orders`, {
- Authorization: `Bearer ${apiKey}`,
- })
- .then(({ data }) => {
- return data.orders
- })
- .catch((error) => {
- console.warn(`
- 📣 The following error status was produced while attempting to fetch orders: ${error}. \n
- Make sure that the auth token you provided is valid.
- `)
- return []
- })
- return orders
- }
-
- /**
- *
- * @param {string} _date used fetch regions updated since the specified date
- * @return {Promise} collections to create nodes from
- */
- async function collections(_date?: string): Promise {
- let collections: any[] = []
- let offset = 0
- let count = 1
- do {
- let path = `/store/collections?offset=${offset}`
- if (_date) {
- path += `&updated_at[gt]=${_date}`
- }
- await medusaRequest(storeUrl, path).then(({ data }) => {
- collections = [...collections, ...data.collections]
- count = data.count
- offset = data.collections.length
- })
- } while (collections.length < count)
-
- if (!collections.length && !_date) {
- console.warn(
- "[gatsby-source-medusa]: 📣 No collections were retrieved. You can create collections using the Medusa admin dasbboard."
- )
- }
-
- return collections
- }
-
- return {
- products,
- collections,
- regions,
- orders,
- }
-}
diff --git a/packages/gatsby-source-medusa/src/gatsby-node.ts b/packages/gatsby-source-medusa/src/gatsby-node.ts
deleted file mode 100644
index f5e78f0413..0000000000
--- a/packages/gatsby-source-medusa/src/gatsby-node.ts
+++ /dev/null
@@ -1,239 +0,0 @@
-import {
- CreateResolversArgs,
- GatsbyCache,
- Node,
- PluginOptionsSchemaArgs,
- Reporter,
- SourceNodesArgs,
- Store,
-} from "gatsby"
-import {
- createRemoteFileNode,
- CreateRemoteFileNodeArgs,
-} from "gatsby-source-filesystem"
-import { sourceAllNodes, sourceUpdatedNodes } from "./source-nodes"
-
-export function pluginOptionsSchema({ Joi }: PluginOptionsSchemaArgs): any {
- return Joi.object({
- storeUrl: Joi.string().required(),
- apiKey: Joi.string().optional(),
- })
-}
-
-export async function onPostBuild({ cache }: { cache: any }): Promise {
- await cache.set("timestamp", Date.now())
-}
-
-export async function sourceNodes(
- gatsbyApi: SourceNodesArgs,
- pluginOptions: MedusaPluginOptions
-): Promise {
- const { cache } = gatsbyApi
- const lastBuildTime = await cache.get("timestamp")
-
- if (lastBuildTime !== undefined) {
- await sourceUpdatedNodes(gatsbyApi, pluginOptions, lastBuildTime)
- } else {
- gatsbyApi.reporter.info(`Cache is cold, running a clean build.`)
- await sourceAllNodes(gatsbyApi, pluginOptions)
- }
-
- gatsbyApi.reporter.info(`Finished sourcing nodes`)
-}
-
-export function createResolvers({ createResolvers }: CreateResolversArgs): any {
- const resolvers = {
- MedusaProducts: {
- images: {
- type: ["MedusaImages"],
- resolve: async (
- source: any,
- _args: any,
- context: any,
- _info: any
- ): Promise => {
- const { entries } = await context.nodeModel.findAll({
- query: {
- filter: { parent: { id: { eq: source.id } } },
- },
- type: "MedusaImages",
- })
- return entries
- },
- },
- },
- }
- createResolvers(resolvers)
-}
-
-export async function createSchemaCustomization({
- actions: { createTypes },
-}: {
- actions: { createTypes: any }
- schema: any
-}): Promise {
- createTypes(`
- type MedusaProducts implements Node {
- id: ID!
- title: String!
- subtitle: String
- description: String
- handle: String!
- is_giftcard: Boolean!
- status: String!
- thumbnail: File @link(from: "fields.localThumbnail")
- options: [MedusaProductOptions]!
- variants: [MedusaProductVariants]!
- collection: MedusaCollections @link(from: "collection_id")
- collection_id: String
- profile_id: String!
- discountable: Boolean!
- published_at: Date!
- created_at: Date!
- updated_at: Date!
- weight: Int
- length: Int
- width: Int
- }
- type MedusaImages implements Node {
- id: ID!
- url: String!
- created_at: Date!
- updated_at: Date!
- image: File @link(from: "fields.localImage")
- }
- type MedusaCollections implements Node {
- id: ID!
- handle: String!
- title: String!
- created_at: Date!
- updated_at: Date!
- }
- type MedusaProductOptions @dontInfer {
- id: ID!
- title: String!
- product_id: String!
- values: [MedusaProductOptionValues]!
- created_at: Date!
- updated_at: Date!
- }
- type MedusaProductOptionValues @dontInfer {
- id: ID!
- value: String!
- created_at: Date!
- updated_at: Date!
- option_id: String!
- variant_id: String!
- }
- type MedusaProductVariants @dontInfer {
- id: ID!
- title: String!
- product_id: String!
- prices: [MedusaMoneyAmounts]!
- sku: String
- barcode: String
- upc: String
- variant_rank: Int
- inventory_quantity: Int!
- allow_backorder: Boolean!
- manage_inventory: Boolean!
- hs_code: String
- origin_country: String
- mid_code: String
- material: String
- weight: Int
- length: Int
- height: Int
- width: Int
- options: [MedusaProductOptionValues]!
- created_at: Date!
- updated_at: Date!
- }
- type MedusaMoneyAmounts @dontInfer {
- id: ID!
- amount: Int!
- currency_code: String!
- created_at: Date!
- updated_at: Date!
- variant_id: String!
- }
- type MedusaRegions implements Node {
- id: ID!
- name: String!
- currency_code: String!
- tax_rate: Int!
- tax_code: String
- automatic_taxes: Boolean!
- created_at: Date!
- updated_at: Date!
- countries: [MedusaCountries]!
- }
- type MedusaCountries implements Node {
- id: ID!
- name: String!
- iso_2: String!
- iso_3: String!
- num_code: Int!
- display_name: String!
- region_id: String!
- }
- `)
-}
-
-export async function onCreateNode({
- actions: { createNode, createNodeField },
- cache,
- createNodeId,
- node,
- store,
- reporter,
-}: {
- actions: { createNode: any; createNodeField: any }
- cache: GatsbyCache
- createNodeId: any
- node: Node
- store: Store
- reporter: Reporter
-}): Promise {
- if (node.internal.type === `MedusaProducts`) {
- if (node.thumbnail !== null) {
- const thumbnailNode: Node | null = await createRemoteFileNode({
- url: `${node.thumbnail}`,
- parentNodeId: node.id,
- createNode,
- createNodeId,
- cache,
- store,
- reporter,
- } as CreateRemoteFileNodeArgs)
-
- if (thumbnailNode) {
- createNodeField({
- node,
- name: `localThumbnail`,
- value: thumbnailNode.id,
- })
- }
- }
- }
-
- if (node.internal.type === `MedusaImages`) {
- const imageNode: Node | null = await createRemoteFileNode({
- url: `${node.url}`,
- parentNodeId: node.id,
- createNode,
- createNodeId,
- cache,
- store,
- reporter,
- } as CreateRemoteFileNodeArgs)
-
- if (imageNode) {
- createNodeField({
- node,
- name: `localImage`,
- value: imageNode.id,
- })
- }
- }
-}
diff --git a/packages/gatsby-source-medusa/src/interface.ts b/packages/gatsby-source-medusa/src/interface.ts
deleted file mode 100644
index ee7b33a5dc..0000000000
--- a/packages/gatsby-source-medusa/src/interface.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-interface MedusaPluginOptions {
- storeUrl: string
- apiKey: string
-}
-
-interface MedusaProductImage {
- url: string
- metadata: Record | null
- id: string
- created_at: string
- updated_at: string
- deleted_at: string | null
-}
-
-interface IMedusaOperation {
- execute: () => Promise
- name: string
-}
-
-interface IOperations {
- createProductsOperation: IMedusaOperation
- createCollectionsOperation: IMedusaOperation
- createRegionsOperation: IMedusaOperation
- createOrdersOperation: IMedusaOperation
- incrementalProductsOperation: (date: string) => IMedusaOperation
- incrementalCollectionsOperation: (date: string) => IMedusaOperation
- incrementalRegionsOperation: (date: string) => IMedusaOperation
- incrementalOrdersOperation: (date: string) => IMedusaOperation
-}
diff --git a/packages/gatsby-source-medusa/src/make-source-from-operation.ts b/packages/gatsby-source-medusa/src/make-source-from-operation.ts
deleted file mode 100644
index 09bc8bdf29..0000000000
--- a/packages/gatsby-source-medusa/src/make-source-from-operation.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { SourceNodesArgs } from "gatsby"
-import { processNode } from "./process-node"
-
-export function makeSourceFromOperation(gatsbyApi: SourceNodesArgs) {
- return async function sourceFromOperation(
- op: IMedusaOperation
- ): Promise {
- const { reporter, actions } = gatsbyApi
-
- reporter.info(`Initiating operation query ${op.name}`)
- const nodes = await op.execute()
-
- nodes.map((rawNode) => {
- const nodeArr = processNode(
- rawNode,
- op.name,
- gatsbyApi.createContentDigest
- )
-
- nodeArr.forEach((node) => {
- actions.createNode(node)
- })
- })
- }
-}
diff --git a/packages/gatsby-source-medusa/src/operations.ts b/packages/gatsby-source-medusa/src/operations.ts
deleted file mode 100644
index 36d260187b..0000000000
--- a/packages/gatsby-source-medusa/src/operations.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import { createClient } from "./client"
-
-export function createOperations(options: MedusaPluginOptions): IOperations {
- const client = createClient(options)
-
- function createOperation(
- name: "products" | "collections" | "regions" | "orders",
- queryString?: string
- ): IMedusaOperation {
- return {
- execute: (): Promise => client[name](queryString),
- name: name,
- }
- }
-
- return {
- createProductsOperation: createOperation("products"),
- createCollectionsOperation: createOperation("collections"),
- createRegionsOperation: createOperation("regions"),
- createOrdersOperation: createOperation("orders"),
- incrementalProductsOperation: (date: string): any =>
- createOperation("products", date),
- incrementalCollectionsOperation: (date: string): any =>
- createOperation("collections", date),
- incrementalRegionsOperation: (date: string): any =>
- createOperation("regions", date),
- incrementalOrdersOperation: (date: string): any =>
- createOperation("orders", date),
- }
-}
diff --git a/packages/gatsby-source-medusa/src/process-node.ts b/packages/gatsby-source-medusa/src/process-node.ts
deleted file mode 100644
index faaa17ac4d..0000000000
--- a/packages/gatsby-source-medusa/src/process-node.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-export const processNode = (
- node: any,
- fieldName: string,
- createContentDigest: (this: void, input: string | object) => string
-): any[] => {
- const nodeId: string = node.id
- const nodeContent = JSON.stringify(node)
- const nodeContentDigest = createContentDigest(nodeContent)
-
- let images = []
-
- if (fieldName === "products") {
- if (node.images?.length) {
- images = node.images.map((image: any) => {
- const nodeImageContentDigest = createContentDigest(image.id)
- const nodeImageContent = JSON.stringify(image)
-
- const imageData = Object.assign({}, image, {
- id: image.id,
- parent: nodeId,
- children: [],
- internal: {
- type: "MedusaImages",
- content: nodeImageContent,
- contentDigest: nodeImageContentDigest,
- },
- })
-
- return imageData
- })
- }
- delete node.images
- }
-
- // TODO: use upperFirstCase from medusajs/utils when it's available
- const type = `Medusa${fieldName[0].toUpperCase() + fieldName.slice(1)}`
- const nodeData = Object.assign({}, node, {
- id: nodeId,
- parent: null,
- children: [],
- internal: {
- type,
- content: nodeContent,
- contentDigest: nodeContentDigest,
- },
- })
-
- return [nodeData, ...images]
-}
diff --git a/packages/gatsby-source-medusa/src/source-nodes.ts b/packages/gatsby-source-medusa/src/source-nodes.ts
deleted file mode 100644
index ef592d36d5..0000000000
--- a/packages/gatsby-source-medusa/src/source-nodes.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-import { SourceNodesArgs } from "gatsby"
-import { makeSourceFromOperation } from "./make-source-from-operation"
-import { createOperations } from "./operations"
-
-const medusaNodeTypes = [
- "MedusaRegions",
- "MedusaProducts",
- "MedusaOrders",
- "MedusaCollections",
-]
-
-export async function sourceAllNodes(
- gatsbyApi: SourceNodesArgs,
- pluginOptions: MedusaPluginOptions
-): Promise {
- const {
- createProductsOperation,
- createRegionsOperation,
- createOrdersOperation,
- createCollectionsOperation,
- } = createOperations(pluginOptions)
-
- const operations = [
- createProductsOperation,
- createRegionsOperation,
- createCollectionsOperation,
- ]
-
- // if auth token is provided then source orders
- if (pluginOptions.apiKey) {
- operations.push(createOrdersOperation)
- }
-
- const sourceFromOperation = makeSourceFromOperation(gatsbyApi)
-
- for (const op of operations) {
- await sourceFromOperation(op)
- }
-}
-
-export async function sourceUpdatedNodes(
- gatsbyApi: SourceNodesArgs,
- pluginOptions: MedusaPluginOptions,
- lastBuildTime: string
-): Promise {
- const {
- incrementalProductsOperation,
- incrementalRegionsOperation,
- incrementalOrdersOperation,
- incrementalCollectionsOperation,
- } = createOperations(pluginOptions)
-
- for (const nodeType of medusaNodeTypes) {
- gatsbyApi
- .getNodesByType(nodeType)
- .forEach((node) => gatsbyApi.actions.touchNode(node))
- }
-
- const operations = [
- incrementalProductsOperation(lastBuildTime),
- incrementalRegionsOperation(lastBuildTime),
- incrementalCollectionsOperation(lastBuildTime),
- ]
-
- if (pluginOptions.apiKey) {
- operations.push(incrementalOrdersOperation(lastBuildTime))
- }
-
- const sourceFromOperation = makeSourceFromOperation(gatsbyApi)
-
- for (const op of operations) {
- await sourceFromOperation(op)
- }
-}
diff --git a/packages/gatsby-source-medusa/src/utils/format-uri.ts b/packages/gatsby-source-medusa/src/utils/format-uri.ts
deleted file mode 100644
index c55e9b1894..0000000000
--- a/packages/gatsby-source-medusa/src/utils/format-uri.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export const formatUri = (uri: string): string => {
- let url
-
- try {
- url = new URL(uri)
- } catch (_) {
- const formatted = /[\w||\d].*/.exec(uri)?.[0]
- return `https://${formatted}`
- }
-
- return url.href
-}
diff --git a/packages/gatsby-source-medusa/tsconfig.json b/packages/gatsby-source-medusa/tsconfig.json
deleted file mode 100644
index 731ef8a6e0..0000000000
--- a/packages/gatsby-source-medusa/tsconfig.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "compilerOptions": {
- "lib": ["es2020"],
- "target": "es2020",
- "outDir": "./dist",
- "esModuleInterop": true,
- "declaration": true,
- "module": "commonjs",
- "moduleResolution": "node",
- "emitDecoratorMetadata": true,
- "experimentalDecorators": true,
- "sourceMap": true,
- "noImplicitReturns": true,
- "strictNullChecks": true,
- "strictFunctionTypes": true,
- "noImplicitThis": true,
- "allowJs": true,
- "skipLibCheck": true,
- "downlevelIteration": true // to use ES5 specific tooling
- },
- "include": ["src"],
- "exclude": [
- "dist",
- "./src/**/__tests__",
- "./src/**/__mocks__",
- "./src/**/__fixtures__",
- "node_modules"
- ]
-}
diff --git a/packages/gatsby-source-medusa/tsconfig.spec.json b/packages/gatsby-source-medusa/tsconfig.spec.json
deleted file mode 100644
index 9b62409191..0000000000
--- a/packages/gatsby-source-medusa/tsconfig.spec.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src"],
- "exclude": ["node_modules"]
-}
diff --git a/packages/medusa-payment-adyen/.babelrc b/packages/medusa-payment-adyen/.babelrc
deleted file mode 100644
index 4d2dfe8f09..0000000000
--- a/packages/medusa-payment-adyen/.babelrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "plugins": [
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-transform-instanceof",
- "@babel/plugin-transform-classes"
- ],
- "presets": ["@babel/preset-env"],
- "env": {
- "test": {
- "plugins": ["@babel/plugin-transform-runtime"]
- }
- }
-}
diff --git a/packages/medusa-payment-adyen/.gitignore b/packages/medusa-payment-adyen/.gitignore
deleted file mode 100644
index 2ca7f03256..0000000000
--- a/packages/medusa-payment-adyen/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
-/lib
-node_modules
-.DS_store
-.env*
-/*.js
-!index.js
-yarn.lock
-
-/dist
-
-/api
-/services
-/models
-/subscribers
-/__mocks__
-
diff --git a/packages/medusa-payment-adyen/.npmignore b/packages/medusa-payment-adyen/.npmignore
deleted file mode 100644
index af4cbd1ba0..0000000000
--- a/packages/medusa-payment-adyen/.npmignore
+++ /dev/null
@@ -1,8 +0,0 @@
-.DS_store
-src
-dist
-yarn.lock
-.babelrc
-
-.turbo
-.yarn
\ No newline at end of file
diff --git a/packages/medusa-payment-adyen/CHANGELOG.md b/packages/medusa-payment-adyen/CHANGELOG.md
deleted file mode 100644
index a70bdd14d2..0000000000
--- a/packages/medusa-payment-adyen/CHANGELOG.md
+++ /dev/null
@@ -1,291 +0,0 @@
-# Change Log
-
-## 1.1.46
-
-### Patch Changes
-
-- Updated dependencies [[`8f8a4f9b13`](https://github.com/medusajs/medusa/commit/8f8a4f9b1353087d98f6cc75346d43a7f49901a8)]:
- - medusa-interfaces@1.3.9
-
-## 1.1.45
-
-### Patch Changes
-
-- Updated dependencies [[`45996d58a2`](https://github.com/medusajs/medusa/commit/45996d58a2665d72335faad11bea958f8da74195), [`f86877586`](https://github.com/medusajs/medusa/commit/f86877586147ecedbf7f56a1c57f37ef0c33286c), [`46d610bc5`](https://github.com/medusajs/medusa/commit/46d610bc555797df2ae81eb89b18faf1411b33b8)]:
- - medusa-interfaces@1.3.8
- - medusa-core-utils@1.2.1
-
-## 1.1.44
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0
- - medusa-interfaces@1.3.7
-
-## 1.1.44-rc.0
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0-rc.0
- - medusa-interfaces@1.3.7-rc.0
-
-## 1.1.43
-
-### Patch Changes
-
-- [#3217](https://github.com/medusajs/medusa/pull/3217) [`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0) Thanks [@adrien2p](https://github.com/adrien2p)! - chore: Fix npm packages files included
-
-- Updated dependencies [[`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0)]:
- - medusa-core-utils@1.1.39
- - medusa-interfaces@1.3.6
-
-## 1.1.42
-
-### Patch Changes
-
-- [#3011](https://github.com/medusajs/medusa/pull/3011) [`ce866475b`](https://github.com/medusajs/medusa/commit/ce866475b4b6c8b453638000f7b1df7a27daf45d) Thanks [@adrien2p](https://github.com/adrien2p)! - chore(_-payment-_): cleanup payment provider plugins
-
-- [#3185](https://github.com/medusajs/medusa/pull/3185) [`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Patches all dependencies + minor bumps `winston` to include a [fix for a significant memory leak](https://github.com/winstonjs/winston/pull/2057)
-
-- Updated dependencies [[`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4)]:
- - medusa-core-utils@1.1.38
- - medusa-interfaces@1.3.5
-
-## 1.1.41
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-- Updated dependencies [[`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2)]:
- - medusa-interfaces@1.3.4
-
-## 1.1.40
-
-### Patch Changes
-
-- [#2808](https://github.com/medusajs/medusa/pull/2808) [`0a9c89185`](https://github.com/medusajs/medusa/commit/0a9c891853c4d16b553d38268a3408ca1daa71f0) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - chore: explicitly add devDependencies for monorepo peerDependencies
-
-- Updated dependencies [[`7cced6006`](https://github.com/medusajs/medusa/commit/7cced6006a9a6f9108009e9f3e191e9f3ba1b168)]:
- - medusa-core-utils@1.1.37
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-## [1.1.39](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.38...medusa-payment-adyen@1.1.39) (2022-01-11)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.38](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.37...medusa-payment-adyen@1.1.38) (2021-12-29)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.37](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.36...medusa-payment-adyen@1.1.37) (2021-12-17)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.36](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.35...medusa-payment-adyen@1.1.36) (2021-12-08)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.35](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.34...medusa-payment-adyen@1.1.35) (2021-11-23)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.34](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.33...medusa-payment-adyen@1.1.34) (2021-11-22)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.33](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.32...medusa-payment-adyen@1.1.33) (2021-11-19)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.32](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.31...medusa-payment-adyen@1.1.32) (2021-11-19)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.31](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.30...medusa-payment-adyen@1.1.31) (2021-10-18)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.30](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.29...medusa-payment-adyen@1.1.30) (2021-10-18)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.29](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.27...medusa-payment-adyen@1.1.29) (2021-10-18)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.28](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.27...medusa-payment-adyen@1.1.28) (2021-10-18)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.27](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.26...medusa-payment-adyen@1.1.27) (2021-09-15)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.26](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.25...medusa-payment-adyen@1.1.26) (2021-09-14)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.25](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.24...medusa-payment-adyen@1.1.25) (2021-08-05)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.24](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.23...medusa-payment-adyen@1.1.24) (2021-07-26)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.23](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.21...medusa-payment-adyen@1.1.23) (2021-07-15)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.22](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.21...medusa-payment-adyen@1.1.22) (2021-07-15)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.21](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.20...medusa-payment-adyen@1.1.21) (2021-07-02)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.20](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.19...medusa-payment-adyen@1.1.20) (2021-06-23)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.19](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.18...medusa-payment-adyen@1.1.19) (2021-06-23)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.18](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.17...medusa-payment-adyen@1.1.18) (2021-06-22)
-
-### Bug Fixes
-
-- mobile pay support ([91511cb](https://github.com/medusajs/medusa/commit/91511cbdf8bc66f5688a36ecf56edb16a220cc82))
-- release assist ([668e8a7](https://github.com/medusajs/medusa/commit/668e8a740200847fc2a41c91d2979097f1392532))
-
-## [1.1.17](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.16...medusa-payment-adyen@1.1.17) (2021-06-09)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.16](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.15...medusa-payment-adyen@1.1.16) (2021-06-09)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.15](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.14...medusa-payment-adyen@1.1.15) (2021-06-09)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.14](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.13...medusa-payment-adyen@1.1.14) (2021-06-09)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.13](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.12...medusa-payment-adyen@1.1.13) (2021-06-08)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.12](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.9...medusa-payment-adyen@1.1.12) (2021-04-28)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.11](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.10...medusa-payment-adyen@1.1.11) (2021-04-20)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.10](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.9...medusa-payment-adyen@1.1.10) (2021-04-20)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.9](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.8...medusa-payment-adyen@1.1.9) (2021-04-13)
-
-### Bug Fixes
-
-- merge develop ([2982a8e](https://github.com/medusajs/medusa/commit/2982a8e682e90beb4549d969d9d3b04d78a46a2d))
-- merge develop ([a468c45](https://github.com/medusajs/medusa/commit/a468c451e82c68f41b5005a2e480057f6124aaa6))
-
-## [1.1.8](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.7...medusa-payment-adyen@1.1.8) (2021-04-13)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.7](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.6...medusa-payment-adyen@1.1.7) (2021-03-30)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.6](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.5...medusa-payment-adyen@1.1.6) (2021-03-17)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.5](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.3...medusa-payment-adyen@1.1.5) (2021-03-17)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.4](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.3...medusa-payment-adyen@1.1.4) (2021-03-17)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.3](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.2...medusa-payment-adyen@1.1.3) (2021-02-17)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.2](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.1...medusa-payment-adyen@1.1.2) (2021-02-03)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.1.1](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.1.0...medusa-payment-adyen@1.1.1) (2021-01-27)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-# [1.1.0](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.0.13...medusa-payment-adyen@1.1.0) (2021-01-26)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.0.13](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.0.12...medusa-payment-adyen@1.0.13) (2020-12-17)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## [1.0.12](https://github.com/medusajs/medusa/compare/medusa-payment-adyen@1.0.11...medusa-payment-adyen@1.0.12) (2020-11-24)
-
-**Note:** Version bump only for package medusa-payment-adyen
-
-## 1.0.11 (2020-10-19)
-
-## 1.0.10 (2020-09-09)
-
-### Bug Fixes
-
-- updates license ([db519fb](https://github.com/medusajs/medusa/commit/db519fbaa6f8ad02c19cbecba5d4f28ba1ee81aa))
-
-## 1.0.7 (2020-09-07)
-
-## 1.0.1 (2020-09-05)
-
-## 1.0.1-beta.0 (2020-09-04)
-
-# 1.0.0 (2020-09-03)
-
-# 1.0.0-alpha.30 (2020-08-28)
-
-# 1.0.0-alpha.27 (2020-08-27)
-
-# 1.0.0-alpha.26 (2020-08-27)
-
-# 1.0.0-alpha.24 (2020-08-27)
-
-# 1.0.0-alpha.22 (2020-08-25)
-
-# 1.0.0-alpha.6 (2020-08-21)
-
-# 1.0.0-alpha.3 (2020-08-20)
-
-# 1.0.0-alpha.2 (2020-08-20)
-
-# 1.0.0-alpha.1 (2020-08-20)
-
-# 1.0.0-alpha.0 (2020-08-20)
-
-## [1.0.10](https://github.com/medusajs/medusa/compare/v1.0.9...v1.0.10) (2020-09-09)
-
-### Bug Fixes
-
-- updates license ([db519fb](https://github.com/medusajs/medusa/commit/db519fbaa6f8ad02c19cbecba5d4f28ba1ee81aa))
diff --git a/packages/medusa-payment-adyen/README.md b/packages/medusa-payment-adyen/README.md
deleted file mode 100644
index d7996b9bcc..0000000000
--- a/packages/medusa-payment-adyen/README.md
+++ /dev/null
@@ -1,79 +0,0 @@
-# Adyen
-
-Receive payments on your Medusa commerce application using Adyen.
-
-> This plugin is not ready for production use. Community contributions are highly appreciated. You can learn more about contributing in [our repository](https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md).
-
-[Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa)
-
-## Features
-
-- Authorize payments on orders from any sales channel.
-- Support for MobilePay.
-- Capture payments from the admin dashboard.
-- Support for Webhooks.
-
----
-
-## Prerequisites
-
-- [Medusa backend](https://docs.medusajs.com/development/backend/install)
-- [Adyen account](https://www.adyen.com)
-
----
-
-## How to Install
-
-1\. Run the following command in the directory of the Medusa backend:
-
- ```bash
- npm install medusa-payment-adyen
- ```
-
-2\. Set the following environment variables in `.env`:
-
- ```bash
- ADYEN_API_KEY=
- ADYEN_NOTIFICATION_HMAC=
- ADYEN_RETURN_URL=
- ADYEN_MERCHANT_ACCOUNT=
- ADYEN_ORIGIN=
- ADYEN_ENVIRONMENT=
- ADYEN_LIVE_ENDPOINT_PREFIX=
- ADYEN_PAYMENT_ENDPOINT=
- ```
-
-3\. In `medusa-config.js` add the following at the end of the `plugins` array:
-
- ```js
- const plugins = [
- // ...
- {
- resolve: `medusa-payment-adyen`,
- options: {
- api_key: process.env.STRIPE_API_KEY,
- notification_hmac: process.env.ADYEN_NOTIFICATION_HMAC,
- return_url: process.env.ADYEN_RETURN_URL,
- merchant_account: process.env.ADYEN_MERCHANT_ACCOUNT,
- origin: process.env.ADYEN_ORIGIN,
- environment: process.env.ADYEN_ENVIRONMENT,
- live_endpoint_prefix: process.env.ADYEN_LIVE_ENDPOINT_PREFIX,
- payment_endpoint: process.env.ADYEN_PAYMENT_ENDPOINT,
- },
- },
- ]
- ```
-
----
-
-## Test the Plugin
-
-1\. Run the following command in the directory of the Medusa backend to run the backend:
-
- ```bash
- npm run start
- ```
-
-2\. Enable Adyen in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion).
-
-3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use Stripe as a payment method.
\ No newline at end of file
diff --git a/packages/medusa-payment-adyen/index.js b/packages/medusa-payment-adyen/index.js
deleted file mode 100644
index 172f1ae6a4..0000000000
--- a/packages/medusa-payment-adyen/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// noop
diff --git a/packages/medusa-payment-adyen/package.json b/packages/medusa-payment-adyen/package.json
deleted file mode 100644
index bf9293bd61..0000000000
--- a/packages/medusa-payment-adyen/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "medusa-payment-adyen",
- "version": "1.1.46",
- "description": "Adyen Payment provider for Medusa Commerce",
- "main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa",
- "directory": "packages/medusa-payment-adyen"
- },
- "engines": {
- "node": ">=16"
- },
- "author": "Oliver Juhl",
- "license": "MIT",
- "devDependencies": {
- "@babel/cli": "^7.7.5",
- "@babel/core": "^7.7.5",
- "@babel/node": "^7.7.4",
- "@babel/plugin-proposal-class-properties": "^7.7.4",
- "@babel/plugin-transform-instanceof": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.7.6",
- "@babel/preset-env": "^7.7.5",
- "@babel/register": "^7.7.4",
- "@babel/runtime": "^7.9.6",
- "client-sessions": "^0.8.0",
- "cross-env": "^7.0.3",
- "jest": "^25.5.4",
- "medusa-interfaces": "^1.3.9",
- "medusa-test-utils": "^1.1.42"
- },
- "scripts": {
- "prepare": "cross-env NODE_ENV=production yarn run build",
- "test": "jest --passWithNoTests src",
- "build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
- "watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
- },
- "peerDependencies": {
- "medusa-interfaces": "1.3.9"
- },
- "dependencies": {
- "@adyen/api-library": "^5.0.1",
- "@babel/plugin-transform-classes": "^7.9.5",
- "axios": "^0.19.2",
- "body-parser": "^1.19.0",
- "cors": "^2.8.5",
- "express": "^4.17.1",
- "lodash": "^4.17.21",
- "medusa-core-utils": "^1.2.1"
- },
- "gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808",
- "keywords": [
- "medusa-plugin",
- "medusa-plugin-payment"
- ]
-}
diff --git a/packages/medusa-payment-adyen/src/api/index.js b/packages/medusa-payment-adyen/src/api/index.js
deleted file mode 100644
index c613ede408..0000000000
--- a/packages/medusa-payment-adyen/src/api/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Router } from "express"
-import store from "./routes/store"
-import hooks from "./routes/hooks"
-
-export default (rootDirectory) => {
- const app = Router()
- store(app, rootDirectory)
- hooks(app, rootDirectory)
- return app
-}
diff --git a/packages/medusa-payment-adyen/src/api/middlewares/await-middleware.js b/packages/medusa-payment-adyen/src/api/middlewares/await-middleware.js
deleted file mode 100644
index 1c3692b377..0000000000
--- a/packages/medusa-payment-adyen/src/api/middlewares/await-middleware.js
+++ /dev/null
@@ -1 +0,0 @@
-export default (fn) => (...args) => fn(...args).catch(args[2])
diff --git a/packages/medusa-payment-adyen/src/api/middlewares/index.js b/packages/medusa-payment-adyen/src/api/middlewares/index.js
deleted file mode 100644
index c784e319a9..0000000000
--- a/packages/medusa-payment-adyen/src/api/middlewares/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import { default as wrap } from "./await-middleware"
-
-export default {
- wrap,
-}
diff --git a/packages/medusa-payment-adyen/src/api/routes/hooks/adyen-notification.js b/packages/medusa-payment-adyen/src/api/routes/hooks/adyen-notification.js
deleted file mode 100644
index 259bb74270..0000000000
--- a/packages/medusa-payment-adyen/src/api/routes/hooks/adyen-notification.js
+++ /dev/null
@@ -1,17 +0,0 @@
-export default async (req, res) => {
- const adyenService = req.scope.resolve("adyenService")
- const eventBus = req.scope.resolve("eventBusService")
-
- const notification = req.body
- const event = notification.notificationItems[0].NotificationRequestItem
-
- const valid = adyenService.validateNotification(event)
-
- if (!valid) {
- res.status(401).send(`Unauthorized webhook event`)
- return
- }
-
- eventBus.emit("adyen.notification_received", event)
- res.status(200).send("[accepted]")
-}
diff --git a/packages/medusa-payment-adyen/src/api/routes/hooks/index.js b/packages/medusa-payment-adyen/src/api/routes/hooks/index.js
deleted file mode 100644
index 526e4bf7fe..0000000000
--- a/packages/medusa-payment-adyen/src/api/routes/hooks/index.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import { Router } from "express"
-import cors from "cors"
-import bodyParser from "body-parser"
-import middlewares from "../../middlewares"
-import { getConfigFile, parseCorsOrigins } from "medusa-core-utils"
-
-const route = Router()
-
-export default (app, rootDirectory) => {
- const { configModule } = getConfigFile(rootDirectory, `medusa-config`)
- const config = (configModule && configModule.projectConfig) || {}
-
- const storeCors = config.store_cors || ""
- route.use(
- cors({
- origin: parseCorsOrigins(storeCors),
- credentials: true,
- })
- )
-
- app.use("/adyen/webhooks", route)
-
- route.post(
- "/notification",
- bodyParser.json(),
- middlewares.wrap(require("./adyen-notification").default)
- )
-
- return app
-}
diff --git a/packages/medusa-payment-adyen/src/services/adyen.js b/packages/medusa-payment-adyen/src/services/adyen.js
deleted file mode 100644
index 8eb22bd5d8..0000000000
--- a/packages/medusa-payment-adyen/src/services/adyen.js
+++ /dev/null
@@ -1,432 +0,0 @@
-import axios from "axios"
-import _ from "lodash"
-import { CheckoutAPI, Client, Config, hmacValidator } from "@adyen/api-library"
-import { BaseService } from "medusa-interfaces"
-
-class AdyenService extends BaseService {
- constructor({ cartService }, options) {
- super()
-
- /** @private @constant {CartService} */
- this.cartService_ = cartService
-
- /**
- * {
- * api_key: "",
- * notification_hmac: "",
- * return_url: "",
- * merchant_account: "",
- * origin: "",
- * environment: "",
- * live_endpoint_prefix: "",
- * payment_endpoint: ""
- * }
- */
- this.options_ = options
-
- /** @private @constant {AxiosClient} */
- this.adyenClient_ = this.initAdyenClient()
-
- /** @private @constant {AxiosClient} */
- this.adyenPaymentApi = this.initPaymentClient()
- }
-
- withTransaction(transactionManager) {
- if (!transactionManager) {
- return this
- }
-
- const cloned = new AdyenService({
- cartService: this.cartService_,
- totalsService: this.totalsService_,
- })
-
- this.transactionManager_ = transactionManager
-
- return cloned
- }
-
- getOptions() {
- return this.options_
- }
-
- initAdyenClient() {
- const config = new Config()
- config.apiKey = this.options_.api_key
- config.merchantAccount = this.options_.merchant_account
-
- const client = new Client({
- config,
- })
-
- if (this.options_.live_endpoint_prefix) {
- client.setEnvironment(
- this.options_.environment,
- this.options_.live_endpoint_prefix
- )
- } else {
- client.setEnvironment(this.options_.environment)
- }
-
- return client
- }
-
- initPaymentClient() {
- return axios.create({
- baseURL:
- this.options_.payment_endpoint || "https://checkout-test.adyen.com/v67",
- headers: {
- "Content-Type": "application/json",
- "x-API-key": this.options_.api_key,
- },
- })
- }
-
- /**
- * Validates an Adyen webhook notification
- * @param {object} notification - notification to validate
- * @returns {string} the status of the payment
- */
- validateNotification(notification) {
- const validator = new hmacValidator()
-
- const validated = validator.validateHMAC(
- notification,
- this.options_.notification_hmac
- )
-
- return validated
- }
-
- /**
- * Retrieve stored payment methods from Adyen.
- * @param {Customer} customer - customer to retrieve methods for
- * @returns {Promise} result containing the stored payment methods from Adyen
- */
- async retrieveSavedMethods(customer) {
- let request = {
- merchantAccount: this.options_.merchant_account,
- channel: "Web",
- shopperReference: customer.id,
- }
-
- try {
- const checkout = new CheckoutAPI(this.adyenClient_)
- const methods = await checkout.paymentMethods(request)
- return methods.storedPaymentMethods || []
- } catch (error) {
- throw error
- }
- }
-
- /**
- * Retrieve payment methods from Adyen.
- * @param {string[]} allowedMethods - the allowed methods based on region
- * @param {number} total - total amount to be paid with payment methods
- * @param {string} currency - currency code to use for the payment
- * @param {string} customerId - id of the customer paying
- * @returns {Promise} result containing the payment methods from Adyen
- */
- async retrievePaymentMethods(allowedMethods, total, currency, customerId) {
- let request = {
- allowedPaymentMethods: allowedMethods,
- amount: {
- value: total,
- currency: currency,
- },
- merchantAccount: this.options_.merchant_account,
- channel: "Web",
- shopperReference: customerId,
- }
-
- try {
- const checkout = new CheckoutAPI(this.adyenClient_)
- return checkout.paymentMethods(request)
- } catch (error) {
- throw error
- }
- }
-
- /**
- * Status for Adyen payment.
- * @param {object} paymentData - payment method data from cart
- * @returns {string} the status of the payment
- */
- getStatus(paymentData) {
- const { resultCode } = paymentData
- let status = "pending"
-
- if (resultCode === "Pending") {
- return status
- }
-
- if (resultCode === "Refused") {
- return status
- }
-
- if (resultCode === "Error") {
- status = "error"
- }
-
- if (resultCode === "Authorised") {
- status = "authorized"
- }
-
- if (resultCode === "Canceled") {
- status = "canceled"
- }
-
- if (resultCode === "ChallengeShopper") {
- status = "requires_more"
- }
-
- if (resultCode === "RedirectShopper") {
- status = "requires_more"
- }
-
- if (resultCode === "IdentifyShopper") {
- status = "requires_more"
- }
-
- return status
- }
-
- /**
- * Creates Adyen payment object.
- * @param {Cart} cart - cart to initiate payment for
- * @returns {object} empty payment data
- */
- async createPayment(cart) {
- return { cart_id: cart.id }
- }
-
- /**
- * Retrieves Adyen payment. This is not supported by adyen, so we simply
- * return the current payment method data
- * @param {object} data - payment session
- * @returns {object} payment method data
- */
- async getPaymentData(paymentSession) {
- return { ...paymentSession.data }
- }
-
- /**
- * Retrieves Adyen payment. This is not supported by adyen, so we simply
- * return the current payment method data
- * @param {object} sessionData - the data of the payment to retrieve
- * @returns {Promise} Stripe payment intent
- */
- async retrieve(sessionData) {
- return sessionData
- }
-
- /**
- * Creates and authorizes an Adyen payment.
- * Requires cart_id in context for authorization.
- * Return status of authorization result.
- * @param {object} sessionData - payment session data
- * @param {object} context - properties relevant to current context
- * @returns {Promise<{ status: string, data: object }>} result with data and status
- */
- async authorizePayment(session, context) {
- const sessionData = session.data
-
- const status = this.getStatus(sessionData)
-
- if (sessionData.resultCode === "RedirectShopper") {
- return { data: sessionData, status: "requires_more" }
- }
-
- // If session data is present, we already called authorize once.
- // Therefore, this is most likely a call for getting additional details
- if (status === "requires_more") {
- const updated = await this.updatePaymentData(sessionData, {
- details: sessionData.details,
- paymentData: sessionData.paymentData,
- })
-
- return { data: updated, status: this.getStatus(updated) }
- }
-
- if (status === "authorized") {
- return { data: sessionData, status: "authorized" }
- }
-
- const cart = await this.cartService_.retrieve(session.cart_id, {
- select: ["total"],
- relations: ["region", "shipping_address"],
- })
-
- const amount = {
- currency: cart.region.currency_code.toUpperCase(),
- value: cart.total,
- }
-
- let paymentData = sessionData.paymentData
- if (!paymentData) {
- paymentData = {
- paymentMethod: {
- type: sessionData.type,
- },
- }
- }
-
- let request = {
- amount,
- merchantAccount: this.options_.merchant_account,
- shopperIP: context.ip_address || "",
- shopperReference: cart.customer_id,
- returnUrl: this.options_.return_url,
- paymentMethod: paymentData.paymentMethod,
- reference: cart.id,
- metadata: {
- cart_id: cart.id,
- },
- }
-
- const checkout = new CheckoutAPI(this.adyenClient_)
-
- try {
- const authorizedPayment = await checkout.payments(request, {
- idempotencyKey: context.idempotency_key || "",
- })
-
- return {
- data: authorizedPayment,
- status: this.getStatus(authorizedPayment),
- }
- } catch (error) {
- throw error
- }
- }
-
- async updatePaymentData(sessionData, update) {
- if (_.isEmpty(update.details)) {
- return { ...sessionData, ...update }
- }
-
- const checkout = new CheckoutAPI(this.adyenClient_)
- const updated = await checkout.paymentsDetails(update)
-
- return updated
- }
-
- /**
- * Updates an Adyen payment.
- * @param {object} paymentData - payment data to update
- * @param {details} details - details to update
- * @returns {Promise} result of the update operation
- */
- async updatePayment(paymentData, details) {
- return paymentData
- }
-
- /**
- * Additional details
- * @param {object} paymentData - payment data
- * @param {object} details - payment details
- * @returns {Promise} current payment result
- */
- async additionalDetails(paymentData, details) {
- const request = {
- paymentData,
- details,
- }
-
- const checkout = new CheckoutAPI(this.adyenClient_)
- return checkout.paymentsDetails(request)
- }
-
- /**
- * Captures an Adyen payment
- * @param {object} payment - payment to capture
- * @returns {string} status = processing_captures
- */
- async capturePayment(payment) {
- if (payment.captured_at !== null) {
- return
- }
-
- const { pspReference, merchantReference } = payment.data
- const { amount, currency_code } = payment
-
- try {
- const captured = await this.adyenPaymentApi.post(
- `/payments/${pspReference}/captures`,
- {
- merchantAccount: this.options_.merchant_account,
- amount: {
- value: amount,
- currency: currency_code.toUpperCase(),
- },
- reference: merchantReference,
- }
- )
-
- if (captured.data.pspReference && captured.data.status !== "received") {
- throw new MedusaError(
- MedusaError.Types.INVALID_ARGUMENT,
- "Could not process capture"
- )
- }
-
- return { pspReference }
- } catch (error) {
- throw error
- }
- }
-
- /**
- * Refunds an Adyen payment
- * @param {object} payment - payment to refund
- * @param {number} amountToRefund - amount to refund
- * @returns {object} payment data result of refund
- */
- async refundPayment(payment, amountToRefund) {
- const { pspReference } = payment.data
- const { currency_code } = payment
-
- const refundAmount = {
- currency: currency_code.toUpperCase(),
- value: amountToRefund,
- }
-
- try {
- await this.adyenPaymentApi.post(`/payments/${pspReference}/refunds`, {
- merchantAccount: this.options_.merchant_account,
- amount: refundAmount,
- })
-
- return { pspReference }
- } catch (error) {
- throw error
- }
- }
-
- /**
- * Adyen does not have a way of deleting payments, hence the empty impl.
- */
- async deletePayment(_) {
- return {}
- }
-
- /**
- * Cancels an Adyen payment.
- * @param {object} payment - payment to cancel
- * @returns {object} payment data result of cancel
- */
- async cancelPayment(payment) {
- const { pspReference } = payment.data
-
- try {
- return this.adyenPaymentApi.post("/cancel", {
- originalReference: pspReference,
- merchantAccount: this.options_.merchant_account,
- })
- } catch (error) {
- throw error
- }
- }
-}
-
-export default AdyenService
diff --git a/packages/medusa-payment-adyen/src/services/mobilepay-adyen.js b/packages/medusa-payment-adyen/src/services/mobilepay-adyen.js
deleted file mode 100644
index 0aa67b134c..0000000000
--- a/packages/medusa-payment-adyen/src/services/mobilepay-adyen.js
+++ /dev/null
@@ -1,59 +0,0 @@
-import { PaymentService } from "medusa-interfaces"
-
-class MobilePayAdyenService extends PaymentService {
- static identifier = "mobilepay-adyen"
-
- constructor({ adyenService }) {
- super()
-
- this.adyenService_ = adyenService
- }
-
- async getStatus(paymentData) {
- return this.adyenService_.getStatus(paymentData)
- }
-
- async createPayment(data) {
- const raw = await this.adyenService_.createPayment(data)
- raw.type = "mobilepay"
- return raw
- }
-
- async authorizePayment(sessionData, context) {
- return this.adyenService_.authorizePayment(sessionData, context)
- }
-
- async retrievePayment(data) {
- return this.adyenService_.retrievePayment(data)
- }
-
- async updatePayment(data, _) {
- return this.adyenService_.updatePayment(data)
- }
-
- async updatePaymentData(sessionData, update) {
- return this.adyenService_.updatePaymentData(sessionData, update)
- }
-
- async getPaymentData(data) {
- return this.adyenService_.getPaymentData(data)
- }
-
- async deletePayment(data) {
- return this.adyenService_.deletePayment(data)
- }
-
- async capturePayment(data) {
- return this.adyenService_.capturePayment(data)
- }
-
- async refundPayment(data, amountToRefund) {
- return this.adyenService_.refundPayment(data, amountToRefund)
- }
-
- async cancelPayment(data) {
- return this.adyenService_.cancelPayment(data)
- }
-}
-
-export default MobilePayAdyenService
diff --git a/packages/medusa-payment-adyen/src/subscribers/adyen.js b/packages/medusa-payment-adyen/src/subscribers/adyen.js
deleted file mode 100644
index 66ef276ca9..0000000000
--- a/packages/medusa-payment-adyen/src/subscribers/adyen.js
+++ /dev/null
@@ -1,158 +0,0 @@
-class AdyenSubscriber {
- constructor(container) {
- /** @private @const {CartService} */
- this.cartService_ = container.cartService
-
- /** @private @const {OrderService} */
- this.orderService_ = container.orderService
-
- /** @private @const {EventBusService} */
- this.eventBus_ = container.eventBusService
-
- /** @private @const {PaymentRepository} */
- this.paymentRepository_ = container.paymentRepository
-
- this.manager_ = container.manager
-
- this.eventBus_.subscribe(
- "adyen.notification_received",
- async (notification) => this.handleAdyenNotification(notification)
- )
- }
-
- /**
- * Webhook handler for Adyen payment.
- * @param {object} notification - webhook notification object
- * @returns {string} the status of the payment intent
- */
- async handleAdyenNotification(notification) {
- switch (true) {
- case notification.success === "true" &&
- notification.eventCode === "AUTHORISATION": {
- this.handleAuthorization_(notification)
- break
- }
- case notification.success === "false" &&
- notification.eventCode === "AUTHORISATION": {
- this.handleFailedAuthorization_(notification)
- break
- }
- case notification.success === "true" &&
- notification.eventCode === "CAPTURE_FAILED": {
- this.handleFailedCapture_(notification)
- break
- }
- case notification.success === "false" &&
- notification.eventCode === "CAPTURE": {
- this.handleFailedCapture_(notification)
- break
- }
- case notification.success === "false" &&
- notification.eventCode === "REFUND": {
- this.handleFailedRefund_(notification)
- break
- }
- default:
- break
- }
- }
-
- async handleFailedAuthorization_(notification) {
- const cartId = notification.additionalData["metadata.cart_id"]
- const cart = await this.cartService_.retrieve(cartId, {
- relations: ["payment_sessions"],
- })
-
- const { payment_session } = cart
-
- const updated = {
- ...payment_session,
- status: "error",
- data: {
- ...payment_session.data,
- pspReference: notification.pspReference,
- },
- }
-
- await this.cartService_.updatePaymentSession(cart.id, updated)
- }
-
- async handleAuthorization_(notification) {
- const cartId = notification.additionalData["metadata.cart_id"]
- const paymentRepository = this.manager_.getCustomRepository(
- this.paymentRepository_
- )
-
- // We need to ensure, that an order is created in situations, where the
- // customer might have closed their browser prior to order creation
- try {
- const orderPayment = await paymentRepository.findOne({
- where: { cart_id: cartId },
- })
-
- if (!orderPayment) {
- throw new Error("Payment not found")
- }
-
- const updatedPayment = {
- ...orderPayment,
- data: {
- ...orderPayment.data,
- resultCode: "Authorised",
- pspReference: notification.pspReference,
- },
- }
-
- await this.paymentRepository_.save(updatedPayment)
- } catch (error) {
- await this.manager_.transaction(async (manager) => {
- const session = {
- pspReference: notification.pspReference,
- resultCode: "Authorised",
- }
-
- await this.cartService_
- .withTransaction(manager)
- .updatePaymentSession(cartId, session)
-
- await this.cartService_
- .withTransaction(manager)
- .authorizePayment(cartId)
-
- await this.orderService_.withTransaction(manager).createFromCart(cartId)
- })
- }
- }
-
- async handleFailedCapture_(notification) {
- const cartId = notification.additionalData["metadata.cart_id"]
-
- const order = await this.orderService_.retrieveByCartId(cartId)
-
- await this.orderService_.update(order.id, {
- payment_status: "requires_action",
- })
-
- await this.eventBus_.emit("order.payment_capture_failed", {
- order,
- error: new Error(`Adyen payment capture: ${notification.reason}`),
- })
- }
-
- async handleFailedRefund_(notification) {
- const cartId = notification.additionalData["metadata.cart_id"]
-
- const order = await this.orderService_.retrieveByCartId(cartId)
-
- await this.orderService_.update(order.id, {
- payment_status: "requires_action",
- })
-
- await this.eventBus_.emit("order.refund_failed", {
- order,
- error: new Error(`Adyen payment capture: ${notification.reason}`),
- })
- }
-}
-
-export default AdyenSubscriber
diff --git a/packages/medusa-plugin-brightpearl/.babelrc b/packages/medusa-plugin-brightpearl/.babelrc
deleted file mode 100644
index 4d2dfe8f09..0000000000
--- a/packages/medusa-plugin-brightpearl/.babelrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "plugins": [
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-transform-instanceof",
- "@babel/plugin-transform-classes"
- ],
- "presets": ["@babel/preset-env"],
- "env": {
- "test": {
- "plugins": ["@babel/plugin-transform-runtime"]
- }
- }
-}
diff --git a/packages/medusa-plugin-brightpearl/.gitignore b/packages/medusa-plugin-brightpearl/.gitignore
deleted file mode 100644
index c44abdae0b..0000000000
--- a/packages/medusa-plugin-brightpearl/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-/lib
-node_modules
-.DS_store
-.env*
-/*.js
-!index.js
-yarn.lock
-
-/dist
-
-/api
-/services
-/models
-/subscribers
-/loaders
-/utils
-
diff --git a/packages/medusa-plugin-brightpearl/.npmignore b/packages/medusa-plugin-brightpearl/.npmignore
deleted file mode 100644
index af4cbd1ba0..0000000000
--- a/packages/medusa-plugin-brightpearl/.npmignore
+++ /dev/null
@@ -1,8 +0,0 @@
-.DS_store
-src
-dist
-yarn.lock
-.babelrc
-
-.turbo
-.yarn
\ No newline at end of file
diff --git a/packages/medusa-plugin-brightpearl/CHANGELOG.md b/packages/medusa-plugin-brightpearl/CHANGELOG.md
deleted file mode 100644
index 02c303591c..0000000000
--- a/packages/medusa-plugin-brightpearl/CHANGELOG.md
+++ /dev/null
@@ -1,560 +0,0 @@
-# Change Log
-
-## 1.3.13
-
-### Patch Changes
-
-- [#5543](https://github.com/medusajs/medusa/pull/5543) [`f90ba0208`](https://github.com/medusajs/medusa/commit/f90ba02087778d8131aed3a59a6dc9c8ca3c95f4) Thanks [@adrien2p](https://github.com/adrien2p)! - feat(utils): Introduce promiseAll util
-
-- Updated dependencies [[`c39bf69a5`](https://github.com/medusajs/medusa/commit/c39bf69a5e5cae75d7fa12aa6022b10903557a32), [`154c9b43b`](https://github.com/medusajs/medusa/commit/154c9b43bde1fdff562aba9da8a79af2660b29b3)]:
- - @medusajs/utils@1.10.5
-
-## 1.3.12
-
-### Patch Changes
-
-- [#5390](https://github.com/medusajs/medusa/pull/5390) [`04e9dd6a6`](https://github.com/medusajs/medusa/commit/04e9dd6a6a00bb67a1ce55bf575e7c13fb9db223) Thanks [@josipmatichr](https://github.com/josipmatichr)! - fix(medusa-plugin-brightpearl): Missing discounts rule relation
-
-## 1.3.11
-
-### Patch Changes
-
-- [#4503](https://github.com/medusajs/medusa/pull/4503) [`d184d23c6`](https://github.com/medusajs/medusa/commit/d184d23c6384d5f8bf52827826b62c6bef37f884) Thanks [@pKorsholm](https://github.com/pKorsholm)! - feat(medusa,inventory,types,brightpearl): update some inventory methods to be bulk-operation enabled
-
-- [#4383](https://github.com/medusajs/medusa/pull/4383) [`130465713`](https://github.com/medusajs/medusa/commit/1304657133585f7850807d9508be2780a08d2b12) Thanks [@pKorsholm](https://github.com/pKorsholm)! - fix(medusa-plugin-brightpearl): change the way reservations are handled
-
-## 1.3.10
-
-### Patch Changes
-
-- [#4389](https://github.com/medusajs/medusa/pull/4389) [`9dcdc0041`](https://github.com/medusajs/medusa/commit/9dcdc0041a2b08cc0723343dd8d9127d9977b086) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa, utils): fix the way selects are consumed alongside the relations
-
-## 1.3.9
-
-### Patch Changes
-
-- [#4160](https://github.com/medusajs/medusa/pull/4160) [`572280e1d`](https://github.com/medusajs/medusa/commit/572280e1d1deb1d01660168b453ad397fa382a79) Thanks [@pKorsholm](https://github.com/pKorsholm)! - fix(medusa-plugin-bright-pearl): update order creation to include sales channel brightpearl id where possible
-
-- [#4295](https://github.com/medusajs/medusa/pull/4295) [`1d91fa4e0`](https://github.com/medusajs/medusa/commit/1d91fa4e08fa3d9ecb6f0aa403655fe75e2b5e6f) Thanks [@pKorsholm](https://github.com/pKorsholm)! - fix(brightpearl): split externalRef to get product id
-
-- [#4276](https://github.com/medusajs/medusa/pull/4276) [`afd1b67f1`](https://github.com/medusajs/medusa/commit/afd1b67f1c7de8cf07fd9fcbdde599a37914e9b5) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Use caret range
-
-## 1.3.8
-
-### Patch Changes
-
-- [#3192](https://github.com/medusajs/medusa/pull/3192) [`4a8562743`](https://github.com/medusajs/medusa/commit/4a8562743569f5bbb7bd0894b025a74725726529) Thanks [@pKorsholm](https://github.com/pKorsholm)! - feat(medusa-plugin-brightpearl, inventory, medusa): Multiwarehouse integration for brightpearl
-
-## 1.3.7
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0
- - medusa-interfaces@1.3.7
-
-## 1.3.7-rc.0
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0-rc.0
- - medusa-interfaces@1.3.7-rc.0
-
-## 1.3.6
-
-### Patch Changes
-
-- [#3217](https://github.com/medusajs/medusa/pull/3217) [`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0) Thanks [@adrien2p](https://github.com/adrien2p)! - chore: Fix npm packages files included
-
-- Updated dependencies [[`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0)]:
- - medusa-core-utils@1.1.39
- - medusa-interfaces@1.3.6
-
-## 1.3.5
-
-### Patch Changes
-
-- [#3185](https://github.com/medusajs/medusa/pull/3185) [`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Patches all dependencies + minor bumps `winston` to include a [fix for a significant memory leak](https://github.com/winstonjs/winston/pull/2057)
-
-- Updated dependencies [[`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4)]:
- - medusa-core-utils@1.1.38
- - medusa-interfaces@1.3.5
-
-## 1.3.4
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-- Updated dependencies [[`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2)]:
- - medusa-interfaces@1.3.4
-
-## 1.3.3
-
-### Patch Changes
-
-- [#2821](https://github.com/medusajs/medusa/pull/2821) [`ba6bb3e54`](https://github.com/medusajs/medusa/commit/ba6bb3e54b9989cecf476c7411c406a43562efe1) Thanks [@olivermrbl](https://github.com/olivermrbl)! - feat(medusa): Extract cron jobs logic from the EventBusService to its own service JobSchedulerService
-
-- Updated dependencies [[`7cced6006`](https://github.com/medusajs/medusa/commit/7cced6006a9a6f9108009e9f3e191e9f3ba1b168)]:
- - medusa-core-utils@1.1.37
-
-## 1.3.2
-
-### Patch Changes
-
-- [#2536](https://github.com/medusajs/medusa/pull/2536) [`61da5f365`](https://github.com/medusajs/medusa/commit/61da5f365061c3d82d402e250d61ac8991b590a2) Thanks [@srindom](https://github.com/srindom)! - fix(medusa-plugin-brightpearl): account for shipping prices being tax inclusive
-
-- Updated dependencies [[`ea3d73882`](https://github.com/medusajs/medusa/commit/ea3d7388234f23c4a5bc7ceb55c493a097b76c12)]:
- - medusa-core-utils@1.1.34
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-## [1.3.1](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.3.0...medusa-plugin-brightpearl@1.3.1) (2022-07-05)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-# [1.3.0](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.2.1...medusa-plugin-brightpearl@1.3.0) (2022-05-01)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.2.1](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.45...medusa-plugin-brightpearl@1.2.1) (2022-02-28)
-
-### Features
-
-- new tax api ([#979](https://github.com/medusajs/medusa/issues/979)) ([47588e7](https://github.com/medusajs/medusa/commit/47588e7a8d3b2ae2fed0c1e87fdf1ee2db6bcdc2)), closes [#885](https://github.com/medusajs/medusa/issues/885) [#896](https://github.com/medusajs/medusa/issues/896) [#911](https://github.com/medusajs/medusa/issues/911) [#945](https://github.com/medusajs/medusa/issues/945) [#950](https://github.com/medusajs/medusa/issues/950) [#951](https://github.com/medusajs/medusa/issues/951) [#954](https://github.com/medusajs/medusa/issues/954) [#969](https://github.com/medusajs/medusa/issues/969) [#998](https://github.com/medusajs/medusa/issues/998) [#1017](https://github.com/medusajs/medusa/issues/1017) [#1110](https://github.com/medusajs/medusa/issues/1110)
-
-# [1.2.0](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.45...medusa-plugin-brightpearl@1.2.0) (2022-02-25)
-
-### Features
-
-- new tax api ([#979](https://github.com/medusajs/medusa/issues/979)) ([c56660f](https://github.com/medusajs/medusa/commit/c56660fca9921a3f3637bc137d9794781c5b090f)), closes [#885](https://github.com/medusajs/medusa/issues/885) [#896](https://github.com/medusajs/medusa/issues/896) [#911](https://github.com/medusajs/medusa/issues/911) [#945](https://github.com/medusajs/medusa/issues/945) [#950](https://github.com/medusajs/medusa/issues/950) [#951](https://github.com/medusajs/medusa/issues/951) [#954](https://github.com/medusajs/medusa/issues/954) [#969](https://github.com/medusajs/medusa/issues/969) [#998](https://github.com/medusajs/medusa/issues/998) [#1017](https://github.com/medusajs/medusa/issues/1017) [#1110](https://github.com/medusajs/medusa/issues/1110)
-
-## [1.1.45](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.44...medusa-plugin-brightpearl@1.1.45) (2022-02-06)
-
-### Bug Fixes
-
-- release ([fc3fbc8](https://github.com/medusajs/medusa/commit/fc3fbc897fad5c8a5d3eea828ac7277fba9d70af))
-
-## [1.1.44](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.43...medusa-plugin-brightpearl@1.1.44) (2022-02-06)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.43](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.42...medusa-plugin-brightpearl@1.1.43) (2022-01-11)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.42](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.41...medusa-plugin-brightpearl@1.1.42) (2021-12-29)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.41](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.40...medusa-plugin-brightpearl@1.1.41) (2021-12-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.40](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.39...medusa-plugin-brightpearl@1.1.40) (2021-12-08)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.39](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.38...medusa-plugin-brightpearl@1.1.39) (2021-11-23)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.38](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.37...medusa-plugin-brightpearl@1.1.38) (2021-11-22)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.37](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.36...medusa-plugin-brightpearl@1.1.37) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.36](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.35...medusa-plugin-brightpearl@1.1.36) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.35](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.34...medusa-plugin-brightpearl@1.1.35) (2021-10-26)
-
-### Bug Fixes
-
-- add missing discount rule to bp orders ([#680](https://github.com/medusajs/medusa/issues/680)) ([d8422fc](https://github.com/medusajs/medusa/commit/d8422fc759f8a55e6290d4f54f3ea38df3118c8b))
-
-## [1.1.34](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.33...medusa-plugin-brightpearl@1.1.34) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.33](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.32...medusa-plugin-brightpearl@1.1.33) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.32](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.30...medusa-plugin-brightpearl@1.1.32) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.31](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.30...medusa-plugin-brightpearl@1.1.31) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.30](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.30...medusa-plugin-brightpearl@1.1.30) (2021-09-15)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.29](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.30...medusa-plugin-brightpearl@1.1.29) (2021-09-14)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.30](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.28...medusa-plugin-brightpearl@1.1.30) (2021-09-02)
-
-### Bug Fixes
-
-- account for non-division currencies in sales credit ([#342](https://github.com/medusajs/medusa/issues/342)) ([bd1e115](https://github.com/medusajs/medusa/commit/bd1e115696cf020a29bbfe07e5e85a3e0314bf78))
-
-## [1.1.29](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.28...medusa-plugin-brightpearl@1.1.29) (2021-08-31)
-
-### Bug Fixes
-
-- account for non-division currencies in sales credit ([#342](https://github.com/medusajs/medusa/issues/342)) ([bd1e115](https://github.com/medusajs/medusa/commit/bd1e115696cf020a29bbfe07e5e85a3e0314bf78))
-
-## [1.1.28](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.27...medusa-plugin-brightpearl@1.1.28) (2021-08-05)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.27](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.26...medusa-plugin-brightpearl@1.1.27) (2021-07-26)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.26](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.24...medusa-plugin-brightpearl@1.1.26) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.25](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.24...medusa-plugin-brightpearl@1.1.25) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.24](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.23...medusa-plugin-brightpearl@1.1.24) (2021-07-02)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.23](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.22...medusa-plugin-brightpearl@1.1.23) (2021-06-24)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.22](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.21...medusa-plugin-brightpearl@1.1.22) (2021-06-23)
-
-### Bug Fixes
-
-- **brightpearl:** chunked product availabilities in sync ([fd82de6](https://github.com/medusajs/medusa/commit/fd82de6ef919a53dc25d387a809f7eea998b5e04))
-
-## [1.1.21](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.20...medusa-plugin-brightpearl@1.1.21) (2021-06-22)
-
-### Bug Fixes
-
-- release assist ([668e8a7](https://github.com/medusajs/medusa/commit/668e8a740200847fc2a41c91d2979097f1392532))
-
-## [1.1.20](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.19...medusa-plugin-brightpearl@1.1.20) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.19](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.18...medusa-plugin-brightpearl@1.1.19) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.18](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.17...medusa-plugin-brightpearl@1.1.18) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.17](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.16...medusa-plugin-brightpearl@1.1.17) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.16](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.15...medusa-plugin-brightpearl@1.1.16) (2021-06-08)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.15](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.13...medusa-plugin-brightpearl@1.1.15) (2021-04-28)
-
-### Bug Fixes
-
-- better inventory sync ([9eaf027](https://github.com/medusajs/medusa/commit/9eaf02762ff1ad455ac5020668ee9106db7c705a))
-
-## [1.1.14](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.13...medusa-plugin-brightpearl@1.1.14) (2021-04-20)
-
-### Features
-
-- **medusa:** Swaps on swaps ([#229](https://github.com/medusajs/medusa/issues/229)) ([f8f1f57](https://github.com/medusajs/medusa/commit/f8f1f57fa1bcdc6f7ae4183e657a07e2641b1345))
-
-## [1.1.13](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.13...medusa-plugin-brightpearl@1.1.13) (2021-04-20)
-
-### Features
-
-- **medusa:** Swaps on swaps ([#229](https://github.com/medusajs/medusa/issues/229)) ([f8f1f57](https://github.com/medusajs/medusa/commit/f8f1f57fa1bcdc6f7ae4183e657a07e2641b1345))
-
-## [1.1.13](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.12...medusa-plugin-brightpearl@1.1.13) (2021-04-14)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.12](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.11...medusa-plugin-brightpearl@1.1.12) (2021-04-13)
-
-### Bug Fixes
-
-- bp swaps ([e105d4e](https://github.com/medusajs/medusa/commit/e105d4edde5793f40e867291606b3db5e44dc24f))
-- merge develop ([2982a8e](https://github.com/medusajs/medusa/commit/2982a8e682e90beb4549d969d9d3b04d78a46a2d))
-- merge develop ([a468c45](https://github.com/medusajs/medusa/commit/a468c451e82c68f41b5005a2e480057f6124aaa6))
-- typo ([37ab52b](https://github.com/medusajs/medusa/commit/37ab52b19514fb1dfd864f0c218efd7ad205ff30))
-
-## [1.1.11](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.10...medusa-plugin-brightpearl@1.1.11) (2021-04-13)
-
-### Bug Fixes
-
-- bp swaps ([e105d4e](https://github.com/medusajs/medusa/commit/e105d4edde5793f40e867291606b3db5e44dc24f))
-- typo ([37ab52b](https://github.com/medusajs/medusa/commit/37ab52b19514fb1dfd864f0c218efd7ad205ff30))
-
-## [1.1.10](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.9...medusa-plugin-brightpearl@1.1.10) (2021-04-01)
-
-### Bug Fixes
-
-- don't divide zero decimal currencies ([cfab2d4](https://github.com/medusajs/medusa/commit/cfab2d408a296a938266d0989b1de67d060b2ed5))
-- publish assist ([7719957](https://github.com/medusajs/medusa/commit/7719957b44a0c0d950eff948faf31188fe0e3ef1))
-
-## [1.1.9](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.9...medusa-plugin-brightpearl@1.1.9) (2021-03-30)
-
-### Bug Fixes
-
-- don't divide zero decimal currencies ([cfab2d4](https://github.com/medusajs/medusa/commit/cfab2d408a296a938266d0989b1de67d060b2ed5))
-- publish assist ([7719957](https://github.com/medusajs/medusa/commit/7719957b44a0c0d950eff948faf31188fe0e3ef1))
-
-## [1.1.9](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.8...medusa-plugin-brightpearl@1.1.9) (2021-03-25)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.8](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.7...medusa-plugin-brightpearl@1.1.8) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.7](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.5...medusa-plugin-brightpearl@1.1.7) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.6](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.5...medusa-plugin-brightpearl@1.1.6) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.5](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.4...medusa-plugin-brightpearl@1.1.5) (2021-02-25)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.4](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.3...medusa-plugin-brightpearl@1.1.4) (2021-02-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.3](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.2...medusa-plugin-brightpearl@1.1.3) (2021-02-08)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.1.2](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.1...medusa-plugin-brightpearl@1.1.2) (2021-02-03)
-
-### Features
-
-- **medusa,brightpearl,segment,webshipper:** claims ([#163](https://github.com/medusajs/medusa/issues/163)) ([690d339](https://github.com/medusajs/medusa/commit/690d33966754a7dbe159c3ac09712a3c3bfaff0b))
-
-## [1.1.1](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.1.0...medusa-plugin-brightpearl@1.1.1) (2021-01-27)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-# [1.1.0](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.26...medusa-plugin-brightpearl@1.1.0) (2021-01-26)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.26](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.25...medusa-plugin-brightpearl@1.0.26) (2020-12-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.25](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.24...medusa-plugin-brightpearl@1.0.25) (2020-12-02)
-
-### Bug Fixes
-
-- allow swaps with total < 0 ([#143](https://github.com/medusajs/medusa/issues/143)) ([304431e](https://github.com/medusajs/medusa/commit/304431e7c35e73b5dcd3ad4f28574b7cda091355))
-
-## [1.0.24](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.23...medusa-plugin-brightpearl@1.0.24) (2020-11-29)
-
-### Bug Fixes
-
-- swaps with discounts ([#142](https://github.com/medusajs/medusa/issues/142)) ([aae8d5e](https://github.com/medusajs/medusa/commit/aae8d5e1128daa433b333483094cceeba4389c17))
-
-## [1.0.23](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.22...medusa-plugin-brightpearl@1.0.23) (2020-11-24)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.22](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.21...medusa-plugin-brightpearl@1.0.22) (2020-11-10)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.21](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.20...medusa-plugin-brightpearl@1.0.21) (2020-10-28)
-
-### Features
-
-- **medusa:** adds support for gift cards ([#132](https://github.com/medusajs/medusa/issues/132)) ([f2c62cd](https://github.com/medusajs/medusa/commit/f2c62cd2321c9013c15160a80598f912daef4647))
-
-## [1.0.20](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.19...medusa-plugin-brightpearl@1.0.20) (2020-10-19)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.19](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.18...medusa-plugin-brightpearl@1.0.19) (2020-10-08)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** faulty fulfillments ([6979cce](https://github.com/medusajs/medusa/commit/6979cce59a02fda591d44ba2eb19959ea248181d))
-
-## [1.0.18](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.17...medusa-plugin-brightpearl@1.0.18) (2020-10-06)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.17](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.16...medusa-plugin-brightpearl@1.0.17) (2020-10-05)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** reliable oauth ([#119](https://github.com/medusajs/medusa/issues/119)) ([0889059](https://github.com/medusajs/medusa/commit/0889059ba178e976c5f6c4a0e938a463dde29554))
-
-## [1.0.16](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.15...medusa-plugin-brightpearl@1.0.16) (2020-10-05)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** automatic token refresh ([34eb53f](https://github.com/medusajs/medusa/commit/34eb53f72e8bb6f1f18a39ac6838991bbed86660))
-
-## [1.0.15](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.14...medusa-plugin-brightpearl@1.0.15) (2020-09-17)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.14](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.13...medusa-plugin-brightpearl@1.0.14) (2020-09-10)
-
-### Bug Fixes
-
-- cron jobs and brightpearl auto refresh ([#107](https://github.com/medusajs/medusa/issues/107)) ([c7bd783](https://github.com/medusajs/medusa/commit/c7bd7838aa620d6f23d9f5e17592cc5a82818c9e))
-
-## [1.0.13](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.12...medusa-plugin-brightpearl@1.0.13) (2020-09-09)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## [1.0.12](https://github.com/medusajs/medusa/compare/medusa-plugin-brightpearl@1.0.11...medusa-plugin-brightpearl@1.0.12) (2020-09-09)
-
-**Note:** Version bump only for package medusa-plugin-brightpearl
-
-## 1.0.11 (2020-09-09)
-
-### Bug Fixes
-
-- use correct auth type ([27052ca](https://github.com/medusajs/medusa/commit/27052cae27b447eff465f9c92ba5d017f00591ee))
-
-## 1.0.10 (2020-09-09)
-
-### Bug Fixes
-
-- updates license ([db519fb](https://github.com/medusajs/medusa/commit/db519fbaa6f8ad02c19cbecba5d4f28ba1ee81aa))
-
-## 1.0.7 (2020-09-07)
-
-## 1.0.1 (2020-09-05)
-
-## 1.0.1-beta.0 (2020-09-04)
-
-# 1.0.0 (2020-09-03)
-
-# 1.0.0-y.23 (2020-09-03)
-
-### Bug Fixes
-
-- send response ([1f6ec9d](https://github.com/medusajs/medusa/commit/1f6ec9d2f02aa44072931c26bd2aad2200afc824))
-
-# 1.0.0-y.22 (2020-09-03)
-
-### Bug Fixes
-
-- rounds values when sending to brightpearl ([60bbd12](https://github.com/medusajs/medusa/commit/60bbd120eac873ea56533cc9313b04a0084c2b12))
-
-# 1.0.0-y.21 (2020-09-03)
-
-### Bug Fixes
-
-- adds endpoint for manual brightpearl uploads ([2609cdc](https://github.com/medusajs/medusa/commit/2609cdcd0d07e58af78c349e01c9bb6aef685541))
-
-# 1.0.0-y.19 (2020-09-02)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** set redirect uri ([4006cad](https://github.com/medusajs/medusa/commit/4006cad45a4498541f5d2684c1a816cbf15e3d7e))
-
-# 1.0.0-alpha.33 (2020-08-28)
-
-### Bug Fixes
-
-- normal string matching available ([bd3c755](https://github.com/medusajs/medusa/commit/bd3c755260f9856ca76f584fa218f2d68bf8fb7d))
-
-# 1.0.0-alpha.32 (2020-08-28)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** id matcihgin ([df4698a](https://github.com/medusajs/medusa/commit/df4698ad811e6d5a8e366e884f426473d85c7314))
-
-# 1.0.0-alpha.31 (2020-08-28)
-
-### Bug Fixes
-
-- better rounding of totals ([3093cba](https://github.com/medusajs/medusa/commit/3093cba610992225ab51bee05ec1e5c84c7e0fed))
-
-# 1.0.0-alpha.30 (2020-08-28)
-
-# 1.0.0-alpha.29 (2020-08-28)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** more gentle inventory syncs ([e254780](https://github.com/medusajs/medusa/commit/e25478034b82520f8de797edaba8adbf1c7d03b3))
-
-# 1.0.0-alpha.28 (2020-08-27)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** allow status updates ([9025020](https://github.com/medusajs/medusa/commit/902502092f596cd72b946e8ae8b7aea57d0bdfe4))
-
-# 1.0.0-alpha.27 (2020-08-27)
-
-# 1.0.0-alpha.25 (2020-08-27)
-
-# 1.0.0-alpha.24 (2020-08-27)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** only update inventory levels that are out of sync ([db205bf](https://github.com/medusajs/medusa/commit/db205bf79024bc54f6bc73a90ea7427f65c642be))
-
-# 1.0.0-alpha.23 (2020-08-26)
-
-### Bug Fixes
-
-- **medusa-plugin-brightpearl:** ignore goods out created if channel id not medusa ([a6a3520](https://github.com/medusajs/medusa/commit/a6a35204fe364c81fa76655a0342b7c2f338045f))
-
-# 1.0.0-alpha.22 (2020-08-25)
-
-# 1.0.0-alpha.21 (2020-08-25)
-
-# 1.0.0-alpha.20 (2020-08-23)
-
-# 1.0.0-alpha.19 (2020-08-23)
-
-# 1.0.0-alpha.18 (2020-08-23)
-
-# 1.0.0-alpha.17 (2020-08-23)
-
-# 1.0.0-alpha.16 (2020-08-23)
-
-# 1.0.0-alpha.3 (2020-08-20)
-
-# 1.0.0-alpha.2 (2020-08-20)
-
-# 1.0.0-alpha.1 (2020-08-20)
-
-# 1.0.0-alpha.0 (2020-08-20)
-
-## [1.0.10](https://github.com/medusajs/medusa/compare/v1.0.9...v1.0.10) (2020-09-09)
-
-### Bug Fixes
-
-- updates license ([db519fb](https://github.com/medusajs/medusa/commit/db519fbaa6f8ad02c19cbecba5d4f28ba1ee81aa))
diff --git a/packages/medusa-plugin-brightpearl/README.md b/packages/medusa-plugin-brightpearl/README.md
deleted file mode 100644
index 10c345a701..0000000000
--- a/packages/medusa-plugin-brightpearl/README.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# Brightpearl
-
-Manage and streamline your business processes using Brightpearl.
-
-[Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa)
-
-## Features
-
-- Send and sync orders with Brightpearl.
-- Listen for inventory and stock movements in Brightpearl.
-- Handle order returns through Brightpearl.
-
----
-
-## Prerequisites
-
-- [Medusa backend](https://docs.medusajs.com/development/backend/install)
-- [Brightpearl account](https://www.brightpearl.com)
-
----
-
-## How to Install
-
-1\. Run the following command in the directory of the Medusa backend:
-
- ```bash
- npm install medusa-plugin-brightpearl
- ```
-
-2\. Set the following environment variables in `.env`:
-
- ```bash
- BRIGHTPEARL_ACCOUNT=
- BRIGHTPEARL_CHANNEL_ID=
- BRIGHTPEARL_BACKEND_URL=
- BRIGHTPEARL_EVENT_OWNER=
- BRIGHTPEARL_WAREHOUSE=
- BRIGHTPEARL_DEFAULT_STATUS_ID=
- BRIGHTPEARL_SWAP_STATUS_ID=
- BRIGHTPEARL_CLAIM_STATUS_ID=
- BRIGHTPEARL_PAYMENT_METHOD_CODE=
- BRIGHTPEARL_SALES_ACCOUNT_CODE=
- BRIGHTPEARL_SHIPPING_ACCOUNT_CODE=
- BRIGHTPEARL_DISCOUNT_ACCOUNT_CODE=
- BRIGHTPEARL_GIFT_CARD_ACCOUNT_CODE=
- BRIGHTPEARL_INVENTORY_SYNC_CRON=
- BRIGHTPEARL_COST_PRICE_LIST=
- BRIGHTPEARL_BASE_CURRENCY=
- ```
-
-3\. In `medusa-config.js` add the following at the end of the `plugins` array:
-
- ```js
- const plugins = [
- // ...
- {
- resolve: `medusa-plugin-brightpearl`,
- options: {
- account: process.env.BRIGHTPEARL_ACCOUNT, // required, the Brightpearl account
- channel_id: process.env.BRIGHTPEARL_CHANNEL_ID, // required, channel id to map sales and credits to
- backend_url: process.env.BRIGHTPEARL_BACKEND_URL, // required, the url where the Medusa server is running, needed for webhooks
- event_owner: process.env.BRIGHTPEARL_EVENT_OWNER, // required, the id of the user who will own goods out events]
- warehouse: process.env.BRIGHTPEARL_WAREHOUSE, // required, the warehouse id to allocate orders from
- default_status_id: process.env.BRIGHTPEARL_DEFAULT_STATUS_ID, // (default: `3`), the status id to assign new orders with
- swap_status_id: process.env.BRIGHTPEARL_SWAP_STATUS_ID, // (default: `3`), the status id to assign new swaps
- claim_status_id: process.env.BRIGHTPEARL_CLAIM_STATUS_ID, // (default: `3`), the status id to assign new claims
- payment_method_code: process.env.BRIGHTPEARL_PAYMENT_METHOD_CODE, // (default: `1220`), the method code to register payments with
- sales_account_code: process.env.BRIGHTPEARL_SALES_ACCOUNT_CODE, // (defaults: `4000`), nominal code to assign line items to
- shipping_account_code: process.env.BRIGHTPEARL_SHIPPING_ACCOUNT_CODE, // (default: `4040`), nominal code to assign shipping line to
- discount_account_code: process.env.BRIGHTPEARL_DISCOUNT_ACCOUNT_CODE, // optional, nominal code to use for Discount-type refunds
- gift_card_account_code: process.env.BRIGHTPEARL_GIFT_CARD_ACCOUNT_CODE, // (default: `4000`), nominal code to use for gift card products and redeems
- inventory_sync_cron: process.env.BRIGHTPEARL_INVENTORY_SYNC_CRON, // optional, cron pattern for inventory sync, if left out the job will not be created
- cost_price_list: process.env.BRIGHTPEARL_COST_PRICE_LIST, // (default: `1`) the ID of the price list to assign to created claims
- base_currency: process.env.BRIGHTPEARL_BASE_CURRENCY, // (default: `EUR`) the ISO 3 character code of the currency to assign to created claims.
- },
- },
- ]
- ```
-
----
-
-## Test the Plugin
-
-1\. Run the following command in the directory of the Medusa backend to run the backend:
-
- ```bash
- npm run start
- ```
-
-2\. On placing an order, you should see that order appear on Brightpearl.
-
----
-
-## Additional Information
-
-### Orders
-
-When an order is created in Medusa it will automatically be sent to Brightpearl and allocated there. Once allocated it is up to Brightpearl to figure out how the order is to be fulfilled - the plugin listens for goods out notes and tries to map each of these to a Medusa order, if the matching succeeds Medusa will send the order to the fulfillment provider associated with the shipping method selected by the Customer.
-
-When line items on an order are returned the plugin will generate a sales credit in Brightpearl.
-
-### Products
-
-The plugin doesn't automatically create products in Medusa, but listens for inventory changes in Brightpearl. The plugin updates each product variant to reflect the inventory quantity listed in Brightpearl, thereby ensuring that the inventory levels in Medusa are always in sync with Brightpearl.
-
-### OAuth
-
-The plugin registers an OAuth app in Medusa allowing installation at https://medusa-commerce.com/a/settings/apps. The OAuth tokens are refreshed every hour to prevent unauthorized requests.
\ No newline at end of file
diff --git a/packages/medusa-plugin-brightpearl/index.js b/packages/medusa-plugin-brightpearl/index.js
deleted file mode 100644
index 172f1ae6a4..0000000000
--- a/packages/medusa-plugin-brightpearl/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// noop
diff --git a/packages/medusa-plugin-brightpearl/package.json b/packages/medusa-plugin-brightpearl/package.json
deleted file mode 100644
index 497d04c113..0000000000
--- a/packages/medusa-plugin-brightpearl/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "medusa-plugin-brightpearl",
- "version": "1.3.13",
- "description": "Brightpearl plugin for Medusa Commerce",
- "main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa",
- "directory": "packages/medusa-plugin-brightpearl"
- },
- "engines": {
- "node": ">=16"
- },
- "author": "Sebastian Rindom",
- "license": "MIT",
- "devDependencies": {
- "@babel/cli": "^7.7.5",
- "@babel/core": "^7.7.5",
- "@babel/node": "^7.7.4",
- "@babel/plugin-proposal-class-properties": "^7.7.4",
- "@babel/plugin-transform-classes": "^7.9.5",
- "@babel/plugin-transform-instanceof": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.7.6",
- "@babel/preset-env": "^7.7.5",
- "@babel/register": "^7.7.4",
- "@babel/runtime": "^7.9.6",
- "@medusajs/medusa": "^1.17.4",
- "axios-mock-adapter": "^1.18.2",
- "axios-mock-server": "^0.19.1",
- "client-sessions": "^0.8.0",
- "cross-env": "^7.0.3",
- "jest": "^25.5.4",
- "medusa-interfaces": "^1.3.7",
- "medusa-test-utils": "^1.1.40"
- },
- "scripts": {
- "prepare": "cross-env NODE_ENV=production yarn run build",
- "test": "jest --silent --bail --maxWorkers=50% --forceExit",
- "build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
- "watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
- },
- "peerDependencies": {
- "@medusajs/medusa": "^1.12.0",
- "medusa-interfaces": "^1.3.7"
- },
- "dependencies": {
- "@medusajs/utils": "^1.10.5",
- "axios": "^0.19.2",
- "axios-rate-limit": "^1.2.1",
- "express": "^4.17.1",
- "medusa-core-utils": "^1.2.0",
- "randomatic": "^3.1.1"
- },
- "gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
- "keywords": [
- "medusa-plugin",
- "medusa-plugin-erp"
- ]
-}
diff --git a/packages/medusa-plugin-brightpearl/src/api/index.js b/packages/medusa-plugin-brightpearl/src/api/index.js
deleted file mode 100644
index b20726fac3..0000000000
--- a/packages/medusa-plugin-brightpearl/src/api/index.js
+++ /dev/null
@@ -1,76 +0,0 @@
-import { Router } from "express"
-import bodyParser from "body-parser"
-
-const BP_SECRET_TOKEN = process.env.BP_SECRET_TOKEN || ""
-
-export default (container) => {
- const app = Router()
-
- app.post("/brightpearl/product", bodyParser.json(), async (req, res) => {
- const { id, lifecycle_event } = req.body
-
- if (lifecycle_event === "created") {
- const eventBus = req.scope.resolve("eventBusService")
- const brightpearlService = req.scope.resolve("brightpearlService")
- const bpProduct = await brightpearlService.retrieveProduct(id)
-
- eventBus.emit("brightpearl-product.created", bpProduct)
- }
-
- res.sendStatus(200)
- })
-
- app.post("/brightpearl/goods-out", bodyParser.json(), async (req, res) => {
- const { id, lifecycle_event } = req.body
- const eventBusService = req.scope.resolve("eventBusService")
-
- if (lifecycle_event === "created") {
- eventBusService.emit("brightpearl.goods_out_note", { id })
- }
-
- res.sendStatus(200)
- })
-
- app.post(
- "/brightpearl/inventory-update",
- bodyParser.json(),
- async (req, res) => {
- const { id } = req.body
- const brightpearlService = req.scope.resolve("brightpearlService")
- await brightpearlService.updateInventory(id)
- res.sendStatus(200)
- }
- )
-
- app.post("/brightpearl/orders/:id", async (req, res) => {
- const { access_token } = req.query
- const { id } = req.params
-
- if (
- !access_token ||
- !id ||
- !BP_SECRET_TOKEN ||
- access_token !== BP_SECRET_TOKEN
- ) {
- res.sendStatus(401)
- return
- }
-
- const brightpearlService = req.scope.resolve("brightpearlService")
- const orderService = req.scope.resolve("orderService")
-
- try {
- const order = await orderService.retrieve(id)
- if (order.metadata && order.metadata.brightpearl_sales_order_id) {
- throw new Error("Already sent to BP")
- }
-
- await brightpearlService.createSalesOrder(order.id)
- res.sendStatus(200)
- } catch (err) {
- res.status(400).json(err)
- }
- })
-
- return app
-}
diff --git a/packages/medusa-plugin-brightpearl/src/loaders/inventory.js b/packages/medusa-plugin-brightpearl/src/loaders/inventory.js
deleted file mode 100644
index b253dd04f4..0000000000
--- a/packages/medusa-plugin-brightpearl/src/loaders/inventory.js
+++ /dev/null
@@ -1,21 +0,0 @@
-const inventorySync = async (container, options) => {
- if (!options.inventory_sync_cron) {
- return
- } else {
- const brightpearlService = container.resolve("brightpearlService")
- const jobSchedulerService = container.resolve("jobSchedulerService")
- try {
- const pattern = options.inventory_sync_cron
- jobSchedulerService.create("inventory-sync", {}, pattern, () =>
- brightpearlService.syncInventory()
- )
- } catch (err) {
- if (err.name === "not_allowed") {
- return
- }
- throw err
- }
- }
-}
-
-export default inventorySync
diff --git a/packages/medusa-plugin-brightpearl/src/loaders/webhooks.js b/packages/medusa-plugin-brightpearl/src/loaders/webhooks.js
deleted file mode 100644
index eb9d1b0d24..0000000000
--- a/packages/medusa-plugin-brightpearl/src/loaders/webhooks.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const webhookLoader = async (container) => {
- const brightpearlService = container.resolve("brightpearlService")
- try {
- const client = await brightpearlService.getClient()
- await brightpearlService.verifyWebhooks()
- } catch (err) {
- if (err.name === "not_allowed") {
- return
- }
- throw err
- }
-}
-
-export default webhookLoader
diff --git a/packages/medusa-plugin-brightpearl/src/services/__tests__/brightpearl.js b/packages/medusa-plugin-brightpearl/src/services/__tests__/brightpearl.js
deleted file mode 100644
index 273ca2a0ae..0000000000
--- a/packages/medusa-plugin-brightpearl/src/services/__tests__/brightpearl.js
+++ /dev/null
@@ -1,418 +0,0 @@
-jest.unmock("axios")
-
-import BrightpearlService from "../brightpearl"
-import { mockCreateOrder, mockCreateCredit } from "../../utils/brightpearl"
-import MockAdapter from "axios-mock-adapter"
-
-jest.mock("../../utils/brightpearl")
-
-const order = {
- region: {
- tax_code: "1234",
- },
- items: [
- {
- title: "Test",
- variant: {
- sku: "TEST",
- },
- unit_price: 1100,
- quantity: 2,
- },
- ],
- shipping_total: 12399,
- shipping_methods: [
- {
- name: "standard",
- price: 12399,
- subtotal: 12399,
- },
- ],
- payment_method: {
- id: "123",
- },
- tax_rate: 23.1,
- currency_code: "DKK",
- display_id: "1234",
- id: "12355",
- discounts: [],
- shipping_address: {
- first_name: "Test",
- last_name: "Testson",
- address_1: "Test",
- address_2: "TEst",
- postal_code: "1234",
- country_code: "DK",
- phone: "12345678",
- },
- email: "test@example.com",
-}
-
-const krwOrder = {
- region: {
- tax_code: "1234",
- },
- items: [
- {
- title: "Test",
- variant: {
- sku: "TEST",
- },
- unit_price: 1100,
- quantity: 2,
- },
- ],
- shipping_total: 12399,
- shipping_methods: [
- {
- name: "standard",
- price: 12399,
- subtotal: 12399,
- },
- ],
- payment_method: {
- id: "123",
- },
- tax_rate: 0,
- currency_code: "KRW",
- display_id: "1234",
- id: "12355",
- discounts: [],
- shipping_address: {
- first_name: "Test",
- last_name: "Testson",
- address_1: "Test",
- address_2: "TEst",
- postal_code: "1234",
- country_code: "DK",
- phone: "12345678",
- },
- email: "test@example.com",
-}
-
-const roundingOrder = {
- region: {
- tax_code: "1234",
- },
- items: [
- {
- id: "rounding-item",
- title: "Test",
- allow_discounts: true,
- variant: {
- sku: "TEST",
- },
- unit_price: 31600,
- quantity: 1,
- },
- ],
- shipping_total: 0,
- shipping_methods: [
- {
- name: "standard",
- price: 0,
- subtotal: 0,
- },
- ],
- discounts: [
- {
- code: "testdiscount",
- rule: {
- type: "percentage",
- allocation: "total",
- value: 50,
- },
- },
- ],
- payment_method: {
- id: "123",
- },
- tax_rate: 25,
- currency_code: "DKK",
- display_id: "1234",
- id: "rounding",
- shipping_address: {
- first_name: "Test",
- last_name: "Testson",
- address_1: "Test",
- address_2: "TEst",
- postal_code: "1234",
- country_code: "DK",
- phone: "12345678",
- },
- email: "test@example.com",
-}
-
-const OrderService = {
- retrieve: (id) => {
- if (id === "rounding") {
- return Promise.resolve(roundingOrder)
- }
- return Promise.resolve(order)
- },
- update: () => {
- return Promise.resolve()
- },
-}
-
-const TotalsService = {
- getTotal: () => {
- return Promise.resolve(123)
- },
- getShippingMethodTotals: () => {
- return {
- price: 0,
- subtotal: 0,
- discount_total: 0,
- tax_total: 0,
- }
- },
- getLineItemTotals: () => {
- return {
- subtotal: 15800,
- discount_total: 0,
- tax_total: 3950,
- }
- },
- getLineDiscounts: (o) => {
- if (o.id === "rounding") {
- return [
- {
- item: { id: "rounding-item", quantity: 1 },
- amount: 15800,
- },
- ]
- }
- return []
- },
- getShippingTotal: (o) => {
- if (o.id === "rounding") {
- return 0
- }
- return 12399
- },
- rounded: (value) => {
- return Math.round(value)
- // const decimalPlaces = 4
- // return Number(
- // Math.round(parseFloat(value + "e" + decimalPlaces)) + "e-" + decimalPlaces
- // )
- },
-}
-
-const OAuthService = {
- retrieveByName: () => {
- return Promise.resolve({
- data: {
- access_token: "12345",
- },
- })
- },
-}
-
-const RegionService = {
- retrieve: () => {
- return Promise.resolve({
- tax_code: "1234",
- })
- },
-}
-
-describe("BrightpearlService", () => {
- describe("getClient", () => {
- it("creates client", async () => {
- let token = "bad"
- const oauth = {
- refreshToken: () => {
- token = "good"
- return Promise.resolve({
- data: {
- access_token: "good",
- },
- })
- },
- retrieveByName: () => {
- return Promise.resolve({
- data: {
- access_token: token,
- },
- })
- },
- }
-
- const bpService = new BrightpearlService({ oauthService: oauth }, {})
- const client = await bpService.getClient()
-
- const mockServer = new MockAdapter(client.client)
-
- mockServer.onGet("/success").reply(() => {
- return [200]
- })
- mockServer.onGet("/fail").reply((req) => {
- if (req.headers.Authorization === "Bearer good") {
- return [200]
- }
- return [401]
- })
-
- await client.test.fail()
- await client.test.fail()
- })
- })
-
- describe("rounding", () => {
- const bpService = new BrightpearlService(
- {
- orderService: OrderService,
- totalsService: TotalsService,
- oauthService: OAuthService,
- regionService: RegionService,
- },
- { account: "test" }
- )
-
- it("rounds correctly", async () => {
- jest.clearAllMocks()
- await bpService.createSalesOrder("rounding")
-
- expect(mockCreateOrder).toHaveBeenCalledTimes(1)
- expect(mockCreateOrder).toHaveBeenCalledWith({
- currency: { code: "DKK" },
- ref: "1234",
- externalRef: "rounding",
- channelId: "1",
- installedIntegrationInstanceId: undefined,
- statusId: "3",
- customer: {
- id: "12345",
- address: {
- addressFullName: "Test Testson",
- addressLine1: "Test",
- addressLine2: "TEst",
- postalCode: "1234",
- countryIsoCode: "DK",
- telephone: "12345678",
- email: "test@example.com",
- },
- },
- delivery: {
- shippingMethodId: 0,
- address: {
- addressFullName: "Test Testson",
- addressLine1: "Test",
- addressLine2: "TEst",
- postalCode: "1234",
- countryIsoCode: "DK",
- telephone: "12345678",
- email: "test@example.com",
- },
- },
- rows: [
- {
- name: "Test",
- net: 158,
- tax: 39.5,
- quantity: 1,
- taxCode: "1234",
- externalRef: "rounding-item",
- nominalCode: "4000",
- },
- {
- name: "Shipping: standard",
- quantity: 1,
- net: 0,
- tax: 0,
- taxCode: "1234",
- nominalCode: "4040",
- },
- ],
- })
- })
-
- it("rounds correctly", async () => {
- jest.clearAllMocks()
- await bpService.createSalesOrder("rounding")
-
- expect(mockCreateOrder).toHaveBeenCalledTimes(1)
- expect(mockCreateOrder).toHaveBeenCalledWith({
- currency: { code: "DKK" },
- ref: "1234",
- externalRef: "rounding",
- channelId: "1",
- installedIntegrationInstanceId: undefined,
- statusId: "3",
- customer: {
- id: "12345",
- address: {
- addressFullName: "Test Testson",
- addressLine1: "Test",
- addressLine2: "TEst",
- postalCode: "1234",
- countryIsoCode: "DK",
- telephone: "12345678",
- email: "test@example.com",
- },
- },
- delivery: {
- shippingMethodId: 0,
- address: {
- addressFullName: "Test Testson",
- addressLine1: "Test",
- addressLine2: "TEst",
- postalCode: "1234",
- countryIsoCode: "DK",
- telephone: "12345678",
- email: "test@example.com",
- },
- },
- rows: [
- {
- name: "Test",
- net: 158,
- tax: 39.5,
- quantity: 1,
- taxCode: "1234",
- externalRef: "rounding-item",
- nominalCode: "4000",
- },
- {
- name: "Shipping: standard",
- quantity: 1,
- net: 0,
- tax: 0,
- taxCode: "1234",
- nominalCode: "4040",
- },
- ],
- })
- })
- })
-
- describe("bpnum_", () => {
- const bpService = new BrightpearlService(
- {
- orderService: OrderService,
- totalsService: TotalsService,
- oauthService: OAuthService,
- regionService: RegionService,
- },
- { account: "test" }
- )
-
- it("sales credit diff. calc - KRW", async () => {
- jest.clearAllMocks()
- const total = 100000
- const refund_amount = 100000
- const difference = bpService.bpnum_(refund_amount, "krw") - total
- expect(difference).toEqual(0)
- })
-
- it("sales credit diff. calc - DKK", async () => {
- jest.clearAllMocks()
- const total = 100000
- const refund_amount = 100000
- const difference = bpService.bpnum_(refund_amount, "dkk") - total
- expect(difference).toEqual(-99000)
- })
- })
-})
diff --git a/packages/medusa-plugin-brightpearl/src/services/brightpearl.js b/packages/medusa-plugin-brightpearl/src/services/brightpearl.js
deleted file mode 100644
index 45277cd979..0000000000
--- a/packages/medusa-plugin-brightpearl/src/services/brightpearl.js
+++ /dev/null
@@ -1,1920 +0,0 @@
-import { humanizeAmount, MedusaError } from "medusa-core-utils"
-
-import { BaseService } from "medusa-interfaces"
-import Brightpearl from "../utils/brightpearl"
-import { updateInventoryAndReservations } from "@medusajs/medusa"
-import { promiseAll } from "@medusajs/utils"
-
-class BrightpearlService extends BaseService {
- constructor(
- {
- manager,
- oauthService,
- totalsService,
- productVariantService,
- regionService,
- orderService,
- swapService,
- claimService,
- discountService,
- stockLocationService,
- inventoryService,
- lineItemService,
- eventBusService,
- productVariantInventoryService,
- salesChannelLocationService,
- logger,
- },
- options
- ) {
- super()
-
- this.manager_ = manager
- this.options = options
- this.productVariantService_ = productVariantService
- this.productVariantInventoryService_ = productVariantInventoryService
- this.regionService_ = regionService
- this.orderService_ = orderService
- this.totalsService_ = totalsService
- this.discountService_ = discountService
- this.oauthService_ = oauthService
- this.swapService_ = swapService
- this.claimService_ = claimService
- this.stockLocationService_ = stockLocationService
- this.inventoryService_ = inventoryService
- this.lineItemService_ = lineItemService
- this.eventBusService_ = eventBusService
- this.salesChannelLocationService_ = salesChannelLocationService
- this.logger_ = logger
- }
-
- async getClient() {
- const authData = await this.oauthService_.retrieveByName("brightpearl")
- const { data } = authData
-
- if (!data || !data.access_token) {
- throw new MedusaError(
- MedusaError.Types.NOT_ALLOWED,
- "You must authenticate the Brightpearl app in settings before continuing"
- )
- }
-
- const tokenStore = {
- getToken: async () => {
- const appData = await this.oauthService_.retrieveByName("brightpearl")
- const authenticationData = appData.data
- return authenticationData.access_token
- },
- refreshToken: async () => {
- const newAuthentication = await this.oauthService_.refreshToken(
- "brightpearl"
- )
- return newAuthentication.data.refresh_token
- },
- }
-
- const client = new Brightpearl({
- account: this.options.account,
- url: data.api_domain,
- token_store: tokenStore,
- })
-
- this.authData_ = data
- return client
- }
-
- async getAuthData() {
- if (this.authData_) {
- return this.authData_
- }
-
- const { data } = await this.oauthService_.retrieveByName("brightpearl")
- if (!data || !data.access_token) {
- throw new MedusaError(
- MedusaError.Types.NOT_ALLOWED,
- "You must authenticate the Brightpearl app in settings before continuing"
- )
- }
-
- this.authData_ = data
- return data
- }
-
- async verifyWebhooks() {
- const brightpearl = await this.getClient()
-
- const hooks = [
- {
- subscribeTo: "goods-out-note.created",
- httpMethod: "POST",
- uriTemplate: `${this.options.backend_url}/brightpearl/goods-out`,
- bodyTemplate:
- '{"account": "${account-code}", "lifecycle_event": "${lifecycle-event}", "resource_type": "${resource-type}", "id": "${resource-id}" }',
- contentType: "application/json",
- idSetAccepted: false,
- },
- {
- subscribeTo: "product.modified.on-hand-modified",
- httpMethod: "POST",
- uriTemplate: `${this.options.backend_url}/brightpearl/inventory-update`,
- bodyTemplate:
- '{"account": "${account-code}", "lifecycle_event": "${lifecycle-event}", "resource_type": "${resource-type}", "id": "${resource-id}" }',
- contentType: "application/json",
- idSetAccepted: false,
- },
- ]
-
- const installedHooks = await brightpearl.webhooks.list().catch(() => [])
- for (const hook of hooks) {
- const isInstalled = installedHooks.find(
- (i) =>
- i.subscribeTo === hook.subscribeTo &&
- i.httpMethod === hook.httpMethod &&
- i.uriTemplate === hook.uriTemplate &&
- i.bodyTemplate === hook.bodyTemplate &&
- i.contentType === hook.contentType &&
- i.idSetAccepted === hook.idSetAccepted
- )
-
- if (!isInstalled) {
- await brightpearl.webhooks.create(hook)
- }
- }
- }
-
- async syncInventory() {
- const client = await this.getClient()
-
- let search = true
- let bpProducts = []
- while (search) {
- const { products, metadata } = await client.products.search(search)
- bpProducts = [...bpProducts, ...products]
- if (metadata.morePagesAvailable) {
- search = `firstResult=${metadata.lastResult + 1}`
- } else {
- search = false
- }
- }
-
- if (bpProducts.length) {
- let availabilities = {}
- const perChunk = 100
- const chunkedProducts = bpProducts.reduce((resultArray, item, index) => {
- const chunkIndex = Math.floor(index / perChunk)
-
- if (!resultArray[chunkIndex]) {
- resultArray[chunkIndex] = [] // start a new chunk
- }
-
- resultArray[chunkIndex].push(item)
-
- return resultArray
- }, [])
-
- // For large product catalogues we get 414 Too long URI so to avoid this
- // we chunk things up
- for (const chunk of chunkedProducts) {
- const productRange = chunk.map(({ productId }) => productId).join(",")
-
- const chunkAvails = await client.products.retrieveAvailability(
- productRange
- )
-
- availabilities = Object.assign(availabilities, chunkAvails)
- }
-
- if (!this.inventoryService_) {
- return await this.atomicPhase_(async (manager) => {
- const [variants] = await this.productVariantService_
- .withTransaction(manager)
- .listAndCount({
- sku: bpProducts.map(({ SKU }) => SKU),
- })
-
- const variantsMap = new Map(
- variants.filter((variant) => !!variant.sku).map((v) => [v.sku, v])
- )
-
- const variantUpdates = await promiseAll(
- bpProducts.map(async (bpProduct) => {
- const { SKU: sku, productId } = bpProduct
-
- const variant = variantsMap.get(sku)
-
- const productAvailability = availabilities[productId]
-
- let onHand = 0
- if (
- productAvailability &&
- productAvailability.warehouses &&
- productAvailability.warehouses[`${this.options.warehouse}`]
- ) {
- onHand =
- productAvailability.warehouses[`${this.options.warehouse}`]
- .onHand
- }
-
- if (variant && variant.manage_inventory) {
- if (parseInt(variant.inventory_quantity) !== parseInt(onHand)) {
- return {
- variant,
- update: { inventory_quantity: parseInt(onHand) },
- }
- }
- }
- })
- )
- return this.productVariantService_
- .withTransaction(manager)
- .update(variantUpdates.filter(Boolean))
- })
- } else {
- return await this.atomicPhase_(async (manager) => {
- const [inventoryItems, count] =
- await this.inventoryService_.listInventoryItems(
- {
- sku: bpProducts.map(({ SKU }) => SKU),
- },
- {},
- { transactionManager: manager }
- )
-
- const itemMap = new Map(inventoryItems.map((i) => [i.id, i.sku]))
-
- const [inventoryLevels, levelsCount] =
- await this.inventoryService_.listInventoryLevels(
- {
- inventory_item_id: inventoryItems.map((i) => i.id),
- },
- {},
- { transactionManager: manager }
- )
-
- const locations = (
- await this.stockLocationService_.list(
- {
- id: [...new Set(inventoryLevels.map((ri) => ri.location_id))],
- },
- {},
- { transactionManager: manager }
- )
- ).filter((location) => !!location.metadata?.bp_id)
-
- const inventoryMap = inventoryLevels.reduce((acc, level) => {
- const itemSku = itemMap.get(level.inventory_item_id)
- if (!itemSku) {
- return acc
- }
-
- const locationsMap = acc.get(itemSku)
- if (!locationsMap) {
- acc.set(itemSku, new Map([[level.location_id, level]]))
- } else {
- locationsMap.set(level.location_id, level)
- }
-
- return acc
- }, new Map())
-
- this.logger_.info("Synchronizing inventory levels")
-
- await promiseAll(
- bpProducts.map(async (bpProduct, index) => {
- if (index % 100 === 0) {
- this.logger_.info(
- `Synchronizing ${index} of ${bpProducts.length}`
- )
- }
-
- const { SKU: sku, productId } = bpProduct
-
- const productAvailability = availabilities[productId]
-
- if (productAvailability) {
- await promiseAll(
- locations.map(async (location) => {
- const warehouseData =
- productAvailability.warehouses[
- `${location.metadata.bp_id}`
- ]
-
- const inventoryLevel = inventoryMap
- .get(sku)
- ?.get(location.id)
-
- if (!inventoryLevel) {
- return
- }
-
- await this.adjustMedusaLocationLevel_(
- location,
- inventoryLevel,
- warehouseData
- )
- })
- )
- }
- })
- )
- this.logger_.info("Finished synchronizing inventory levels")
- })
- }
- }
- }
-
- async adjustCoreInventory_(variantId, productAvailability) {
- let onHand = 0
-
- if (
- productAvailability.warehouses &&
- productAvailability.warehouses[`${this.options.warehouse}`]
- ) {
- onHand =
- productAvailability.warehouses[`${this.options.warehouse}`].onHand
- }
-
- return await this.manager_.transaction((m) => {
- return this.productVariantService_.withTransaction(m).update(variantId, {
- inventory_quantity: onHand,
- })
- })
- }
-
- async adjustMedusaLocationLevel_(location, inventoryLevel, warehouseData) {
- const manager = this.transactionManager_ ?? this.manager_
- const bpOnHand = warehouseData?.onHand || 0
- const bpinStock = warehouseData?.inStock || 0
-
- if (inventoryLevel.stocked_quantity !== bpinStock) {
- await this.inventoryService_.updateInventoryLevel(
- inventoryLevel.inventory_item_id,
- inventoryLevel.location_id,
- { stocked_quantity: bpinStock },
- { transactionManager: manager }
- )
- }
-
- const externallyReservedQuantityAdjustment =
- bpinStock - bpOnHand - inventoryLevel.reserved_quantity
-
- if (externallyReservedQuantityAdjustment === 0) {
- return
- }
-
- const [reservations] = await this.inventoryService_.listReservationItems(
- {
- inventory_item_id: inventoryLevel.inventory_item_id,
- location_id: location.id,
- external_id: "brightpearl",
- },
- {},
- { transactionManager: manager }
- )
-
- const externalReservation = reservations.find(
- (r) => r.external_id === "brightpearl"
- )
-
- if (externalReservation) {
- await this.inventoryService_.updateReservationItem(
- externalReservation.id,
- {
- quantity:
- externalReservation.quantity + externallyReservedQuantityAdjustment,
- },
- { transactionManager: manager }
- )
- } else {
- await this.inventoryService_.createReservationItem(
- {
- location_id: location.id,
- inventory_item_id: inventoryLevel.inventory_item_id,
- external_id: "brightpearl",
- quantity: externallyReservedQuantityAdjustment,
- },
- { transactionManager: manager }
- )
- }
- }
-
- async updateInventory(productId) {
- const client = await this.getClient()
- const availability = await client.products
- .retrieveAvailability(productId)
- .catch(() => null)
-
- if (!availability) {
- return
- }
-
- const brightpearlProduct = await client.products.retrieve(productId)
-
- const sku = brightpearlProduct.identity.sku
- if (!sku) {
- return
- }
-
- const productAvailability = availability[productId]
-
- if (!this.inventoryService_) {
- const variant = await this.productVariantService_
- .retrieveBySKU(sku)
- .catch((_) => undefined)
-
- if (!variant?.manage_inventory) {
- return
- }
-
- return this.adjustCoreInventory_(variant.id, productAvailability)
- }
-
- const [inventoryItems] = await this.inventoryService_.listInventoryItems({
- sku,
- })
-
- const [inventoryLevels] = await this.inventoryService_.listInventoryLevels({
- inventory_item_id: inventoryItems.map((i) => i.id),
- })
-
- const inventoryMap = inventoryLevels.reduce((acc, item) => {
- acc[item.location_id] = acc[item.location_id]
- ? [...acc[item.location_id], item]
- : [item]
- return acc
- }, {})
-
- const locations = (
- await this.stockLocationService_.list({
- id: inventoryLevels.map((ri) => ri.location_id),
- })
- ).filter(
- (location) =>
- location.metadata?.bp_id &&
- productAvailability.warehouses[`${location.metadata.bp_id}`]
- )
-
- await promiseAll(
- locations.map(async (location) => {
- // TODO: Assuming we have a 1 to 1 mapping of inventory items
- const inventoryLevel = inventoryMap[location.id][0]
-
- const warehouseData =
- productAvailability.warehouses[`${location.metadata.bp_id}`]
-
- await this.adjustMedusaLocationLevel_(
- location,
- inventoryLevel,
- warehouseData
- )
- })
- )
- }
-
- async createGoodsOutNote(fromOrder, shipment) {
- const client = await this.getClient()
- const id =
- fromOrder.metadata && fromOrder.metadata.brightpearl_sales_order_id
-
- if (!id) {
- return
- }
-
- const order = await client.orders.retrieve(id)
- const productRows = shipment.item_ids.map((id) => {
- const row = order.rows.find(({ externalRef }) => externalRef === id)
- return {
- productId: row.productId,
- salesOrderRowId: row.id,
- quantity: row.quantity,
- }
- })
-
- const goodsOut = {
- warehouses: [
- {
- releaseDate: new Date(),
- warehouseId: this.options.warehouse,
- transfer: false,
- products: productRows,
- },
- ],
- priority: false,
- }
-
- return client.warehouses.createGoodsOutNote(id, goodsOut)
- }
-
- async registerGoodsOutShipped(noteId, shipment) {
- const client = await this.getClient()
- return client.warehouses.registerGoodsOutEvent(noteId, {
- events: [
- {
- eventCode: "SHW",
- occured: new Date(),
- eventOwnerId: this.options.event_owner,
- },
- ],
- })
- }
-
- async registerGoodsOutTrackingNumber(noteId, shipment) {
- const client = await this.getClient()
- return client.warehouses.updateGoodsOutNote(noteId, {
- priority: false,
- shipping: {
- reference: shipment.tracking_numbers.join(", "),
- },
- })
- }
-
- async createRefundCredit(fromOrder, fromRefund) {
- const region = fromOrder.region
- const client = await this.getClient()
- const authData = await this.getAuthData()
- const orderId = fromOrder.metadata.brightpearl_sales_order_id
- if (orderId) {
- let accountingCode = this.options.sales_account_code || "4000"
- if (
- fromRefund.reason === "discount" &&
- this.options.discount_account_code
- ) {
- accountingCode = this.options.discount_account_code
- }
-
- const parentSo = await client.orders.retrieve(orderId)
- const order = {
- currency: parentSo.currency,
- ref: parentSo.ref,
- externalRef: `${parentSo.externalRef}.${fromRefund.id}`,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- customer: parentSo.customer,
- delivery: parentSo.delivery,
- parentId: orderId,
- rows: [
- {
- name: `${fromRefund.reason}: ${fromRefund.note}`,
- quantity: 1,
- taxCode: region.tax_code,
- net: this.bpnum_(fromRefund.amount, fromOrder.currency_code),
- tax: 0,
- nominalCode: accountingCode,
- },
- ],
- }
-
- return client.orders
- .createCredit(order)
- .then(async (creditId) => {
- const paymentMethod = fromOrder.payments[0]
- const paymentType = "PAYMENT"
- const payment = {
- transactionRef: `${paymentMethod.id}.${fromRefund.id}`,
- transactionCode: fromOrder.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: creditId,
- currencyIsoCode: fromOrder.currency_code.toUpperCase(),
- amountPaid: this.bpnum_(fromRefund.amount, fromOrder.currency_code),
- paymentDate: new Date(),
- paymentType,
- }
-
- const existing = fromOrder.metadata.brightpearl_credit_ids || []
- const newIds = [...existing, creditId]
-
- await client.payments.create(payment)
-
- return this.orderService_.update(fromOrder.id, {
- metadata: {
- brightpearl_credit_ids: newIds,
- },
- })
- })
- .catch((err) => {
- console.log(err)
- console.log(err.response.data.errors)
- })
- }
- }
-
- async getBrightPearlWarehouseFromMedusaLocation_(locationId) {
- let warehouse = this.options.warehouse
-
- if (locationId && this.stockLocationService_) {
- const location = await this.stockLocationService_.retrieve(locationId)
- if (location?.metadata?.bp_id) {
- warehouse = location.metadata.bp_id
- }
- }
-
- return warehouse
- }
-
- async getOrderFromReservation_(reservationItems) {
- if (!reservationItems.some((item) => !!item.line_item_id)) {
- return {}
- }
-
- const lineItems = await this.lineItemService_.list(
- {
- id: reservationItems
- .filter((item) => !!item.line_item_id)
- .map((item) => item.line_item_id),
- },
- {}
- )
-
- if (!lineItems.length || !lineItems[0].order_id) {
- return {}
- }
-
- const order = await this.orderService_
- .retrieve(lineItems[0].order_id)
- .catch(() => undefined)
-
- if (order) {
- return { order, lineItems }
- }
-
- return {}
- }
-
- async bulkCreateReservation(eventData) {
- const { ids } = eventData
-
- if (!ids.length) {
- return
- }
-
- const [reservationItems] =
- await this.inventoryService_.listReservationItems({
- id: ids,
- })
-
- const client = await this.getClient()
-
- const { order, lineItems } = await this.getOrderFromReservation_(
- reservationItems
- )
-
- if (!order?.metadata?.brightpearl_sales_order_id) {
- return this.attemptRetryEvent(
- "reservation-items.bulk-created",
- eventData,
- "Cannot create a brightpearl reservation without a brightpearl order"
- )
- }
-
- const warehouse = await this.getBrightPearlWarehouseFromMedusaLocation_(
- reservationItems[0].location_id
- )
-
- const variants = await this.productVariantService_.list(
- { id: lineItems.map((item) => item.variant_id) },
- {}
- )
-
- const [allReservationsForLineItems] =
- await this.inventoryService_.listReservationItems({
- line_item_id: lineItems.map((item) => item.id),
- })
-
- const lineItemReservationsMap = allReservationsForLineItems.reduce(
- (acc, r) => {
- if (acc.has(r.line_item_id)) {
- acc.get(r.line_item_id).push(r)
- } else {
- acc.set(r.line_item_id, [r])
- }
- return acc
- },
- new Map()
- )
-
- const lineItemMap = new Map(lineItems.map((item) => [item.id, item]))
- const variantMap = new Map(variants.map((v) => [v.id, v]))
-
- const bpOrder = await client.orders.retrieve(
- order.metadata.brightpearl_sales_order_id
- )
-
- const rows = await promiseAll(
- lineItems.map(async (item) => {
- const reservations = lineItemReservationsMap.get(item.id)
- const variant = variantMap.get(item.variant_id)
-
- const bpProduct = await this.retrieveProductBySKU(variant.sku)
-
- if (!reservations?.length || !variant || !bpProduct) {
- return null
- }
-
- const bpOrderRow = bpOrder.rows.find(
- (row) => row.externalRef === item.id
- )
-
- const reservedQuantity = reservations.reduce((acc, next) => {
- return acc + next.quantity
- }, 0)
-
- return {
- productId: bpProduct.productId,
- id: bpOrderRow.id,
- quantity: reservedQuantity,
- }
- })
- )
-
- order.rows = rows.filter((row) => !!row)
-
- const reservation = await client.warehouses
- .retrieveReservation(order.metadata.brightpearl_sales_order_id)
- .catch(() => undefined)
-
- if (!reservation) {
- const reservationFailed = await client.warehouses
- .createReservation(
- { ...order, id: order.metadata.brightpearl_sales_order_id },
- warehouse
- )
- .catch(() => true)
-
- // if we succeed in creating the reservation return early
- if (!reservationFailed) {
- return
- }
- }
-
- if (!reservation) {
- return this.attemptRetryEvent(
- "reservation-items.bulk-created",
- eventData,
- "Could not create reservation for order with id: " +
- order.metadata.brightpearl_sales_order_id
- )
- }
-
- reservation[0].orderRows = order.rows.reduce((acc, next) => {
- acc[next.id] = {
- productId: next.productId,
- quantity: next.quantity,
- }
- return acc
- }, reservation[0].orderRows)
-
- const updatePayload = {
- products: [
- ...Object.entries(reservation[0].orderRows).map(([key, value]) => ({
- productId: value.productId,
- quantity: value.quantity,
- salesOrderRowId: key,
- })),
- ],
- }
-
- return await client.warehouses.updateReservation(
- order.metadata.brightpearl_sales_order_id,
- updatePayload
- )
- }
-
- /**
- * create reservation based on reservation created event
- * @param {{ ids: string[] }} eventData Event data from reservation created
- */
- async createReservation(eventData) {
- const { ids } = eventData
-
- const [id] = ids
-
- if (!id) {
- return
- }
-
- const [[reservationItem]] =
- await this.inventoryService_.listReservationItems({
- id,
- })
-
- const client = await this.getClient()
-
- const { order, lineItems } = await this.getOrderFromReservation_([
- reservationItem,
- ])
-
- if (!order.metadata?.brightpearl_sales_order_id) {
- throw new MedusaError(
- MedusaError.Types.INVALID_DATA,
- "Cannot create a brightpearl reservation without a brightpearl order"
- )
- }
-
- const warehouse = await this.getBrightPearlWarehouseFromMedusaLocation_(
- reservationItem.location_id
- )
-
- const variant = await this.productVariantService_.retrieve(
- lineItems[0].variant_id
- )
-
- const bpProduct = await this.retrieveProductBySKU(variant.sku)
-
- const bpOrder = await client.orders.retrieve(
- order.metadata.brightpearl_sales_order_id
- )
-
- const bpOrderRow = bpOrder.rows.find(
- (row) => row.externalRef === lineItems[0].id
- )
-
- const { reservationItems } =
- await this.inventoryService_.listReservationItems({
- line_item_id: reservationItem.line_item_id,
- })
-
- const reservedQuantity = reservationItems.reduce((acc, next) => {
- return acc + next.quantity
- }, 0)
-
- order.rows = [
- {
- productId: bpProduct.productId,
- id: bpOrderRow.id,
- quantity: reservedQuantity,
- },
- ]
-
- const reservation = await client.warehouses
- .retrieveReservation(order.metadata.brightpearl_sales_order_id)
- .catch(() => undefined)
-
- if (!reservation) {
- const reservationFailed = await client.warehouses
- .createReservation(
- { ...order, id: order.metadata.brightpearl_sales_order_id },
- warehouse
- )
- .catch(() => true)
-
- // if we succeed in creating the reservation return early
- if (!reservationFailed) {
- return
- }
- }
-
- if (!reservation) {
- return this.attemptRetryEvent(
- "product_variant_inventory.reservation_created",
- eventData,
- "Could not create reservation for order with id: " +
- order.metadata.brightpearl_sales_order_id
- )
- }
-
- const existingRow = reservation[0].orderRows[bpOrderRow.id]
- if (!existingRow) {
- reservation[0].orderRows[bpOrderRow.id] = {
- productId: bpProduct.productId,
- quantity: reservedQuantity,
- }
- } else {
- reservation[0].orderRows[bpOrderRow.id].quantity = reservedQuantity
- }
-
- const updatePayload = {
- products: [
- ...Object.entries(reservation[0].orderRows).map(([key, value]) => ({
- productId: value.productId,
- quantity: value.quantity,
- salesOrderRowId: key,
- })),
- ],
- }
-
- return await client.warehouses.updateReservation(
- order.metadata.brightpearl_sales_order_id,
- updatePayload
- )
- }
-
- attemptRetryEvent(eventName, eventData, errorMessage) {
- const currentAttempts = eventData.retries || 0
-
- if (currentAttempts > 3) {
- throw new MedusaError(MedusaError.Types.INVALID_DATA, errorMessage)
- }
-
- const event = {
- ...eventData,
- retries: 1 + currentAttempts,
- }
-
- this.eventBusService_.emit(eventName, event)
- }
-
- async createSalesCredit(fromOrder, fromReturn) {
- const region = fromOrder.region
- const client = await this.getClient()
- const authData = await this.getAuthData()
-
- const orderIds = this.gatherOrders(fromOrder)
- const orderId = orderIds[0]
- const parentRows = await this.gatherRowsFromOrderIds(orderIds)
-
- if (orderId) {
- const parentSo = await client.orders.retrieve(orderId)
- const order = {
- currency: parentSo.currency,
- ref: parentSo.ref,
- externalRef: `${parentSo.externalRef}.${fromReturn.id}`,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- customer: parentSo.customer,
- delivery: parentSo.delivery,
- parentId: orderId,
- rows: fromReturn.items.map((i) => {
- const parentRow = parentRows.find((row) => {
- return row.externalRef === i.item_id
- })
- return {
- net: this.bpround_(
- (parentRow.net / parentRow.quantity) * i.quantity
- ),
- tax: this.bpround_(
- (parentRow.tax / parentRow.quantity) * i.quantity
- ),
- productId: parentRow.productId,
- taxCode: parentRow.taxCode,
- externalRef: parentRow.externalRef,
- nominalCode: parentRow.nominalCode,
- quantity: i.quantity,
- }
- }),
- }
-
- if (fromReturn.shipping_method) {
- const totals = await this.totalsService_.getShippingMethodTotals(
- fromReturn.shipping_method,
- fromOrder,
- {
- include_tax: true,
- use_tax_lines: true,
- }
- )
-
- order.rows.push({
- net: this.bpnum_(
- -1 * (totals.total - totals.tax_total),
- fromOrder.currency_code
- ),
- tax: this.bpnum_(-1 * totals.tax_total, fromOrder.currency_code),
- name: "Return shipping",
- taxCode: region.tax_code,
- nominalCode: this.options.shipping_account_code || "4040",
- quantity: 1,
- })
- }
-
- const total = order.rows.reduce((acc, next) => {
- return acc + next.net + next.tax
- }, 0)
-
- const difference =
- this.bpnum_(fromReturn.refund_amount, fromOrder.currency_code) - total
- if (difference) {
- order.rows.push({
- name: "Difference",
- quantity: 1,
- taxCode: region.tax_code,
- net: this.bpround_(difference),
- tax: 0,
- nominalCode: this.options.sales_account_code || "4000",
- })
- }
-
- return client.orders
- .createCredit(order)
- .then(async (creditId) => {
- const paymentMethod = fromOrder.payments[0]
- const paymentType = "PAYMENT"
- const payment = {
- transactionRef: `${paymentMethod.id}.${fromReturn.id}`,
- transactionCode: fromOrder.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: creditId,
- currencyIsoCode: fromOrder.currency_code.toUpperCase(),
- amountPaid: this.bpnum_(
- fromReturn.refund_amount,
- fromOrder.currency_code
- ),
- paymentDate: new Date(),
- paymentType,
- }
-
- const existing = fromOrder.metadata.brightpearl_credit_ids || []
- const newIds = [...existing, creditId]
-
- await client.payments.create(payment)
-
- return this.orderService_.update(fromOrder.id, {
- metadata: {
- brightpearl_credit_ids: newIds,
- },
- })
- })
- .catch((err) => console.log(err))
- }
- }
-
- async createSalesOrder(fromOrderId) {
- const fromOrder = await this.orderService_.retrieve(fromOrderId, {
- select: [
- "total",
- "subtotal",
- "shipping_total",
- "gift_card_total",
- "discount_total",
- ],
- relations: [
- "region",
- "shipping_address",
- "billing_address",
- "shipping_methods",
- "shipping_methods.shipping_option",
- "payments",
- "sales_channel",
- ],
- })
-
- const client = await this.getClient()
-
- let customer = await this.retrieveCustomerByEmail(fromOrder.email)
-
- // All sales orders must have a customer
- if (!customer) {
- customer = await this.createCustomer(fromOrder)
- }
-
- const authData = await this.getAuthData()
-
- const { shipping_address } = fromOrder
-
- const order = {
- currency: {
- code: fromOrder.currency_code.toUpperCase(),
- },
- ref: fromOrder.display_id,
- externalRef: fromOrder.id,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- statusId: this.options.default_status_id || `3`,
- customer: {
- id: customer.contactId,
- address: {
- addressFullName: `${shipping_address.first_name} ${shipping_address.last_name}`,
- addressLine1: shipping_address.address_1,
- addressLine2: shipping_address.address_2,
- postalCode: shipping_address.postal_code,
- countryIsoCode: shipping_address.country_code,
- telephone: shipping_address.phone,
- email: fromOrder.email,
- },
- },
- delivery: {
- shippingMethodId: 0,
- address: {
- addressFullName: `${shipping_address.first_name} ${shipping_address.last_name}`,
- addressLine1: shipping_address.address_1,
- addressLine2: shipping_address.address_2,
- postalCode: shipping_address.postal_code,
- countryIsoCode: shipping_address.country_code,
- telephone: shipping_address.phone,
- email: fromOrder.email,
- },
- },
- rows: await this.getBrightpearlRows(fromOrder),
- }
-
- return client.orders
- .create(order)
- .then(async (salesOrderId) => {
- if (!this.inventoryService_) {
- const order = await client.orders.retrieve(salesOrderId)
- await client.warehouses
- .createReservation(order, this.options.warehouse)
- .catch((err) => {
- console.log("Failed to allocate for order:", salesOrderId)
- })
- }
- return salesOrderId
- })
- .then((salesOrderId) => {
- return this.orderService_.update(fromOrder.id, {
- metadata: {
- brightpearl_sales_order_id: salesOrderId,
- },
- })
- })
- }
-
- async createSwapPayment(fromSwapId) {
- const fromSwap = await this.swapService_.retrieve(fromSwapId)
-
- const client = await this.getClient()
- const soId =
- fromSwap.metadata && fromSwap.metadata.brightpearl_sales_order_id
-
- if (!soId || fromSwap.difference_due <= 0) {
- return
- }
-
- const paymentType = "RECEIPT"
- const payment = {
- transactionRef: `${fromSwap.id}.${paymentType}`, // Brightpearl cannot accept an auth and capture with same ref
- transactionCode: fromSwap.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: soId,
- paymentDate: new Date(),
- currencyIsoCode: fromSwap.order.currency_code.toUpperCase(),
- amountPaid: fromSwap.difference_due,
- paymentType,
- }
-
- await client.payments.create(payment)
- }
-
- async createSwapOrder(fromOrder, fromSwap) {
- const client = await this.getClient()
- let customer = await this.retrieveCustomerByEmail(fromOrder.email)
-
- if (!customer) {
- customer = await this.createCustomer({
- ...fromOrder,
- ...fromSwap,
- })
- }
-
- const authData = await this.getAuthData()
-
- const sIndex = fromOrder.swaps.findIndex((s) => fromSwap.id === s.id)
-
- const { shipping_address } = fromSwap
- const order = {
- currency: {
- code: fromOrder.currency_code.toUpperCase(),
- },
- ref: `${fromOrder.display_id}-S${sIndex + 1}`,
- externalRef: `${fromOrder.id}.${fromSwap.id}`,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- statusId:
- this.options.swap_status_id || this.options.default_status_id || `3`,
- customer: {
- id: customer.contactId,
- address: {
- addressFullName: `${shipping_address.first_name} ${shipping_address.last_name}`,
- addressLine1: shipping_address.address_1,
- addressLine2: shipping_address.address_2,
- postalCode: shipping_address.postal_code,
- countryIsoCode: shipping_address.country_code,
- telephone: shipping_address.phone,
- email: fromOrder.email,
- },
- },
- delivery: {
- shippingMethodId: 0,
- address: {
- addressFullName: `${shipping_address.first_name} ${shipping_address.last_name}`,
- addressLine1: shipping_address.address_1,
- addressLine2: shipping_address.address_2,
- postalCode: shipping_address.postal_code,
- countryIsoCode: shipping_address.country_code,
- telephone: shipping_address.phone,
- email: fromOrder.email,
- },
- },
- rows: await this.getBrightpearlRows({
- currency_code: fromOrder.currency_code,
- region: fromOrder.region,
- discounts: fromOrder.discounts,
- tax_rate: fromOrder.tax_rate,
- items: fromSwap.additional_items,
- shipping_methods: fromSwap.shipping_methods,
- return_shipping: fromSwap.return_shipping,
- }),
- }
-
- return client.orders.create(order).then(async (salesOrderId) => {
- const order = await client.orders.retrieve(salesOrderId)
- await client.warehouses
- .createReservation(order, this.options.warehouse)
- .catch((err) => {
- console.log("Failed to allocate for order:", salesOrderId)
- })
-
- const total = order.rows.reduce((acc, next) => {
- return acc + parseFloat(next.net) + parseFloat(next.tax)
- }, 0)
-
- const paymentMethod = fromOrder.payments[0]
- const paymentType = "RECEIPT"
- const payment = {
- transactionRef: `${paymentMethod.id}.${paymentType}-${fromSwap.id}`,
- transactionCode: fromOrder.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: salesOrderId,
- currencyIsoCode: fromOrder.currency_code.toUpperCase(),
- amountPaid: total,
- paymentDate: new Date(),
- paymentType,
- }
-
- await client.payments.create(payment)
-
- return this.swapService_.update(fromSwap.id, {
- metadata: {
- brightpearl_sales_order_id: salesOrderId,
- },
- })
- })
- }
-
- async createClaimCredit(fromOrder, fromClaim) {
- const region = fromOrder.region
- const client = await this.getClient()
- const authData = await this.getAuthData()
- const orderId = fromOrder.metadata.brightpearl_sales_order_id
- const cIndex = fromOrder.claims.findIndex((c) => fromClaim.id === c.id)
-
- if (orderId) {
- const parentSo = await client.orders.retrieve(orderId)
- const order = {
- currency: parentSo.currency,
- ref: `${parentSo.ref}-C${cIndex + 1}`,
- externalRef: `${parentSo.externalRef}.${fromClaim.id}`,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- customer: parentSo.customer,
- delivery: parentSo.delivery,
- parentId: orderId,
- rows: [
- {
- name: `#${fromOrder.display_id}: Claim ${fromClaim.id}`,
- net: this.bpnum_(
- fromClaim.refund_amount,
- fromOrder.currency_code,
- 10000 / (100 + fromOrder.tax_rate)
- ),
- tax: this.bpnum_(
- fromClaim.refund_amount * (1 - 100 / (100 + fromOrder.tax_rate)),
- fromOrder.currency_code
- ),
- taxCode: region.tax_code,
- nominalCode: this.options.sales_account_code || `4000`,
- quantity: 1,
- },
- ],
- }
-
- return client.orders
- .createCredit(order)
- .then(async (creditId) => {
- const paymentMethod = fromOrder.payments[0]
- const paymentType = "PAYMENT"
- const payment = {
- transactionRef: `${paymentMethod.id}.${paymentType}-${fromClaim.id}`,
- transactionCode: fromClaim.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: creditId,
- currencyIsoCode: fromOrder.currency_code.toUpperCase(),
- amountPaid: this.bpnum_(
- fromClaim.refund_amount,
- fromOrder.currency_code
- ),
- paymentDate: new Date(),
- paymentType,
- }
-
- await client.payments.create(payment)
- })
- .catch((err) => console.log(err.response.data.errors))
- }
- }
-
- gatherOrders(fromOrder) {
- const ids = []
- if (fromOrder.metadata && fromOrder.metadata.brightpearl_sales_order_id) {
- ids.push(fromOrder.metadata.brightpearl_sales_order_id)
- }
-
- if (fromOrder.swaps) {
- for (const s of fromOrder.swaps) {
- if (s.metadata && s.metadata.brightpearl_sales_order_id) {
- ids.push(s.metadata.brightpearl_sales_order_id)
- }
- }
- }
-
- return ids
- }
-
- async gatherRowsFromOrderIds(ids) {
- const client = await this.getClient()
- const orders = await promiseAll(ids.map((i) => client.orders.retrieve(i)))
-
- let rows = []
- for (const o of orders) {
- rows = rows.concat(o.rows)
- }
-
- return rows
- }
-
- async createSwapCredit(fromOrder, fromSwap) {
- const region = fromOrder.region
- const client = await this.getClient()
- const authData = await this.getAuthData()
-
- const orderIds = this.gatherOrders(fromOrder)
- const orderId = orderIds[0]
- const parentRows = await this.gatherRowsFromOrderIds(orderIds)
- const sIndex = fromOrder.swaps.findIndex((s) => fromSwap.id === s.id)
-
- if (orderId) {
- const parentSo = await client.orders.retrieve(orderId)
- const order = {
- currency: parentSo.currency,
- ref: `${parentSo.ref}-S${sIndex + 1}`,
- externalRef: `${parentSo.externalRef}.${fromSwap.id}`,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- customer: parentSo.customer,
- delivery: parentSo.delivery,
- parentId: orderId,
- rows: fromSwap.return_order.items.map((i) => {
- const parentRow = parentRows.find((row) => {
- return row.externalRef === i.item_id
- })
- return {
- net: this.bpround_(
- (parentRow.net / parentRow.quantity) * i.quantity
- ),
- tax: this.bpround_(
- (parentRow.tax / parentRow.quantity) * i.quantity
- ),
- productId: parentRow.productId,
- taxCode: parentRow.taxCode,
- externalRef: parentRow.externalRef,
- nominalCode: parentRow.nominalCode,
- quantity: i.quantity,
- }
- }),
- }
-
- if (
- fromSwap.return_order.shipping_method &&
- fromSwap.return_order.shipping_method.price
- ) {
- const shippingTotals =
- await this.totalsService_.getShippingMethodTotals(
- fromSwap.return_order.shipping_method,
- fromOrder,
- {
- include_tax: true,
- use_tax_lines: true,
- }
- )
- order.rows.push({
- name: "Return Shipping",
- quantity: 1,
- taxCode: region.tax_code,
- net: this.bpnum_(1 * shippingTotals.price, fromOrder.currency_code),
- tax: this.bpnum_(
- 1 * shippingTotals.tax_total,
- fromOrder.currency_code
- ),
- nominalCode: this.options.shipping_account_code || "4040",
- })
- }
-
- const total = order.rows.reduce((acc, next) => {
- return acc + next.net + next.tax
- }, 0)
-
- return client.orders
- .createCredit(order)
- .then(async (creditId) => {
- const paymentMethod = fromOrder.payments[0]
- const paymentType = "PAYMENT"
- const payment = {
- transactionRef: `${paymentMethod.id}.${paymentType}-${fromSwap.id}`,
- transactionCode: fromSwap.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: creditId,
- currencyIsoCode: fromOrder.currency_code.toUpperCase(),
- amountPaid: total,
- paymentDate: new Date(),
- paymentType,
- }
-
- await client.payments.create(payment)
- })
- .catch((err) => console.log(err.response.data.errors))
- }
- }
-
- async createPayment(fromOrderId) {
- const fromOrder = await this.orderService_.retrieve(fromOrderId, {
- select: ["total"],
- relations: ["payments"],
- })
-
- const client = await this.getClient()
- const soId =
- fromOrder.metadata && fromOrder.metadata.brightpearl_sales_order_id
- if (!soId) {
- return
- }
-
- const paymentType = "RECEIPT"
- const payment = {
- transactionRef: `${fromOrder.id}.${paymentType}`, // Brightpearl cannot accept an auth and capture with same ref
- transactionCode: fromOrder.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: soId,
- paymentDate: new Date(),
- currencyIsoCode: fromOrder.currency_code.toUpperCase(),
- amountPaid: this.bpnum_(fromOrder.total, fromOrder.currency_code),
- paymentType,
- }
-
- return client.payments.create(payment)
- }
-
- async getBrightpearlRows(
- fromOrder,
- config = { include_price: true, is_claim: false }
- ) {
- const { region } = fromOrder
-
- const lines = await promiseAll(
- fromOrder.items.map(async (item) => {
- const bpProduct = await this.retrieveProductBySKU(item.variant.sku)
-
- const lineTotals = await this.totalsService_.getLineItemTotals(
- item,
- fromOrder,
- {
- include_tax: true,
- use_tax_lines: true,
- }
- )
-
- const row = {}
- if (bpProduct) {
- row.productId = bpProduct.productId
- } else {
- row.name = item.title
- }
-
- if (config.include_price) {
- row.net = this.bpnum_(
- lineTotals.subtotal - lineTotals.discount_total,
- fromOrder.currency_code
- )
- row.tax = this.bpnum_(lineTotals.tax_total, fromOrder.currency_code)
- } else if (config.is_claim) {
- row.net = await this.retrieveProductPrice(
- bpProduct.productId,
- this.options.cost_price_list || `1`
- )
-
- row.tax = this.bpnum_(
- row.net * 100,
- fromOrder.currency_code,
- lineTotals.tax_lines.reduce((acc, next) => acc + next.rate, 0)
- )
- }
-
- row.quantity = item.quantity
- row.taxCode = region.tax_code
- row.externalRef = item.id
- row.nominalCode = config.is_claim
- ? this.options.claims_account_code || "4000"
- : this.options.sales_account_code || "4000"
-
- if (item.is_giftcard) {
- row.nominalCode = this.options.gift_card_account_code || "4000"
- }
-
- return row
- })
- )
-
- // If a gift card was applied to the order we reduce the order amount
- // correspondingly. This reduces the amount payable, while debiting the
- // gift card account that was previously credited, when the gift card was
- // purchased.
- const gcTotal = fromOrder.gift_card_total
- if (gcTotal) {
- let tax = 0
- if (fromOrder.region.gift_cards_taxable) {
- tax = this.bpnum_(
- -1 * gcTotal,
- fromOrder.currency_code,
- fromOrder.region.tax_rate
- )
- }
-
- lines.push({
- name: `Gift Card`,
- net: this.bpnum_(-1 * gcTotal, fromOrder.currency_code),
- tax,
- quantity: 1,
- taxCode: region.tax_code,
- nominalCode: this.options.gift_card_account_code || "4000",
- })
- }
-
- const shippingMethods = fromOrder.shipping_methods
- if (shippingMethods.length > 0) {
- const shippingTotal = await shippingMethods.reduce(async (acc, next) => {
- const accum = await acc
- const totals = await this.totalsService_.getShippingMethodTotals(
- next,
- fromOrder,
- {
- include_tax: true,
- use_tax_lines: true,
- }
- )
- return {
- price: accum.price + totals.subtotal,
- tax: accum.tax + totals.tax_total,
- }
- }, Promise.resolve({ price: 0, tax: 0 }))
-
- lines.push({
- name: `Shipping: ${shippingMethods.map((m) => m.name).join(" + ")}`,
- quantity: 1,
- net: this.bpnum_(shippingTotal.price, fromOrder.currency_code),
- tax: this.bpnum_(shippingTotal.tax, fromOrder.currency_code),
- taxCode: region.tax_code,
- nominalCode: this.options.shipping_account_code || "4040",
- })
- }
-
- return lines
- }
-
- async createClaim(fromOrder, fromClaim) {
- const client = await this.getClient()
- let customer = await this.retrieveCustomerByEmail(fromOrder.email)
-
- if (!customer) {
- customer = await this.createCustomer({
- ...fromOrder,
- ...fromClaim,
- })
- }
-
- const authData = await this.getAuthData()
-
- const cIndex = fromOrder.claims.findIndex((s) => fromClaim.id === s.id)
-
- const { shipping_address } = fromClaim
- const order = {
- currency: {
- code: this.options.base_currency || `EUR`,
- },
- priceListId: this.options.cost_price_list || `1`,
- ref: `${fromOrder.display_id}-C${cIndex + 1}`,
- externalRef: `${fromOrder.id}.${fromClaim.id}`,
- channelId:
- fromOrder.sales_channel?.metadata?.bp_id ||
- this.options.channel_id ||
- `1`,
- installedIntegrationInstanceId: authData.installation_instance_id,
- statusId:
- this.options.claim_status_id || this.options.default_status_id || `3`,
- customer: {
- id: customer.contactId,
- address: {
- addressFullName: `${shipping_address.first_name} ${shipping_address.last_name}`,
- addressLine1: shipping_address.address_1,
- addressLine2: shipping_address.address_2,
- postalCode: shipping_address.postal_code,
- countryIsoCode: shipping_address.country_code,
- telephone: shipping_address.phone,
- email: fromOrder.email,
- },
- },
- delivery: {
- shippingMethodId: 0,
- address: {
- addressFullName: `${shipping_address.first_name} ${shipping_address.last_name}`,
- addressLine1: shipping_address.address_1,
- addressLine2: shipping_address.address_2,
- postalCode: shipping_address.postal_code,
- countryIsoCode: shipping_address.country_code,
- telephone: shipping_address.phone,
- email: fromOrder.email,
- },
- },
- rows: await this.getBrightpearlRows(
- {
- currency_code: fromOrder.currency_code,
- region: fromOrder.region,
- discounts: fromOrder.discounts,
- tax_rate: fromOrder.tax_rate,
- items: fromClaim.additional_items,
- shipping_methods: [],
- },
- { include_price: false, is_claim: true }
- ),
- }
-
- return client.orders
- .create(order)
- .then(async (salesOrderId) => {
- const order = await client.orders.retrieve(salesOrderId)
- await client.warehouses
- .createReservation(order, this.options.warehouse)
- .catch((err) => {
- console.log("Failed to allocate for order:", salesOrderId)
- })
-
- const total = order.rows.reduce((acc, next) => {
- return acc + parseFloat(next.net) + parseFloat(next.tax)
- }, 0)
-
- const paymentMethod = fromOrder.payments[0]
- const paymentType = "RECEIPT"
- const payment = {
- transactionRef: `${paymentMethod.id}.${paymentType}-${fromClaim.id}`,
- transactionCode: fromOrder.id,
- paymentMethodCode: this.options.payment_method_code || "1220",
- orderId: salesOrderId,
- currencyIsoCode: this.options.base_currency || "EUR",
- amountPaid: total,
- paymentDate: new Date(),
- paymentType,
- }
-
- await client.payments.create(payment)
-
- return this.claimService_.update(fromClaim.id, {
- metadata: {
- brightpearl_sales_order_id: salesOrderId,
- },
- })
- })
- .catch((err) => {
- // console.log(err.response.data)
- throw err
- })
- }
-
- async retrieveCustomerByEmail(email) {
- const client = await this.getClient()
- return client.customers.retrieveByEmail(email).then((customers) => {
- if (!customers.length) {
- return null
- }
- return customers.find((c) => c.primaryEmail === email)
- })
- }
-
- async retrieveProduct(byId) {
- const client = await this.getClient()
- return client.products.retrieve(byId)
- }
-
- async retrieveProductBySKU(sku) {
- const client = await this.getClient()
- return client.products.retrieveBySKU(sku).then((products) => {
- if (!products.length) {
- return null
- }
- return products[0]
- })
- }
-
- async retrieveProductPrice(id, priceList) {
- const client = await this.getClient()
- return client.products.retrievePrice(id).then((data) => {
- if (!data.priceLists.length) {
- return null
- } else {
- const found = data.priceLists.find(
- (p) => `${p.priceListId}` === `${priceList}`
- )
- return found.quantityPrice["1"]
- }
- })
- }
-
- async createFulfillmentFromGoodsOut(id) {
- await this.manager_.transaction(async (transactionManager) => {
- const client = await this.getClient()
-
- // Get goods out and associated order
- const goodsOut = await client.warehouses.retrieveGoodsOutNote(id)
- const order = await client.orders.retrieve(goodsOut.orderId)
-
- // Only relevant for medusa orders check channel id
- const { fulfillments: existingFulfillments, sales_channel } =
- await this.orderService_
- .withTransaction(transactionManager)
- .retrieve(order.externalRef.split(".")[0], {
- relations: ["fulfillments", "sales_channel"],
- })
-
- if (
- (sales_channel.metadata?.bp_id &&
- sales_channel.metadata.bp_id !== order.channelId) ||
- (this.options.channel_id &&
- order.channelId !== parseInt(this.options.channel_id))
- ) {
- return
- }
-
- // Combine the line items that we are going to create a fulfillment for
- const lines = Object.keys(goodsOut.orderRows)
- .map((key) => {
- const row = order.rows.find((r) => r.id == key)
- if (row) {
- return {
- item_id: row.externalRef,
-
- // Brightpearl sometimes gives multiple order row entries
- quantity: goodsOut.orderRows[key].reduce(
- (sum, next) => sum + next.quantity,
- 0
- ),
- }
- }
-
- return null
- })
- .filter((i) => !!i)
-
- // Orders with a concatenated externalReference are swap orders
- const [_, partId] = order.externalRef.split(".")
-
- if (partId) {
- if (partId.startsWith("claim")) {
- return await this.claimService_
- .withTransaction(transactionManager)
- .createFulfillment(partId, {
- metadata: { goods_out_note: id },
- })
- } else {
- return await this.swapService_
- .withTransaction(transactionManager)
- .createFulfillment(partId, {
- metadata: { goods_out_note: id },
- })
- }
- }
-
- if (!(this.inventoryService_ && this.stockLocationService_)) {
- return await this.orderService_
- .withTransaction(transactionManager)
- .createFulfillment(order.externalRef, lines, {
- metadata: { goods_out_note: id },
- })
- }
-
- const bpLocation = goodsOut.warehouseId
-
- const fulfillmentLocation =
- await this.getMedusaLocationFromBrightPearlWarehouse(
- bpLocation,
- sales_channel.id,
- { transactionManager: transactionManager }
- )
-
- const medusaOrder = await this.orderService_
- .withTransaction(transactionManager)
- .createFulfillment(order.externalRef, lines, {
- metadata: { goods_out_note: id },
- location_id: fulfillmentLocation.id,
- })
-
- const existingFulfillmentMap = new Map(
- existingFulfillments.map((fulfillment) => [fulfillment.id, fulfillment])
- )
-
- const { fulfillments } = await this.orderService_
- .withTransaction(transactionManager)
- .retrieve(order.externalRef, {
- relations: [
- "fulfillments",
- "fulfillments.items",
- "fulfillments.items.item",
- ],
- })
-
- await updateInventoryAndReservations(
- fulfillments.filter((f) => !existingFulfillmentMap.get(f.id)),
- {
- inventoryService:
- this.productVariantInventoryService_.withTransaction(
- transactionManager
- ),
- locationId: fulfillmentLocation.id,
- }
- )
-
- return medusaOrder
- }, "SERIALIZABLE")
- }
-
- async getMedusaLocationFromBrightPearlWarehouse(
- bpLocationId,
- sales_channel_id,
- context
- ) {
- const locationIds = await this.salesChannelLocationService_
- .withTransaction(context.transactionManager)
- .listLocationIds(sales_channel_id)
-
- const locations = await this.stockLocationService_.list(
- { id: locationIds },
- {},
- { transactionManager: context.transactionManager }
- )
-
- const fulfillmentLocation = locations.find(
- (location) => location.metadata?.bp_id === bpLocationId
- )
-
- return fulfillmentLocation
- }
-
- async createCustomer(fromOrder) {
- const client = await this.getClient()
- const address = await client.addresses.create({
- addressLine1: fromOrder.shipping_address.address_1,
- addressLine2: fromOrder.shipping_address.address_2,
- addressLine3: fromOrder.shipping_address.city,
- addressLine4: fromOrder.shipping_address.province,
- postalCode: fromOrder.shipping_address.postal_code,
- countryIsoCode: fromOrder.shipping_address.country_code,
- })
-
- const customer = await client.customers.create({
- firstName: fromOrder.shipping_address.first_name,
- lastName: fromOrder.shipping_address.last_name,
- telephones: {
- PRI: fromOrder.shipping_address.phone,
- },
- emails: {
- PRI: fromOrder.email,
- SEC: fromOrder.email,
- TER: fromOrder.email,
- },
- postAddressIds: {
- DEF: address,
- BIL: address,
- DEL: address,
- },
- })
-
- return { contactId: customer }
- }
-
- bpround_(n) {
- const decimalPlaces = 4
- return Number(
- Math.round(parseFloat(n + "e" + decimalPlaces)) + "e-" + decimalPlaces
- )
- }
-
- bpnum_(number, currency, taxRate = 100) {
- const bpNumber = humanizeAmount(number, currency)
- return this.bpround_(bpNumber * (taxRate / 100))
- }
-}
-
-export default BrightpearlService
diff --git a/packages/medusa-plugin-brightpearl/src/services/oauth.js b/packages/medusa-plugin-brightpearl/src/services/oauth.js
deleted file mode 100644
index 5094a32e7d..0000000000
--- a/packages/medusa-plugin-brightpearl/src/services/oauth.js
+++ /dev/null
@@ -1,51 +0,0 @@
-import randomize from "randomatic"
-import { OauthService } from "medusa-interfaces"
-import Brightpearl from "../utils/brightpearl"
-
-const CLIENT_SECRET = process.env.BP_CLIENT_SECRET || ""
-
-class BrightpearlOauth extends OauthService {
- constructor({}, options) {
- super()
-
- this.account_ = options.account
- }
-
- static getAppDetails(options) {
- const client_id = "medusa-dev"
- const client_secret = CLIENT_SECRET
- const state = randomize("A0", 16)
- const redirect = "https://tekla.medusa-commerce.com/a/oauth/brightpearl"
- return {
- application_name: "brightpearl",
- display_name: "Brightpearl",
- install_url: `https://oauth.brightpearl.com/authorize/${options.account}?response_type=code&client_id=${client_id}&redirect_uri=${redirect}&state=${state}`,
- state,
- }
- }
-
- async refreshToken(refreshToken) {
- const params = {
- refresh_token: refreshToken,
- client_id: "medusa-dev",
- client_secret: CLIENT_SECRET,
- }
-
- const data = await Brightpearl.refreshToken(this.account_, params)
- return data
- }
-
- async generateToken(code) {
- const params = {
- client_id: "medusa-dev",
- client_secret: CLIENT_SECRET,
- redirect: "https://tekla.medusa-commerce.com/a/oauth/brightpearl",
- code,
- }
-
- const data = await Brightpearl.createToken(this.account_, params)
- return data
- }
-}
-
-export default BrightpearlOauth
diff --git a/packages/medusa-plugin-brightpearl/src/subscribers/order.js b/packages/medusa-plugin-brightpearl/src/subscribers/order.js
deleted file mode 100644
index 2e0ca7f4d1..0000000000
--- a/packages/medusa-plugin-brightpearl/src/subscribers/order.js
+++ /dev/null
@@ -1,232 +0,0 @@
-class OrderSubscriber {
- constructor({
- eventBusService,
- orderService,
- swapService,
- returnService,
- paymentProviderService,
- brightpearlService,
- claimService,
- fulfillmentService,
- featureFlagRouter,
- }) {
- this.orderService_ = orderService
- this.brightpearlService_ = brightpearlService
- this.swapService_ = swapService
- this.returnService_ = returnService
- this.paymentProviderService_ = paymentProviderService
- this.fulfillmentService_ = fulfillmentService
- this.claimService_ = claimService
- this.featureFlagRouter = featureFlagRouter
-
- eventBusService.subscribe("order.placed", this.sendToBrightpearl)
-
- eventBusService.subscribe(
- "brightpearl.goods_out_note",
- this.createFulfillmentFromGoodsOut
- )
-
- eventBusService.subscribe("claim.created", this.registerClaim)
-
- eventBusService.subscribe("order.refund_created", this.registerRefund)
-
- eventBusService.subscribe("order.items_returned", this.registerReturn)
-
- eventBusService.subscribe(
- "order.payment_captured",
- this.registerCapturedPayment
- )
-
- eventBusService.subscribe("order.shipment_created", this.registerShipment)
- eventBusService.subscribe("swap.shipment_created", this.registerShipment)
- eventBusService.subscribe("claim.shipment_created", this.registerShipment)
-
- // Before we initiate a swap we wait for the payment and the return
- eventBusService.subscribe(
- "swap.payment_completed",
- this.registerSwapPayment
- )
- eventBusService.subscribe("swap.received", this.registerSwap)
-
- eventBusService.subscribe(
- "reservation-item.created",
- this.registerMedusaReservation
- )
-
- eventBusService.subscribe(
- "reservation-items.bulk-created",
- this.registerMedusaBulkReservation
- )
- }
-
- registerMedusaReservation = (data) => {
- return this.brightpearlService_.createReservation(data)
- }
-
- registerMedusaBulkReservation = (data) => {
- return this.brightpearlService_.bulkCreateReservation(data)
- }
-
- sendToBrightpearl = (data) => {
- return this.brightpearlService_.createSalesOrder(data.id)
- }
-
- registerCapturedPayment = ({ id }) => {
- return this.brightpearlService_.createPayment(id)
- }
-
- createFulfillmentFromGoodsOut = ({ id }) => {
- return this.brightpearlService_.createFulfillmentFromGoodsOut(id)
- }
-
- registerSwapPayment = async (data) => {
- return this.registerSwap({ id: data.id, swap_id: data.id })
- }
-
- registerSwap = async (data) => {
- const { id } = data
-
- if (!id) {
- return
- }
-
- const fromSwap = await this.swapService_.retrieve(id, {
- relations: [
- "return_order",
- "return_order.items",
- "return_order.shipping_method",
- "return_order.shipping_method.tax_lines",
- "additional_items",
- "additional_items.variant",
- "additional_items.variant.product",
- "additional_items.tax_lines",
- "shipping_address",
- "shipping_methods",
- "shipping_methods.shipping_option",
- "shipping_methods.tax_lines",
- ],
- })
-
- const relations = [
- "payments",
- "region",
- "swaps",
- "discounts",
- "discounts.rule",
- ]
- if (this.featureFlagRouter.isFeatureEnabled("sales_channels")) {
- relations.push("sales_channel")
- }
-
- const fromOrder = await this.orderService_.retrieve(fromSwap.order_id, {
- relations,
- })
-
- if (
- !(
- fromSwap.confirmed_at !== null &&
- fromSwap.return_order.status === "received"
- )
- ) {
- return
- }
-
- await this.brightpearlService_.createSwapCredit(fromOrder, fromSwap)
- await this.brightpearlService_.createSwapOrder(fromOrder, fromSwap)
- }
-
- registerClaim = async (data) => {
- const { id } = data
- const fromClaim = await this.claimService_.retrieve(id, {
- relations: [
- "claim_items",
- "return_order",
- "return_order.items",
- "return_order.shipping_method",
- "return_order.shipping_method.tax_lines",
- "additional_items",
- "additional_items.variant",
- "additional_items.variant.product",
- "additional_items.tax_lines",
- "shipping_address",
- "shipping_methods.shipping_option",
- "shipping_methods",
- ],
- })
-
- const relations = [
- "payments",
- "region",
- "claims",
- "discounts",
- "discounts.rule",
- ]
- if (this.featureFlagRouter.isFeatureEnabled("sales_channels")) {
- relations.push("sales_channel")
- }
-
- const fromOrder = await this.orderService_.retrieve(fromClaim.order_id, {
- relations,
- })
-
- if (fromClaim.type === "replace") {
- await this.brightpearlService_.createClaim(fromOrder, fromClaim)
- } else if (fromClaim.type === "refund") {
- await this.brightpearlService_.createClaimCredit(fromOrder, fromClaim)
- }
- }
-
- registerShipment = async (data) => {
- const { fulfillment_id } = data
- const shipment = await this.fulfillmentService_.retrieve(fulfillment_id)
- const noteId = shipment.metadata.goods_out_note
- if (noteId) {
- await this.brightpearlService_.registerGoodsOutTrackingNumber(
- noteId,
- shipment
- )
- await this.brightpearlService_.registerGoodsOutShipped(noteId, shipment)
- }
- }
-
- registerReturn = async (data) => {
- const { id, return_id } = data
-
- const relations = ["discounts", "discounts.rule", "region", "swaps", "payments"]
- if (this.featureFlagRouter.isFeatureEnabled("sales_channels")) {
- relations.push("sales_channel")
- }
-
- const order = await this.orderService_.retrieve(id, {
- relations,
- })
-
- const fromReturn = await this.returnService_.retrieve(return_id, {
- relations: ["items", "shipping_method", "shipping_method.tax_lines"],
- })
-
- return this.brightpearlService_
- .createSalesCredit(order, fromReturn)
- .catch((err) => console.log(err))
- }
-
- registerRefund = async (data) => {
- const { id, refund_id } = data
-
- const relations = ["region", "payments"]
-
- if (this.featureFlagRouter.isFeatureEnabled("sales_channels")) {
- relations.push("sales_channel")
- }
-
- const order = await this.orderService_.retrieve(id, {
- relations,
- })
- const refund = await this.paymentProviderService_.retrieveRefund(refund_id)
- return this.brightpearlService_
- .createRefundCredit(order, refund)
- .catch((err) => console.log(err))
- }
-}
-
-export default OrderSubscriber
diff --git a/packages/medusa-plugin-brightpearl/src/utils/__mocks__/brightpearl.js b/packages/medusa-plugin-brightpearl/src/utils/__mocks__/brightpearl.js
deleted file mode 100644
index 896d366829..0000000000
--- a/packages/medusa-plugin-brightpearl/src/utils/__mocks__/brightpearl.js
+++ /dev/null
@@ -1,95 +0,0 @@
-import axios from "axios"
-export const mockCreateOrder = jest
- .fn()
- .mockReturnValue(Promise.resolve("1234"))
-
-export const mockCreateCredit = jest
- .fn()
- .mockReturnValue(Promise.resolve("1234"))
-
-const mock = jest.fn().mockImplementation(function (options) {
- this.tokenStore_ = options.token_store
- this.token_ = options.access_token
- this.client = axios.create({
- baseURL: `https://mock.com`,
- headers: {
- "brightpearl-app-ref": "medusa-dev",
- "brightpearl-dev-ref": "sebrindom",
- },
- })
-
- this.updateAuth = (data) => {
- this.token_ = data.access_token
- }
-
- this.client.interceptors.request.use(async (request) => {
- const token = await this.tokenStore_.getToken()
-
- if (token) {
- request.headers["Authorization"] = `Bearer ${token}`
- }
-
- return request
- })
-
- this.client.interceptors.response.use(undefined, async (error) => {
- const response = error.response
-
- if (response) {
- if (
- response.status === 401 &&
- error.config &&
- !error.config.__isRetryRequest
- ) {
- try {
- await this.tokenStore_.refreshToken()
- } catch (authError) {
- // refreshing has failed, but report the original error, i.e. 401
- return Promise.reject(error)
- }
-
- // retry the original request
- error.config.__isRetryRequest = true
- return this.client(error.config)
- }
- }
-
- return Promise.reject(error)
- })
-
- this.test = {
- success: () => this.client.get("/success"),
- fail: () => this.client.get("/fail"),
- }
- this.warehouses = {
- createReservation: jest.fn().mockReturnValue(Promise.resolve()),
- }
- this.payments = {
- create: jest.fn().mockReturnValue(Promise.resolve()),
- }
- this.orders = {
- create: mockCreateOrder,
- createCredit: mockCreateCredit,
- retrieve: jest.fn().mockReturnValue(Promise.resolve()),
- }
- this.products = {
- retrieveBySKU: jest.fn().mockReturnValue(
- Promise.resolve({
- productId: 1234,
- })
- ),
- }
- this.customers = {
- retrieveByEmail: jest.fn().mockReturnValue(
- Promise.resolve([
- {
- primaryEmail: "test@example.com",
- contactId: "12345",
- },
- ])
- ),
- }
- return this
-})
-
-export default mock
diff --git a/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js b/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js
deleted file mode 100644
index ad4b0b11ba..0000000000
--- a/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js
+++ /dev/null
@@ -1,354 +0,0 @@
-import axios from "axios"
-import rateLimit from "axios-rate-limit"
-import qs from "querystring"
-
-// Brightpearl allows 200 requests per minute
-const RATE_LIMIT_REQUESTS = 200
-const RATE_LIMIT_INTERVAL = 60 * 1000
-
-class BrightpearlClient {
- static createToken(account, data) {
- const params = {
- grant_type: "authorization_code",
- code: data.code,
- client_id: data.client_id,
- client_secret: data.client_secret,
- redirect_uri: data.redirect,
- }
-
- return axios({
- url: `https://ws-eu1.brightpearl.com/${account}/oauth/token`,
- method: "POST",
- headers: {
- "content-type": "application/x-www-form-urlencoded",
- },
- data: qs.stringify(params),
- }).then(({ data }) => data)
- }
-
- static refreshToken(account, data) {
- const params = {
- grant_type: "refresh_token",
- refresh_token: data.refresh_token,
- client_id: data.client_id,
- client_secret: data.client_secret,
- }
-
- return axios({
- url: `https://ws-eu1.brightpearl.com/${account}/oauth/token`,
- method: "POST",
- headers: {
- "content-type": "application/x-www-form-urlencoded",
- },
- data: qs.stringify(params),
- })
- .then(({ data }) => data)
- .catch((err) => {
- throw err
- })
- }
-
- constructor(options) {
- this.client_ = rateLimit(
- axios.create({
- baseURL: `https://${options.url}/public-api/${options.account}`,
- headers: {
- "brightpearl-app-ref": "medusa-dev",
- "brightpearl-dev-ref": "sebrindom",
- },
- }),
- { maxRequests: RATE_LIMIT_REQUESTS, perMilliseconds: RATE_LIMIT_INTERVAL }
- )
-
- this.tokenStore_ = options.token_store
- this.authType_ = options.auth_type
- this.webhooks = this.buildWebhookEndpoints()
- this.payments = this.buildPaymentEndpoints()
- this.warehouses = this.buildWarehouseEndpoints()
- this.orders = this.buildOrderEndpoints()
- this.addresses = this.buildAddressEndpoints()
- this.customers = this.buildCustomerEndpoints()
- this.products = this.buildProductEndpoints()
-
- this.buildRefreshTokenInterceptor_()
- }
-
- buildRefreshTokenInterceptor_() {
- this.client_.interceptors.request.use(async (request) => {
- const token = await this.tokenStore_.getToken()
-
- if (token) {
- request.headers["Authorization"] = `Bearer ${token}`
- }
-
- return request
- })
-
- this.client_.interceptors.response.use(undefined, async (error) => {
- const response = error.response
-
- if (response) {
- if (
- response.status === 401 &&
- error.config &&
- !error.config.__isRetryRequest
- ) {
- try {
- await this.tokenStore_.refreshToken()
- } catch (authError) {
- // refreshing has failed, but report the original error, i.e. 401
- return Promise.reject(error)
- }
-
- // retry the original request
- error.config.__isRetryRequest = true
- return this.client_(error.config)
- }
- }
-
- return Promise.reject(error)
- })
- }
-
- buildSearchResults_(response) {
- const { results, metaData } = response
- // Map the column names to the columns
- return results.map((resColumns) => {
- const object = {}
- for (let i = 0; i < resColumns.length; i++) {
- const fieldName = metaData.columns[i].name
- object[fieldName] = resColumns[i]
- }
- return object
- })
- }
-
- buildWebhookEndpoints = () => {
- return {
- list: () => {
- return this.client_
- .request({
- url: `/integration-service/webhook`,
- method: "GET",
- })
- .then(({ data }) => data.response)
- },
- create: (data) => {
- return this.client_.request({
- url: `/integration-service/webhook`,
- method: "POST",
- data,
- })
- },
- delete: (id) => {
- return this.client_.request({
- url: `/integration-service/webhook/${id}`,
- method: "DELETE",
- })
- },
- }
- }
-
- buildPaymentEndpoints = () => {
- return {
- create: (payment) => {
- return this.client_
- .request({
- url: `/accounting-service/customer-payment`,
- method: "POST",
- data: payment,
- })
- .then(({ data }) => data.response)
- },
- }
- }
-
- buildWarehouseEndpoints = () => {
- return {
- retrieveReservation: (orderId) => {
- return this.client_
- .request({
- url: `/warehouse-service/order/${orderId}/reservation`,
- method: "GET",
- })
- .then(({ data }) => data.response)
- },
- retrieveGoodsOutNote: (id) => {
- return this.client_
- .request({
- url: `/warehouse-service/order/*/goods-note/goods-out/${id}`,
- method: "GET",
- })
- .then(({ data }) => data.response && data.response[id])
- },
- createGoodsOutNote: (orderId, data) => {
- return this.client_
- .request({
- url: `/warehouse-service/order/${orderId}/goods-note/goods-out`,
- method: "POST",
- data,
- })
- .then(({ data }) => data.response)
- },
- updateGoodsOutNote: (noteId, update) => {
- return this.client_.request({
- url: `/warehouse-service/goods-note/goods-out/${noteId}`,
- method: "PUT",
- data: update,
- })
- },
- registerGoodsOutEvent: (noteId, data) => {
- return this.client_.request({
- url: `/warehouse-service/goods-note/goods-out/${noteId}/event`,
- method: "POST",
- data,
- })
- },
- updateReservation: (orderId, data) => {
- return this.client_
- .request({
- url: `/warehouse-service/order/${orderId}/reservation`,
- method: "PUT",
- data,
- })
- .then(({ data }) => data.response)
- },
- createReservation: (order, warehouse) => {
- const id = order.id
- const data = order.rows.map((r) => ({
- productId: r.productId,
- salesOrderRowId: r.id,
- quantity: r.quantity,
- }))
- return this.client_
- .request({
- url: `/warehouse-service/order/${id}/reservation/warehouse/${warehouse}`,
- method: "POST",
- data: {
- products: data,
- },
- })
- .then(({ data }) => data.response)
- },
- }
- }
-
- buildOrderEndpoints = () => {
- return {
- retrieve: (orderId) => {
- return this.client_
- .request({
- url: `/order-service/sales-order/${orderId}`,
- method: "GET",
- })
- .then(({ data }) => data.response.length && data.response[0])
- .catch((err) => console.log(err))
- },
- create: (order) => {
- return this.client_
- .request({
- url: `/order-service/sales-order`,
- method: "POST",
- data: order,
- })
- .then(({ data }) => data.response)
- },
- createCredit: (salesCredit) => {
- return this.client_
- .request({
- url: `/order-service/sales-credit`,
- method: "POST",
- data: salesCredit,
- })
- .then(({ data }) => data.response)
- },
- }
- }
-
- buildAddressEndpoints = () => {
- return {
- create: (address) => {
- return this.client_
- .request({
- url: `/contact-service/postal-address`,
- method: "POST",
- data: address,
- })
- .then(({ data }) => data.response)
- },
- }
- }
-
- buildProductEndpoints = () => {
- return {
- retrieveAvailability: (productId) => {
- return this.client_
- .request({
- url: `/warehouse-service/product-availability/${productId}`,
- })
- .then(({ data }) => data.response && data.response)
- },
- retrieve: (productId) => {
- return this.client_
- .request({
- url: `/product-service/product/${productId}`,
- })
- .then(({ data }) => data.response && data.response[0])
- },
- search: (search) => {
- return this.client_
- .request({
- url: `/product-service/product-search?${search}`,
- })
- .then(({ data }) => {
- return {
- products: this.buildSearchResults_(data.response),
- metadata: data.response.metaData,
- }
- })
- },
- retrieveBySKU: (sku) => {
- return this.client_
- .request({
- url: `/product-service/product-search?SKU=${sku}`,
- })
- .then(({ data }) => {
- return this.buildSearchResults_(data.response)
- })
- },
- retrievePrice: (productId) => {
- return this.client_
- .request({
- url: `/product-service/product-price/${productId}`,
- })
- .then(({ data }) => data.response.length && data.response[0])
- },
- }
- }
-
- buildCustomerEndpoints = () => {
- return {
- retrieveByEmail: (email) => {
- return this.client_
- .request({
- url: `/contact-service/contact-search?primaryEmail=${email}`,
- })
- .then(({ data }) => {
- return this.buildSearchResults_(data.response)
- })
- },
-
- create: (customerData) => {
- return this.client_
- .request({
- url: `/contact-service/contact`,
- method: "POST",
- data: customerData,
- })
- .then(({ data }) => data.response)
- },
- }
- }
-}
-
-export default BrightpearlClient
diff --git a/packages/medusa-plugin-economic/.babelrc b/packages/medusa-plugin-economic/.babelrc
deleted file mode 100644
index 4d2dfe8f09..0000000000
--- a/packages/medusa-plugin-economic/.babelrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "plugins": [
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-transform-instanceof",
- "@babel/plugin-transform-classes"
- ],
- "presets": ["@babel/preset-env"],
- "env": {
- "test": {
- "plugins": ["@babel/plugin-transform-runtime"]
- }
- }
-}
diff --git a/packages/medusa-plugin-economic/.gitignore b/packages/medusa-plugin-economic/.gitignore
deleted file mode 100644
index 2f70e61088..0000000000
--- a/packages/medusa-plugin-economic/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-/lib
-node_modules
-.DS_store
-.env*
-/*.js
-!index.js
-!jest.config.js
-
-/dist
-
-/api
-/services
-/models
-/subscribers
-
diff --git a/packages/medusa-plugin-economic/.npmignore b/packages/medusa-plugin-economic/.npmignore
deleted file mode 100644
index c6c178688f..0000000000
--- a/packages/medusa-plugin-economic/.npmignore
+++ /dev/null
@@ -1,9 +0,0 @@
-.DS_store
-src
-dist
-yarn.lock
-.babelrc
-jest.config.js
-
-.turbo
-.yarn
\ No newline at end of file
diff --git a/packages/medusa-plugin-economic/CHANGELOG.md b/packages/medusa-plugin-economic/CHANGELOG.md
deleted file mode 100644
index 168aa041a8..0000000000
--- a/packages/medusa-plugin-economic/CHANGELOG.md
+++ /dev/null
@@ -1,281 +0,0 @@
-# Change Log
-
-## 1.1.45
-
-### Patch Changes
-
-- [#4276](https://github.com/medusajs/medusa/pull/4276) [`afd1b67f1`](https://github.com/medusajs/medusa/commit/afd1b67f1c7de8cf07fd9fcbdde599a37914e9b5) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Use caret range
-
-## 1.1.44
-
-### Patch Changes
-
-- [#3763](https://github.com/medusajs/medusa/pull/3763) [`4104d9ccb`](https://github.com/medusajs/medusa/commit/4104d9ccb25276c85b5363f85e14b3093e64df85) Thanks [@StephixOne](https://github.com/StephixOne)! - fix(plugin-discount-generator,plugin-economic,plugin-mailchimp,plugin-restock-notification,plugin-sendgrid,plugin-wishlist): Temporarily remove payload validation in some plugins
-
-## 1.1.43
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0
- - medusa-interfaces@1.3.7
- - medusa-test-utils@1.1.40
-
-## 1.1.43-rc.0
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0-rc.0
- - medusa-interfaces@1.3.7-rc.0
- - medusa-test-utils@1.1.40-rc.0
-
-## 1.1.42
-
-### Patch Changes
-
-- [#3217](https://github.com/medusajs/medusa/pull/3217) [`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0) Thanks [@adrien2p](https://github.com/adrien2p)! - chore: Fix npm packages files included
-
-- Updated dependencies [[`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0)]:
- - medusa-core-utils@1.1.39
- - medusa-interfaces@1.3.6
-
-## 1.1.41
-
-### Patch Changes
-
-- [#3185](https://github.com/medusajs/medusa/pull/3185) [`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Patches all dependencies + minor bumps `winston` to include a [fix for a significant memory leak](https://github.com/winstonjs/winston/pull/2057)
-
-- Updated dependencies [[`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4)]:
- - medusa-core-utils@1.1.38
- - medusa-interfaces@1.3.5
-
-## 1.1.40
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-- Updated dependencies [[`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2)]:
- - medusa-interfaces@1.3.4
-
-## 1.1.39
-
-### Patch Changes
-
-- [#2808](https://github.com/medusajs/medusa/pull/2808) [`0a9c89185`](https://github.com/medusajs/medusa/commit/0a9c891853c4d16b553d38268a3408ca1daa71f0) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - chore: explicitly add devDependencies for monorepo peerDependencies
-
-- Updated dependencies [[`7cced6006`](https://github.com/medusajs/medusa/commit/7cced6006a9a6f9108009e9f3e191e9f3ba1b168)]:
- - medusa-core-utils@1.1.37
-
-## 1.1.38
-
-### Patch Changes
-
-- [#2069](https://github.com/medusajs/medusa/pull/2069) [`ad717b953`](https://github.com/medusajs/medusa/commit/ad717b9533a0500e20c4e312d1ee48b35ea9d5e1) Thanks [@olivermrbl](https://github.com/olivermrbl)! - Remove deprecated dependency `@hapi/joi`
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-## [1.1.37](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.36...medusa-plugin-economic@1.1.37) (2022-01-11)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.36](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.35...medusa-plugin-economic@1.1.36) (2021-12-29)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.35](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.34...medusa-plugin-economic@1.1.35) (2021-12-17)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.34](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.33...medusa-plugin-economic@1.1.34) (2021-12-08)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.33](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.32...medusa-plugin-economic@1.1.33) (2021-11-23)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.32](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.31...medusa-plugin-economic@1.1.32) (2021-11-22)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.31](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.30...medusa-plugin-economic@1.1.31) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.30](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.29...medusa-plugin-economic@1.1.30) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.29](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.28...medusa-plugin-economic@1.1.29) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.28](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.27...medusa-plugin-economic@1.1.28) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.27](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.25...medusa-plugin-economic@1.1.27) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.26](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.25...medusa-plugin-economic@1.1.26) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.25](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.24...medusa-plugin-economic@1.1.25) (2021-09-15)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.24](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.23...medusa-plugin-economic@1.1.24) (2021-09-14)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.23](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.22...medusa-plugin-economic@1.1.23) (2021-08-05)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.22](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.21...medusa-plugin-economic@1.1.22) (2021-07-26)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.21](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.19...medusa-plugin-economic@1.1.21) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.20](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.19...medusa-plugin-economic@1.1.20) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.19](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.18...medusa-plugin-economic@1.1.19) (2021-07-02)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.18](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.17...medusa-plugin-economic@1.1.18) (2021-06-22)
-
-### Bug Fixes
-
-- release assist ([668e8a7](https://github.com/medusajs/medusa/commit/668e8a740200847fc2a41c91d2979097f1392532))
-
-## [1.1.17](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.16...medusa-plugin-economic@1.1.17) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.16](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.15...medusa-plugin-economic@1.1.16) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.15](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.14...medusa-plugin-economic@1.1.15) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.14](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.13...medusa-plugin-economic@1.1.14) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.13](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.12...medusa-plugin-economic@1.1.13) (2021-06-08)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.12](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.9...medusa-plugin-economic@1.1.12) (2021-04-28)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.11](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.10...medusa-plugin-economic@1.1.11) (2021-04-20)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.10](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.9...medusa-plugin-economic@1.1.10) (2021-04-20)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.9](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.8...medusa-plugin-economic@1.1.9) (2021-04-13)
-
-### Bug Fixes
-
-- merge develop ([2982a8e](https://github.com/medusajs/medusa/commit/2982a8e682e90beb4549d969d9d3b04d78a46a2d))
-- merge develop ([a468c45](https://github.com/medusajs/medusa/commit/a468c451e82c68f41b5005a2e480057f6124aaa6))
-
-## [1.1.8](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.7...medusa-plugin-economic@1.1.8) (2021-04-13)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.7](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.6...medusa-plugin-economic@1.1.7) (2021-03-30)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.6](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.5...medusa-plugin-economic@1.1.6) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.5](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.3...medusa-plugin-economic@1.1.5) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.4](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.3...medusa-plugin-economic@1.1.4) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.3](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.2...medusa-plugin-economic@1.1.3) (2021-02-17)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.2](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.1...medusa-plugin-economic@1.1.2) (2021-02-03)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.1.1](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.1.0...medusa-plugin-economic@1.1.1) (2021-01-27)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-# [1.1.0](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.0.13...medusa-plugin-economic@1.1.0) (2021-01-26)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.0.13](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.0.12...medusa-plugin-economic@1.0.13) (2020-12-17)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## [1.0.12](https://github.com/medusajs/medusa/compare/medusa-plugin-economic@1.0.11...medusa-plugin-economic@1.0.12) (2020-11-24)
-
-**Note:** Version bump only for package medusa-plugin-economic
-
-## 1.0.11 (2020-10-19)
-
-## 1.0.10 (2020-09-09)
-
-### Bug Fixes
-
-- updates license ([db519fb](https://github.com/medusajs/medusa/commit/db519fbaa6f8ad02c19cbecba5d4f28ba1ee81aa))
-
-## 1.0.7 (2020-09-07)
-
-## 1.0.1 (2020-09-05)
-
-## 1.0.1-beta.0 (2020-09-04)
-
-# 1.0.0 (2020-09-03)
-
-# 1.0.0-alpha.30 (2020-08-28)
-
-# 1.0.0-alpha.27 (2020-08-27)
-
-# 1.0.0-alpha.26 (2020-08-27)
-
-# 1.0.0-alpha.24 (2020-08-27)
-
-# 1.0.0-alpha.3 (2020-08-20)
-
-# 1.0.0-alpha.2 (2020-08-20)
-
-# 1.0.0-alpha.1 (2020-08-20)
-
-# 1.0.0-alpha.0 (2020-08-20)
-
-## [1.0.10](https://github.com/medusajs/medusa/compare/v1.0.9...v1.0.10) (2020-09-09)
-
-### Bug Fixes
-
-- updates license ([db519fb](https://github.com/medusajs/medusa/commit/db519fbaa6f8ad02c19cbecba5d4f28ba1ee81aa))
diff --git a/packages/medusa-plugin-economic/README.md b/packages/medusa-plugin-economic/README.md
deleted file mode 100644
index 01f0389734..0000000000
--- a/packages/medusa-plugin-economic/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# e-conomic
-
-Manage your commerce accounting with e-conomic.
-
-> This plugin is not ready for production use. Community contributions are highly appreciated. You can learn more about contributing in [our repository](https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md).
-
-[Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa)
-
-## Features
-
-- Create draft and book e-conomic invoices automatically when an order is placed.
-- Provide endpoints to manually trigger booking and creating draft e-comonic invoices.
-
----
-
-## Prerequisites
-
-- [Medusa backend](https://docs.medusajs.com/development/backend/install)
-- [Visma e-conomic account](https://www.e-conomic.com/developer/connect)
-- [Redis](https://docs.medusajs.com/development/backend/prepare-environment#redis)
-
----
-
-## How to Install
-
-1\. Run the following command in the directory of the Medusa backend:
-
- ```bash
- npm install medusa-plugin-economic
- ```
-
-2\. Set the following environment variables in `.env`:
-
- ```bash
- ECONOMIC_SECRET_TOKEN=
- ECONOMIC_AGREEMENT_TOKEN=
- ECONOMIC_CUSTOMER_NUMBER_DK=
- ECONOMIC_CUSTOMER_NUMBER_EU=
- ECONOMIC_CUSTOMER_NUMBER_WORLD=
- ECONOMIC_UNIT_NUMBER=
- ECONOMIC_PAYMENT_TERMS_NUMBER=
- ECONOMIC_LAYOUT_NUMBER=
- ECONOMIC_VATZONE_NUMBER_DK=
- ECONOMIC_VATZONE_NUMBER_EU=
- ECONOMIC_VATZONE_NUMBER_WORLD=
- ECONOMIC_RECIPIENT_NAME=
- ```
-
-3\. In `medusa-config.js` add the following at the end of the `plugins` array:
-
- ```js
- const plugins = [
- // other plugins...
- {
- resolve: `medusa-plugin-economic`,
- options: {
- secret_token: process.env.ECONOMIC_SECRET_TOKEN,
- agreement_token: process.env.ECONOMIC_AGREEMENT_TOKEN,
- customer_number_dk: process.env.ECONOMIC_CUSTOMER_NUMBER_DK,
- customer_number_eu: process.env.ECONOMIC_CUSTOMER_NUMBER_EU,
- customer_number_world: process.env.ECONOMIC_CUSTOMER_NUMBER_WORLD,
- unit_number: process.env.ECONOMIC_UNIT_NUMBER,
- payment_terms_number: process.env.ECONOMIC_PAYMENT_TERMS_NUMBER,
- layout_number: process.env.ECONOMIC_LAYOUT_NUMBER,
- vatzone_number_dk: process.env.ECONOMIC_VATZONE_NUMBER_DK,
- vatzone_number_eu: process.env.ECONOMIC_VATZONE_NUMBER_EU,
- vatzone_number_world: process.env.ECONOMIC_VATZONE_NUMBER_WORLD,
- recipient_name: process.env.ECONOMIC_RECIPIENT_NAME,
- },
- },
- ]
- ```
-
----
-
-## Test the Plugin
-
-1\. Run the following command in the directory of the Medusa backend to run the backend:
-
- ```bash
- npm run start
- ```
-
-2\. Try creating an order using the storefront or the [Store APIs](https://docs.medusajs.com/api/store#tag/Cart). Once the order is placed, a draft invoice will be created in e-conomic.
diff --git a/packages/medusa-plugin-economic/index.js b/packages/medusa-plugin-economic/index.js
deleted file mode 100644
index 172f1ae6a4..0000000000
--- a/packages/medusa-plugin-economic/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// noop
diff --git a/packages/medusa-plugin-economic/jest.config.js b/packages/medusa-plugin-economic/jest.config.js
deleted file mode 100644
index 82513aa071..0000000000
--- a/packages/medusa-plugin-economic/jest.config.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
- testEnvironment: "node",
-}
diff --git a/packages/medusa-plugin-economic/package.json b/packages/medusa-plugin-economic/package.json
deleted file mode 100644
index f2af9ff0ba..0000000000
--- a/packages/medusa-plugin-economic/package.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "name": "medusa-plugin-economic",
- "version": "1.1.45",
- "description": "E-conomic financial reporting",
- "main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa",
- "directory": "packages/medusa-plugin-economic"
- },
- "engines": {
- "node": ">=16"
- },
- "author": "Oliver Juhl",
- "license": "MIT",
- "devDependencies": {
- "@babel/cli": "^7.7.5",
- "@babel/core": "^7.7.5",
- "@babel/node": "^7.7.4",
- "@babel/plugin-proposal-class-properties": "^7.7.4",
- "@babel/plugin-transform-instanceof": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.7.6",
- "@babel/preset-env": "^7.7.5",
- "@babel/register": "^7.7.4",
- "@babel/runtime": "^7.9.6",
- "client-sessions": "^0.8.0",
- "cross-env": "^5.2.1",
- "jest": "^25.5.4",
- "medusa-interfaces": "^1.3.7",
- "medusa-test-utils": "^1.1.40"
- },
- "scripts": {
- "prepare": "cross-env NODE_ENV=production yarn run build",
- "test": "jest --passWithNoTests src",
- "build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
- "watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
- },
- "peerDependencies": {
- "medusa-interfaces": "^1.3.7"
- },
- "dependencies": {
- "@babel/plugin-transform-classes": "^7.9.5",
- "axios": "^0.19.2",
- "body-parser": "^1.19.0",
- "express": "^4.17.1",
- "medusa-core-utils": "^1.2.0",
- "moment": "^2.27.0"
- },
- "gitHead": "3bbd1e8507e00bc471de6ae3c30207999a4a4011"
-}
diff --git a/packages/medusa-plugin-economic/src/api/index.js b/packages/medusa-plugin-economic/src/api/index.js
deleted file mode 100644
index c861a5b001..0000000000
--- a/packages/medusa-plugin-economic/src/api/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Router } from "express"
-import routes from "./routes"
-
-export default (container) => {
- const app = Router()
-
- routes(app)
-
- return app
-}
diff --git a/packages/medusa-plugin-economic/src/api/middlewares/await-middleware.js b/packages/medusa-plugin-economic/src/api/middlewares/await-middleware.js
deleted file mode 100644
index 1c3692b377..0000000000
--- a/packages/medusa-plugin-economic/src/api/middlewares/await-middleware.js
+++ /dev/null
@@ -1 +0,0 @@
-export default (fn) => (...args) => fn(...args).catch(args[2])
diff --git a/packages/medusa-plugin-economic/src/api/middlewares/index.js b/packages/medusa-plugin-economic/src/api/middlewares/index.js
deleted file mode 100644
index c784e319a9..0000000000
--- a/packages/medusa-plugin-economic/src/api/middlewares/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import { default as wrap } from "./await-middleware"
-
-export default {
- wrap,
-}
diff --git a/packages/medusa-plugin-economic/src/api/routes/book-invoice.js b/packages/medusa-plugin-economic/src/api/routes/book-invoice.js
deleted file mode 100644
index c3d8db93d9..0000000000
--- a/packages/medusa-plugin-economic/src/api/routes/book-invoice.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export default async (req, res) => {
- const economicService = req.scope.resolve("economicService")
- await economicService.bookEconomicInvoice(req.body.orderId)
- res.sendStatus(200)
-}
diff --git a/packages/medusa-plugin-economic/src/api/routes/create-draft-invoice.js b/packages/medusa-plugin-economic/src/api/routes/create-draft-invoice.js
deleted file mode 100644
index 4a478d3ca9..0000000000
--- a/packages/medusa-plugin-economic/src/api/routes/create-draft-invoice.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export default async (req, res) => {
- const economicService = req.scope.resolve("economicService")
- await economicService.draftEconomicInvoice(req.body.orderId)
- res.sendStatus(200)
-}
diff --git a/packages/medusa-plugin-economic/src/api/routes/index.js b/packages/medusa-plugin-economic/src/api/routes/index.js
deleted file mode 100644
index fbe8682565..0000000000
--- a/packages/medusa-plugin-economic/src/api/routes/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Router } from "express"
-import middlewares from "../../middlewares"
-
-const route = Router()
-
-export default (app) => {
- app.use("/economic", route)
-
- route.post(
- "/draft-invoice",
- middlewares.wrap(require("./create-draft-invoice").default)
- )
-
- route.post(
- "/book-invoice",
- middlewares.wrap(require("./book-invoice").default)
- )
-
- return app
-}
diff --git a/packages/medusa-plugin-economic/src/services/economic.js b/packages/medusa-plugin-economic/src/services/economic.js
deleted file mode 100644
index 3c7fbf40ca..0000000000
--- a/packages/medusa-plugin-economic/src/services/economic.js
+++ /dev/null
@@ -1,222 +0,0 @@
-import axios from "axios"
-import moment from "moment"
-import { BaseService } from "medusa-interfaces"
-import { MedusaError } from "medusa-core-utils"
-import EUCountries from "../utils/eu-countries"
-
-const ECONOMIC_BASE_URL = "https://restapi.e-conomic.com"
-
-class EconomicService extends BaseService {
- /**
- * @param {Object} options - options defined in `medusa-config.js`
- * {
- * secret_token: "foo",
- * agreement_token: "bar",
- * customer_number_dk: 012
- * customer_number_eu: 345
- * customer_number_world: 678,
- * unit_number: 42,
- * payment_terms_number: 42,
- * layout_number: 42,
- * vatzone_number_eu: 42,
- * vatzone_number_dk: 42,
- * vatzone_number_world: 42,
- * recipient_name: "Webshop customer"
- * }
- */
- constructor({ orderService, totalsService, regionService }, options) {
- super()
-
- this.orderService_ = orderService
-
- this.totalsService_ = totalsService
-
- this.regionService_ = regionService
-
- this.options_ = options
-
- this.economic_ = axios.create({
- baseURL: ECONOMIC_BASE_URL,
- headers: {
- "X-AppSecretToken": options.secret_token,
- "X-AgreementGrantToken": options.agreement_token,
- "Content-Type": "application/json",
- },
- })
- }
-
- decideCustomerAndVatNumber_(country_code) {
- const upperCased = country_code.toUpperCase()
- if (EUCountries.includes(upperCased)) {
- return {
- vat: this.options_.vatzone_number_eu,
- customer: this.options_.customer_number_eu,
- }
- }
-
- if (upperCased === "DK") {
- return {
- vat: this.options_.vatzone_number_dk,
- customer: this.options_.customer_number_dk,
- }
- }
-
- return {
- vat: this.options_.vatzone_number_world,
- customer: this.options_.customer_number_world,
- }
- }
-
- async createEconomicLinesFromOrder(order) {
- let order_lines = []
- // Find the discount, that is not free shipping
- const discount = order.discounts.find(
- ({ rule }) => rule.type !== "free_shipping"
- )
- // If the discount has an item specific allocation method,
- // we need to fetch the discount for each item
- let itemDiscounts = []
- if (discount) {
- itemDiscounts = await this.totalsService_.getAllocationItemDiscounts(
- discount,
- order
- )
- }
-
- order.items.forEach((item) => {
- // For bundles, we create an order line for each item in the bundle
- if (Array.isArray(item.content)) {
- item.content.forEach((c) => {
- const total_amount = c.unit_price * c.quantity * (taxRate + 1)
-
- order_lines.push({
- lineNumber: order_lines.length + 1,
- sortKey: 1,
- unit: {
- unitNumber: this.options_.unit_number,
- },
- product: {
- productNumber: c.product.sku,
- },
- quantity: c.quantity,
- // Do we include taxes on this bad boy?
- unitNetPrice: total_amount,
- })
- })
- } else {
- const total_amount = item.content.unit_price * item.content.quantity
-
- // Find the discount for current item and default to 0
- const itemDiscount =
- (itemDiscounts &&
- itemDiscounts.find((el) => el.lineItem._id === item._id)) ||
- 0
-
- // Withdraw discount from the total item amount
- const total_discount_amount = total_amount - itemDiscount
-
- order_lines.push({
- lineNumber: order_lines.length + 1,
- sortKey: 1,
- unit: {
- unitNumber: this.options_.unit_number,
- },
- product: {
- productNumber: item.content.product.sku,
- },
- quantity: item.content.quantity,
- // Do we include taxes on this bad boy?
- unitNetPrice: total_discount_amount,
- })
- }
- })
- }
-
- async createInvoiceFromOrder(order) {
- // Fetch currency code from order region
- const { currency_code } = await this.regionService_.retrieve(
- order.region_id
- )
-
- const vatZoneAndCustomer = this.decideCustomerAndVatNumber_(
- order.billing_address.country_code
- )
-
- const lines = await this.createEconomicLinesFromOrder(order)
-
- return {
- date: moment().format("YYYY-MM-DD"),
- currency: currency_code,
- paymentTerms: {
- paymentTermsNumber: this.options_.payment_terms_number,
- },
- references: {
- other: order._id,
- },
- customer: {
- customerNumber: vatZoneAndCustomer.customer,
- },
- recipient: {
- name: this.options_.recipient_name,
- vatZone: {
- vatZoneNumber: vatZoneAndCustomer.vat,
- },
- },
- layout: {
- layoutNumber: this.options_.layout_number,
- },
- lines,
- }
- }
-
- async draftEconomicInvoice(orderId) {
- const order = await this.orderService_.retrieve(orderId)
- const invoice = await this.createInvoiceFromOrder(order)
- try {
- const draftInvoice = await this.economic_.post(
- `${ECONOMIC_BASE_URL}/invoices/drafts`,
- invoice
- )
-
- await this.orderService_.setMetadata(
- order._id,
- "economicDraftId",
- draftInvoice.data.draftInvoiceNumber
- )
-
- const invoiceOrder = await this.orderService_.retrieve(order._id)
- return invoiceOrder
- } catch (error) {
- throw error
- }
- }
-
- async bookEconomicInvoice(orderId) {
- try {
- const order = await this.orderService_.retrieve(orderId)
- const { economicDraftId } = order.metadata
-
- if (!economicDraftId) {
- throw new MedusaError(
- MedusaError.Types.INVALID_ARGUMENT,
- "The order does not have an invoice number"
- )
- }
-
- const bookInvoiceRequest = {
- draftInvoice: {
- draftInvoiceNumber: parseInt(economicDraftId),
- },
- }
-
- return this.economic_.post(
- `${ECONOMIC_BASE_URL}/invoices/booked`,
- bookInvoiceRequest
- )
- } catch (error) {
- throw error
- }
- }
-}
-
-export default EconomicService
diff --git a/packages/medusa-plugin-economic/src/subscribers/order.js b/packages/medusa-plugin-economic/src/subscribers/order.js
deleted file mode 100644
index 40c81f41a8..0000000000
--- a/packages/medusa-plugin-economic/src/subscribers/order.js
+++ /dev/null
@@ -1,17 +0,0 @@
-class OrderSubscriber {
- constructor({ economicService, eventBusService }) {
- this.economicService_ = economicService
-
- this.eventBus_ = eventBusService
-
- this.eventBus_.subscribe("order.placed", async (order) => {
- await this.economicService_.draftEconomicInvoice(order)
- })
-
- this.eventBus_.subscribe("order.completed", async (order) => {
- await this.economicService_.bookEconomicInvoice(order._id)
- })
- }
-}
-
-export default OrderSubscriber
diff --git a/packages/medusa-plugin-economic/src/utils/eu-countries.js b/packages/medusa-plugin-economic/src/utils/eu-countries.js
deleted file mode 100644
index 29bfa4d625..0000000000
--- a/packages/medusa-plugin-economic/src/utils/eu-countries.js
+++ /dev/null
@@ -1,30 +0,0 @@
-export default [
- "BE",
- "BG",
- "CZ",
- "DK",
- "DE",
- "EE",
- "IE",
- "EL",
- "ES",
- "FR",
- "HR",
- "IT",
- "CY",
- "LV",
- "LT",
- "LU",
- "HU",
- "MT",
- "NL",
- "AT",
- "PL",
- "PT",
- "RO",
- "SI",
- "SK",
- "FI",
- "SE",
- "UK",
-]
diff --git a/packages/medusa-plugin-economic/utils/eu-countries.js b/packages/medusa-plugin-economic/utils/eu-countries.js
deleted file mode 100644
index 7b89c327ef..0000000000
--- a/packages/medusa-plugin-economic/utils/eu-countries.js
+++ /dev/null
@@ -1,8 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-var _default = ["BE", "BG", "CZ", "DK", "DE", "EE", "IE", "EL", "ES", "FR", "HR", "IT", "CY", "LV", "LT", "LU", "HU", "MT", "NL", "AT", "PL", "PT", "RO", "SI", "SK", "FI", "SE", "UK"];
-exports["default"] = _default;
\ No newline at end of file
diff --git a/packages/medusa-plugin-mailchimp/.babelrc b/packages/medusa-plugin-mailchimp/.babelrc
deleted file mode 100644
index 4d2dfe8f09..0000000000
--- a/packages/medusa-plugin-mailchimp/.babelrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "plugins": [
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-transform-instanceof",
- "@babel/plugin-transform-classes"
- ],
- "presets": ["@babel/preset-env"],
- "env": {
- "test": {
- "plugins": ["@babel/plugin-transform-runtime"]
- }
- }
-}
diff --git a/packages/medusa-plugin-mailchimp/.gitignore b/packages/medusa-plugin-mailchimp/.gitignore
deleted file mode 100644
index 2f70e61088..0000000000
--- a/packages/medusa-plugin-mailchimp/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-/lib
-node_modules
-.DS_store
-.env*
-/*.js
-!index.js
-!jest.config.js
-
-/dist
-
-/api
-/services
-/models
-/subscribers
-
diff --git a/packages/medusa-plugin-mailchimp/.npmignore b/packages/medusa-plugin-mailchimp/.npmignore
deleted file mode 100644
index c6c178688f..0000000000
--- a/packages/medusa-plugin-mailchimp/.npmignore
+++ /dev/null
@@ -1,9 +0,0 @@
-.DS_store
-src
-dist
-yarn.lock
-.babelrc
-jest.config.js
-
-.turbo
-.yarn
\ No newline at end of file
diff --git a/packages/medusa-plugin-mailchimp/CHANGELOG.md b/packages/medusa-plugin-mailchimp/CHANGELOG.md
deleted file mode 100644
index 65fb2568c4..0000000000
--- a/packages/medusa-plugin-mailchimp/CHANGELOG.md
+++ /dev/null
@@ -1,280 +0,0 @@
-# Change Log
-
-## 1.1.50
-
-### Patch Changes
-
-- [#4276](https://github.com/medusajs/medusa/pull/4276) [`afd1b67f1`](https://github.com/medusajs/medusa/commit/afd1b67f1c7de8cf07fd9fcbdde599a37914e9b5) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Use caret range
-
-## 1.1.49
-
-### Patch Changes
-
-- [#4040](https://github.com/medusajs/medusa/pull/4040) [`ddc90db53`](https://github.com/medusajs/medusa/commit/ddc90db5302286afa27282b38b28961ee0edf9e8) Thanks [@tomekpur](https://github.com/tomekpur)! - feat(medusa-plugin-mailchimp): Added PUT method for the /mailchimp/subscribe endpoint.
-
-- Updated dependencies [[`0a35f21af`](https://github.com/medusajs/medusa/commit/0a35f21af7ac8b6cdc1af12a403e95f9bf6142fe), [`4fb443c0e`](https://github.com/medusajs/medusa/commit/4fb443c0ea38bde3148bce059c0ee3b91dfff3d4), [`0476f5251`](https://github.com/medusajs/medusa/commit/0476f52519237c622b37d29de0718f9774b6add7), [`0f87d3d64`](https://github.com/medusajs/medusa/commit/0f87d3d642b56bf19de8136e1f5bfedf364c5193), [`ed382f2ee`](https://github.com/medusajs/medusa/commit/ed382f2ee510cbf96164991efa7ff75e3ce659ff), [`92f01cefb`](https://github.com/medusajs/medusa/commit/92f01cefbc4a190defce425fb237d2d68728fa9a), [`e3cfbcd4a`](https://github.com/medusajs/medusa/commit/e3cfbcd4a78073c63ecd9829bc531e50d3944f07), [`6998666c6`](https://github.com/medusajs/medusa/commit/6998666c6edd6617ca61a8d39c26435bad1273e3), [`81eeaa329`](https://github.com/medusajs/medusa/commit/81eeaa32942b1a7148126a7218ceb168ce8d6cac), [`e2d29d35c`](https://github.com/medusajs/medusa/commit/e2d29d35c4c477bc9b4a3ddce1279276fd072875), [`3a38c84f8`](https://github.com/medusajs/medusa/commit/3a38c84f88b05f74ee0a172af3e3f78b2ec8c2d2), [`4f3c8f5d7`](https://github.com/medusajs/medusa/commit/4f3c8f5d70b5ae4a11e9d4a2fea4a8410b2daf47), [`a91987fab`](https://github.com/medusajs/medusa/commit/a91987fab33745f9864eab21bd1c27e8e3e24571), [`bf18bd0c8`](https://github.com/medusajs/medusa/commit/bf18bd0c8a284dd0042d4c54d84acb2e7c10edd3), [`db4199530`](https://github.com/medusajs/medusa/commit/db419953075e0907b8c4d27ab5188e9bd3e3d72b)]:
- - @medusajs/medusa@1.12.0
-
-## 1.1.48
-
-### Patch Changes
-
-- [#3763](https://github.com/medusajs/medusa/pull/3763) [`4104d9ccb`](https://github.com/medusajs/medusa/commit/4104d9ccb25276c85b5363f85e14b3093e64df85) Thanks [@StephixOne](https://github.com/StephixOne)! - fix(plugin-discount-generator,plugin-economic,plugin-mailchimp,plugin-restock-notification,plugin-sendgrid,plugin-wishlist): Temporarily remove payload validation in some plugins
-
-## 1.1.47
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0
- - medusa-interfaces@1.3.7
- - medusa-test-utils@1.1.40
-
-## 1.1.47-rc.0
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0-rc.0
- - medusa-interfaces@1.3.7-rc.0
- - medusa-test-utils@1.1.40-rc.0
-
-## 1.1.46
-
-### Patch Changes
-
-- [#3217](https://github.com/medusajs/medusa/pull/3217) [`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0) Thanks [@adrien2p](https://github.com/adrien2p)! - chore: Fix npm packages files included
-
-- Updated dependencies [[`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0)]:
- - medusa-core-utils@1.1.39
- - medusa-interfaces@1.3.6
-
-## 1.1.45
-
-### Patch Changes
-
-- [#3185](https://github.com/medusajs/medusa/pull/3185) [`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Patches all dependencies + minor bumps `winston` to include a [fix for a significant memory leak](https://github.com/winstonjs/winston/pull/2057)
-
-- Updated dependencies [[`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4)]:
- - medusa-core-utils@1.1.38
- - medusa-interfaces@1.3.5
-
-## 1.1.44
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-- Updated dependencies [[`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2)]:
- - medusa-interfaces@1.3.4
-
-## 1.1.43
-
-### Patch Changes
-
-- [#2808](https://github.com/medusajs/medusa/pull/2808) [`0a9c89185`](https://github.com/medusajs/medusa/commit/0a9c891853c4d16b553d38268a3408ca1daa71f0) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - chore: explicitly add devDependencies for monorepo peerDependencies
-
-- Updated dependencies [[`7cced6006`](https://github.com/medusajs/medusa/commit/7cced6006a9a6f9108009e9f3e191e9f3ba1b168)]:
- - medusa-core-utils@1.1.37
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-## [1.1.42](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.41...medusa-plugin-mailchimp@1.1.42) (2022-07-05)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.41](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.39...medusa-plugin-mailchimp@1.1.41) (2022-06-19)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.40](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.39...medusa-plugin-mailchimp@1.1.40) (2022-05-31)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.39](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.38...medusa-plugin-mailchimp@1.1.39) (2022-02-06)
-
-### Bug Fixes
-
-- release ([fc3fbc8](https://github.com/medusajs/medusa/commit/fc3fbc897fad5c8a5d3eea828ac7277fba9d70af))
-
-## [1.1.38](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.37...medusa-plugin-mailchimp@1.1.38) (2022-02-06)
-
-### Features
-
-- medusa-react admin hooks ([#978](https://github.com/medusajs/medusa/issues/978)) ([2e38484](https://github.com/medusajs/medusa/commit/2e384842d5b2e9742a86b96f28a8f00357795b86)), closes [#1019](https://github.com/medusajs/medusa/issues/1019)
-
-## [1.1.37](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.36...medusa-plugin-mailchimp@1.1.37) (2022-01-11)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.36](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.35...medusa-plugin-mailchimp@1.1.36) (2021-12-29)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.35](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.34...medusa-plugin-mailchimp@1.1.35) (2021-12-17)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.34](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.33...medusa-plugin-mailchimp@1.1.34) (2021-12-08)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.33](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.32...medusa-plugin-mailchimp@1.1.33) (2021-11-23)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.32](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.31...medusa-plugin-mailchimp@1.1.32) (2021-11-22)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.31](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.30...medusa-plugin-mailchimp@1.1.31) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.30](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.29...medusa-plugin-mailchimp@1.1.30) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.29](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.28...medusa-plugin-mailchimp@1.1.29) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.28](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.27...medusa-plugin-mailchimp@1.1.28) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.27](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.25...medusa-plugin-mailchimp@1.1.27) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.26](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.25...medusa-plugin-mailchimp@1.1.26) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.25](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.24...medusa-plugin-mailchimp@1.1.25) (2021-09-15)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.24](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.23...medusa-plugin-mailchimp@1.1.24) (2021-09-14)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.23](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.22...medusa-plugin-mailchimp@1.1.23) (2021-08-05)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.22](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.21...medusa-plugin-mailchimp@1.1.22) (2021-07-26)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.21](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.19...medusa-plugin-mailchimp@1.1.21) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.20](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.19...medusa-plugin-mailchimp@1.1.20) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.19](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.18...medusa-plugin-mailchimp@1.1.19) (2021-07-02)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.18](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.17...medusa-plugin-mailchimp@1.1.18) (2021-06-22)
-
-### Bug Fixes
-
-- release assist ([668e8a7](https://github.com/medusajs/medusa/commit/668e8a740200847fc2a41c91d2979097f1392532))
-
-## [1.1.17](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.16...medusa-plugin-mailchimp@1.1.17) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.16](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.15...medusa-plugin-mailchimp@1.1.16) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.15](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.14...medusa-plugin-mailchimp@1.1.15) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.14](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.13...medusa-plugin-mailchimp@1.1.14) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.13](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.12...medusa-plugin-mailchimp@1.1.13) (2021-06-08)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.12](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.9...medusa-plugin-mailchimp@1.1.12) (2021-04-28)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.11](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.10...medusa-plugin-mailchimp@1.1.11) (2021-04-20)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.10](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.9...medusa-plugin-mailchimp@1.1.10) (2021-04-20)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.9](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.8...medusa-plugin-mailchimp@1.1.9) (2021-04-13)
-
-### Bug Fixes
-
-- merge develop ([2982a8e](https://github.com/medusajs/medusa/commit/2982a8e682e90beb4549d969d9d3b04d78a46a2d))
-- merge develop ([a468c45](https://github.com/medusajs/medusa/commit/a468c451e82c68f41b5005a2e480057f6124aaa6))
-
-## [1.1.8](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.7...medusa-plugin-mailchimp@1.1.8) (2021-04-13)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.7](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.6...medusa-plugin-mailchimp@1.1.7) (2021-03-30)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.6](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.5...medusa-plugin-mailchimp@1.1.6) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.5](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.3...medusa-plugin-mailchimp@1.1.5) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.4](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.3...medusa-plugin-mailchimp@1.1.4) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.3](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.2...medusa-plugin-mailchimp@1.1.3) (2021-02-17)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.2](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.1...medusa-plugin-mailchimp@1.1.2) (2021-02-03)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.1.1](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.1.0...medusa-plugin-mailchimp@1.1.1) (2021-01-27)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-# [1.1.0](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.0.15...medusa-plugin-mailchimp@1.1.0) (2021-01-26)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.0.15](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.0.14...medusa-plugin-mailchimp@1.0.15) (2020-12-17)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.0.14](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.0.13...medusa-plugin-mailchimp@1.0.14) (2020-11-24)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## [1.0.13](https://github.com/medusajs/medusa/compare/medusa-plugin-mailchimp@1.0.12...medusa-plugin-mailchimp@1.0.13) (2020-10-19)
-
-**Note:** Version bump only for package medusa-plugin-mailchimp
-
-## 1.0.12 (2020-10-05)
-
-### Features
-
-- **plugins:** Adds Mailchimp newsletter subscription ([89c21f2](https://github.com/medusajs/medusa/commit/89c21f2f5b317b2de368d4429c1eacc373937217))
diff --git a/packages/medusa-plugin-mailchimp/README.md b/packages/medusa-plugin-mailchimp/README.md
deleted file mode 100644
index a38dfe8671..0000000000
--- a/packages/medusa-plugin-mailchimp/README.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# Mailchimp
-
-Manage newsletter subscriptions in your commerce application with Mailchimp.
-
-[Mailchimp Plugin Documentation](https://docs.medusajs.com/plugins/notifications/mailchimp) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa)
-
-## Features
-
-- Allow customers to subscribe to your newsletter.
-- Provides custom services and endpoints to give developers flexibility in how to implement newsletter subscription.
-
----
-
-## Prerequisites
-
-- [Medusa backend](https://docs.medusajs.com/development/backend/install)
-- [Mailchimp account](https://mailchimp.com/signup)
-
----
-
-## How to Install
-
-1\. Run the following command in the directory of the Medusa backend:
-
-```bash
-npm install medusa-plugin-mailchimp
-```
-
-2\. Set the following environment variables in `.env`:
-
-```bash
-MAILCHIMP_API_KEY=
-MAILCHIMP_NEWSLETTER_LIST_ID=
-```
-
-3\. In `medusa-config.js` add the following at the end of the `plugins` array:
-
-```js
-const plugins = [
- // ...,
- {
- resolve: `medusa-plugin-mailchimp`,
- options: {
- api_key: process.env.MAILCHIMP_API_KEY,
- newsletter_list_id: process.env.MAILCHIMP_NEWSLETTER_LIST_ID,
- },
- },
-]
-```
-
----
-
-## Test the Plugin
-
-1\. Run the following command in the directory of the Medusa backend to run the backend:
-
-```bash
-npm run start
-```
-
-2\. Use the POST or PUT `/mailchimp/subscribe` endpoint or the `MailchimpService` to subscribe to the newsletter.
-
----
-
-## Additional Resources
-
-- [Mailchimp Plugin Documentation](https://docs.medusajs.com/plugins/notifications/mailchimp)
diff --git a/packages/medusa-plugin-mailchimp/index.js b/packages/medusa-plugin-mailchimp/index.js
deleted file mode 100644
index 172f1ae6a4..0000000000
--- a/packages/medusa-plugin-mailchimp/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// noop
diff --git a/packages/medusa-plugin-mailchimp/jest.config.js b/packages/medusa-plugin-mailchimp/jest.config.js
deleted file mode 100644
index a00e6f5696..0000000000
--- a/packages/medusa-plugin-mailchimp/jest.config.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- testEnvironment: "node",
- transform: {
- "^.+\\.[jt]s?$": `../../jest-transformer.js`,
- },
-}
diff --git a/packages/medusa-plugin-mailchimp/package.json b/packages/medusa-plugin-mailchimp/package.json
deleted file mode 100644
index 861b0d972b..0000000000
--- a/packages/medusa-plugin-mailchimp/package.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "name": "medusa-plugin-mailchimp",
- "version": "1.1.50",
- "description": "Mailchimp newsletter subscriptions",
- "main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa",
- "directory": "packages/medusa-plugin-mailchimp"
- },
- "engines": {
- "node": ">=16"
- },
- "author": "Oliver Juhl, Tomek Pur",
- "license": "MIT",
- "devDependencies": {
- "@medusajs/medusa": "^1.12.1",
- "@types/express": "^4.17.17",
- "client-sessions": "^0.8.0",
- "cross-env": "^5.2.1",
- "jest": "^25.5.4",
- "rimraf": "^5.0.1",
- "typescript": "^4.4.4"
- },
- "scripts": {
- "prepublishOnly": "cross-env NODE_ENV=production tsc --build",
- "test": "jest --passWithNoTests src",
- "build": "rimraf dist && tsc",
- "watch": "tsc --watch"
- },
- "peerDependencies": {
- "@medusajs/medusa": "^1.12.0"
- },
- "dependencies": {
- "body-parser": "^1.19.0",
- "cors": "^2.8.5",
- "express": "^4.17.1",
- "mailchimp-api-v3": "^1.14.0",
- "medusa-core-utils": "^1.2.0",
- "medusa-test-utils": "^1.1.40"
- },
- "gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
- "keywords": [
- "medusa-plugin",
- "medusa-plugin-notification"
- ]
-}
diff --git a/packages/medusa-plugin-mailchimp/src/api/index.ts b/packages/medusa-plugin-mailchimp/src/api/index.ts
deleted file mode 100644
index 7fb8067839..0000000000
--- a/packages/medusa-plugin-mailchimp/src/api/index.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Router } from "express"
-import routes from "./routes"
-
-export default function (rootDirectory: string): Router | Router[] {
- const app = Router()
-
- routes(app, rootDirectory)
-
- return app
-}
diff --git a/packages/medusa-plugin-mailchimp/src/api/routes/index.ts b/packages/medusa-plugin-mailchimp/src/api/routes/index.ts
deleted file mode 100644
index 8a0875e967..0000000000
--- a/packages/medusa-plugin-mailchimp/src/api/routes/index.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import { Router } from "express"
-import * as cors from "cors"
-import * as bodyParser from "body-parser"
-import configLoader from "@medusajs/medusa/dist/loaders/config"
-import { parseCorsOrigins } from "medusa-core-utils"
-import { wrapHandler } from "@medusajs/medusa"
-import {
- update as subscribeNewsletterUpdate,
- add as subscribeNewsletterAdd,
-} from "./subscribe-newsletter"
-
-const router = Router()
-
-export default (app: Router, rootDirectory) => {
- const config = configLoader(rootDirectory)
-
- const corsOptions = {
- origin: parseCorsOrigins(config.projectConfig.store_cors || ""),
- credentials: true,
- }
-
- app.use("/mailchimp", router)
-
- router.use(cors(corsOptions))
-
- router.post(
- "/subscribe",
- bodyParser.json(),
- wrapHandler(subscribeNewsletterAdd)
- )
-
- router.put(
- "/subscribe",
- bodyParser.json(),
- wrapHandler(subscribeNewsletterUpdate)
- )
-
- return app
-}
diff --git a/packages/medusa-plugin-mailchimp/src/api/routes/subscribe-newsletter.ts b/packages/medusa-plugin-mailchimp/src/api/routes/subscribe-newsletter.ts
deleted file mode 100644
index 10a4af0ca9..0000000000
--- a/packages/medusa-plugin-mailchimp/src/api/routes/subscribe-newsletter.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { Request, Response } from "express"
-
-export async function add(req: Request, res: Response) {
- const mailchimpService = req.scope.resolve("mailchimpService")
- await mailchimpService.subscribeNewsletterAdd(
- req.body.email,
- req.body.data || {}
- )
- res.sendStatus(200)
-}
-
-export async function update(req: Request, res: Response) {
- const mailchimpService = req.scope.resolve("mailchimpService")
- await mailchimpService.subscribeNewsletterUpdate(
- req.body.email,
- req.body.data || {}
- )
- res.sendStatus(200)
-}
diff --git a/packages/medusa-plugin-mailchimp/src/services/__tests__/mailchimp.ts b/packages/medusa-plugin-mailchimp/src/services/__tests__/mailchimp.ts
deleted file mode 100644
index d038019805..0000000000
--- a/packages/medusa-plugin-mailchimp/src/services/__tests__/mailchimp.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-const MailchimpMock = jest.fn().mockImplementation(() => {
- return {
- subscribeNewsletterAdd: jest
- .fn()
- .mockReturnValue(Promise.resolve("success")),
- subscribeNewsletterUpdate: jest
- .fn()
- .mockReturnValue(Promise.resolve("success")),
- }
-})
-
-describe("MailchimpService", () => {
- describe("newsletterSubscribe", () => {
- let result
- beforeAll(async () => {
- jest.clearAllMocks()
- const mailchimpService = new MailchimpMock()
-
- result = await mailchimpService.subscribeNewsletterAdd(
- "medusa@medusa.com"
- )
- })
-
- it("resolves successfully", () => {
- expect(result).toEqual("success")
- })
- }),
- describe("newsletterSubscribeUpdate", () => {
- let result
- beforeAll(async () => {
- jest.clearAllMocks()
- const mailchimpService = new MailchimpMock()
-
- result = await mailchimpService.subscribeNewsletterUpdate(
- "medusa@medusa.com"
- )
- })
-
- it("resolves successfully", () => {
- expect(result).toEqual("success")
- })
- })
-})
diff --git a/packages/medusa-plugin-mailchimp/src/services/mailchimp.ts b/packages/medusa-plugin-mailchimp/src/services/mailchimp.ts
deleted file mode 100644
index 670f2c1595..0000000000
--- a/packages/medusa-plugin-mailchimp/src/services/mailchimp.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import { TransactionBaseService } from "@medusajs/medusa"
-import Mailchimp = require("mailchimp-api-v3")
-import * as crypto from "crypto"
-import { MailchimpPluginOptions } from "../types"
-
-class MailchimpService extends TransactionBaseService {
- protected options_: MailchimpPluginOptions
- protected mailchimp_: Mailchimp
-
- /**
- * @param {Object} options - options defined in `medusa-config.js`
- * e.g.
- * {
- * api_key: Mailchimp api key
- * newsletter_list_id: "123456789"
- * }
- */
- constructor(_, options: MailchimpPluginOptions) {
- super(_, options)
-
- this.options_ = options
-
- this.mailchimp_ = new Mailchimp(options.api_key)
- }
-
- /**
- * Subscribes an email to a newsletter.
- * @param {string} email - email to use for the subscription
- * @param {Object} data - additional data (see https://mailchimp.com/developer/marketing/api/list-merges/)
- * @return {Promise} result of newsletter subscription
- */
- async subscribeNewsletterAdd(email: string, data: any) {
- return this.mailchimp_.post(
- `/lists/${this.options_.newsletter_list_id}/members`,
- {
- email_address: email,
- status: "subscribed",
- ...data,
- }
- )
- }
-
- /**
- * Updates an email to a newsletter.
- * @param {string} email - email to use for the subscription
- * @param {Object} data - additional data (see https://mailchimp.com/developer/marketing/api/list-merges/)
- * @return {Promise} result of newsletter subscription
- */
-
- async subscribeNewsletterUpdate(
- email: string,
- data: any,
- statusIfNew?: string,
- status?: string
- ) {
- const lowercase = email.toLowerCase()
- const hash = crypto.createHash("md5").update(lowercase).digest("hex")
-
- return this.mailchimp_.put(
- `/lists/${this.options_.newsletter_list_id}/members/${hash}`,
- {
- email_address: email,
- status_if_new: statusIfNew || "subscribed",
- status: status || "subscribed",
- ...data,
- }
- )
- }
-}
-
-export default MailchimpService
diff --git a/packages/medusa-plugin-mailchimp/src/types.ts b/packages/medusa-plugin-mailchimp/src/types.ts
deleted file mode 100644
index 2e904cdf04..0000000000
--- a/packages/medusa-plugin-mailchimp/src/types.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export type MailchimpPluginOptions = {
- newsletter_list_id: string
- api_key: string
-}
diff --git a/packages/medusa-plugin-mailchimp/tsconfig.json b/packages/medusa-plugin-mailchimp/tsconfig.json
deleted file mode 100644
index ab87e09193..0000000000
--- a/packages/medusa-plugin-mailchimp/tsconfig.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "compilerOptions": {
- "lib": ["es5", "es6"],
- "target": "esnext",
- "allowJs": true,
- "esModuleInterop": false,
- "module": "commonjs",
- "moduleResolution": "node",
- "emitDecoratorMetadata": true,
- "experimentalDecorators": true,
- "skipLibCheck": true,
- "skipDefaultLibCheck": true,
- "declaration": false,
- "sourceMap": false,
- "outDir": "./dist",
- "rootDir": "src",
- "baseUrl": "src"
- },
- "include": ["src"],
- "exclude": [
- "dist",
- "./src/**/__tests__",
- "./src/**/__mocks__",
- "./src/**/__fixtures__",
- "node_modules"
- ]
-}
diff --git a/packages/medusa-plugin-mailchimp/tsconfig.spec.json b/packages/medusa-plugin-mailchimp/tsconfig.spec.json
deleted file mode 100644
index 68764811aa..0000000000
--- a/packages/medusa-plugin-mailchimp/tsconfig.spec.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src"],
- "exclude": ["dist", "node_modules"]
-}
diff --git a/packages/medusa-plugin-twilio-sms/.babelrc b/packages/medusa-plugin-twilio-sms/.babelrc
deleted file mode 100644
index 4d2dfe8f09..0000000000
--- a/packages/medusa-plugin-twilio-sms/.babelrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "plugins": [
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-transform-instanceof",
- "@babel/plugin-transform-classes"
- ],
- "presets": ["@babel/preset-env"],
- "env": {
- "test": {
- "plugins": ["@babel/plugin-transform-runtime"]
- }
- }
-}
diff --git a/packages/medusa-plugin-twilio-sms/.gitignore b/packages/medusa-plugin-twilio-sms/.gitignore
deleted file mode 100644
index 2f70e61088..0000000000
--- a/packages/medusa-plugin-twilio-sms/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-/lib
-node_modules
-.DS_store
-.env*
-/*.js
-!index.js
-!jest.config.js
-
-/dist
-
-/api
-/services
-/models
-/subscribers
-
diff --git a/packages/medusa-plugin-twilio-sms/.npmignore b/packages/medusa-plugin-twilio-sms/.npmignore
deleted file mode 100644
index c6c178688f..0000000000
--- a/packages/medusa-plugin-twilio-sms/.npmignore
+++ /dev/null
@@ -1,9 +0,0 @@
-.DS_store
-src
-dist
-yarn.lock
-.babelrc
-jest.config.js
-
-.turbo
-.yarn
\ No newline at end of file
diff --git a/packages/medusa-plugin-twilio-sms/CHANGELOG.md b/packages/medusa-plugin-twilio-sms/CHANGELOG.md
deleted file mode 100644
index c1fdbd1d08..0000000000
--- a/packages/medusa-plugin-twilio-sms/CHANGELOG.md
+++ /dev/null
@@ -1,253 +0,0 @@
-# Change Log
-
-## 1.2.8
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0
- - medusa-interfaces@1.3.7
- - medusa-test-utils@1.1.40
-
-## 1.2.8-rc.0
-
-### Patch Changes
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0-rc.0
- - medusa-interfaces@1.3.7-rc.0
- - medusa-test-utils@1.1.40-rc.0
-
-## 1.2.7
-
-### Patch Changes
-
-- Updated dependencies [[`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0)]:
- - medusa-core-utils@1.1.39
- - medusa-interfaces@1.3.6
-
-## 1.2.6
-
-### Patch Changes
-
-- Updated dependencies [[`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4)]:
- - medusa-core-utils@1.1.38
- - medusa-interfaces@1.3.5
-
-## 1.2.5
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-- Updated dependencies [[`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2)]:
- - medusa-interfaces@1.3.4
-
-## 1.2.4
-
-### Patch Changes
-
-- [#2808](https://github.com/medusajs/medusa/pull/2808) [`0a9c89185`](https://github.com/medusajs/medusa/commit/0a9c891853c4d16b553d38268a3408ca1daa71f0) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - chore: explicitly add devDependencies for monorepo peerDependencies
-
-- Updated dependencies [[`7cced6006`](https://github.com/medusajs/medusa/commit/7cced6006a9a6f9108009e9f3e191e9f3ba1b168)]:
- - medusa-core-utils@1.1.37
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-## [1.2.3](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.2.2...medusa-plugin-twilio-sms@1.2.3) (2022-07-05)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.2.2](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.2.0...medusa-plugin-twilio-sms@1.2.2) (2022-06-19)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.2.1](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.2.0...medusa-plugin-twilio-sms@1.2.1) (2022-05-31)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-# [1.2.0](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.37...medusa-plugin-twilio-sms@1.2.0) (2022-05-01)
-
-### Bug Fixes
-
-- **medusa-plugin-twilio-sms:** fix name in README ([#1457](https://github.com/medusajs/medusa/issues/1457)) ([56e79d3](https://github.com/medusajs/medusa/commit/56e79d334ecd2a67cad43c8ebd58e364f9e9fb59))
-
-## [1.1.37](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.36...medusa-plugin-twilio-sms@1.1.37) (2022-01-11)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.36](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.35...medusa-plugin-twilio-sms@1.1.36) (2021-12-29)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.35](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.34...medusa-plugin-twilio-sms@1.1.35) (2021-12-17)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.34](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.33...medusa-plugin-twilio-sms@1.1.34) (2021-12-08)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.33](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.32...medusa-plugin-twilio-sms@1.1.33) (2021-11-23)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.32](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.31...medusa-plugin-twilio-sms@1.1.32) (2021-11-22)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.31](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.30...medusa-plugin-twilio-sms@1.1.31) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.30](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.29...medusa-plugin-twilio-sms@1.1.30) (2021-11-19)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.29](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.28...medusa-plugin-twilio-sms@1.1.29) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.28](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.27...medusa-plugin-twilio-sms@1.1.28) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.27](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.25...medusa-plugin-twilio-sms@1.1.27) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.26](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.25...medusa-plugin-twilio-sms@1.1.26) (2021-10-18)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.25](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.24...medusa-plugin-twilio-sms@1.1.25) (2021-09-15)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.24](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.23...medusa-plugin-twilio-sms@1.1.24) (2021-09-14)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.23](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.22...medusa-plugin-twilio-sms@1.1.23) (2021-08-05)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.22](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.21...medusa-plugin-twilio-sms@1.1.22) (2021-07-26)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.21](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.19...medusa-plugin-twilio-sms@1.1.21) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.20](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.19...medusa-plugin-twilio-sms@1.1.20) (2021-07-15)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.19](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.18...medusa-plugin-twilio-sms@1.1.19) (2021-07-02)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.18](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.17...medusa-plugin-twilio-sms@1.1.18) (2021-06-22)
-
-### Bug Fixes
-
-- release assist ([668e8a7](https://github.com/medusajs/medusa/commit/668e8a740200847fc2a41c91d2979097f1392532))
-
-## [1.1.17](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.16...medusa-plugin-twilio-sms@1.1.17) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.16](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.15...medusa-plugin-twilio-sms@1.1.16) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.15](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.14...medusa-plugin-twilio-sms@1.1.15) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.14](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.13...medusa-plugin-twilio-sms@1.1.14) (2021-06-09)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.13](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.12...medusa-plugin-twilio-sms@1.1.13) (2021-06-08)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.12](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.9...medusa-plugin-twilio-sms@1.1.12) (2021-04-28)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.11](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.10...medusa-plugin-twilio-sms@1.1.11) (2021-04-20)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.10](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.9...medusa-plugin-twilio-sms@1.1.10) (2021-04-20)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.9](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.8...medusa-plugin-twilio-sms@1.1.9) (2021-04-13)
-
-### Bug Fixes
-
-- merge develop ([2982a8e](https://github.com/medusajs/medusa/commit/2982a8e682e90beb4549d969d9d3b04d78a46a2d))
-- merge develop ([a468c45](https://github.com/medusajs/medusa/commit/a468c451e82c68f41b5005a2e480057f6124aaa6))
-
-## [1.1.8](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.7...medusa-plugin-twilio-sms@1.1.8) (2021-04-13)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.7](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.6...medusa-plugin-twilio-sms@1.1.7) (2021-03-30)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.6](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.5...medusa-plugin-twilio-sms@1.1.6) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.5](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.3...medusa-plugin-twilio-sms@1.1.5) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.4](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.3...medusa-plugin-twilio-sms@1.1.4) (2021-03-17)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.3](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.2...medusa-plugin-twilio-sms@1.1.3) (2021-02-17)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.2](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.1...medusa-plugin-twilio-sms@1.1.2) (2021-02-03)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.1.1](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.1.0...medusa-plugin-twilio-sms@1.1.1) (2021-01-27)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-# [1.1.0](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.0.12...medusa-plugin-twilio-sms@1.1.0) (2021-01-26)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.0.12](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.0.11...medusa-plugin-twilio-sms@1.0.12) (2020-12-17)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.0.11](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.0.10...medusa-plugin-twilio-sms@1.0.11) (2020-11-24)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.0.10](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.0.9...medusa-plugin-twilio-sms@1.0.10) (2020-10-19)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## [1.0.9](https://github.com/medusajs/medusa/compare/medusa-plugin-twilio-sms@1.0.8...medusa-plugin-twilio-sms@1.0.9) (2020-09-09)
-
-**Note:** Version bump only for package medusa-plugin-twilio-sms
-
-## 1.0.8 (2020-09-09)
-
-### Features
-
-- **plugins:** Adds Twilio SMS plugin ([35a91ae](https://github.com/medusajs/medusa/commit/35a91ae6a179e750b77df97f46a6b88d6b45819d))
diff --git a/packages/medusa-plugin-twilio-sms/README.md b/packages/medusa-plugin-twilio-sms/README.md
deleted file mode 100644
index be660416b6..0000000000
--- a/packages/medusa-plugin-twilio-sms/README.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# Twilio SMS
-
-Utilize Twilio's SMS APIs to send customers SMS notifications.
-
-[Twilio SMS Plugin Documentation](https://docs.medusajs.com/plugins/notifications/twilio-sms) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa)
-
-## Features
-
-- Access Twilio's SMS APIs easily using the `TwilioSmsService`.
-
----
-
-## Prerequisites
-
-- [Medusa backend](https://docs.medusajs.com/development/backend/install)
-- [Twilio account](https://www.twilio.com/sms)
-
----
-
-## How to Install
-
-1\. Run the following command in the directory of the Medusa backend:
-
- ```bash
- npm install medusa-plugin-twilio-sms
- ```
-
-2\. Set the following environment variable in `.env`:
-
- ```bash
- TWILIO_SMS_ACCOUNT_SID=
- TWILIO_SMS_AUTH_TOKEN=
- TWILIO_SMS_FROM_NUMBER=
- ```
-
-3\. In `medusa-config.js` add the following at the end of the `plugins` array:
-
- ```js
- const plugins = [
- // ...
- {
- resolve: `medusa-plugin-twilio-sms`,
- options: {
- account_sid: process.env.TWILIO_SMS_ACCOUNT_SID,
- auth_token: process.env.TWILIO_SMS_AUTH_TOKEN,
- from_number: process.env.TWILIO_SMS_FROM_NUMBER,
- },
- },
- ]
- ```
-
----
-
-## Test the Plugin
-
-In your code, use the `TwilioSmsService` where necessary to send your customers notifications.
-
----
-
-## Additional Resources
-
-- [Twilio SMS Plugin Documentation](https://docs.medusajs.com/plugins/notifications/twilio-sms)
diff --git a/packages/medusa-plugin-twilio-sms/index.js b/packages/medusa-plugin-twilio-sms/index.js
deleted file mode 100644
index 172f1ae6a4..0000000000
--- a/packages/medusa-plugin-twilio-sms/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// noop
diff --git a/packages/medusa-plugin-twilio-sms/jest.config.js b/packages/medusa-plugin-twilio-sms/jest.config.js
deleted file mode 100644
index 82513aa071..0000000000
--- a/packages/medusa-plugin-twilio-sms/jest.config.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
- testEnvironment: "node",
-}
diff --git a/packages/medusa-plugin-twilio-sms/package.json b/packages/medusa-plugin-twilio-sms/package.json
deleted file mode 100644
index 06f078d95e..0000000000
--- a/packages/medusa-plugin-twilio-sms/package.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "name": "medusa-plugin-twilio-sms",
- "version": "1.2.8",
- "main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa",
- "directory": "packages/medusa-plugin-twilio-sms"
- },
- "engines": {
- "node": ">=16"
- },
- "author": "Oliver Juhl",
- "license": "AGPL-3.0-or-later",
- "devDependencies": {
- "@babel/cli": "^7.7.5",
- "@babel/core": "^7.7.5",
- "@babel/node": "^7.7.4",
- "@babel/plugin-proposal-class-properties": "^7.7.4",
- "@babel/plugin-transform-instanceof": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.7.6",
- "@babel/preset-env": "^7.7.5",
- "@babel/register": "^7.7.4",
- "@babel/runtime": "^7.9.6",
- "cross-env": "^5.2.1",
- "jest": "^25.5.4",
- "medusa-interfaces": "^1.3.7",
- "medusa-test-utils": "^1.1.40"
- },
- "scripts": {
- "prepare": "cross-env NODE_ENV=production yarn run build",
- "test": "jest --passWithNoTests src",
- "build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
- "watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
- },
- "peerDependencies": {
- "medusa-interfaces": "^1.3.7"
- },
- "dependencies": {
- "@babel/plugin-transform-classes": "^7.9.5",
- "body-parser": "^1.19.0",
- "medusa-core-utils": "^1.2.0",
- "twilio": "^3.49.1"
- },
- "gitHead": "c46300d58fbfd0b2dc2c02745ae143e6247e885b",
- "keywords": [
- "medusa-plugin",
- "medusa-plugin-notification"
- ]
-}
diff --git a/packages/medusa-plugin-twilio-sms/src/services/twilio-sms.js b/packages/medusa-plugin-twilio-sms/src/services/twilio-sms.js
deleted file mode 100644
index 73af7d22f5..0000000000
--- a/packages/medusa-plugin-twilio-sms/src/services/twilio-sms.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import { BaseService } from "medusa-interfaces"
-import twilio from "twilio"
-
-class TwilioSmsService extends BaseService {
- /**
- * @param {Object} options - options defined in `medusa-config.js`
- * e.g.
- * {
- * account_sid: "1234",
- * auth_token: "XXX",
- * from_number: "+4512345678"
- * }
- */
- constructor({}, options) {
- super()
-
- this.options_ = options
-
- this.twilioClient = twilio(options.account_sid, options.auth_token)
- }
-
- /**
- * @param {Object} data - Twilio message options
- * see: https://www.twilio.com/docs/sms/api/message-resource#create-a-message-resource
- */
- async sendSms(data) {
- return this.twilioClient.messages.create({
- from: this.options_.from_number,
- ...data,
- })
- }
-}
-
-export default TwilioSmsService
diff --git a/packages/medusa-source-shopify/.babelrc b/packages/medusa-source-shopify/.babelrc
deleted file mode 100644
index 75cbf1558b..0000000000
--- a/packages/medusa-source-shopify/.babelrc
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "plugins": [
- "@babel/plugin-proposal-optional-chaining",
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-transform-instanceof",
- "@babel/plugin-transform-classes"
- ],
- "presets": ["@babel/preset-env"],
- "env": {
- "test": {
- "plugins": ["@babel/plugin-transform-runtime"]
- }
- }
-}
diff --git a/packages/medusa-source-shopify/.gitignore b/packages/medusa-source-shopify/.gitignore
deleted file mode 100644
index 5e0a597c3e..0000000000
--- a/packages/medusa-source-shopify/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
-/lib
-node_modules
-.DS_store
-.env*
-/*.js
-!index.js
-!jest.config.js
-
-/dist
-/api
-/services
-/utils
-/subscribers
-/loaders
-
-
diff --git a/packages/medusa-source-shopify/.npmignore b/packages/medusa-source-shopify/.npmignore
deleted file mode 100644
index c6c178688f..0000000000
--- a/packages/medusa-source-shopify/.npmignore
+++ /dev/null
@@ -1,9 +0,0 @@
-.DS_store
-src
-dist
-yarn.lock
-.babelrc
-jest.config.js
-
-.turbo
-.yarn
\ No newline at end of file
diff --git a/packages/medusa-source-shopify/CHANGELOG.md b/packages/medusa-source-shopify/CHANGELOG.md
deleted file mode 100644
index ed562ad340..0000000000
--- a/packages/medusa-source-shopify/CHANGELOG.md
+++ /dev/null
@@ -1,142 +0,0 @@
-# Change Log
-
-## 1.2.9
-
-### Patch Changes
-
-- [#5543](https://github.com/medusajs/medusa/pull/5543) [`f90ba0208`](https://github.com/medusajs/medusa/commit/f90ba02087778d8131aed3a59a6dc9c8ca3c95f4) Thanks [@adrien2p](https://github.com/adrien2p)! - feat(utils): Introduce promiseAll util
-
-- Updated dependencies [[`c39bf69a5`](https://github.com/medusajs/medusa/commit/c39bf69a5e5cae75d7fa12aa6022b10903557a32), [`154c9b43b`](https://github.com/medusajs/medusa/commit/154c9b43bde1fdff562aba9da8a79af2660b29b3)]:
- - @medusajs/utils@1.10.5
-
-## 1.2.8
-
-### Patch Changes
-
-- [#3041](https://github.com/medusajs/medusa/pull/3041) [`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724) Thanks [@riqwan](https://github.com/riqwan)! - chore(medusa): Typeorm fixes / enhancements
-
- - upgrade typeorm from 0.2.51 to 0.3.11
- - Plugin repository loader to work with Typeorm update
-
-- [#3187](https://github.com/medusajs/medusa/pull/3187) [`f97b3d7cc`](https://github.com/medusajs/medusa/commit/f97b3d7ccee381d3491337ab5144bb44520382a7) Thanks [@fPolic](https://github.com/fPolic)! - feat(medusa, cache-redis, cache-inmemory): Added cache modules
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0
- - medusa-interfaces@1.3.7
- - medusa-test-utils@1.1.40
-
-## 1.2.8-rc.0
-
-### Patch Changes
-
-- [#3041](https://github.com/medusajs/medusa/pull/3041) [`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724) Thanks [@riqwan](https://github.com/riqwan)! - chore(medusa): Typeorm fixes / enhancements
-
- - upgrade typeorm from 0.2.51 to 0.3.11
- - Plugin repository loader to work with Typeorm update
-
-- [#3187](https://github.com/medusajs/medusa/pull/3187) [`f97b3d7cc`](https://github.com/medusajs/medusa/commit/f97b3d7ccee381d3491337ab5144bb44520382a7) Thanks [@fPolic](https://github.com/fPolic)! - feat(medusa, cache-redis, cache-inmemory): Added cache modules
-
-- Updated dependencies [[`121b42acf`](https://github.com/medusajs/medusa/commit/121b42acfe98c12dd593f9b1f2072ff0f3b61724), [`aa690beed`](https://github.com/medusajs/medusa/commit/aa690beed775646cbc86b445fb5dc90dcac087d5), [`54dcc1871`](https://github.com/medusajs/medusa/commit/54dcc1871c8f28bea962dbb9df6e79b038d56449), [`77d46220c`](https://github.com/medusajs/medusa/commit/77d46220c23bfe19e575cbc445874eb6c22f3c73)]:
- - medusa-core-utils@1.2.0-rc.0
- - medusa-interfaces@1.3.7-rc.0
- - medusa-test-utils@1.1.40-rc.0
-
-## 1.2.7
-
-### Patch Changes
-
-- Updated dependencies [[`8c5219a31`](https://github.com/medusajs/medusa/commit/8c5219a31ef76ee571fbce84d7d57a63abe56eb0)]:
- - medusa-core-utils@1.1.39
- - medusa-interfaces@1.3.6
-
-## 1.2.6
-
-### Patch Changes
-
-- Updated dependencies [[`08324355a`](https://github.com/medusajs/medusa/commit/08324355a4466b017a0bc7ab1d333ee3cd27b8c4)]:
- - medusa-core-utils@1.1.38
- - medusa-interfaces@1.3.5
-
-## 1.2.5
-
-### Patch Changes
-
-- [#3025](https://github.com/medusajs/medusa/pull/3025) [`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2) Thanks [@adrien2p](https://github.com/adrien2p)! - fix(medusa): test, build and watch scripts
-
-- Updated dependencies [[`93d0dc1bd`](https://github.com/medusajs/medusa/commit/93d0dc1bdcb54cf6e87428a7bb9b0dac196b4de2)]:
- - medusa-interfaces@1.3.4
-
-## 1.2.4
-
-### Patch Changes
-
-- [#2808](https://github.com/medusajs/medusa/pull/2808) [`0a9c89185`](https://github.com/medusajs/medusa/commit/0a9c891853c4d16b553d38268a3408ca1daa71f0) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - chore: explicitly add devDependencies for monorepo peerDependencies
-
-- Updated dependencies [[`7cced6006`](https://github.com/medusajs/medusa/commit/7cced6006a9a6f9108009e9f3e191e9f3ba1b168)]:
- - medusa-core-utils@1.1.37
-
-## 1.2.3
-
-### Patch Changes
-
-- Updated dependencies [[`c97ccd3fb`](https://github.com/medusajs/medusa/commit/c97ccd3fb5dbe796b0e4fbf37def5bb6e8201557)]:
- - medusa-interfaces@1.3.3
-
-## 1.2.2
-
-### Patch Changes
-
-- [#1914](https://github.com/medusajs/medusa/pull/1914) [`1dec44287`](https://github.com/medusajs/medusa/commit/1dec44287df5ac69b4c5769b59f9ebef58d3da68) Thanks [@fPolic](https://github.com/fPolic)! - Version bump due to missing changesets in merged PRs
-
-- Updated dependencies [[`1dec44287`](https://github.com/medusajs/medusa/commit/1dec44287df5ac69b4c5769b59f9ebef58d3da68), [`b8ddb31f6`](https://github.com/medusajs/medusa/commit/b8ddb31f6fe296a11d2d988276ba8e991c37fa9b)]:
- - medusa-interfaces@1.3.2
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-## [1.2.1](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.2.0...medusa-source-shopify@1.2.1) (2022-07-05)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-# [1.2.0](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.1.1...medusa-source-shopify@1.2.0) (2022-05-01)
-
-### Bug Fixes
-
-- source shopify handle duplicate unique values and more efficient updates ([#1154](https://github.com/medusajs/medusa/issues/1154)) ([eb8e247](https://github.com/medusajs/medusa/commit/eb8e247e7de6ca0894eee640758748d5f21b6122))
-- source-shopify tests ([#1192](https://github.com/medusajs/medusa/issues/1192)) ([4be991c](https://github.com/medusajs/medusa/commit/4be991c15648c633f619947a38ad9fefad5b8f07))
-
-## [1.1.1](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.5...medusa-source-shopify@1.1.1) (2022-02-28)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-# [1.1.0](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.5...medusa-source-shopify@1.1.0) (2022-02-25)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-## [1.0.5](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.4...medusa-source-shopify@1.0.5) (2022-02-06)
-
-### Bug Fixes
-
-- release ([fc3fbc8](https://github.com/medusajs/medusa/commit/fc3fbc897fad5c8a5d3eea828ac7277fba9d70af))
-
-## [1.0.4](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.3...medusa-source-shopify@1.0.4) (2022-02-06)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-## [1.0.3](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.2...medusa-source-shopify@1.0.3) (2022-01-11)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-## [1.0.2](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.1...medusa-source-shopify@1.0.2) (2021-12-29)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-## [1.0.1](https://github.com/medusajs/medusa/compare/medusa-source-shopify@1.0.0...medusa-source-shopify@1.0.1) (2021-12-17)
-
-**Note:** Version bump only for package medusa-source-shopify
-
-# 1.0.0 (2021-12-08)
-
-### Features
-
-- medusa-source-shopify loader ([#563](https://github.com/medusajs/medusa/issues/563)) ([577bcc2](https://github.com/medusajs/medusa/commit/577bcc23d44c87b91b2b685fd4ddfc5d21a0aa47))
diff --git a/packages/medusa-source-shopify/README.md b/packages/medusa-source-shopify/README.md
deleted file mode 100644
index 75dfc11f37..0000000000
--- a/packages/medusa-source-shopify/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# Shopify Source
-
-Migrate your products and categories from Shopify to Medusa.
-
-[Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa)
-
-## Features
-
-- Migrate data related to products from Shopify to Medusa.
-- Consistently keep data in sync between Shopify and Medusa.
-
----
-
-## Prerequisites
-
-- [Medusa backend](https://docs.medusajs.com/development/backend/install)
-- [Shopify account](https://shopify.dev/)
-
----
-
-## How to Install
-
-1\. Run the following command in the directory of the Medusa backend:
-
- ```bash
- npm install medusa-source-shopify
- ```
-
-2\. Set the following environment variable in `.env`:
-
- ```bash
- SHOPIFY_DOMAIN=
- SHOPIFY_PASSWORD=
- ```
-
-3\. In `medusa-config.js` add the following at the end of the `plugins` array:
-
- ```js
- const plugins = [
- // ...,
- {
- resolve: 'medusa-source-shopify',
- options: {
- domain: process.env.SHOPIFY_DOMAIN,
- password: process.env.SHOPIFY_PASSWORD
- }
- }
- ];
- ```
-
----
-
-## Test the Plugin
-
-1\. Run the following command in the directory of the Medusa backend to run the backend:
-
- ```bash
- npm run start
- ```
-
-2\. The data migration runs on server start-up. You should see your Shopify products in Medusa.
\ No newline at end of file
diff --git a/packages/medusa-source-shopify/jest.config.js b/packages/medusa-source-shopify/jest.config.js
deleted file mode 100644
index a00e6f5696..0000000000
--- a/packages/medusa-source-shopify/jest.config.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- testEnvironment: "node",
- transform: {
- "^.+\\.[jt]s?$": `../../jest-transformer.js`,
- },
-}
diff --git a/packages/medusa-source-shopify/package.json b/packages/medusa-source-shopify/package.json
deleted file mode 100644
index 65f6698733..0000000000
--- a/packages/medusa-source-shopify/package.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "name": "medusa-source-shopify",
- "version": "1.2.9",
- "description": "Source plugin that allows users to import products from a Shopify store",
- "main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/medusajs/medusa",
- "directory": "packages/medusa-source-shopify"
- },
- "engines": {
- "node": ">=16"
- },
- "author": "Kasper Fabrcius Kristensen ",
- "license": "MIT",
- "scripts": {
- "prepare": "cross-env NODE_ENV=production yarn run build",
- "test": "jest --passWithNoTests src",
- "build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
- "watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
- },
- "peerDependencies": {
- "medusa-interfaces": "^1.3.7"
- },
- "dependencies": {
- "@babel/plugin-transform-classes": "^7.15.4",
- "@medusajs/utils": "^1.10.5",
- "@shopify/shopify-api": "^1.4.1",
- "axios": "^0.21.4",
- "body-parser": "^1.19.0",
- "express": "^4.17.1",
- "ioredis": "^4.27.9",
- "lodash": "^4.17.21",
- "medusa-core-utils": "^1.2.0"
- },
- "devDependencies": {
- "@babel/cli": "^7.15.4",
- "@babel/core": "^7.15.5",
- "@babel/node": "^7.15.4",
- "@babel/plugin-proposal-class-properties": "^7.14.5",
- "@babel/plugin-transform-instanceof": "^7.14.5",
- "@babel/plugin-transform-runtime": "^7.15.0",
- "@babel/preset-env": "^7.15.6",
- "@babel/register": "^7.15.3",
- "@babel/runtime": "^7.15.4",
- "client-sessions": "^0.8.0",
- "cross-env": "^7.0.3",
- "jest": "^25.5.4",
- "medusa-interfaces": "^1.3.7",
- "medusa-test-utils": "^1.1.40"
- },
- "gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
- "keywords": [
- "medusa-plugin",
- "medusa-plugin-source"
- ]
-}
diff --git a/packages/medusa-source-shopify/src/loaders/index.js b/packages/medusa-source-shopify/src/loaders/index.js
deleted file mode 100644
index 0efb86da00..0000000000
--- a/packages/medusa-source-shopify/src/loaders/index.js
+++ /dev/null
@@ -1,8 +0,0 @@
-export default async (container, options) => {
- try {
- const shopifyService = container.resolve("shopifyService")
- await shopifyService.importShopify()
- } catch (err) {
- console.log(err)
- }
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/product-collection.js b/packages/medusa-source-shopify/src/services/__mocks__/product-collection.js
deleted file mode 100644
index 8e66283420..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/product-collection.js
+++ /dev/null
@@ -1,17 +0,0 @@
-export const ProductCollectionServiceMock = {
- withTransaction: function () {
- return this
- },
- create: jest.fn().mockImplementation((data) => {
- return Promise.resolve({
- id: `col_${data.metadata.sh_id}`,
- ...data,
- })
- }),
- retrieveByHandle: jest.fn().mockImplementation((handle) => {
- return Promise.resolve(undefined)
- }),
- addProducts: jest.fn().mockImplementation((id, products) => {
- return Promise.resolve()
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/product-service.js b/packages/medusa-source-shopify/src/services/__mocks__/product-service.js
deleted file mode 100644
index 95f7b47bf0..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/product-service.js
+++ /dev/null
@@ -1,32 +0,0 @@
-import { medusaProducts } from "./test-products"
-
-export const ProductServiceMock = {
- withTransaction: function () {
- return this
- },
- create: jest.fn().mockImplementation((data) => {
- if (data.handle === "ipod-nano") {
- return Promise.resolve(medusaProducts.ipod)
- }
- }),
- update: jest.fn().mockImplementation((_id, _update) => {
- return Promise.resolve(medusaProducts.ipod)
- }),
- retrieveByExternalId: jest.fn().mockImplementation((id) => {
- if (id === "shopify_ipod") {
- return Promise.resolve(medusaProducts.ipod)
- }
- if (id === "shopify_deleted") {
- return Promise.resolve(medusaProducts.ipod)
- }
- return Promise.resolve(undefined)
- }),
- retrieve: jest.fn().mockImplementation((_id, _config) => {
- if (_id === "prod_ipod") {
- return Promise.resolve(medusaProducts.ipod)
- }
- }),
- addOption: jest.fn().mockImplementation((_id, _title) => {
- return Promise.resolve()
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/product-variant.js b/packages/medusa-source-shopify/src/services/__mocks__/product-variant.js
deleted file mode 100644
index 4322eb49ab..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/product-variant.js
+++ /dev/null
@@ -1,17 +0,0 @@
-export const ProductVariantServiceMock = {
- withTransaction: function () {
- return this
- },
- create: jest.fn().mockImplementation((_data) => {
- return Promise.resolve({})
- }),
- update: jest.fn().mockImplementation((_data) => {
- return Promise.resolve()
- }),
- delete: jest.fn().mockImplementation((_data) => {
- return Promise.resolve()
- }),
- addOption: jest.fn().mockImplementation((id, title) => {
- return Promise.resolve()
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/shipping-profile.js b/packages/medusa-source-shopify/src/services/__mocks__/shipping-profile.js
deleted file mode 100644
index f01e5ab9f3..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/shipping-profile.js
+++ /dev/null
@@ -1,8 +0,0 @@
-export const ShippingProfileServiceMock = {
- retrieveGiftCardDefault: jest.fn().mockImplementation((_data) => {
- return Promise.resolve({ id: "gift_card_profile" })
- }),
- retrieveDefault: jest.fn().mockImplementation((_data) => {
- return Promise.resolve({ id: "default_shipping_profile" })
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/shopify-cache.js b/packages/medusa-source-shopify/src/services/__mocks__/shopify-cache.js
deleted file mode 100644
index 778cd78c2c..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/shopify-cache.js
+++ /dev/null
@@ -1,18 +0,0 @@
-export const ShopifyCacheServiceMock = {
- addIgnore: jest.fn().mockImplementation((_id, _event) => {
- return Promise.resolve()
- }),
- shouldIgnore: jest.fn().mockImplementation((_id, _event) => {
- return false
- }),
- addUniqueValue: jest.fn().mockImplementation((val, type) => {
- return Promise.resolve()
- }),
- getUniqueValue: jest.fn().mockImplementation((val, type) => {
- if (val === "uniq") {
- return Promise.resolve("uniq")
- } else {
- return Promise.resolve(undefined)
- }
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/shopify-client.js b/packages/medusa-source-shopify/src/services/__mocks__/shopify-client.js
deleted file mode 100644
index 46a4823a83..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/shopify-client.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import { shopifyProducts } from "./test-products"
-
-export const ShopifyClientServiceMock = {
- get: jest.fn().mockImplementation((params) => {
- if (params.path === "products/ipod") {
- return Promise.resolve(shopifyProducts.ipod)
- }
- if (params.path === "products/new_ipod") {
- return Promise.resolve(shopifyProducts.new_ipod)
- }
- if (params.path === "products/shopify_ipod") {
- return Promise.resolve({
- body: {
- product: shopifyProducts.ipod_update,
- },
- })
- }
- if (params.path === "products/shopify_deleted") {
- return Promise.resolve({
- body: {
- product: {
- ...shopifyProducts.ipod,
- variants: shopifyProducts.ipod.variants.slice(1, -1),
- },
- },
- })
- }
- }),
- list: jest.fn().mockImplementation((path, _headers, _query) => {
- if (path === "products") {
- return Promise.resolve([shopifyProducts.ipod])
- }
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/shopify-product.js b/packages/medusa-source-shopify/src/services/__mocks__/shopify-product.js
deleted file mode 100644
index cc5efa3ee1..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/shopify-product.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { medusaProducts } from "./test-products"
-
-export const ShopifyProductServiceMock = {
- withTransaction: function () {
- return this
- },
- create: jest.fn().mockImplementation((_data) => {
- return Promise.resolve(medusaProducts.ipod)
- }),
-}
diff --git a/packages/medusa-source-shopify/src/services/__mocks__/test-products.js b/packages/medusa-source-shopify/src/services/__mocks__/test-products.js
deleted file mode 100644
index 7ff235841c..0000000000
--- a/packages/medusa-source-shopify/src/services/__mocks__/test-products.js
+++ /dev/null
@@ -1,577 +0,0 @@
-export const medusaProducts = {
- ipod: {
- id: "prod_ipod",
- title: "IPod Nano - 8GB",
- subtitle: null,
- description:
- "It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.
",
- handle: "ipod-nano",
- is_giftcard: false,
- status: "proposed",
- images: [
- {
- id: "img_01FHZ9ZFC4SP5ME8T18SW47R7S",
- url:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- {
- id: "img_01FHZ9ZFC4SK54GE072FHMQ5XT",
- url:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1633120966",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- {
- id: "img_01FHZ9ZFC44EKQPVWK76HBZT0S",
- url:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- thumbnail:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- options: [
- {
- id: "opt_01FHZ9ZFCPCQ7B1MPDD9X9YQX3",
- title: "Color",
- product_id: "prod_01FHZ9ZFC3KKYKA35NXNJ5A7FR",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- variants: [
- {
- id: "variant_01FHZ9ZFED5MEX3V4A7H5V2A0C",
- title: "Pink",
- product_id: "prod_01FHZ9ZFC3KKYKA35NXNJ5A7FR",
- prices: [
- {
- id: "ma_01FHZ9ZFEPN276FGACR08ZBZ2M",
- currency_code: "usd",
- amount: 19900,
- sale_amount: null,
- variant_id: "variant_01FHZ9ZFED5MEX3V4A7H5V2A0C",
- region_id: null,
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- },
- ],
- sku: "IPOD2008PINK",
- barcode: "1234_pink",
- ean: null,
- upc: "1234_pink",
- inventory_quantity: 10,
- allow_backorder: true,
- manage_inventory: true,
- hs_code: null,
- origin_country: null,
- mid_code: null,
- material: null,
- weight: 567,
- length: null,
- height: null,
- width: null,
- options: [
- {
- id: "optval_01FHZ9ZFEDMCJME1BR4X8H89MG",
- value: "Pink",
- option_id: "opt_01FHZ9ZFCPCQ7B1MPDD9X9YQX3",
- variant_id: "variant_01FHZ9ZFED5MEX3V4A7H5V2A0C",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: {
- sh_id: 808950810,
- },
- },
- {
- id: "variant_01FHZ9ZFFA2KPA4JJSKF07VGWH",
- title: "Red",
- product_id: "prod_01FHZ9ZFC3KKYKA35NXNJ5A7FR",
- prices: [
- {
- id: "ma_01FHZ9ZFFFX31Z9GZ8ZHQ5KQ2P",
- currency_code: "usd",
- amount: 19900,
- sale_amount: null,
- variant_id: "variant_01FHZ9ZFFA2KPA4JJSKF07VGWH",
- region_id: null,
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- },
- ],
- sku: "IPOD2008RED",
- barcode: "1234_red",
- ean: null,
- upc: "1234_red",
- inventory_quantity: 20,
- allow_backorder: true,
- manage_inventory: true,
- hs_code: null,
- origin_country: null,
- mid_code: null,
- material: null,
- weight: 567,
- length: null,
- height: null,
- width: null,
- options: [
- {
- id: "optval_01FHZ9ZFFASNAD8JSWS85Y4ZM0",
- value: "Red",
- option_id: "opt_01FHZ9ZFCPCQ7B1MPDD9X9YQX3",
- variant_id: "variant_01FHZ9ZFFA2KPA4JJSKF07VGWH",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: {
- sh_id: 49148385,
- },
- },
- {
- id: "variant_01FHZ9ZFG2F54TZMAWV0RJCQ5D",
- title: "Green",
- product_id: "prod_01FHZ9ZFC3KKYKA35NXNJ5A7FR",
- prices: [
- {
- id: "ma_01FHZ9ZFG6QPPCG4XPX8JG0HGW",
- currency_code: "usd",
- amount: 19900,
- sale_amount: null,
- variant_id: "variant_01FHZ9ZFG2F54TZMAWV0RJCQ5D",
- region_id: null,
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- },
- ],
- sku: "IPOD2008GREEN",
- barcode: "1234_green",
- ean: null,
- upc: "1234_green",
- inventory_quantity: 30,
- allow_backorder: true,
- manage_inventory: true,
- hs_code: null,
- origin_country: null,
- mid_code: null,
- material: null,
- weight: 567,
- length: null,
- height: null,
- width: null,
- options: [
- {
- id: "optval_01FHZ9ZFG2K7GG7B79VVZW6AKN",
- value: "Green",
- option_id: "opt_01FHZ9ZFCPCQ7B1MPDD9X9YQX3",
- variant_id: "variant_01FHZ9ZFG2F54TZMAWV0RJCQ5D",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: {
- sh_id: 39072856,
- },
- },
- {
- id: "variant_01FHZ9ZFGN4GZN3P6JEB39C9G8",
- title: "Black",
- product_id: "prod_01FHZ9ZFC3KKYKA35NXNJ5A7FR",
- prices: [
- {
- id: "ma_01FHZ9ZFGVNSHF4YRANBJSVN11",
- currency_code: "usd",
- amount: 19900,
- sale_amount: null,
- variant_id: "variant_01FHZ9ZFGN4GZN3P6JEB39C9G8",
- region_id: null,
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- },
- ],
- sku: "IPOD2008BLACK",
- barcode: "1234_black",
- ean: null,
- upc: "1234_black",
- inventory_quantity: 40,
- allow_backorder: true,
- manage_inventory: true,
- hs_code: null,
- origin_country: null,
- mid_code: null,
- material: null,
- weight: 567,
- length: null,
- height: null,
- width: null,
- options: [
- {
- id: "optval_01FHZ9ZFGNJXHVHFERQHR1AXHX",
- value: "Black",
- option_id: "opt_01FHZ9ZFCPCQ7B1MPDD9X9YQX3",
- variant_id: "variant_01FHZ9ZFGN4GZN3P6JEB39C9G8",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: {
- sh_id: 457924702,
- },
- },
- ],
- profile_id: "sp_01FHZ9YRZT5DD4HTKJG2T38WXD",
- weight: null,
- length: null,
- height: null,
- width: null,
- hs_code: null,
- origin_country: null,
- mid_code: null,
- material: null,
- collection_id: null,
- collection: null,
- type_id: null,
- type: null,
- tags: [
- {
- id: "ptag_01FHZ9ZFBVN7EK9VZ2EC0T2Y1A",
- value: "Emotive",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- {
- id: "ptag_01FHZ9ZFBY01226XFYXP0R3EEK",
- value: " Flash Memory",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- {
- id: "ptag_01FHZ9ZFC0N8S7G85F2TZXKSAM",
- value: " MP3",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- {
- id: "ptag_01FHZ9ZFC2K6V0A43S398DC2Q2",
- value: " Music",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- discountable: true,
- external_id: "shopify_ipod",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
-}
-
-const shopifyIpod = {
- id: "shopify_ipod",
- title: "IPod Nano - 8GB",
- body_html:
- "It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.
",
- vendor: "Apple",
- product_type: "Cult Products",
- created_at: "2021-10-01T16:42:46-04:00",
- handle: "ipod-nano",
- updated_at: "2021-10-01T16:42:46-04:00",
- published_at: "2007-12-31T19:00:00-05:00",
- template_suffix: null,
- status: "active",
- published_scope: "web",
- tags: "Emotive, Flash Memory, MP3, Music",
- admin_graphql_api_id: "gid://shopify/Product/632910392",
- variants: [
- {
- id: 808950810,
- product_id: 632910392,
- title: "Pink",
- price: "199.00",
- sku: "IPOD2008PINK",
- position: 1,
- inventory_policy: "continue",
- compare_at_price: null,
- fulfillment_service: "manual",
- inventory_management: "shopify",
- option1: "Pink",
- option2: null,
- option3: null,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- taxable: true,
- barcode: "1234_pink",
- grams: 567,
- image_id: 562641783,
- weight: 1.25,
- weight_unit: "lb",
- inventory_item_id: 808950810,
- inventory_quantity: 10,
- old_inventory_quantity: 10,
- presentment_prices: [
- {
- price: {
- amount: "199.00",
- currency_code: "USD",
- },
- compare_at_price: null,
- },
- ],
- requires_shipping: true,
- admin_graphql_api_id: "gid://shopify/ProductVariant/808950810",
- },
- {
- id: 49148385,
- product_id: 632910392,
- title: "Red",
- price: "199.00",
- sku: "IPOD2008RED",
- position: 2,
- inventory_policy: "continue",
- compare_at_price: null,
- fulfillment_service: "manual",
- inventory_management: "shopify",
- option1: "Red",
- option2: null,
- option3: null,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- taxable: true,
- barcode: "1234_red",
- grams: 567,
- image_id: null,
- weight: 1.25,
- weight_unit: "lb",
- inventory_item_id: 49148385,
- inventory_quantity: 20,
- old_inventory_quantity: 20,
- presentment_prices: [
- {
- price: {
- amount: "199.00",
- currency_code: "USD",
- },
- compare_at_price: null,
- },
- ],
- requires_shipping: true,
- admin_graphql_api_id: "gid://shopify/ProductVariant/49148385",
- },
- {
- id: 39072856,
- product_id: 632910392,
- title: "Green",
- price: "199.00",
- sku: "IPOD2008GREEN",
- position: 3,
- inventory_policy: "continue",
- compare_at_price: null,
- fulfillment_service: "manual",
- inventory_management: "shopify",
- option1: "Green",
- option2: null,
- option3: null,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- taxable: true,
- barcode: "1234_green",
- grams: 567,
- image_id: null,
- weight: 1.25,
- weight_unit: "lb",
- inventory_item_id: 39072856,
- inventory_quantity: 30,
- old_inventory_quantity: 30,
- presentment_prices: [
- {
- price: {
- amount: "199.00",
- currency_code: "USD",
- },
- compare_at_price: null,
- },
- ],
- requires_shipping: true,
- admin_graphql_api_id: "gid://shopify/ProductVariant/39072856",
- },
- {
- id: 457924702,
- product_id: 632910392,
- title: "Black",
- price: "199.00",
- sku: "IPOD2008BLACK",
- position: 4,
- inventory_policy: "continue",
- compare_at_price: null,
- fulfillment_service: "manual",
- inventory_management: "shopify",
- option1: "Black",
- option2: null,
- option3: null,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- taxable: true,
- barcode: "1234_black",
- grams: 567,
- image_id: null,
- weight: 1.25,
- weight_unit: "lb",
- inventory_item_id: 457924702,
- inventory_quantity: 40,
- old_inventory_quantity: 40,
- presentment_prices: [
- {
- price: {
- amount: "199.00",
- currency_code: "USD",
- },
- compare_at_price: null,
- },
- ],
- requires_shipping: true,
- admin_graphql_api_id: "gid://shopify/ProductVariant/457924702",
- },
- ],
- options: [
- {
- id: 594680422,
- product_id: 632910392,
- name: "Color",
- position: 1,
- values: ["Pink", "Red", "Green", "Black"],
- },
- ],
- images: [
- {
- id: 850703190,
- product_id: 632910392,
- position: 1,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- alt: null,
- width: 123,
- height: 456,
- src:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- variant_ids: [],
- admin_graphql_api_id: "gid://shopify/ProductImage/850703190",
- },
- {
- id: 562641783,
- product_id: 632910392,
- position: 2,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- alt: null,
- width: 123,
- height: 456,
- src:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1633120966",
- variant_ids: [808950810],
- admin_graphql_api_id: "gid://shopify/ProductImage/562641783",
- },
- {
- id: 378407906,
- product_id: 632910392,
- position: 3,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- alt: null,
- width: 123,
- height: 456,
- src:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- variant_ids: [],
- admin_graphql_api_id: "gid://shopify/ProductImage/378407906",
- },
- ],
- image: {
- id: 850703190,
- product_id: 632910392,
- position: 1,
- created_at: "2021-10-01T16:42:46-04:00",
- updated_at: "2021-10-01T16:42:46-04:00",
- alt: null,
- width: 123,
- height: 456,
- src:
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- variant_ids: [],
- admin_graphql_api_id: "gid://shopify/ProductImage/850703190",
- },
-}
-
-export const shopifyProducts = {
- ipod: shopifyIpod,
- new_ipod: { ...shopifyIpod, id: "shopify_new_ipod" },
- ipod_update: {
- ...shopifyIpod,
- title: "IPod Nano",
- options: [
- ...shopifyIpod.options,
- {
- id: 594680423,
- product_id: 632910392,
- name: "Memory",
- position: 2,
- values: ["8GB", "16GB"],
- },
- ],
- variants: [
- { ...shopifyIpod.variants[0], title: "Pink / 8GB", option2: "8GB" },
- { ...shopifyIpod.variants[1], title: "Red / 8GB", option2: "8GB" },
- { ...shopifyIpod.variants[2], title: "Green / 8GB", option2: "8GB" },
- { ...shopifyIpod.variants[3], title: "Black / 8GB", option2: "8GB" },
- { ...shopifyIpod.variants[0], title: "Pink / 16GB", option2: "16GB" },
- { ...shopifyIpod.variants[1], title: "Red / 16GB", option2: "16GB" },
- { ...shopifyIpod.variants[2], title: "Green / 16GB", option2: "16GB" },
- { ...shopifyIpod.variants[3], title: "Black / 16GB", option2: "16GB" },
- ],
- },
-}
diff --git a/packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-collection.js.snap b/packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-collection.js.snap
deleted file mode 100644
index 694a0f4856..0000000000
--- a/packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-collection.js.snap
+++ /dev/null
@@ -1,23 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`ShopifyCollectionService create normalizes a custom collection from Shopify 1`] = `
-Object {
- "handle": "spring",
- "metadata": Object {
- "sh_body": "spring collection",
- "sh_id": "spring",
- },
- "title": "Spring",
-}
-`;
-
-exports[`ShopifyCollectionService create normalizes a smart collection from Shopify 1`] = `
-Object {
- "handle": "ipods-1",
- "metadata": Object {
- "sh_body": null,
- "sh_id": 1063001322,
- },
- "title": "IPods",
-}
-`;
diff --git a/packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-product.js.snap b/packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-product.js.snap
deleted file mode 100644
index a1e095cbc7..0000000000
--- a/packages/medusa-source-shopify/src/services/__tests__/__snapshots__/shopify-product.js.snap
+++ /dev/null
@@ -1,159 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`ShopifyProductService normalizeProduct_ successfully normalizes a product from Shopify 1`] = `
-Object {
- "description": "It's the small iPod with one very big idea: Video. Now the world's most popular music player, available in 4GB and 8GB models, lets you enjoy TV shows, movies, video podcasts, and more. The larger, brighter display means amazing picture quality. In six eye-catching colors, iPod nano is stunning all around. And with models starting at just $149, little speaks volumes.
",
- "external_id": "shopify_ipod",
- "handle": "ipod-nano",
- "images": Array [
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano-2.png?v=1633120966",
- "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- ],
- "is_giftcard": false,
- "metadata": Object {
- "vendor": "Apple",
- },
- "options": Array [
- Object {
- "title": "Color",
- "values": Array [
- Object {
- "value": "Pink",
- },
- Object {
- "value": "Red",
- },
- Object {
- "value": "Green",
- },
- Object {
- "value": "Black",
- },
- ],
- },
- ],
- "product_type": Object {
- "value": "Cult Products",
- },
- "status": "proposed",
- "tags": Array [
- Object {
- "value": "Emotive",
- },
- Object {
- "value": " Flash Memory",
- },
- Object {
- "value": " MP3",
- },
- Object {
- "value": " Music",
- },
- ],
- "thumbnail": "https://cdn.shopify.com/s/files/1/0006/9093/3842/products/ipod-nano.png?v=1633120966",
- "title": "IPod Nano - 8GB",
- "variants": Array [
- Object {
- "allow_backorder": true,
- "barcode": "1234_pink",
- "inventory_quantity": 10,
- "manage_inventory": true,
- "metadata": Object {
- "sh_id": 808950810,
- },
- "options": Array [
- Object {
- "value": "Pink",
- },
- ],
- "prices": Array [
- Object {
- "amount": 19900,
- "currency_code": "usd",
- },
- ],
- "sku": "IPOD2008PINK",
- "title": "Pink",
- "upc": "1234_pink",
- "variant_rank": 1,
- "weight": 567,
- },
- Object {
- "allow_backorder": true,
- "barcode": "1234_red",
- "inventory_quantity": 20,
- "manage_inventory": true,
- "metadata": Object {
- "sh_id": 49148385,
- },
- "options": Array [
- Object {
- "value": "Red",
- },
- ],
- "prices": Array [
- Object {
- "amount": 19900,
- "currency_code": "usd",
- },
- ],
- "sku": "IPOD2008RED",
- "title": "Red",
- "upc": "1234_red",
- "variant_rank": 2,
- "weight": 567,
- },
- Object {
- "allow_backorder": true,
- "barcode": "1234_green",
- "inventory_quantity": 30,
- "manage_inventory": true,
- "metadata": Object {
- "sh_id": 39072856,
- },
- "options": Array [
- Object {
- "value": "Green",
- },
- ],
- "prices": Array [
- Object {
- "amount": 19900,
- "currency_code": "usd",
- },
- ],
- "sku": "IPOD2008GREEN",
- "title": "Green",
- "upc": "1234_green",
- "variant_rank": 3,
- "weight": 567,
- },
- Object {
- "allow_backorder": true,
- "barcode": "1234_black",
- "inventory_quantity": 40,
- "manage_inventory": true,
- "metadata": Object {
- "sh_id": 457924702,
- },
- "options": Array [
- Object {
- "value": "Black",
- },
- ],
- "prices": Array [
- Object {
- "amount": 19900,
- "currency_code": "usd",
- },
- ],
- "sku": "IPOD2008BLACK",
- "title": "Black",
- "upc": "1234_black",
- "variant_rank": 4,
- "weight": 567,
- },
- ],
-}
-`;
diff --git a/packages/medusa-source-shopify/src/services/__tests__/shopify-collection.js b/packages/medusa-source-shopify/src/services/__tests__/shopify-collection.js
deleted file mode 100644
index 2376c4ca09..0000000000
--- a/packages/medusa-source-shopify/src/services/__tests__/shopify-collection.js
+++ /dev/null
@@ -1,106 +0,0 @@
-import { MockManager } from "medusa-test-utils"
-import ShopifyCollectionService from "../shopify-collection"
-import { ProductCollectionServiceMock } from "../__mocks__/product-collection"
-import { ShopifyProductServiceMock } from "../__mocks__/shopify-product"
-import { medusaProducts } from "../__mocks__/test-products"
-
-describe("ShopifyCollectionService", () => {
- describe("create", () => {
- const shopifyCollectionService = new ShopifyCollectionService({
- manager: MockManager,
- shopifyProductService: ShopifyProductServiceMock,
- productCollectionService: ProductCollectionServiceMock,
- })
-
- beforeEach(async () => {
- jest.clearAllMocks()
- })
-
- it("creates a collection and adds products", async () => {
- const collects = [
- {
- collection_id: "spring",
- created_at: "2018-04-25T13:51:12-04:00",
- id: 841564295,
- position: 2,
- product_id: "shopify_ipod",
- sort_value: "0000000002",
- updated_at: "2018-04-25T13:51:12-04:00",
- },
- ]
- const collections = [
- {
- id: "spring",
- body_html: "spring collection",
- title: "Spring",
- handle: "spring",
- },
- ]
- const products = [medusaProducts.ipod]
-
- const results = await shopifyCollectionService.createCustomCollections(
- collects,
- collections,
- products
- )
-
- expect(
- ProductCollectionServiceMock.retrieveByHandle
- ).toHaveBeenCalledTimes(1)
- expect(ProductCollectionServiceMock.create).toHaveBeenCalledTimes(1)
- expect(results).toEqual([
- {
- id: "col_spring",
- title: "Spring",
- handle: "spring",
- metadata: {
- sh_id: "spring",
- sh_body: "spring collection",
- },
- },
- ])
- })
-
- it("normalizes a custom collection from Shopify", () => {
- const shopifyCollection = {
- id: "spring",
- body_html: "spring collection",
- title: "Spring",
- handle: "spring",
- }
-
- const normalized =
- shopifyCollectionService.normalizeCustomCollection_(shopifyCollection)
-
- expect(normalized).toMatchSnapshot()
- })
-
- it("normalizes a smart collection from Shopify", () => {
- const shopifyCollection = {
- id: 1063001322,
- handle: "ipods-1",
- title: "IPods",
- updated_at: "2022-03-11T11:00:30-05:00",
- body_html: null,
- published_at: "2022-03-11T11:00:30-05:00",
- sort_order: "best-selling",
- template_suffix: null,
- disjunctive: false,
- rules: [
- {
- column: "title",
- relation: "starts_with",
- condition: "iPod",
- },
- ],
- published_scope: "web",
- admin_graphql_api_id: "gid://shopify/Collection/1063001322",
- }
-
- const normalized =
- shopifyCollectionService.normalizeCustomCollection_(shopifyCollection)
-
- expect(normalized).toMatchSnapshot()
- })
- })
-})
diff --git a/packages/medusa-source-shopify/src/services/__tests__/shopify-product.js b/packages/medusa-source-shopify/src/services/__tests__/shopify-product.js
deleted file mode 100644
index 21afb6bf35..0000000000
--- a/packages/medusa-source-shopify/src/services/__tests__/shopify-product.js
+++ /dev/null
@@ -1,116 +0,0 @@
-import { MockManager } from "medusa-test-utils"
-import ShopifyProductService from "../shopify-product"
-import { ProductServiceMock } from "../__mocks__/product-service"
-import { ProductVariantServiceMock } from "../__mocks__/product-variant"
-import { ShippingProfileServiceMock } from "../__mocks__/shipping-profile"
-import { ShopifyClientServiceMock } from "../__mocks__/shopify-client"
-import { ShopifyCacheServiceMock } from "../__mocks__/shopify-cache"
-import { medusaProducts, shopifyProducts } from "../__mocks__/test-products"
-
-describe("ShopifyProductService", () => {
- describe("normalizeProduct_", () => {
- const shopifyProductService = new ShopifyProductService({
- manager: MockManager,
- shopifyClientService: ShopifyClientServiceMock,
- })
-
- beforeEach(async () => {
- jest.clearAllMocks()
- })
-
- it("successfully normalizes a product from Shopify", async () => {
- const data = await ShopifyClientServiceMock.get({ path: "products/ipod" })
-
- const normalized = shopifyProductService.normalizeProduct_(data)
-
- expect(normalized).toMatchSnapshot()
- })
- })
-
- describe("create", () => {
- const shopifyProductService = new ShopifyProductService({
- manager: MockManager,
- shopifyClientService: ShopifyClientServiceMock,
- productService: ProductServiceMock,
- shopifyCacheService: ShopifyCacheServiceMock,
- shippingProfileService: ShippingProfileServiceMock,
- productVariantService: ProductVariantServiceMock,
- })
-
- beforeEach(async () => {
- jest.clearAllMocks()
- })
-
- it("successfully creates a product from Shopify", async () => {
- const data = shopifyProducts.new_ipod
-
- const product = await shopifyProductService.create(data)
-
- expect(ShopifyCacheServiceMock.shouldIgnore).toHaveBeenCalledTimes(1)
- expect(ShopifyCacheServiceMock.addIgnore).toHaveBeenCalledTimes(1)
- expect(ShippingProfileServiceMock.retrieveDefault).toHaveBeenCalledTimes(
- 1
- )
- expect(ProductServiceMock.create).toHaveBeenCalledTimes(1)
- expect(ProductVariantServiceMock.create).toHaveBeenCalledTimes(4)
- expect(product).toEqual(
- expect.objectContaining({
- id: "prod_ipod",
- })
- )
- })
- })
-
- describe("update", () => {
- const shopifyProductService = new ShopifyProductService({
- manager: MockManager,
- shopifyClientService: ShopifyClientServiceMock,
- productService: ProductServiceMock,
- shopifyCacheService: ShopifyCacheServiceMock,
- shippingProfileService: ShippingProfileServiceMock,
- productVariantService: ProductVariantServiceMock,
- })
-
- beforeEach(async () => {
- jest.clearAllMocks()
- })
-
- it("updates a product and adds 4 new variants", async () => {
- const data = shopifyProducts.ipod_update
- jest
- .spyOn(shopifyProductService, "addProductOptions_")
- .mockImplementation(() => ({
- ...medusaProducts.ipod,
- options: [
- ...medusaProducts.ipod.options,
- {
- id: "opt_01FHZ9ZFCPCQ7B1MPDD9X9YQX4",
- title: "Memory",
- product_id: "prod_01FHZ9ZFC3KKYKA35NXNJ5A7FR",
- created_at: "2021-10-14T11:46:10.391Z",
- updated_at: "2021-10-14T11:46:10.391Z",
- deleted_at: null,
- metadata: null,
- },
- ],
- }))
-
- await shopifyProductService.update(medusaProducts.ipod, data)
-
- expect(ProductVariantServiceMock.update).toHaveBeenCalledTimes(8)
- expect(ProductServiceMock.update).toHaveBeenCalledTimes(1)
- })
-
- it("updates a product and deletes 2 existing variants", async () => {
- const data = { ...shopifyProducts.ipod, id: "shopify_deleted" }
- data.variants = data.variants.slice(1, -1)
- await shopifyProductService.update(
- { ...medusaProducts.ipod, id: "shopify_deleted" },
- data
- )
-
- expect(ProductVariantServiceMock.delete).toHaveBeenCalledTimes(2)
- expect(ProductServiceMock.update).toHaveBeenCalledTimes(1)
- })
- })
-})
diff --git a/packages/medusa-source-shopify/src/services/shopify-cache.js b/packages/medusa-source-shopify/src/services/shopify-cache.js
deleted file mode 100644
index 7c785b950e..0000000000
--- a/packages/medusa-source-shopify/src/services/shopify-cache.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import { BaseService } from "medusa-interfaces"
-
-import { IGNORE_THRESHOLD } from "../utils/const"
-
-class ShopifyCacheService extends BaseService {
- constructor({ cacheService }, options) {
- super()
-
- this.options_ = options
-
- /** @private @const {ICacheService} */
- this.cacheService_ = cacheService
- }
-
- async addIgnore(id, side) {
- const key = `sh_${id}_ignore_${side}`
- return await this.cacheService_.set(
- key,
- 1,
- this.options_.ignore_threshold || IGNORE_THRESHOLD
- )
- }
-
- async shouldIgnore(id, action) {
- const key = `sh_${id}_ignore_${action}`
- return await this.cacheService_.get(key)
- }
-
- async addUniqueValue(uniqueVal, type) {
- const key = `sh_${uniqueVal}_${type}`
- return await this.cacheService_.set(key, 1, 60 * 5)
- }
-
- async getUniqueValue(uniqueVal, type) {
- const key = `sh_${uniqueVal}_${type}`
- return await this.cacheService_.get(key)
- }
-}
-
-export default ShopifyCacheService
diff --git a/packages/medusa-source-shopify/src/services/shopify-client.js b/packages/medusa-source-shopify/src/services/shopify-client.js
deleted file mode 100644
index 35ebfe249d..0000000000
--- a/packages/medusa-source-shopify/src/services/shopify-client.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import { DataType } from "@shopify/shopify-api"
-import { BaseService } from "medusa-interfaces"
-
-import { createClient } from "../utils/create-client"
-import { pager } from "../utils/pager"
-
-class ShopifyClientService extends BaseService {
- // eslint-disable-next-line no-empty-pattern
- constructor({}, options) {
- super()
-
- this.options = options
-
- /** @private @const {ShopifyRestClient} */
- this.client_ = createClient(this.options)
- }
-
- get(params) {
- return this.client_.get(params)
- }
-
- async list(path, extraHeaders = null, extraQuery = {}) {
- return await pager(this.client_, path, extraHeaders, extraQuery)
- }
-
- delete(params) {
- return this.client_.delete(params)
- }
-
- post(params) {
- return this.client_.post({
- path: params.path,
- body: params.body,
- type: DataType.JSON,
- })
- }
-
- put(params) {
- return this.client_.post(params)
- }
-}
-
-export default ShopifyClientService
diff --git a/packages/medusa-source-shopify/src/services/shopify-collection.js b/packages/medusa-source-shopify/src/services/shopify-collection.js
deleted file mode 100644
index 1aa976f72a..0000000000
--- a/packages/medusa-source-shopify/src/services/shopify-collection.js
+++ /dev/null
@@ -1,397 +0,0 @@
-import { BaseService } from "medusa-interfaces"
-import { removeIndex } from "../utils/remove-index"
-
-class ShopifyCollectionService extends BaseService {
- constructor(
- {
- manager,
- shopifyProductService,
- productCollectionService,
- productService,
- storeService,
- productRepository,
- },
- options
- ) {
- super()
-
- this.options = options
-
- /** @private @const {EntityManager} */
- this.manager_ = manager
- /** @private @const {ShopifyProductService} */
- this.productService_ = shopifyProductService
- /** @private @const {ProductCollectionService} */
- this.collectionService_ = productCollectionService
- /** @private @const {StoreService} */
- this.storeService_ = storeService
- /** @private @const {ProductService} */
- this.medusaProductService_ = productService
-
- /** @private @const {Product} */
- this.productRepository_ = productRepository
- }
-
- withTransaction(transactionManager) {
- if (!transactionManager) {
- return this
- }
-
- const cloned = new ShopifyCollectionService({
- manager: transactionManager,
- options: this.options,
- shopifyProductService: this.productService_,
- productCollectionService: this.collectionService_,
- storeService: this.storeService_,
- productService: this.medusaProductService_,
- productRepository: this.productRepository_,
- })
-
- cloned.transactionManager_ = transactionManager
-
- return cloned
- }
-
- /**
- *
- * @param {Object[]} collects
- * @param {Object[]} collections
- * @param {Object[]} products
- * @return {Promise}
- */
- async createCustomCollections(collects, collections, products) {
- return this.atomicPhase_(async (manager) => {
- const normalizedCollections = collections.map((c) =>
- this.normalizeCustomCollection_(c)
- )
-
- const result = []
-
- for (const nc of normalizedCollections) {
- let collection = await this.collectionService_
- .retrieveByHandle(nc.handle)
- .catch((_) => undefined)
-
- if (!collection) {
- collection = await this.collectionService_
- .withTransaction(manager)
- .create(nc)
- }
-
- const productIds = this.getCustomCollectionProducts_(
- collection.metadata.sh_id,
- collects,
- products
- )
-
- await this.addProductsToCollection(collection.id, productIds)
-
- result.push(collection)
- }
-
- return result
- })
- }
-
- async createSmartCollections(collections, products) {
- return this.atomicPhase_(async (manager) => {
- if (!collections) {
- return Promise.resolve()
- }
-
- const productRepo = this.manager_.getCustomRepository(
- this.productRepository_
- )
-
- const ids = products.map((p) => p.id)
- const completeProducts = await productRepo.findWithRelations(
- ["variants", "tags", "type"],
- ids
- )
-
- const defaultCurrency = await this.storeService_
- .retrieve()
- .then((store) => {
- return store.default_currency_code
- })
- .catch((_) => undefined)
-
- const normalizedCollections = collections.map((c) =>
- this.normalizeSmartCollection_(c)
- )
-
- const result = []
-
- for (const nc of normalizedCollections) {
- let collection = await this.collectionService_
- .retrieveByHandle(nc.collection.handle)
- .catch((_) => undefined)
-
- if (!collection) {
- collection = await this.collectionService_
- .withTransaction(manager)
- .create(nc.collection)
- }
-
- const validProducts = this.getValidProducts_(
- nc.rules,
- completeProducts,
- nc.disjunctive ?? false,
- defaultCurrency
- )
-
- if (validProducts.length) {
- const productIds = validProducts.map((p) => p.id)
- await this.addProductsToCollection(collection.id, productIds)
- }
-
- result.push(collection)
- }
-
- return result
- })
- }
-
- async addProductsToCollection(collectionId, productIds) {
- return this.atomicPhase_(async (manager) => {
- const result = await this.collectionService_
- .withTransaction(manager)
- .addProducts(collectionId, productIds)
-
- return result
- })
- }
-
- getCustomCollectionProducts_(shCollectionId, collects, products) {
- const medusaProductIds = products.reduce((prev, curr) => {
- if (curr.external_id) {
- prev[curr.external_id] = curr.id
- }
-
- return prev
- }, {})
-
- const productIds = collects.reduce((productIds, c) => {
- if (c.collection_id === shCollectionId) {
- productIds.push(`${c.product_id}`)
- }
- return productIds
- }, [])
-
- const productIdsToAdd = Object.keys(medusaProductIds).map((shopifyId) => {
- if (productIds.includes(shopifyId)) {
- const medusaId = medusaProductIds[shopifyId]
- delete medusaProductIds[shopifyId]
- return medusaId
- }
- })
-
- // remove added products from the array
- for (const id of productIdsToAdd) {
- const productToRemove = products.find((p) => p.id === id)
- if (productToRemove) {
- removeIndex(products, productToRemove)
- }
- }
-
- return productIdsToAdd
- }
-
- getValidProducts_(rules, products, disjunctive, defaultCurrency) {
- const validProducts = []
-
- for (const product of products) {
- const results = rules.map((r) =>
- this.testRule_(r, product, defaultCurrency)
- )
-
- if (disjunctive && !results.includes(false)) {
- validProducts.push(product)
- } else if (!disjunctive && results.includes(true)) {
- validProducts.push(product)
- }
- }
-
- // remove valid products from the array
- for (const validProduct of validProducts) {
- removeIndex(products, validProduct)
- }
-
- return validProducts
- }
-
- testRule_(rule, product, defaultCurrency = undefined) {
- const { column, relation, condition } = rule
-
- if (column === "title") {
- return this.testTextRelation_(product.title, relation, condition)
- }
-
- if (column === "type") {
- return this.testTextRelation_(product.type.value, relation, condition)
- }
-
- if (column === "vendor") {
- if (product.metadata?.vendor) {
- return this.testTextRelation_(
- product.metadata?.vendor,
- relation,
- condition
- )
- }
-
- return false
- }
-
- if (column === "variant_title") {
- if (product.variants?.length) {
- const anyMatch = product.variants.some((variant) => {
- return this.testTextRelation_(variant.title, relation, condition)
- })
-
- return anyMatch
- }
-
- return false
- }
-
- if (column === "tag") {
- if (product.tags) {
- const anyMatch = product.tags.some((tag) =>
- this.testTextRelation_(tag.value, relation, condition)
- )
-
- return anyMatch
- }
-
- return false
- }
-
- if (column === "variant_inventory") {
- if (product.variants?.length) {
- const anyMatch = product.variants.some((variant) =>
- this.testNumberRelation_(
- variant.inventory_quantity,
- relation,
- condition
- )
- )
-
- return anyMatch
- }
-
- return false
- }
-
- if (column === "variant_price") {
- if (product.variants?.length && defaultCurrency) {
- const prices = []
-
- for (const variant of product.variants) {
- if (variant.prices) {
- for (const price of variant.prices) {
- if (price.currency_code === defaultCurrency) {
- prices.push(price.amount)
- }
- }
- }
- }
-
- const anyMatch = prices.some((price) => {
- return this.testNumberRelation_(price, relation, condition)
- })
-
- return anyMatch
- }
-
- return false
- }
-
- if (column === "variant_weight") {
- if (product.variants?.length) {
- const anyMatch = product.variants.some((variant) =>
- this.testNumberRelation_(variant.weight, relation, condition)
- )
-
- return anyMatch
- }
-
- return false
- }
-
- // If we get here, it means the column is variant_compare_at_price which we don't support until we extend MoneyAmount
- return true
- }
-
- testTextRelation_(text, relation, condition) {
- if (relation === "contains") {
- return text.includes(condition)
- }
-
- if (relation === "equals") {
- return text === condition
- }
-
- if (relation === "not_equals") {
- return text !== condition
- }
-
- if (relation === "starts_with") {
- return text.startsWith(condition)
- }
-
- if (relation === "ends_with") {
- return text.endsWith(condition)
- }
-
- return false
- }
-
- testNumberRelation_(number, relation, condition) {
- if (relation === "greater_than") {
- return number > condition
- }
-
- if (relation === "less_than") {
- return number < condition
- }
-
- if (relation === "equals") {
- return number === condition
- }
-
- if (relation === "not_equals") {
- return number !== condition
- }
-
- return false
- }
-
- normalizeCustomCollection_(shopifyCollection) {
- return {
- title: shopifyCollection.title,
- handle: shopifyCollection.handle,
- metadata: {
- sh_id: shopifyCollection.id,
- sh_body: shopifyCollection.body_html,
- },
- }
- }
-
- normalizeSmartCollection_(smartCollection) {
- return {
- collection: {
- title: smartCollection.title,
- handle: smartCollection.handle,
- metadata: {
- sh_id: smartCollection.id,
- sh_body: smartCollection.body_html,
- },
- },
- rules: smartCollection.rules,
- disjunctive: smartCollection.disjunctive,
- }
- }
-}
-
-export default ShopifyCollectionService
diff --git a/packages/medusa-source-shopify/src/services/shopify-product.js b/packages/medusa-source-shopify/src/services/shopify-product.js
deleted file mode 100644
index 2971d79a6e..0000000000
--- a/packages/medusa-source-shopify/src/services/shopify-product.js
+++ /dev/null
@@ -1,603 +0,0 @@
-import axios from "axios"
-import isEmpty from "lodash/isEmpty"
-import omit from "lodash/omit"
-import random from "lodash/random"
-import { MedusaError } from "medusa-core-utils"
-import { BaseService } from "medusa-interfaces"
-import { parsePrice } from "../utils/parse-price"
-
-class ShopifyProductService extends BaseService {
- constructor(
- {
- manager,
- productService,
- productVariantService,
- shippingProfileService,
- shopifyClientService,
- shopifyCacheService,
- },
- options
- ) {
- super()
-
- this.options = options
-
- /** @private @const {EntityManager} */
- this.manager_ = manager
- /** @private @const {ProductService} */
- this.productService_ = productService
- /** @private @const {ProductVariantService} */
- this.productVariantService_ = productVariantService
- /** @private @const {ShippingProfileService} */
- this.shippingProfileService_ = shippingProfileService
- /** @private @const {ShopifyRestClient} */
- this.shopify_ = shopifyClientService
- /** @private @const {ICacheService} */
- this.cacheService_ = shopifyCacheService
- }
-
- withTransaction(transactionManager) {
- if (!transactionManager) {
- return this
- }
-
- const cloned = new ShopifyProductService(
- {
- manager: transactionManager,
- shippingProfileService: this.shippingProfileService_,
- productVariantService: this.productVariantService_,
- productService: this.productService_,
- shopifyClientService: this.shopify_,
- shopifyCacheService: this.cacheService_,
- },
- this.options
- )
-
- cloned.transactionManager_ = transactionManager
-
- return cloned
- }
-
- /**
- * Creates a product based on an event in Shopify.
- * Also adds the product to a collection if a collection id is provided
- * @param {object} data
- * @param {string} collectionId optional
- * @return {Product} the created product
- */
- async create(data) {
- return this.atomicPhase_(async (manager) => {
- const ignore = await this.cacheService_.shouldIgnore(
- data.id,
- "product.created"
- )
- if (ignore) {
- return
- }
-
- const existingProduct = await this.productService_
- .withTransaction(manager)
- .retrieveByExternalId(data.id, {
- relations: ["variants", "options"],
- })
- .catch((_) => undefined)
-
- if (existingProduct) {
- return await this.update(existingProduct, data)
- }
-
- const normalizedProduct = this.normalizeProduct_(data)
- normalizedProduct.profile_id = await this.getShippingProfile_(
- normalizedProduct.is_giftcard
- )
-
- let variants = normalizedProduct.variants
- delete normalizedProduct.variants
-
- const product = await this.productService_
- .withTransaction(manager)
- .create(normalizedProduct)
-
- if (variants) {
- variants = variants.map((v) =>
- this.addVariantOptions_(v, product.options)
- )
-
- for (let variant of variants) {
- variant = await this.ensureVariantUnique_(variant)
- await this.productVariantService_
- .withTransaction(manager)
- .create(product.id, variant)
- }
- }
-
- await this.cacheService_.addIgnore(data.id, "product.created")
-
- return product
- })
- }
-
- async update(existing, shopifyUpdate) {
- return this.atomicPhase_(async (manager) => {
- const ignore = await this.cacheService_.shouldIgnore(
- shopifyUpdate.id,
- "product.updated"
- )
- if (ignore) {
- return
- }
-
- const normalized = this.normalizeProduct_(shopifyUpdate)
-
- existing = await this.addProductOptions_(existing, normalized.options)
-
- await this.updateVariants_(existing, normalized.variants)
- await this.deleteVariants_(existing, normalized.variants)
- delete normalized.variants
- delete normalized.options
-
- const update = {}
-
- for (const key of Object.keys(normalized)) {
- if (normalized[key] !== existing[key]) {
- update[key] = normalized[key]
- }
- }
-
- if (!isEmpty(update)) {
- await this.cacheService_.addIgnore(shopifyUpdate.id, "product.updated")
- return await this.productService_
- .withTransaction(manager)
- .update(existing.id, update)
- }
-
- return Promise.resolve()
- })
- }
-
- /**
- * Deletes a product based on an event in Shopify
- * @param {string} id
- * @return {Promise}
- */
- async delete(id) {
- return this.atomicPhase_(async (manager) => {
- const product = await this.productService_.retrieveByExternalId(id)
-
- return await this.productService_
- .withTransaction(manager)
- .delete(product.id)
- })
- }
-
- async shopifyProductUpdate(id, fields) {
- const product = await this.productService_.retrieve(id, {
- relations: ["tags", "type"],
- })
-
- // Event was not emitted by update
- if (!fields) {
- return
- }
-
- const update = {
- product: {
- id: product.external_id,
- },
- }
-
- if (fields.includes("title")) {
- update.product.title = product.title
- }
-
- if (fields.includes("tags")) {
- const values = product.tags.map((t) => t.value)
- update.product.tags = values.join(",")
- }
-
- if (fields.includes("description")) {
- update.product.body_html = product.description
- }
-
- if (fields.includes("handle")) {
- update.product.handle = product.handle
- }
-
- if (fields.includes("type")) {
- update.product.type = product.type?.value
- }
-
- await axios
- .put(
- `https://${this.options.domain}.myshopify.com/admin/api/2021-10/products/${product.external_id}.json`,
- update,
- {
- headers: {
- "X-Shopify-Access-Token": this.options.password,
- },
- }
- )
- .catch((err) => {
- throw new MedusaError(
- MedusaError.Types.INVALID_DATA,
- `An error occured while attempting to issue a product update to Shopify: ${err.message}`
- )
- })
-
- await this.cacheService_.addIgnore(product.external_id, "product.updated")
- }
-
- async shopifyVariantUpdate(id, fields) {
- const variant = await this.productVariantService_.retrieve(id, {
- relations: ["prices", "product"],
- })
-
- // Event was not emitted by update
- if (!fields) {
- return
- }
-
- const update = {
- variant: {
- id: variant.metadata.sh_id,
- },
- }
-
- if (fields.includes("title")) {
- update.variant.title = variant.title
- }
-
- if (fields.includes("allow_backorder")) {
- update.variant.inventory_police = variant.allow_backorder
- ? "continue"
- : "deny"
- }
-
- if (fields.includes("prices")) {
- update.variant.price = variant.prices[0].amount / 100
- }
-
- if (fields.includes("weight")) {
- update.variant.grams = variant.weight
- }
-
- await axios
- .put(
- `https://${this.options.domain}.myshopify.com/admin/api/2021-10/variants/${variant.metadata.sh_id}.json`,
- update,
- {
- headers: {
- "X-Shopify-Access-Token": this.options.password,
- },
- }
- )
- .catch((err) => {
- throw new MedusaError(
- MedusaError.Types.INVALID_DATA,
- `An error occured while attempting to issue a product update to Shopify: ${err.message}`
- )
- })
-
- await this.cacheService_.addIgnore(
- variant.metadata.sh_id,
- "product-variant.updated"
- )
- }
-
- async shopifyVariantDelete(productId, metadata) {
- const product = await this.productService_.retrieve(productId)
-
- await axios
- .delete(
- `https://${this.options.domain}.myshopify.com/admin/api/2021-10/products/${product.external_id}/variants/${metadata.sh_id}.json`,
- {
- headers: {
- "X-Shopify-Access-Token": this.options.password,
- },
- }
- )
- .catch((err) => {
- throw new MedusaError(
- MedusaError.Types.INVALID_DATA,
- `An error occured while attempting to issue a product variant delete to Shopify: ${err.message}`
- )
- })
-
- await this.cacheService_.addIgnore(
- metadata.sh_id,
- "product-variant.deleted"
- )
- }
-
- async updateCollectionId(productId, collectionId) {
- return this.atomicPhase_(async (manager) => {
- return await this.productService_
- .withTransaction(manager)
- .update(productId, { collection_id: collectionId })
- })
- }
-
- async updateVariants_(product, updateVariants) {
- return this.atomicPhase_(async (manager) => {
- const { id, variants, options } = product
- for (let variant of updateVariants) {
- const ignore =
- (await this.cacheService_.shouldIgnore(
- variant.metadata.sh_id,
- "product-variant.updated"
- )) ||
- (await this.cacheService_.shouldIgnore(
- variant.metadata.sh_id,
- "product-variant.created"
- ))
- if (ignore) {
- continue
- }
-
- variant = this.addVariantOptions_(variant, options)
- const match = variants.find(
- (v) => v.metadata.sh_id === variant.metadata.sh_id
- )
- if (match) {
- variant = this.removeUniqueConstraint_(variant)
-
- await this.productVariantService_
- .withTransaction(manager)
- .update(match.id, variant)
- } else {
- await this.productVariantService_
- .withTransaction(manager)
- .create(id, variant)
- }
- }
- })
- }
-
- async deleteVariants_(product, updateVariants) {
- return this.atomicPhase_(async (manager) => {
- const { variants } = product
- for (const variant of variants) {
- const ignore = await this.cacheService_.shouldIgnore(
- variant.metadata.sh_id,
- "product-variant.deleted"
- )
- if (ignore) {
- continue
- }
-
- const match = updateVariants.find(
- (v) => v.metadata.sh_id === variant.metadata.sh_id
- )
- if (!match) {
- await this.productVariantService_
- .withTransaction(manager)
- .delete(variant.id)
- }
- }
- })
- }
-
- addVariantOptions_(variant, productOptions) {
- const options = productOptions.map((o, i) => ({
- option_id: o.id,
- ...variant.options[i],
- }))
- variant.options = options
-
- return variant
- }
-
- async addProductOptions_(product, updateOptions) {
- return this.atomicPhase_(async (manager) => {
- const { id, options } = product
-
- for (const option of updateOptions) {
- const match = options.find((o) => o.title === option.title)
- if (match) {
- await this.productService_
- .withTransaction(manager)
- .updateOption(product.id, match.id, { title: option.title })
- } else if (!match) {
- await this.productService_
- .withTransaction(manager)
- .addOption(id, option.title)
- }
- }
-
- const result = await this.productService_.retrieve(id, {
- relations: ["variants", "options"],
- })
-
- return result
- })
- }
-
- async getShippingProfile_(isGiftCard) {
- let shippingProfile
- if (isGiftCard) {
- shippingProfile =
- await this.shippingProfileService_.retrieveGiftCardDefault()
- } else {
- shippingProfile = await this.shippingProfileService_.retrieveDefault()
- }
-
- return shippingProfile
- }
-
- /**
- * Normalizes a product, with a possible optional collection id
- * @param {object} product
- * @param {string} collectionId optional
- * @return {object} normalized object
- */
- normalizeProduct_(product) {
- return {
- title: product.title,
- handle: product.handle,
- description: product.body_html,
- product_type: {
- value: product.product_type,
- },
- is_giftcard: product.product_type === "Gift Cards",
- options:
- product.options.map((option) => this.normalizeProductOption_(option)) ||
- [],
- variants:
- product.variants.map((variant) => this.normalizeVariant_(variant)) ||
- [],
- tags: product.tags.split(",").map((tag) => this.normalizeTag_(tag)) || [],
- images: product.images.map((img) => img.src) || [],
- thumbnail: product.image?.src || null,
- external_id: product.id,
- status: "proposed",
- metadata: {
- vendor: product.vendor,
- },
- }
- }
-
- /**
- * Normalizes a product option
- * @param {object} option
- * @return {object} normalized ProductOption
- */
- normalizeProductOption_(option) {
- return {
- title: option.name,
- values: option.values.map((v) => {
- return { value: v }
- }),
- }
- }
-
- /**
- * Normalizes a product variant
- * @param {object} variant
- * @return {object} normalized variant
- */
- normalizeVariant_(variant) {
- return {
- title: variant.title,
- prices: this.normalizePrices_(variant.presentment_prices),
- sku: variant.sku || null,
- barcode: variant.barcode || null,
- upc: variant.barcode || null,
- inventory_quantity: variant.inventory_quantity,
- variant_rank: variant.position,
- allow_backorder: variant.inventory_policy === "continue",
- manage_inventory: variant.inventory_management === "shopify",
- weight: variant.grams,
- options: this.normalizeVariantOptions_(
- variant.option1,
- variant.option2,
- variant.option3
- ),
- metadata: {
- sh_id: variant.id,
- },
- }
- }
-
- /**
- * Normalizes an array of presentment prices
- * @param {array} presentmentPrices
- * @return {Object[]} array of normalized prices
- */
- normalizePrices_(presentmentPrices) {
- return presentmentPrices.map((p) => {
- return {
- amount: parsePrice(p.price.amount),
- currency_code: p.price.currency_code.toLowerCase(),
- }
- })
- }
-
- /**
- * Normalizes the three possble variant options
- * @param {string} option1
- * @param {string} option2
- * @param {string} option3
- * @return {Object[]} normalized variant options
- */
- normalizeVariantOptions_(option1, option2, option3) {
- const opts = []
- if (option1) {
- opts.push({
- value: option1,
- })
- }
-
- if (option2) {
- opts.push({
- value: option2,
- })
- }
-
- if (option3) {
- opts.push({
- value: option3,
- })
- }
-
- return opts
- }
-
- /**
- * Normalizes a tag
- * @param {string} tag
- * @return {Object} normalized Tag
- */
- normalizeTag_(tag) {
- return {
- value: tag,
- }
- }
-
- handleDuplicateConstraint_(uniqueVal) {
- return `DUP-${random(100, 999)}-${uniqueVal}`
- }
-
- async testUnique_(uniqueVal, type) {
- // Test if the unique value has already been added, if it was then pass the value onto the duplicate handler and return the new value
- const exists = await this.cacheService_.getUniqueValue(uniqueVal, type)
-
- if (exists) {
- const dupValue = this.handleDuplicateConstraint_(uniqueVal)
- await this.cacheService_.addUniqueValue(dupValue, type)
- return dupValue
- }
- // If it doesn't exist, we return the value
- await this.cacheService_.addUniqueValue(uniqueVal, type)
- return uniqueVal
- }
-
- async ensureVariantUnique_(variant) {
- let { sku, ean, upc, barcode } = variant
-
- if (sku) {
- sku = await this.testUnique_(sku, "SKU")
- }
-
- if (ean) {
- ean = await this.testUnique_(ean, "EAN")
- }
-
- if (upc) {
- upc = await this.testUnique_(upc, "UPC")
- }
-
- if (barcode) {
- barcode = await this.testUnique_(barcode, "BARCODE")
- }
-
- return { ...variant, sku, ean, upc, barcode }
- }
-
- removeUniqueConstraint_(update) {
- const payload = omit(update, ["sku", "ean", "upc", "barcode"])
-
- return payload
- }
-}
-
-export default ShopifyProductService
diff --git a/packages/medusa-source-shopify/src/services/shopify.js b/packages/medusa-source-shopify/src/services/shopify.js
deleted file mode 100644
index 1631691acd..0000000000
--- a/packages/medusa-source-shopify/src/services/shopify.js
+++ /dev/null
@@ -1,133 +0,0 @@
-import { BaseService } from "medusa-interfaces"
-import { INCLUDE_PRESENTMENT_PRICES } from "../utils/const"
-import { promiseAll } from "@medusajs/utils"
-
-class ShopifyService extends BaseService {
- constructor(
- {
- manager,
- shippingProfileService,
- storeService,
- shopifyProductService,
- shopifyCollectionService,
- shopifyClientService,
- },
- options
- ) {
- super()
-
- this.options = options
-
- /** @private @const {EntityManager} */
- this.manager_ = manager
- /** @private @const {ShippingProfileService} */
- this.shippingProfileService_ = shippingProfileService
- /** @private @const {ShopifyProductService} */
- this.productService_ = shopifyProductService
- /** @private @const {ShopifyCollectionService} */
- this.collectionService_ = shopifyCollectionService
- /** @private @const {ShopifyRestClient} */
- this.client_ = shopifyClientService
- /** @private @const {StoreService} */
- this.store_ = storeService
- }
-
- withTransaction(transactionManager) {
- if (!transactionManager) {
- return this
- }
-
- const cloned = new ShopifyService({
- manager: transactionManager,
- options: this.options,
- shippingProfileService: this.shippingProfileService_,
- shopifyClientService: this.client_,
- shopifyProductService: this.productService_,
- shopifyCollectionService: this.collectionService_,
- shopifyBuildService: this.buildService_,
- storeService: this.store_,
- })
-
- cloned.transactionManager_ = transactionManager
-
- return cloned
- }
-
- async importShopify() {
- return this.atomicPhase_(async (manager) => {
- const updatedSinceQuery = await this.getAndUpdateBuildTime_()
-
- await this.shippingProfileService_.createDefault()
- await this.shippingProfileService_.createGiftCardDefault()
-
- const products = await this.client_.list(
- "products",
- INCLUDE_PRESENTMENT_PRICES,
- updatedSinceQuery
- )
-
- const customCollections = await this.client_.list(
- "custom_collections",
- null,
- updatedSinceQuery
- )
-
- const smartCollections = await this.client_.list(
- "smart_collections",
- null,
- updatedSinceQuery
- )
-
- const collects = await this.client_.list(
- "collects",
- null,
- updatedSinceQuery
- )
-
- const productServiceTx = this.productService_.withTransaction(manager)
- const resolvedProducts = await promiseAll(
- products.map(async (product) => {
- return await productServiceTx.create(product)
- })
- )
-
- await this.collectionService_
- .withTransaction(manager)
- .createCustomCollections(collects, customCollections, resolvedProducts)
-
- await this.collectionService_
- .withTransaction(manager)
- .createSmartCollections(smartCollections, resolvedProducts)
- })
- }
-
- async getAndUpdateBuildTime_() {
- let buildtime = null
- const store = await this.store_.retrieve()
- if (!store) {
- return {}
- }
-
- if (store.metadata?.source_shopify_bt) {
- buildtime = store.metadata.source_shopify_bt
- }
-
- const payload = {
- metadata: {
- source_shopify_bt: new Date().toISOString(),
- },
- }
-
- await this.store_.update(payload)
-
- if (!buildtime) {
- return {}
- }
-
- return {
- updated_at_min: buildtime,
- }
- }
-}
-
-export default ShopifyService
diff --git a/packages/medusa-source-shopify/src/utils/build-query.js b/packages/medusa-source-shopify/src/utils/build-query.js
deleted file mode 100644
index 2e0952961d..0000000000
--- a/packages/medusa-source-shopify/src/utils/build-query.js
+++ /dev/null
@@ -1,13 +0,0 @@
-export function buildQuery(query) {
- let path = ""
-
- if (query) {
- const queryString = Object.entries(query).map(([key, value]) => {
- return `${key}=${value}`
- })
-
- path = `?${queryString.join("&")}`
- }
-
- return path
-}
diff --git a/packages/medusa-source-shopify/src/utils/const.js b/packages/medusa-source-shopify/src/utils/const.js
deleted file mode 100644
index e7b2174ec9..0000000000
--- a/packages/medusa-source-shopify/src/utils/const.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export const INCLUDE_PRESENTMENT_PRICES = {
- "X-Shopify-Api-Features": "include-presentment-prices",
-}
-
-export const IGNORE_THRESHOLD = 2
diff --git a/packages/medusa-source-shopify/src/utils/create-client.js b/packages/medusa-source-shopify/src/utils/create-client.js
deleted file mode 100644
index 8a2d67cb12..0000000000
--- a/packages/medusa-source-shopify/src/utils/create-client.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import Shopify from "@shopify/shopify-api"
-
-export const createClient = (options) => {
- const { domain, password } = options
-
- return new Shopify.Clients.Rest(`${domain}.myshopify.com`, password)
-}
diff --git a/packages/medusa-source-shopify/src/utils/pager.js b/packages/medusa-source-shopify/src/utils/pager.js
deleted file mode 100644
index ac56ca39ba..0000000000
--- a/packages/medusa-source-shopify/src/utils/pager.js
+++ /dev/null
@@ -1,46 +0,0 @@
-export async function pager(
- client,
- path,
- extraHeaders = null,
- extraQuery = {}
-) {
- let objects = []
- let nextPage = null
- let hasNext = true
-
- while (hasNext) {
- const params = {
- path,
- query: { page_info: nextPage },
- }
-
- if (extraHeaders) {
- Object.assign(params, { extraHeaders: extraHeaders })
- }
-
- if (extraQuery) {
- Object.assign(params.query, extraQuery)
- }
-
- if (!params.query.page_info) {
- delete params.query.page_info
- }
-
- const response = await client.get(params)
-
- objects = [...objects, ...response.body[path]]
-
- const link = response.headers.get("link")
- const match =
- /(?:page_info=)(?[a-zA-Z0-9]+)(?:>; rel="next")/.exec(link)
-
- if (match?.groups) {
- nextPage = match.groups["page_info"]
- hasNext = true
- } else {
- hasNext = false
- }
- }
-
- return objects
-}
diff --git a/packages/medusa-source-shopify/src/utils/parse-price.js b/packages/medusa-source-shopify/src/utils/parse-price.js
deleted file mode 100644
index 002d406d41..0000000000
--- a/packages/medusa-source-shopify/src/utils/parse-price.js
+++ /dev/null
@@ -1,3 +0,0 @@
-export function parsePrice(price) {
- return parseInt(Number(price).toFixed(2) * 100)
-}
diff --git a/packages/medusa-source-shopify/src/utils/remove-index.js b/packages/medusa-source-shopify/src/utils/remove-index.js
deleted file mode 100644
index ef8fdfeeb5..0000000000
--- a/packages/medusa-source-shopify/src/utils/remove-index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-export function removeIndex(arr, obj) {
- const index = arr.indexOf(obj)
- arr.splice(index, 1)
-}
diff --git a/yarn.lock b/yarn.lock
index b292cabd72..af2241f6c8 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -19,16 +19,6 @@ __metadata:
languageName: node
linkType: hard
-"@adyen/api-library@npm:^5.0.1":
- version: 5.0.1
- resolution: "@adyen/api-library@npm:5.0.1"
- dependencies:
- "@types/node": 14.0.9
- https-proxy-agent: 5.0.0
- checksum: 7855685658ca45673991ac15b1ccf0ffdf5859b59bb98a96787ad9ad3c9e0c2181810d0fc32f351d9243ecf89949bffc1c89a60bf35af7c5ebcf2883c80891dd
- languageName: node
- linkType: hard
-
"@algolia/cache-browser-local-storage@npm:4.18.0":
version: 4.18.0
resolution: "@algolia/cache-browser-local-storage@npm:4.18.0"
@@ -204,35 +194,6 @@ __metadata:
languageName: node
linkType: hard
-"@ardatan/relay-compiler@npm:12.0.0":
- version: 12.0.0
- resolution: "@ardatan/relay-compiler@npm:12.0.0"
- dependencies:
- "@babel/core": ^7.14.0
- "@babel/generator": ^7.14.0
- "@babel/parser": ^7.14.0
- "@babel/runtime": ^7.0.0
- "@babel/traverse": ^7.14.0
- "@babel/types": ^7.0.0
- babel-preset-fbjs: ^3.4.0
- chalk: ^4.0.0
- fb-watchman: ^2.0.0
- fbjs: ^3.0.0
- glob: ^7.1.1
- immutable: ~3.7.6
- invariant: ^2.2.4
- nullthrows: ^1.1.1
- relay-runtime: 12.0.0
- signedsource: ^1.0.0
- yargs: ^15.3.1
- peerDependencies:
- graphql: "*"
- bin:
- relay-compiler: bin/relay-compiler
- checksum: 7207d65dd39d3a6202fcee81b03338409642a0ff4e7f799b4a074025429ce2b17b6c71c9579a6328b0f4548763ba4efbff0436cddbcad934af00cc4dbc7ac4e1
- languageName: node
- linkType: hard
-
"@ariakit/core@npm:0.4.1":
version: 0.4.1
resolution: "@ariakit/core@npm:0.4.1"
@@ -1634,7 +1595,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/cli@npm:^7.14.3, @babel/cli@npm:^7.15.4, @babel/cli@npm:^7.7.5":
+"@babel/cli@npm:^7.14.3, @babel/cli@npm:^7.7.5":
version: 7.18.6
resolution: "@babel/cli@npm:7.18.6"
dependencies:
@@ -1670,7 +1631,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.14.0, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.22.5, @babel/code-frame@npm:^7.5.5, @babel/code-frame@npm:^7.8.3":
+"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.22.5, @babel/code-frame@npm:^7.5.5, @babel/code-frame@npm:^7.8.3":
version: 7.22.5
resolution: "@babel/code-frame@npm:7.22.5"
dependencies:
@@ -1767,7 +1728,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.7, @babel/core@npm:^7.14.0, @babel/core@npm:^7.14.3, @babel/core@npm:^7.15.5, @babel/core@npm:^7.16.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.7.2, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.0":
+"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.7, @babel/core@npm:^7.14.3, @babel/core@npm:^7.16.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.7.2, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.0":
version: 7.22.5
resolution: "@babel/core@npm:7.22.5"
dependencies:
@@ -1836,7 +1797,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/eslint-parser@npm:^7.15.4, @babel/eslint-parser@npm:^7.15.8":
+"@babel/eslint-parser@npm:^7.15.8":
version: 7.22.5
resolution: "@babel/eslint-parser@npm:7.22.5"
dependencies:
@@ -1850,7 +1811,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.14.0, @babel/generator@npm:^7.14.3, @babel/generator@npm:^7.16.8, @babel/generator@npm:^7.22.5, @babel/generator@npm:^7.7.2":
+"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.14.3, @babel/generator@npm:^7.22.5, @babel/generator@npm:^7.7.2":
version: 7.22.5
resolution: "@babel/generator@npm:7.22.5"
dependencies:
@@ -2106,7 +2067,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/helper-module-imports@npm:^7.0.0-beta.49, @babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.22.5":
+"@babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/helper-module-imports@npm:7.22.5"
dependencies:
@@ -2421,7 +2382,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/node@npm:^7.12.10, @babel/node@npm:^7.12.6, @babel/node@npm:^7.15.4, @babel/node@npm:^7.7.4":
+"@babel/node@npm:^7.12.10, @babel/node@npm:^7.12.6, @babel/node@npm:^7.7.4":
version: 7.22.5
resolution: "@babel/node@npm:7.22.5"
dependencies:
@@ -2457,7 +2418,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/parser@npm:7.22.5, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.0, @babel/parser@npm:^7.14.3, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.15.5, @babel/parser@npm:^7.16.8, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.5, @babel/parser@npm:^7.3.3":
+"@babel/parser@npm:7.22.5, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.3, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.5, @babel/parser@npm:^7.3.3":
version: 7.22.5
resolution: "@babel/parser@npm:7.22.5"
bin:
@@ -2567,7 +2528,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-class-properties@npm:^7.0.0, @babel/plugin-proposal-class-properties@npm:^7.10.4, @babel/plugin-proposal-class-properties@npm:^7.12.1, @babel/plugin-proposal-class-properties@npm:^7.13.0, @babel/plugin-proposal-class-properties@npm:^7.14.0, @babel/plugin-proposal-class-properties@npm:^7.14.5, @babel/plugin-proposal-class-properties@npm:^7.7.4":
+"@babel/plugin-proposal-class-properties@npm:^7.10.4, @babel/plugin-proposal-class-properties@npm:^7.12.1, @babel/plugin-proposal-class-properties@npm:^7.13.0, @babel/plugin-proposal-class-properties@npm:^7.7.4":
version: 7.18.6
resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6"
dependencies:
@@ -2654,7 +2615,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.10.4, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.12.1, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.13.8, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.14.5":
+"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.10.4, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.12.1, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.13.8":
version: 7.18.6
resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6"
dependencies:
@@ -2666,7 +2627,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-numeric-separator@npm:^7.10.4, @babel/plugin-proposal-numeric-separator@npm:^7.14.5":
+"@babel/plugin-proposal-numeric-separator@npm:^7.10.4":
version: 7.18.6
resolution: "@babel/plugin-proposal-numeric-separator@npm:7.18.6"
dependencies:
@@ -2691,7 +2652,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-object-rest-spread@npm:^7.0.0, @babel/plugin-proposal-object-rest-spread@npm:^7.11.0, @babel/plugin-proposal-object-rest-spread@npm:^7.12.1":
+"@babel/plugin-proposal-object-rest-spread@npm:^7.11.0, @babel/plugin-proposal-object-rest-spread@npm:^7.12.1":
version: 7.20.7
resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.20.7"
dependencies:
@@ -2718,7 +2679,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-optional-chaining@npm:^7.11.0, @babel/plugin-proposal-optional-chaining@npm:^7.12.7, @babel/plugin-proposal-optional-chaining@npm:^7.13.12, @babel/plugin-proposal-optional-chaining@npm:^7.14.2, @babel/plugin-proposal-optional-chaining@npm:^7.14.5":
+"@babel/plugin-proposal-optional-chaining@npm:^7.11.0, @babel/plugin-proposal-optional-chaining@npm:^7.12.7, @babel/plugin-proposal-optional-chaining@npm:^7.13.12, @babel/plugin-proposal-optional-chaining@npm:^7.14.2":
version: 7.21.0
resolution: "@babel/plugin-proposal-optional-chaining@npm:7.21.0"
dependencies:
@@ -2800,7 +2761,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-syntax-class-properties@npm:^7.0.0, @babel/plugin-syntax-class-properties@npm:^7.10.4, @babel/plugin-syntax-class-properties@npm:^7.12.13, @babel/plugin-syntax-class-properties@npm:^7.8.3":
+"@babel/plugin-syntax-class-properties@npm:^7.10.4, @babel/plugin-syntax-class-properties@npm:^7.12.13, @babel/plugin-syntax-class-properties@npm:^7.8.3":
version: 7.12.13
resolution: "@babel/plugin-syntax-class-properties@npm:7.12.13"
dependencies:
@@ -2866,7 +2827,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-syntax-flow@npm:^7.0.0, @babel/plugin-syntax-flow@npm:^7.22.5":
+"@babel/plugin-syntax-flow@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-syntax-flow@npm:7.22.5"
dependencies:
@@ -2877,7 +2838,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-syntax-import-assertions@npm:^7.20.0, @babel/plugin-syntax-import-assertions@npm:^7.22.5":
+"@babel/plugin-syntax-import-assertions@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-syntax-import-assertions@npm:7.22.5"
dependencies:
@@ -2932,7 +2893,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.12.1, @babel/plugin-syntax-jsx@npm:^7.22.5, @babel/plugin-syntax-jsx@npm:^7.7.2":
+"@babel/plugin-syntax-jsx@npm:^7.12.1, @babel/plugin-syntax-jsx@npm:^7.22.5, @babel/plugin-syntax-jsx@npm:^7.7.2":
version: 7.22.5
resolution: "@babel/plugin-syntax-jsx@npm:7.22.5"
dependencies:
@@ -2976,7 +2937,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-syntax-object-rest-spread@npm:7.8.3, @babel/plugin-syntax-object-rest-spread@npm:^7.0.0, @babel/plugin-syntax-object-rest-spread@npm:^7.8.0, @babel/plugin-syntax-object-rest-spread@npm:^7.8.3":
+"@babel/plugin-syntax-object-rest-spread@npm:7.8.3, @babel/plugin-syntax-object-rest-spread@npm:^7.8.0, @babel/plugin-syntax-object-rest-spread@npm:^7.8.3":
version: 7.8.3
resolution: "@babel/plugin-syntax-object-rest-spread@npm:7.8.3"
dependencies:
@@ -3054,7 +3015,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-arrow-functions@npm:^7.0.0, @babel/plugin-transform-arrow-functions@npm:^7.10.4, @babel/plugin-transform-arrow-functions@npm:^7.12.1, @babel/plugin-transform-arrow-functions@npm:^7.22.5":
+"@babel/plugin-transform-arrow-functions@npm:^7.10.4, @babel/plugin-transform-arrow-functions@npm:^7.12.1, @babel/plugin-transform-arrow-functions@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-arrow-functions@npm:7.22.5"
dependencies:
@@ -3106,7 +3067,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-block-scoped-functions@npm:^7.0.0, @babel/plugin-transform-block-scoped-functions@npm:^7.10.4, @babel/plugin-transform-block-scoped-functions@npm:^7.22.5":
+"@babel/plugin-transform-block-scoped-functions@npm:^7.10.4, @babel/plugin-transform-block-scoped-functions@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.22.5"
dependencies:
@@ -3117,7 +3078,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-block-scoping@npm:^7.0.0, @babel/plugin-transform-block-scoping@npm:^7.10.4, @babel/plugin-transform-block-scoping@npm:^7.12.12, @babel/plugin-transform-block-scoping@npm:^7.22.5":
+"@babel/plugin-transform-block-scoping@npm:^7.10.4, @babel/plugin-transform-block-scoping@npm:^7.12.12, @babel/plugin-transform-block-scoping@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-block-scoping@npm:7.22.5"
dependencies:
@@ -3177,7 +3138,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-classes@npm:^7.0.0, @babel/plugin-transform-classes@npm:^7.10.4, @babel/plugin-transform-classes@npm:^7.12.1, @babel/plugin-transform-classes@npm:^7.15.4, @babel/plugin-transform-classes@npm:^7.22.5, @babel/plugin-transform-classes@npm:^7.9.5":
+"@babel/plugin-transform-classes@npm:^7.10.4, @babel/plugin-transform-classes@npm:^7.12.1, @babel/plugin-transform-classes@npm:^7.22.5, @babel/plugin-transform-classes@npm:^7.9.5":
version: 7.22.5
resolution: "@babel/plugin-transform-classes@npm:7.22.5"
dependencies:
@@ -3215,7 +3176,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-computed-properties@npm:^7.0.0, @babel/plugin-transform-computed-properties@npm:^7.10.4, @babel/plugin-transform-computed-properties@npm:^7.22.5":
+"@babel/plugin-transform-computed-properties@npm:^7.10.4, @babel/plugin-transform-computed-properties@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-computed-properties@npm:7.22.5"
dependencies:
@@ -3227,7 +3188,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-destructuring@npm:^7.0.0, @babel/plugin-transform-destructuring@npm:^7.10.4, @babel/plugin-transform-destructuring@npm:^7.12.1, @babel/plugin-transform-destructuring@npm:^7.22.5":
+"@babel/plugin-transform-destructuring@npm:^7.10.4, @babel/plugin-transform-destructuring@npm:^7.12.1, @babel/plugin-transform-destructuring@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-destructuring@npm:7.22.5"
dependencies:
@@ -3332,7 +3293,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-flow-strip-types@npm:^7.0.0, @babel/plugin-transform-flow-strip-types@npm:^7.12.10, @babel/plugin-transform-flow-strip-types@npm:^7.22.5":
+"@babel/plugin-transform-flow-strip-types@npm:^7.12.10, @babel/plugin-transform-flow-strip-types@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-flow-strip-types@npm:7.22.5"
dependencies:
@@ -3344,7 +3305,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-for-of@npm:^7.0.0, @babel/plugin-transform-for-of@npm:^7.10.4, @babel/plugin-transform-for-of@npm:^7.12.1, @babel/plugin-transform-for-of@npm:^7.22.5":
+"@babel/plugin-transform-for-of@npm:^7.10.4, @babel/plugin-transform-for-of@npm:^7.12.1, @babel/plugin-transform-for-of@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-for-of@npm:7.22.5"
dependencies:
@@ -3366,7 +3327,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-function-name@npm:^7.0.0, @babel/plugin-transform-function-name@npm:^7.10.4, @babel/plugin-transform-function-name@npm:^7.22.5":
+"@babel/plugin-transform-function-name@npm:^7.10.4, @babel/plugin-transform-function-name@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-function-name@npm:7.22.5"
dependencies:
@@ -3379,7 +3340,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-instanceof@npm:^7.10.4, @babel/plugin-transform-instanceof@npm:^7.12.1, @babel/plugin-transform-instanceof@npm:^7.12.13, @babel/plugin-transform-instanceof@npm:^7.14.5, @babel/plugin-transform-instanceof@npm:^7.8.3":
+"@babel/plugin-transform-instanceof@npm:^7.10.4, @babel/plugin-transform-instanceof@npm:^7.12.1, @babel/plugin-transform-instanceof@npm:^7.12.13, @babel/plugin-transform-instanceof@npm:^7.8.3":
version: 7.22.5
resolution: "@babel/plugin-transform-instanceof@npm:7.22.5"
dependencies:
@@ -3414,7 +3375,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-literals@npm:^7.0.0, @babel/plugin-transform-literals@npm:^7.10.4, @babel/plugin-transform-literals@npm:^7.22.5":
+"@babel/plugin-transform-literals@npm:^7.10.4, @babel/plugin-transform-literals@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-literals@npm:7.22.5"
dependencies:
@@ -3449,7 +3410,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-member-expression-literals@npm:^7.0.0, @babel/plugin-transform-member-expression-literals@npm:^7.10.4, @babel/plugin-transform-member-expression-literals@npm:^7.22.5":
+"@babel/plugin-transform-member-expression-literals@npm:^7.10.4, @babel/plugin-transform-member-expression-literals@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-member-expression-literals@npm:7.22.5"
dependencies:
@@ -3484,7 +3445,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-modules-commonjs@npm:^7.0.0, @babel/plugin-transform-modules-commonjs@npm:^7.10.4, @babel/plugin-transform-modules-commonjs@npm:^7.22.5":
+"@babel/plugin-transform-modules-commonjs@npm:^7.10.4, @babel/plugin-transform-modules-commonjs@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-modules-commonjs@npm:7.22.5"
dependencies:
@@ -3651,7 +3612,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-object-super@npm:^7.0.0, @babel/plugin-transform-object-super@npm:^7.10.4, @babel/plugin-transform-object-super@npm:^7.22.5":
+"@babel/plugin-transform-object-super@npm:^7.10.4, @babel/plugin-transform-object-super@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-object-super@npm:7.22.5"
dependencies:
@@ -3713,7 +3674,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-parameters@npm:^7.0.0, @babel/plugin-transform-parameters@npm:^7.10.4, @babel/plugin-transform-parameters@npm:^7.12.1, @babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.22.5":
+"@babel/plugin-transform-parameters@npm:^7.10.4, @babel/plugin-transform-parameters@npm:^7.12.1, @babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-parameters@npm:7.22.5"
dependencies:
@@ -3775,7 +3736,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-property-literals@npm:^7.0.0, @babel/plugin-transform-property-literals@npm:^7.10.4, @babel/plugin-transform-property-literals@npm:^7.22.5":
+"@babel/plugin-transform-property-literals@npm:^7.10.4, @babel/plugin-transform-property-literals@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-property-literals@npm:7.22.5"
dependencies:
@@ -3797,7 +3758,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-react-display-name@npm:^7.0.0, @babel/plugin-transform-react-display-name@npm:^7.22.5":
+"@babel/plugin-transform-react-display-name@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-react-display-name@npm:7.22.5"
dependencies:
@@ -3863,7 +3824,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-react-jsx@npm:^7.0.0, @babel/plugin-transform-react-jsx@npm:^7.12.11, @babel/plugin-transform-react-jsx@npm:^7.12.12, @babel/plugin-transform-react-jsx@npm:^7.22.5":
+"@babel/plugin-transform-react-jsx@npm:^7.12.11, @babel/plugin-transform-react-jsx@npm:^7.12.12, @babel/plugin-transform-react-jsx@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-react-jsx@npm:7.22.5"
dependencies:
@@ -3925,7 +3886,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-runtime@npm:^7.11.5, @babel/plugin-transform-runtime@npm:^7.12.1, @babel/plugin-transform-runtime@npm:^7.15.0, @babel/plugin-transform-runtime@npm:^7.7.6":
+"@babel/plugin-transform-runtime@npm:^7.11.5, @babel/plugin-transform-runtime@npm:^7.12.1, @babel/plugin-transform-runtime@npm:^7.7.6":
version: 7.22.5
resolution: "@babel/plugin-transform-runtime@npm:7.22.5"
dependencies:
@@ -3941,7 +3902,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-shorthand-properties@npm:^7.0.0, @babel/plugin-transform-shorthand-properties@npm:^7.10.4, @babel/plugin-transform-shorthand-properties@npm:^7.12.1, @babel/plugin-transform-shorthand-properties@npm:^7.22.5":
+"@babel/plugin-transform-shorthand-properties@npm:^7.10.4, @babel/plugin-transform-shorthand-properties@npm:^7.12.1, @babel/plugin-transform-shorthand-properties@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.22.5"
dependencies:
@@ -3952,7 +3913,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-spread@npm:^7.0.0, @babel/plugin-transform-spread@npm:^7.11.0, @babel/plugin-transform-spread@npm:^7.12.1, @babel/plugin-transform-spread@npm:^7.14.6, @babel/plugin-transform-spread@npm:^7.22.5":
+"@babel/plugin-transform-spread@npm:^7.11.0, @babel/plugin-transform-spread@npm:^7.12.1, @babel/plugin-transform-spread@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-spread@npm:7.22.5"
dependencies:
@@ -3975,7 +3936,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-template-literals@npm:^7.0.0, @babel/plugin-transform-template-literals@npm:^7.10.4, @babel/plugin-transform-template-literals@npm:^7.12.1, @babel/plugin-transform-template-literals@npm:^7.22.5":
+"@babel/plugin-transform-template-literals@npm:^7.10.4, @babel/plugin-transform-template-literals@npm:^7.12.1, @babel/plugin-transform-template-literals@npm:^7.22.5":
version: 7.22.5
resolution: "@babel/plugin-transform-template-literals@npm:7.22.5"
dependencies:
@@ -4147,7 +4108,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-env@npm:^7.11.5, @babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.12.7, @babel/preset-env@npm:^7.15.4, @babel/preset-env@npm:^7.15.6, @babel/preset-env@npm:^7.20.2, @babel/preset-env@npm:^7.7.5":
+"@babel/preset-env@npm:^7.11.5, @babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.12.7, @babel/preset-env@npm:^7.20.2, @babel/preset-env@npm:^7.7.5":
version: 7.22.5
resolution: "@babel/preset-env@npm:7.22.5"
dependencies:
@@ -4381,7 +4342,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-react@npm:^7.12.10, @babel/preset-react@npm:^7.14.0, @babel/preset-react@npm:^7.18.6":
+"@babel/preset-react@npm:^7.12.10, @babel/preset-react@npm:^7.18.6":
version: 7.22.5
resolution: "@babel/preset-react@npm:7.22.5"
dependencies:
@@ -4410,7 +4371,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-typescript@npm:^7.12.7, @babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.15.0, @babel/preset-typescript@npm:^7.16.0, @babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.21.0":
+"@babel/preset-typescript@npm:^7.12.7, @babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.15.0, @babel/preset-typescript@npm:^7.16.0, @babel/preset-typescript@npm:^7.21.0":
version: 7.22.5
resolution: "@babel/preset-typescript@npm:7.22.5"
dependencies:
@@ -4425,7 +4386,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/register@npm:^7.11.5, @babel/register@npm:^7.12.1, @babel/register@npm:^7.15.3, @babel/register@npm:^7.22.5, @babel/register@npm:^7.7.4":
+"@babel/register@npm:^7.11.5, @babel/register@npm:^7.12.1, @babel/register@npm:^7.22.5, @babel/register@npm:^7.7.4":
version: 7.22.5
resolution: "@babel/register@npm:7.22.5"
dependencies:
@@ -4462,7 +4423,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.0, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2, @babel/runtime@npm:^7.9.6":
+"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.1, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2, @babel/runtime@npm:^7.9.6":
version: 7.22.5
resolution: "@babel/runtime@npm:7.22.5"
dependencies:
@@ -4507,7 +4468,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/template@npm:^7.12.13, @babel/template@npm:^7.12.7, @babel/template@npm:^7.16.7, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3":
+"@babel/template@npm:^7.12.13, @babel/template@npm:^7.12.7, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3":
version: 7.22.5
resolution: "@babel/template@npm:7.22.5"
dependencies:
@@ -4529,7 +4490,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/traverse@npm:7.22.5, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.14.0, @babel/traverse@npm:^7.14.2, @babel/traverse@npm:^7.15.4, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.22.5, @babel/traverse@npm:^7.7.2":
+"@babel/traverse@npm:7.22.5, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.14.2, @babel/traverse@npm:^7.22.5, @babel/traverse@npm:^7.7.2":
version: 7.22.5
resolution: "@babel/traverse@npm:7.22.5"
dependencies:
@@ -4601,7 +4562,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/types@npm:7.22.5, @babel/types@npm:^7.0.0, @babel/types@npm:^7.0.0-beta.49, @babel/types@npm:^7.11.5, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.7, @babel/types@npm:^7.14.2, @babel/types@npm:^7.15.4, @babel/types@npm:^7.16.8, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3":
+"@babel/types@npm:7.22.5, @babel/types@npm:^7.0.0, @babel/types@npm:^7.11.5, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.7, @babel/types@npm:^7.14.2, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3":
version: 7.22.5
resolution: "@babel/types@npm:7.22.5"
dependencies:
@@ -4648,15 +4609,6 @@ __metadata:
languageName: node
linkType: hard
-"@builder.io/partytown@npm:^0.5.2":
- version: 0.5.4
- resolution: "@builder.io/partytown@npm:0.5.4"
- bin:
- partytown: bin/partytown.cjs
- checksum: c8be5dde24c2f08123f458354dc17981fee0c6c2b3256124d009ee18729c01678a181ee4f8cdeaae6cb7b6fa7010b1c523ae73bd4d8742a88591c2dbeb0c50a3
- languageName: node
- linkType: hard
-
"@changesets/apply-release-plan@npm:^6.1.4":
version: 6.1.4
resolution: "@changesets/apply-release-plan@npm:6.1.4"
@@ -6430,221 +6382,6 @@ __metadata:
languageName: node
linkType: hard
-"@gatsbyjs/parcel-namer-relative-to-cwd@npm:^1.10.0":
- version: 1.10.0
- resolution: "@gatsbyjs/parcel-namer-relative-to-cwd@npm:1.10.0"
- dependencies:
- "@babel/runtime": ^7.18.0
- "@parcel/namer-default": 2.6.2
- "@parcel/plugin": 2.6.2
- gatsby-core-utils: ^3.25.0
- checksum: 850b95475521039121e580bf92531b371d349a7b18fbfcafde73dbc3408f2f9b640d3f2db59e5077789f85610e57db89e9174de7ce380eb6e22e0e2cc264b24d
- languageName: node
- linkType: hard
-
-"@gatsbyjs/reach-router@npm:^1.3.9":
- version: 1.3.9
- resolution: "@gatsbyjs/reach-router@npm:1.3.9"
- dependencies:
- invariant: ^2.2.3
- prop-types: ^15.6.1
- react-lifecycles-compat: ^3.0.4
- peerDependencies:
- react: 15.x || 16.x || 17.x || 18.x
- react-dom: 15.x || 16.x || 17.x || 18.x
- checksum: a7d97c2b3b2be15df4a419c34a11fdfe8e4ecb79140bbe8c4cf0e3afb79070c4ba2cd85106c2fb917bb7d7b7e2c2432fb0c88523eb288c80759211d3e123cb41
- languageName: node
- linkType: hard
-
-"@gatsbyjs/webpack-hot-middleware@npm:^2.25.2":
- version: 2.25.3
- resolution: "@gatsbyjs/webpack-hot-middleware@npm:2.25.3"
- dependencies:
- ansi-html-community: 0.0.8
- html-entities: ^2.3.3
- strip-ansi: ^6.0.0
- checksum: 6ce039a2fe6d7a8231f9e9d249633e4cac7a62a0c6331f003bc294b7314c65d878e6ee344d9d489f5945aca657bfdf946e4823ccf3f6dd22f9d8c4282d7708db
- languageName: node
- linkType: hard
-
-"@graphql-codegen/add@npm:^3.1.1":
- version: 3.2.3
- resolution: "@graphql-codegen/add@npm:3.2.3"
- dependencies:
- "@graphql-codegen/plugin-helpers": ^3.1.1
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: 4aa9a5b591505c7174465dee58276ce3b84f34aefcb0b1f2d6744ff4c9cb541a2b66ee9851503f40afd227c4d7a5a90cf19e904733c1a3b07f32e8fdcd56121b
- languageName: node
- linkType: hard
-
-"@graphql-codegen/core@npm:^2.5.1":
- version: 2.6.8
- resolution: "@graphql-codegen/core@npm:2.6.8"
- dependencies:
- "@graphql-codegen/plugin-helpers": ^3.1.1
- "@graphql-tools/schema": ^9.0.0
- "@graphql-tools/utils": ^9.1.1
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: 230e88f4168469a87df39b28bb596fbaef65f0f7702e72757f4b45c5f1f372357e5c33f7838416473b660880b13accd46cf92ac6569348d4db6b7992c946b7bb
- languageName: node
- linkType: hard
-
-"@graphql-codegen/plugin-helpers@npm:^2.4.2":
- version: 2.7.2
- resolution: "@graphql-codegen/plugin-helpers@npm:2.7.2"
- dependencies:
- "@graphql-tools/utils": ^8.8.0
- change-case-all: 1.0.14
- common-tags: 1.8.2
- import-from: 4.0.0
- lodash: ~4.17.0
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: b4abce50a751d938a48b2b7ff57aa1671df1ae9d54196ccd60237077aef2e2b528b45244cb786d1b2eeb1f464c48eb7626553fdc5cf3a9013455ed27ef3ef7d2
- languageName: node
- linkType: hard
-
-"@graphql-codegen/plugin-helpers@npm:^3.1.1, @graphql-codegen/plugin-helpers@npm:^3.1.2":
- version: 3.1.2
- resolution: "@graphql-codegen/plugin-helpers@npm:3.1.2"
- dependencies:
- "@graphql-tools/utils": ^9.0.0
- change-case-all: 1.0.15
- common-tags: 1.8.2
- import-from: 4.0.0
- lodash: ~4.17.0
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: fbe326270aef17792b326ad8d8ae3e82acf1b60f3137a4d99eb605c0c8d709830537fec112705484b5fd2c9ee1d0588fbf4269f31c9a5852567c5d4c0c7057b7
- languageName: node
- linkType: hard
-
-"@graphql-codegen/schema-ast@npm:^2.6.1":
- version: 2.6.1
- resolution: "@graphql-codegen/schema-ast@npm:2.6.1"
- dependencies:
- "@graphql-codegen/plugin-helpers": ^3.1.2
- "@graphql-tools/utils": ^9.0.0
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: c80d2848c1fc9e362749dc84ea27c2b6ad234448d7fc623bfb4b48b3f09a9d00819c86982e8c791cd0d048753ba69f834ee55c61413e17c3f2323f1506314a33
- languageName: node
- linkType: hard
-
-"@graphql-codegen/typescript-operations@npm:^2.3.5":
- version: 2.5.13
- resolution: "@graphql-codegen/typescript-operations@npm:2.5.13"
- dependencies:
- "@graphql-codegen/plugin-helpers": ^3.1.2
- "@graphql-codegen/typescript": ^2.8.8
- "@graphql-codegen/visitor-plugin-common": 2.13.8
- auto-bind: ~4.0.0
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: b747391f6373a8a63f6be099af5d69f9b42e7642099dbb66599f18883d84c2239cce1838584e077cd3308fe51e4be262f4a6dcd853068cf89cf87e4c364317bb
- languageName: node
- linkType: hard
-
-"@graphql-codegen/typescript@npm:^2.4.8, @graphql-codegen/typescript@npm:^2.8.8":
- version: 2.8.8
- resolution: "@graphql-codegen/typescript@npm:2.8.8"
- dependencies:
- "@graphql-codegen/plugin-helpers": ^3.1.2
- "@graphql-codegen/schema-ast": ^2.6.1
- "@graphql-codegen/visitor-plugin-common": 2.13.8
- auto-bind: ~4.0.0
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: 193919e97a0b1e5f2ace2c1154d90b587f91164020d456a8f55b89dbd8c35f3b5679aa8333f3e45058fc5fcc53a99db3f8c8ed02f5ed0115bfc4ddc8c1dc3246
- languageName: node
- linkType: hard
-
-"@graphql-codegen/visitor-plugin-common@npm:2.13.8":
- version: 2.13.8
- resolution: "@graphql-codegen/visitor-plugin-common@npm:2.13.8"
- dependencies:
- "@graphql-codegen/plugin-helpers": ^3.1.2
- "@graphql-tools/optimize": ^1.3.0
- "@graphql-tools/relay-operation-optimizer": ^6.5.0
- "@graphql-tools/utils": ^9.0.0
- auto-bind: ~4.0.0
- change-case-all: 1.0.15
- dependency-graph: ^0.11.0
- graphql-tag: ^2.11.0
- parse-filepath: ^1.0.2
- tslib: ~2.4.0
- peerDependencies:
- graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: daed6e5260170991cef7c9eae3d94a7d432d273aae7d721f51051fa3e1e478d0e3515b4e444ad9d8bf605d5c1551713f09d3c59fa598249388abd7b9f05f7f66
- languageName: node
- linkType: hard
-
-"@graphql-tools/code-file-loader@npm:^7.2.14":
- version: 7.3.23
- resolution: "@graphql-tools/code-file-loader@npm:7.3.23"
- dependencies:
- "@graphql-tools/graphql-tag-pluck": 7.5.2
- "@graphql-tools/utils": ^9.2.1
- globby: ^11.0.3
- tslib: ^2.4.0
- unixify: ^1.0.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: c7a59c9422c20b3deecdaa227a73c900581487f3f13dc4105ffe2e32f4d740b9d9409d4aed2a8f8c78f659f5181f93a20cfbb963994c9902261a1df7486c9bd4
- languageName: node
- linkType: hard
-
-"@graphql-tools/graphql-tag-pluck@npm:7.5.2":
- version: 7.5.2
- resolution: "@graphql-tools/graphql-tag-pluck@npm:7.5.2"
- dependencies:
- "@babel/parser": ^7.16.8
- "@babel/plugin-syntax-import-assertions": ^7.20.0
- "@babel/traverse": ^7.16.8
- "@babel/types": ^7.16.8
- "@graphql-tools/utils": ^9.2.1
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 86d9558cdd64526dd8ff8c3fdcb8c242c00911fac856ea7c8d6e437a13a1ee38aea44a55c586bcba13481928f45cd3e2006712cc750a8ba5a3d43e7be6097ea8
- languageName: node
- linkType: hard
-
-"@graphql-tools/load@npm:^7.5.10":
- version: 7.8.14
- resolution: "@graphql-tools/load@npm:7.8.14"
- dependencies:
- "@graphql-tools/schema": ^9.0.18
- "@graphql-tools/utils": ^9.2.1
- p-limit: 3.1.0
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 1fa036ac596ccf48f350aa545d108c173184d9b53247f9e21c0d4ba96c5cba4a0b44281f9154f122e1e8e9d9d6eab93a5b2618ca8a797969bde1e75c1d45e786
- languageName: node
- linkType: hard
-
-"@graphql-tools/merge@npm:^8.4.1":
- version: 8.4.2
- resolution: "@graphql-tools/merge@npm:8.4.2"
- dependencies:
- "@graphql-tools/utils": ^9.2.1
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 2df55222b48e010e683572f456cf265aabae5748c59f7c1260c66dec9794b7a076d3706f04da969b77f0a32c7ccb4551fee30125931d3fe9c98a8806aae9a3f4
- languageName: node
- linkType: hard
-
"@graphql-tools/merge@npm:^9.0.0":
version: 9.0.0
resolution: "@graphql-tools/merge@npm:9.0.0"
@@ -6657,30 +6394,6 @@ __metadata:
languageName: node
linkType: hard
-"@graphql-tools/optimize@npm:^1.3.0":
- version: 1.4.0
- resolution: "@graphql-tools/optimize@npm:1.4.0"
- dependencies:
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 10be773b0082fe54b9505469a89925f1a5e33f866453b88cd411261951e8718f8720451e07c56cbfb762970b56b9b45c7c748d62afcdcf9414ec64533e94e543
- languageName: node
- linkType: hard
-
-"@graphql-tools/relay-operation-optimizer@npm:^6.5.0":
- version: 6.5.18
- resolution: "@graphql-tools/relay-operation-optimizer@npm:6.5.18"
- dependencies:
- "@ardatan/relay-compiler": 12.0.0
- "@graphql-tools/utils": ^9.2.1
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 9d74d65da8bf474e256ff0cfb77afb442a968451ded6a92b8348d8ac1bca3b2c13a578ab29ac869d10d53e0101219fe8283d485fff920aa7abcc68fcbbdd9a36
- languageName: node
- linkType: hard
-
"@graphql-tools/schema@npm:^10.0.0":
version: 10.0.0
resolution: "@graphql-tools/schema@npm:10.0.0"
@@ -6695,20 +6408,6 @@ __metadata:
languageName: node
linkType: hard
-"@graphql-tools/schema@npm:^9.0.0, @graphql-tools/schema@npm:^9.0.18":
- version: 9.0.19
- resolution: "@graphql-tools/schema@npm:9.0.19"
- dependencies:
- "@graphql-tools/merge": ^8.4.1
- "@graphql-tools/utils": ^9.2.1
- tslib: ^2.4.0
- value-or-promise: ^1.0.12
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 42fd8ca8d3c8d60b583077c201980518482ff0cd5ed0c1f14bd9b835a2689ad41d02cbd3478f7d7dea7aec1227f7639fd5deb5e6360852a2e542b96b44bfb7a4
- languageName: node
- linkType: hard
-
"@graphql-tools/utils@npm:^10.0.0":
version: 10.0.6
resolution: "@graphql-tools/utils@npm:10.0.6"
@@ -6722,29 +6421,6 @@ __metadata:
languageName: node
linkType: hard
-"@graphql-tools/utils@npm:^8.8.0":
- version: 8.13.1
- resolution: "@graphql-tools/utils@npm:8.13.1"
- dependencies:
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: f9bab1370aa91e706abec4c8ea980e15293cb78bd4effba53ad2365dc39d81148db7667b3ef89b35f0a0b0ad58081ffdac4264b7125c69fa8393590ae5025745
- languageName: node
- linkType: hard
-
-"@graphql-tools/utils@npm:^9.0.0, @graphql-tools/utils@npm:^9.1.1, @graphql-tools/utils@npm:^9.2.1":
- version: 9.2.1
- resolution: "@graphql-tools/utils@npm:9.2.1"
- dependencies:
- "@graphql-typed-document-node/core": ^3.1.1
- tslib: ^2.4.0
- peerDependencies:
- graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 37a7bd7e14d28ff1bacc007dca84bc6cef2d7d7af9a547b5dbe52fcd134afddd6d4a7b2148cfbaff5ddba91a868453d597da77bd0457fb0be15928f916901606
- languageName: node
- linkType: hard
-
"@graphql-typed-document-node/core@npm:^3.1.1":
version: 3.2.0
resolution: "@graphql-typed-document-node/core@npm:3.2.0"
@@ -8149,7 +7825,7 @@ __metadata:
languageName: node
linkType: hard
-"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.13, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.8, @jridgewell/trace-mapping@npm:^0.3.9":
+"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.8, @jridgewell/trace-mapping@npm:^0.3.9":
version: 0.3.18
resolution: "@jridgewell/trace-mapping@npm:0.3.18"
dependencies:
@@ -8190,106 +7866,6 @@ __metadata:
languageName: node
linkType: hard
-"@lezer/common@npm:^0.15.0, @lezer/common@npm:^0.15.7":
- version: 0.15.12
- resolution: "@lezer/common@npm:0.15.12"
- checksum: ed9cbeeee81e4da94a4fba735caddb6aa5d1908a4b2a95737b35492a2b0ec220be792ef7b2d302914904b3d9fa7307f43e8b627973e10b04cd1c1a88e5647622
- languageName: node
- linkType: hard
-
-"@lezer/lr@npm:^0.15.4":
- version: 0.15.8
- resolution: "@lezer/lr@npm:0.15.8"
- dependencies:
- "@lezer/common": ^0.15.0
- checksum: 5cd5123aca5cb2f268d265b6c21922ba3426ba60b9bbc1df85f4bfeed48097a444c656e642557fa93de8a8eb00d3254f502ce2796ae9edc1d186f14fa540a863
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-darwin-arm64@npm:2.5.2":
- version: 2.5.2
- resolution: "@lmdb/lmdb-darwin-arm64@npm:2.5.2"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-darwin-arm64@npm:2.5.3":
- version: 2.5.3
- resolution: "@lmdb/lmdb-darwin-arm64@npm:2.5.3"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-darwin-x64@npm:2.5.2":
- version: 2.5.2
- resolution: "@lmdb/lmdb-darwin-x64@npm:2.5.2"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-darwin-x64@npm:2.5.3":
- version: 2.5.3
- resolution: "@lmdb/lmdb-darwin-x64@npm:2.5.3"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-linux-arm64@npm:2.5.2":
- version: 2.5.2
- resolution: "@lmdb/lmdb-linux-arm64@npm:2.5.2"
- conditions: os=linux & cpu=arm64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-linux-arm64@npm:2.5.3":
- version: 2.5.3
- resolution: "@lmdb/lmdb-linux-arm64@npm:2.5.3"
- conditions: os=linux & cpu=arm64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-linux-arm@npm:2.5.2":
- version: 2.5.2
- resolution: "@lmdb/lmdb-linux-arm@npm:2.5.2"
- conditions: os=linux & cpu=arm
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-linux-arm@npm:2.5.3":
- version: 2.5.3
- resolution: "@lmdb/lmdb-linux-arm@npm:2.5.3"
- conditions: os=linux & cpu=arm
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-linux-x64@npm:2.5.2":
- version: 2.5.2
- resolution: "@lmdb/lmdb-linux-x64@npm:2.5.2"
- conditions: os=linux & cpu=x64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-linux-x64@npm:2.5.3":
- version: 2.5.3
- resolution: "@lmdb/lmdb-linux-x64@npm:2.5.3"
- conditions: os=linux & cpu=x64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-win32-x64@npm:2.5.2":
- version: 2.5.2
- resolution: "@lmdb/lmdb-win32-x64@npm:2.5.2"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
-"@lmdb/lmdb-win32-x64@npm:2.5.3":
- version: 2.5.3
- resolution: "@lmdb/lmdb-win32-x64@npm:2.5.3"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
"@lukeed/csprng@npm:^1.1.0":
version: 1.1.0
resolution: "@lukeed/csprng@npm:1.1.0"
@@ -9151,7 +8727,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@medusajs/medusa@^1.12.1, @medusajs/medusa@^1.12.2, @medusajs/medusa@^1.15.0, @medusajs/medusa@^1.17.1, @medusajs/medusa@^1.17.4, @medusajs/medusa@^1.19.1, @medusajs/medusa@^1.20.1, @medusajs/medusa@^1.20.3, @medusajs/medusa@^1.20.4, @medusajs/medusa@^1.20.5, @medusajs/medusa@workspace:*, @medusajs/medusa@workspace:^, @medusajs/medusa@workspace:packages/medusa":
+"@medusajs/medusa@^1.12.2, @medusajs/medusa@^1.15.0, @medusajs/medusa@^1.17.1, @medusajs/medusa@^1.19.1, @medusajs/medusa@^1.20.1, @medusajs/medusa@^1.20.3, @medusajs/medusa@^1.20.4, @medusajs/medusa@^1.20.5, @medusajs/medusa@workspace:*, @medusajs/medusa@workspace:^, @medusajs/medusa@workspace:packages/medusa":
version: 0.0.0-use.local
resolution: "@medusajs/medusa@workspace:packages/medusa"
dependencies:
@@ -10069,17 +9645,6 @@ __metadata:
languageName: node
linkType: hard
-"@mischnic/json-sourcemap@npm:^0.1.0":
- version: 0.1.0
- resolution: "@mischnic/json-sourcemap@npm:0.1.0"
- dependencies:
- "@lezer/common": ^0.15.7
- "@lezer/lr": ^0.15.4
- json5: ^2.2.1
- checksum: 5d43359ed471d1adf642ef95b55781b8e5b8e21e829ce27bc54c68ec6530c1464eaee360ec11f4c2ad4257ce708815463f40aa0882e39d2d7ff9ae334e0cfd5c
- languageName: node
- linkType: hard
-
"@mrmlnc/readdir-enhanced@npm:^2.2.1":
version: 2.2.1
resolution: "@mrmlnc/readdir-enhanced@npm:2.2.1"
@@ -10418,481 +9983,6 @@ __metadata:
languageName: node
linkType: hard
-"@parcel/bundler-default@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/bundler-default@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/hash": 2.6.2
- "@parcel/plugin": 2.6.2
- "@parcel/utils": 2.6.2
- nullthrows: ^1.1.1
- checksum: 244a262d2fff4b16972796c876efdd6ca98d7a0e01eb6cb92788063fc767b4d1fb6f0593fc7a1daebc5b20fd5bcfe1c51eec78327e7c52f19f03c67cd1a4ad86
- languageName: node
- linkType: hard
-
-"@parcel/cache@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/cache@npm:2.6.2"
- dependencies:
- "@parcel/fs": 2.6.2
- "@parcel/logger": 2.6.2
- "@parcel/utils": 2.6.2
- lmdb: 2.5.2
- peerDependencies:
- "@parcel/core": ^2.6.2
- checksum: 0bb04bb25235610caf6fcb377b7af18507f9819504d51a750a8f8278e0e517323444062a601a6476c33c57c2342669647b9e045f88cac413bdfa5807aefa83e7
- languageName: node
- linkType: hard
-
-"@parcel/codeframe@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/codeframe@npm:2.6.2"
- dependencies:
- chalk: ^4.1.0
- checksum: 7ed1a401173ebc7ea2370c0df74ae02f7ef9a1594ee04d4843420e6261f75f15761859264095ff820e6c293f32bf50039be117f77bf6526ba9c4f785e5b03654
- languageName: node
- linkType: hard
-
-"@parcel/compressor-raw@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/compressor-raw@npm:2.6.2"
- dependencies:
- "@parcel/plugin": 2.6.2
- checksum: cb9f7f944ecbb96c589766d059f819f883f79c46a754713d7d85f9fc2966bc1da6447347b729b46bc35d6fd734fe315cba02296fae05db1256446557f95c9b64
- languageName: node
- linkType: hard
-
-"@parcel/core@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/core@npm:2.6.2"
- dependencies:
- "@mischnic/json-sourcemap": ^0.1.0
- "@parcel/cache": 2.6.2
- "@parcel/diagnostic": 2.6.2
- "@parcel/events": 2.6.2
- "@parcel/fs": 2.6.2
- "@parcel/graph": 2.6.2
- "@parcel/hash": 2.6.2
- "@parcel/logger": 2.6.2
- "@parcel/package-manager": 2.6.2
- "@parcel/plugin": 2.6.2
- "@parcel/source-map": ^2.0.0
- "@parcel/types": 2.6.2
- "@parcel/utils": 2.6.2
- "@parcel/workers": 2.6.2
- abortcontroller-polyfill: ^1.1.9
- base-x: ^3.0.8
- browserslist: ^4.6.6
- clone: ^2.1.1
- dotenv: ^7.0.0
- dotenv-expand: ^5.1.0
- json5: ^2.2.0
- msgpackr: ^1.5.4
- nullthrows: ^1.1.1
- semver: ^5.7.1
- checksum: 98d4a573bf2ac4ce66562c2ac5f68427a53ace19da80e5c0b497144e530d5e6f04ebe307d86e1d38a9accc920bb56b26af752c4f928220d0c704228d8438482a
- languageName: node
- linkType: hard
-
-"@parcel/diagnostic@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/diagnostic@npm:2.6.2"
- dependencies:
- "@mischnic/json-sourcemap": ^0.1.0
- nullthrows: ^1.1.1
- checksum: 9944d2af549bc7ba43932c10710c35f19bb30cb531714bfb600824da92af10a1f251b41631cdebf9f3c7c39c7ab11fa06f87a647acbb25511a20a90ce5a754c9
- languageName: node
- linkType: hard
-
-"@parcel/events@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/events@npm:2.6.2"
- checksum: e1d79dffc2d10d5367451a458f3d3d14fa149980a27362def69ba3f3ffb1afedf582efdb521bc2ac33dec3cf11809693fe419f8edcb947d655ebdb9b75d6b4ed
- languageName: node
- linkType: hard
-
-"@parcel/fs-search@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/fs-search@npm:2.6.2"
- dependencies:
- detect-libc: ^1.0.3
- checksum: f078f24f2938cd2824e0f4892c3437c638d20f3da6f822d74d5c62e57459b5414f08afc88af51bb988d297b037d767d5a57f84d209174c07189018d3174a98b4
- languageName: node
- linkType: hard
-
-"@parcel/fs@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/fs@npm:2.6.2"
- dependencies:
- "@parcel/fs-search": 2.6.2
- "@parcel/types": 2.6.2
- "@parcel/utils": 2.6.2
- "@parcel/watcher": ^2.0.0
- "@parcel/workers": 2.6.2
- peerDependencies:
- "@parcel/core": ^2.6.2
- checksum: 605e8cadd1c937a43f2669cbf68287264077673a0ccdd8fb506872e4fafbce186cab72657e7fc5e618a883879e56f788bb83891a5ce8bba76ae4e61f56b28214
- languageName: node
- linkType: hard
-
-"@parcel/graph@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/graph@npm:2.6.2"
- dependencies:
- "@parcel/utils": 2.6.2
- nullthrows: ^1.1.1
- checksum: 29082e80ffcc2e945a5357c0eda3bb32094f080439e266a745bf37653469dd669cc58f770ac21f4bfa46632877efa8e640a8f543468041db1070fd25f007ba52
- languageName: node
- linkType: hard
-
-"@parcel/hash@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/hash@npm:2.6.2"
- dependencies:
- detect-libc: ^1.0.3
- xxhash-wasm: ^0.4.2
- checksum: 79ab7d03325ca81f6d72d954e2ada52bc32319f9d88564a959e53217be5c5ed47e6e4d619db3c4d13f52f1794c7819251cf9052b87bbc9b5267131557036e452
- languageName: node
- linkType: hard
-
-"@parcel/logger@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/logger@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/events": 2.6.2
- checksum: b21fcfe55515712b3089ecc10a16c9c465f4f0734e8a7b13e275b4ab8e7218a0e4c1c161202b13251b82f615e478e834fd95d3018a7e25699f1d2361d07be677
- languageName: node
- linkType: hard
-
-"@parcel/markdown-ansi@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/markdown-ansi@npm:2.6.2"
- dependencies:
- chalk: ^4.1.0
- checksum: 87369502e32956ce81af59b86fa20106e0487ee352d1a98167347ff3daf2bf5de13d1017113f63ad6f25941e371e5102a61dfb1b009c8344334d9ad291b138da
- languageName: node
- linkType: hard
-
-"@parcel/namer-default@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/namer-default@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/plugin": 2.6.2
- nullthrows: ^1.1.1
- checksum: 595f9a84610d166e28382323fd50426f1f525afa85e845824d78bf10d478b2d8b20c954b4d86ef1fc007fb8e4d467e0415d15768bfa6d2189973e3d0f17938a0
- languageName: node
- linkType: hard
-
-"@parcel/node-resolver-core@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/node-resolver-core@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/utils": 2.6.2
- nullthrows: ^1.1.1
- semver: ^5.7.1
- checksum: 3296cdcd16da61fc24da0bebbda7c93bbb508ac7fd78128621390f4c64b9275e1dfdf33563797f46210db5720fa446c6e823164c9fc2d521fd967181e779b97a
- languageName: node
- linkType: hard
-
-"@parcel/optimizer-terser@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/optimizer-terser@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/plugin": 2.6.2
- "@parcel/source-map": ^2.0.0
- "@parcel/utils": 2.6.2
- nullthrows: ^1.1.1
- terser: ^5.2.0
- checksum: 41a1521402d51e4eef3e04d13dc80a785c01e7539a3cf10a6fdaed793c0510fcc98889a7b50fd3ef8742522be04a620d9b1608438e989925abbfc517b223c562
- languageName: node
- linkType: hard
-
-"@parcel/package-manager@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/package-manager@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/fs": 2.6.2
- "@parcel/logger": 2.6.2
- "@parcel/types": 2.6.2
- "@parcel/utils": 2.6.2
- "@parcel/workers": 2.6.2
- semver: ^5.7.1
- peerDependencies:
- "@parcel/core": ^2.6.2
- checksum: 042bdc279fd89f097a29a313d0310c4e70748ca373e6afac7612d2078d56fd58d8bfc52bfcc2d71515076d996a348962eab6093d9827cfbdf2840140c8d556ad
- languageName: node
- linkType: hard
-
-"@parcel/packager-js@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/packager-js@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/hash": 2.6.2
- "@parcel/plugin": 2.6.2
- "@parcel/source-map": ^2.0.0
- "@parcel/utils": 2.6.2
- globals: ^13.2.0
- nullthrows: ^1.1.1
- checksum: 27695f08b029e3bb31675c789240c54c9bbe104db37fb8f537aaf475a53f0905296a4268a8db5ace082bd04dfd772ed348ca3dc8c9cdcebc3b16372548eb2b02
- languageName: node
- linkType: hard
-
-"@parcel/packager-raw@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/packager-raw@npm:2.6.2"
- dependencies:
- "@parcel/plugin": 2.6.2
- checksum: cd82b6ff37a1f5f37154648fc8b3a759e888006e6fd2641c04adc6ba0cfde7b17e444273b29c678d57dc9ff02bde1fb70d3283fef38753acf4eeb1cb762d15ed
- languageName: node
- linkType: hard
-
-"@parcel/plugin@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/plugin@npm:2.6.2"
- dependencies:
- "@parcel/types": 2.6.2
- checksum: f662896f6cbf4fdc4987dc6e96f9f035242ae62c786003c86a3c7c7ece7542f8e93e98f8ba54af1b4fcd9c205acc5df8121386281c9bd99b8ac087645523437b
- languageName: node
- linkType: hard
-
-"@parcel/reporter-dev-server@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/reporter-dev-server@npm:2.6.2"
- dependencies:
- "@parcel/plugin": 2.6.2
- "@parcel/utils": 2.6.2
- checksum: b7df7522052b88824756e9c915ccb89a13da22c37e2c3f7116f93ed0850e33c379aeeee36044daed3ae58890a6ca60e68ae4058ee6bdcd43b4254205b43be519
- languageName: node
- linkType: hard
-
-"@parcel/resolver-default@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/resolver-default@npm:2.6.2"
- dependencies:
- "@parcel/node-resolver-core": 2.6.2
- "@parcel/plugin": 2.6.2
- checksum: b904a0baf1752f8ff9f672a455cc3a60e365fecc86542e8ef3ff93d0e89268e55f63281da227ebf3fa9e52fdb3a49f55868597102af75d7f2c99bdd8636b7aba
- languageName: node
- linkType: hard
-
-"@parcel/runtime-js@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/runtime-js@npm:2.6.2"
- dependencies:
- "@parcel/plugin": 2.6.2
- "@parcel/utils": 2.6.2
- nullthrows: ^1.1.1
- checksum: 46aafc84ccd1332307bfc31f1c3f7ea8349eb544ce27233042753d78772b8dd9e15046e3f89bb39d5bca73a0b43d5ed4305096d1427feddeebb1666ac0b9dfa8
- languageName: node
- linkType: hard
-
-"@parcel/source-map@npm:^2.0.0":
- version: 2.1.1
- resolution: "@parcel/source-map@npm:2.1.1"
- dependencies:
- detect-libc: ^1.0.3
- checksum: cea8450e152666be413556f0d100f125e81646bffc497e7c792bd9fc5067d052f1a008c8404ce1cd3a587d58b9ef57207ada89149cf2c705e71b1978308045f6
- languageName: node
- linkType: hard
-
-"@parcel/transformer-js@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/transformer-js@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/plugin": 2.6.2
- "@parcel/source-map": ^2.0.0
- "@parcel/utils": 2.6.2
- "@parcel/workers": 2.6.2
- "@swc/helpers": ^0.4.2
- browserslist: ^4.6.6
- detect-libc: ^1.0.3
- nullthrows: ^1.1.1
- regenerator-runtime: ^0.13.7
- semver: ^5.7.1
- peerDependencies:
- "@parcel/core": ^2.6.2
- checksum: e96fc7c49d6892d3f02c28ecbaf8f9624cc64a491d70451e66349f4f3e0ae6054ba7563f054272d60174e171b2c26c04367b98d662f37162e1a153254f06c10d
- languageName: node
- linkType: hard
-
-"@parcel/transformer-json@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/transformer-json@npm:2.6.2"
- dependencies:
- "@parcel/plugin": 2.6.2
- json5: ^2.2.0
- checksum: 801ed3ab8c893fc85e23c2062c630fa2046edfd13b5ad27dc09eba41ce26c8737326f8490806580d928880b49c04f7210d6b8ae589f2d26b86d5eb6b02525617
- languageName: node
- linkType: hard
-
-"@parcel/types@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/types@npm:2.6.2"
- dependencies:
- "@parcel/cache": 2.6.2
- "@parcel/diagnostic": 2.6.2
- "@parcel/fs": 2.6.2
- "@parcel/package-manager": 2.6.2
- "@parcel/source-map": ^2.0.0
- "@parcel/workers": 2.6.2
- utility-types: ^3.10.0
- checksum: 15c491f93e18ee05ae23c0946cb71ccd549891073db7b495e9ee537b9880f54af55eebf1730a6c552fd7f3b813b59a247b7ad93a5b6207810486909d092c2ba3
- languageName: node
- linkType: hard
-
-"@parcel/utils@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/utils@npm:2.6.2"
- dependencies:
- "@parcel/codeframe": 2.6.2
- "@parcel/diagnostic": 2.6.2
- "@parcel/hash": 2.6.2
- "@parcel/logger": 2.6.2
- "@parcel/markdown-ansi": 2.6.2
- "@parcel/source-map": ^2.0.0
- chalk: ^4.1.0
- checksum: 6e31037e7e7d2e6525a4b32df3c51bdc807f1bdfac47676d260ff50d8bb86928ede1ebe26b44ce0ea478d377fefc55226dcce8db087329ed353eeb6c71f32d1d
- languageName: node
- linkType: hard
-
-"@parcel/watcher-android-arm64@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-android-arm64@npm:2.2.0"
- conditions: os=android & cpu=arm64
- languageName: node
- linkType: hard
-
-"@parcel/watcher-darwin-arm64@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-darwin-arm64@npm:2.2.0"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
-"@parcel/watcher-darwin-x64@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-darwin-x64@npm:2.2.0"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
-"@parcel/watcher-linux-arm-glibc@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-linux-arm-glibc@npm:2.2.0"
- conditions: os=linux & cpu=arm & libc=glibc
- languageName: node
- linkType: hard
-
-"@parcel/watcher-linux-arm64-glibc@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-linux-arm64-glibc@npm:2.2.0"
- conditions: os=linux & cpu=arm64 & libc=glibc
- languageName: node
- linkType: hard
-
-"@parcel/watcher-linux-arm64-musl@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-linux-arm64-musl@npm:2.2.0"
- conditions: os=linux & cpu=arm64 & libc=musl
- languageName: node
- linkType: hard
-
-"@parcel/watcher-linux-x64-glibc@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-linux-x64-glibc@npm:2.2.0"
- conditions: os=linux & cpu=x64 & libc=glibc
- languageName: node
- linkType: hard
-
-"@parcel/watcher-linux-x64-musl@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-linux-x64-musl@npm:2.2.0"
- conditions: os=linux & cpu=x64 & libc=musl
- languageName: node
- linkType: hard
-
-"@parcel/watcher-win32-arm64@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-win32-arm64@npm:2.2.0"
- conditions: os=win32 & cpu=arm64
- languageName: node
- linkType: hard
-
-"@parcel/watcher-win32-x64@npm:2.2.0":
- version: 2.2.0
- resolution: "@parcel/watcher-win32-x64@npm:2.2.0"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
-"@parcel/watcher@npm:^2.0.0":
- version: 2.2.0
- resolution: "@parcel/watcher@npm:2.2.0"
- dependencies:
- "@parcel/watcher-android-arm64": 2.2.0
- "@parcel/watcher-darwin-arm64": 2.2.0
- "@parcel/watcher-darwin-x64": 2.2.0
- "@parcel/watcher-linux-arm-glibc": 2.2.0
- "@parcel/watcher-linux-arm64-glibc": 2.2.0
- "@parcel/watcher-linux-arm64-musl": 2.2.0
- "@parcel/watcher-linux-x64-glibc": 2.2.0
- "@parcel/watcher-linux-x64-musl": 2.2.0
- "@parcel/watcher-win32-arm64": 2.2.0
- "@parcel/watcher-win32-x64": 2.2.0
- detect-libc: ^1.0.3
- is-glob: ^4.0.3
- micromatch: ^4.0.5
- node-addon-api: ^7.0.0
- node-gyp: latest
- dependenciesMeta:
- "@parcel/watcher-android-arm64":
- optional: true
- "@parcel/watcher-darwin-arm64":
- optional: true
- "@parcel/watcher-darwin-x64":
- optional: true
- "@parcel/watcher-linux-arm-glibc":
- optional: true
- "@parcel/watcher-linux-arm64-glibc":
- optional: true
- "@parcel/watcher-linux-arm64-musl":
- optional: true
- "@parcel/watcher-linux-x64-glibc":
- optional: true
- "@parcel/watcher-linux-x64-musl":
- optional: true
- "@parcel/watcher-win32-arm64":
- optional: true
- "@parcel/watcher-win32-x64":
- optional: true
- checksum: 905d7eff0caf3461cbcf3ffa08f0f1886790fe965c7a914e04cb35807b4770121cad95eb67c9d09165fe7be0799a2e3530e75b1131f18cdff9e326f457bd37d1
- languageName: node
- linkType: hard
-
-"@parcel/workers@npm:2.6.2":
- version: 2.6.2
- resolution: "@parcel/workers@npm:2.6.2"
- dependencies:
- "@parcel/diagnostic": 2.6.2
- "@parcel/logger": 2.6.2
- "@parcel/types": 2.6.2
- "@parcel/utils": 2.6.2
- chrome-trace-event: ^1.0.2
- nullthrows: ^1.1.1
- peerDependencies:
- "@parcel/core": ^2.6.2
- checksum: ecc0ade7bce62617d3ed59a1d702e97732affba93f71a44443ea4473452d92ae178d1e58e35fc8e76e1e9aa916569d623254f3bb6ce405d332b7d87b92f26029
- languageName: node
- linkType: hard
-
"@paypal/checkout-server-sdk@npm:^1.0.3":
version: 1.0.3
resolution: "@paypal/checkout-server-sdk@npm:1.0.3"
@@ -10916,7 +10006,7 @@ __metadata:
languageName: node
linkType: hard
-"@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.10, @pmmmwh/react-refresh-webpack-plugin@npm:^0.5.3, @pmmmwh/react-refresh-webpack-plugin@npm:^0.5.7":
+"@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.10, @pmmmwh/react-refresh-webpack-plugin@npm:^0.5.3":
version: 0.5.10
resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.10"
dependencies:
@@ -13275,30 +12365,6 @@ __metadata:
languageName: node
linkType: hard
-"@shopify/network@npm:^1.5.1":
- version: 1.6.4
- resolution: "@shopify/network@npm:1.6.4"
- checksum: 0173c70de82ce47686e573f9d61de51678c4ef6c54a30df00510e9315cde822c511868b5f18a8b35ca6a8ebdee5c908437caa27ca2261867c823db29f56dc6c4
- languageName: node
- linkType: hard
-
-"@shopify/shopify-api@npm:^1.4.1":
- version: 1.4.3
- resolution: "@shopify/shopify-api@npm:1.4.3"
- dependencies:
- "@shopify/network": ^1.5.1
- "@types/jsonwebtoken": ^8.5.0
- "@types/node-fetch": ^2.5.7
- "@types/supertest": ^2.0.10
- cookies: ^0.8.0
- jsonwebtoken: ^8.5.1
- node-fetch: ^2.6.1
- tslib: ^2.0.3
- uuid: ^8.3.1
- checksum: 312dd81ec2dfbe71577270e154e5e897f1c44d5472b5ed92e4b74271125c1e9ea70029b8b9d742718cc02f4d3c90d9bd53ac12d5c638b39767ea3dd324c668b2
- languageName: node
- linkType: hard
-
"@sideway/address@npm:^4.1.3, @sideway/address@npm:^4.1.4":
version: 4.1.4
resolution: "@sideway/address@npm:4.1.4"
@@ -13336,13 +12402,6 @@ __metadata:
languageName: node
linkType: hard
-"@sindresorhus/is@npm:^0.14.0":
- version: 0.14.0
- resolution: "@sindresorhus/is@npm:0.14.0"
- checksum: 7247aa9314d4fc3df9b3f63d8b5b962a89c7600a5db1f268546882bfc4d31a975a899f5f42a09dd41a11e58636e6402f7c40f92df853aee417247bb11faee9a0
- languageName: node
- linkType: hard
-
"@sindresorhus/is@npm:^3.1.2":
version: 3.1.2
resolution: "@sindresorhus/is@npm:3.1.2"
@@ -13357,26 +12416,6 @@ __metadata:
languageName: node
linkType: hard
-"@sindresorhus/slugify@npm:^1.1.2":
- version: 1.1.2
- resolution: "@sindresorhus/slugify@npm:1.1.2"
- dependencies:
- "@sindresorhus/transliterate": ^0.1.1
- escape-string-regexp: ^4.0.0
- checksum: f129267252a07f660bcc0e97d1ae10719b20ae6dd3b36ed343b99364df826fad1e65c0063b9cc2c1ddbeee36562d417a352aefc4d737a9908807d34d09211736
- languageName: node
- linkType: hard
-
-"@sindresorhus/transliterate@npm:^0.1.1":
- version: 0.1.2
- resolution: "@sindresorhus/transliterate@npm:0.1.2"
- dependencies:
- escape-string-regexp: ^2.0.0
- lodash.deburr: ^4.1.0
- checksum: cc5afdcc0eab23c784d5383b3ddf2d15c736f48a404d5fbed6f1db78784e8429f41d1db664f6e68cc81eb73bf769a15ba6afeb176bc4f845b9a5186a40519491
- languageName: node
- linkType: hard
-
"@sinonjs/commons@npm:^1.7.0":
version: 1.8.6
resolution: "@sinonjs/commons@npm:1.8.6"
@@ -14509,13 +13548,6 @@ __metadata:
languageName: node
linkType: hard
-"@socket.io/component-emitter@npm:~3.1.0":
- version: 3.1.0
- resolution: "@socket.io/component-emitter@npm:3.1.0"
- checksum: b838ccccf74c36fa7d3ed89a7efb5858cba1a84db4d08250c2fc44d8235140f10d31875bde71517d8503cb3fb08fcd34d3b7a3d0d89058ca3f74f7c816f0fb9c
- languageName: node
- linkType: hard
-
"@sqltools/formatter@npm:^1.2.5":
version: 1.2.5
resolution: "@sqltools/formatter@npm:1.2.5"
@@ -18222,15 +17254,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/helpers@npm:^0.4.2":
- version: 0.4.14
- resolution: "@swc/helpers@npm:0.4.14"
- dependencies:
- tslib: ^2.4.0
- checksum: a8bd2e291fca73aa35ff316fb1aa9fb9554856518c8bf64ab5a355fb587d79d04d67f95033012fcdc94f507d22484871d95dc72efdd9ff13cc5d0ac68dfba999
- languageName: node
- linkType: hard
-
"@swc/helpers@npm:^0.5.0":
version: 0.5.1
resolution: "@swc/helpers@npm:0.5.1"
@@ -18262,15 +17285,6 @@ __metadata:
languageName: node
linkType: hard
-"@szmarczak/http-timer@npm:^1.1.2":
- version: 1.1.2
- resolution: "@szmarczak/http-timer@npm:1.1.2"
- dependencies:
- defer-to-connect: ^1.0.1
- checksum: 0594140e027ce4e98970c6d176457fcbff80900b1b3101ac0d08628ca6d21d70e0b94c6aaada94d4f76c1423fcc7195af83da145ce0fd556fc0595ca74a17b8b
- languageName: node
- linkType: hard
-
"@szmarczak/http-timer@npm:^4.0.5":
version: 4.0.6
resolution: "@szmarczak/http-timer@npm:4.0.6"
@@ -18511,13 +17525,6 @@ __metadata:
languageName: node
linkType: hard
-"@tokenizer/token@npm:^0.3.0":
- version: 0.3.0
- resolution: "@tokenizer/token@npm:0.3.0"
- checksum: 7ab9a822d4b5ff3f5bca7f7d14d46bdd8432528e028db4a52be7fbf90c7f495cc1af1324691dda2813c6af8dc4b8eb29de3107d4508165f9aa5b53e7d501f155
- languageName: node
- linkType: hard
-
"@tootallnate/once@npm:1":
version: 1.1.2
resolution: "@tootallnate/once@npm:1.1.2"
@@ -18567,24 +17574,6 @@ __metadata:
languageName: node
linkType: hard
-"@turist/fetch@npm:^7.2.0":
- version: 7.2.0
- resolution: "@turist/fetch@npm:7.2.0"
- dependencies:
- "@types/node-fetch": 2
- peerDependencies:
- node-fetch: 2
- checksum: 60c4820f653f12f547861534fad1211d7052038b8f01b929bb544dd12f5bbbcdd4cd92087cbf93136e509e7026e8b88e4ecb25857ae2bb30c3ad90e3533c2a49
- languageName: node
- linkType: hard
-
-"@turist/time@npm:^0.0.2":
- version: 0.0.2
- resolution: "@turist/time@npm:0.0.2"
- checksum: 5a929b8ceec3caf1e88af9e91f5c2d4d847dba5f6f3e2d9f8d30e48d688e3b59cbe5688680fb4279a18764eb649602501f3bd66a05a4aec4414fa0281b5407bd
- languageName: node
- linkType: hard
-
"@types/argparse@npm:1.0.38":
version: 1.0.38
resolution: "@types/argparse@npm:1.0.38"
@@ -18756,20 +17745,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/common-tags@npm:^1.8.1":
- version: 1.8.1
- resolution: "@types/common-tags@npm:1.8.1"
- checksum: 2ea427ecd10cef7e371c18fb38915d7df4d54dbb03159c8b5f6e6b9255c30c38e152fcde10133f42c966c58b929ccd418566a37f59a458ded0a0a87b80e0f012
- languageName: node
- linkType: hard
-
-"@types/configstore@npm:^2.1.1":
- version: 2.1.1
- resolution: "@types/configstore@npm:2.1.1"
- checksum: f437049680e4079033f2fb0f2203caf48b924929e7c552818221ea79575bdb062a935ae07ba6e2793b3349ef0b035153bde57c6ebf5eb208b1505d0ccaa7f981
- languageName: node
- linkType: hard
-
"@types/configstore@npm:^6.0.0":
version: 6.0.0
resolution: "@types/configstore@npm:6.0.0"
@@ -18803,22 +17778,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/cookiejar@npm:*":
- version: 2.1.2
- resolution: "@types/cookiejar@npm:2.1.2"
- checksum: f663f2476ad0aed8ccab03056bbc18b62ed059642077eaec7ab497f56c78149558bfbc0f34345a85872e019352dc28f3c12872af971dc455da3c598ff3966cda
- languageName: node
- linkType: hard
-
-"@types/cors@npm:^2.8.12":
- version: 2.8.13
- resolution: "@types/cors@npm:2.8.13"
- dependencies:
- "@types/node": "*"
- checksum: 7ef49f6a26daa98781f0cb1b6095cef1da66387bbba8046270bad203fdcab2accdc5a65c439c2a2ef91d1f6d521d78d80b73886926e19e99fc06a513e3e0bdb3
- languageName: node
- linkType: hard
-
"@types/cross-spawn@npm:^6.0.2":
version: 6.0.4
resolution: "@types/cross-spawn@npm:6.0.4"
@@ -18828,13 +17787,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/debug@npm:^0.0.30":
- version: 0.0.30
- resolution: "@types/debug@npm:0.0.30"
- checksum: a60c77974c53a86bc70f393cea4dc16792508bb806740d0d007d8a40268af8b1c6dfc610d1fc112621782fc216bc68a48ae09c3f36daa02d619fa6e80059be0d
- languageName: node
- linkType: hard
-
"@types/detect-port@npm:^1.3.0":
version: 1.3.4
resolution: "@types/detect-port@npm:1.3.4"
@@ -18897,16 +17849,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/eslint@npm:^7.29.0":
- version: 7.29.0
- resolution: "@types/eslint@npm:7.29.0"
- dependencies:
- "@types/estree": "*"
- "@types/json-schema": "*"
- checksum: 780ea3f4abba77a577a9ca5c4b66f74acc0f5ff5162b9a361ca931763ed65bca062389fc26027b416ed0a54d390e2206412db6c682f565e523d2b82159e6c46f
- languageName: node
- linkType: hard
-
"@types/estree@npm:*, @types/estree@npm:^1.0.0":
version: 1.0.1
resolution: "@types/estree@npm:1.0.1"
@@ -18990,13 +17932,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/get-port@npm:^3.2.0":
- version: 3.2.0
- resolution: "@types/get-port@npm:3.2.0"
- checksum: 2cefeec91f499f0a4b492c58fa7e2261a5948eee3cf58e65f3908615e268b8aaa64303f55b8b0bb544de140be428ba8c80d3bd18254ab8770e373c9febfa6e76
- languageName: node
- linkType: hard
-
"@types/glob@npm:*":
version: 8.1.0
resolution: "@types/glob@npm:8.1.0"
@@ -19007,16 +17942,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/glob@npm:^5.0.34":
- version: 5.0.38
- resolution: "@types/glob@npm:5.0.38"
- dependencies:
- "@types/minimatch": "*"
- "@types/node": "*"
- checksum: acc6ce46dcbc50bb279e7307ea6037bae2a656aac65b09b423c6e2cd9474561831e536fad0c9ea4a1267a3900ebb32c9875ca7ee549cd734fc7004a39cbd080f
- languageName: node
- linkType: hard
-
"@types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3":
version: 7.2.0
resolution: "@types/glob@npm:7.2.0"
@@ -19073,7 +17998,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/http-proxy@npm:^1.17.7, @types/http-proxy@npm:^1.17.8":
+"@types/http-proxy@npm:^1.17.8":
version: 1.17.11
resolution: "@types/http-proxy@npm:1.17.11"
dependencies:
@@ -19182,7 +18107,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/jest@npm:^27.0.1, @types/jest@npm:^27.0.3":
+"@types/jest@npm:^27.0.3":
version: 27.5.2
resolution: "@types/jest@npm:27.5.2"
dependencies:
@@ -19242,13 +18167,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/json5@npm:^0.0.29":
- version: 0.0.29
- resolution: "@types/json5@npm:0.0.29"
- checksum: 6bf5337bc447b706bb5b4431d37686aa2ea6d07cfd6f79cc31de80170d6ff9b1c7384a9c0ccbc45b3f512bae9e9f75c2e12109806a15331dc94e8a8db6dbb4ac
- languageName: node
- linkType: hard
-
"@types/jsonfile@npm:*":
version: 6.1.3
resolution: "@types/jsonfile@npm:6.1.3"
@@ -19258,7 +18176,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/jsonwebtoken@npm:^8.5.0, @types/jsonwebtoken@npm:^8.5.9":
+"@types/jsonwebtoken@npm:^8.5.9":
version: 8.5.9
resolution: "@types/jsonwebtoken@npm:8.5.9"
dependencies:
@@ -19267,7 +18185,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/keyv@npm:^3.1.1, @types/keyv@npm:^3.1.4":
+"@types/keyv@npm:^3.1.4":
version: 3.1.4
resolution: "@types/keyv@npm:3.1.4"
dependencies:
@@ -19276,7 +18194,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.178, @types/lodash@npm:^4.14.182, @types/lodash@npm:^4.14.191, @types/lodash@npm:^4.14.92":
+"@types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.178, @types/lodash@npm:^4.14.182, @types/lodash@npm:^4.14.191":
version: 4.14.195
resolution: "@types/lodash@npm:4.14.195"
checksum: 6d733276df592614a0943a0053056140398b3c263cdf2557d4301b3a47b07ff561926cb9339a4725acbc7d8766f91ded218df11e0a4288cee369eafb5141d94d
@@ -19341,15 +18259,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/mkdirp@npm:^0.5.2":
- version: 0.5.2
- resolution: "@types/mkdirp@npm:0.5.2"
- dependencies:
- "@types/node": "*"
- checksum: c3c6c9bdd1f13b2f114dd34122fd2b030220398501a2727bfe0442615a363dd8f3a89aa4e6d25727ee44c8478fb451aefef82e72184dc1bd04e48334808f37dd
- languageName: node
- linkType: hard
-
"@types/multer@npm:^1.4.7":
version: 1.4.7
resolution: "@types/multer@npm:1.4.7"
@@ -19366,16 +18275,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/node-fetch@npm:2, @types/node-fetch@npm:^2.5.7":
- version: 2.6.4
- resolution: "@types/node-fetch@npm:2.6.4"
- dependencies:
- "@types/node": "*"
- form-data: ^3.0.0
- checksum: e43e4670ed8b7693dbf660ac1450b14fcfcdd8efca1eb0f501b6ad95af2d1fa06f8541db03e9511e82a5fee510a238fe0913330c9a58f8ac6892b985f6dd993e
- languageName: node
- linkType: hard
-
"@types/node-fetch@npm:2.6.2":
version: 2.6.2
resolution: "@types/node-fetch@npm:2.6.2"
@@ -19386,6 +18285,16 @@ __metadata:
languageName: node
linkType: hard
+"@types/node-fetch@npm:^2.5.7":
+ version: 2.6.4
+ resolution: "@types/node-fetch@npm:2.6.4"
+ dependencies:
+ "@types/node": "*"
+ form-data: ^3.0.0
+ checksum: e43e4670ed8b7693dbf660ac1450b14fcfcdd8efca1eb0f501b6ad95af2d1fa06f8541db03e9511e82a5fee510a238fe0913330c9a58f8ac6892b985f6dd993e
+ languageName: node
+ linkType: hard
+
"@types/node-fetch@npm:^2.6.4":
version: 2.6.7
resolution: "@types/node-fetch@npm:2.6.7"
@@ -19396,20 +18305,13 @@ __metadata:
languageName: node
linkType: hard
-"@types/node@npm:*, @types/node@npm:>=10.0.0, @types/node@npm:>=8.1.0":
+"@types/node@npm:*, @types/node@npm:>=8.1.0":
version: 20.3.3
resolution: "@types/node@npm:20.3.3"
checksum: d172311e9e2d42e060eacb78ecdfd4e1596dbd1e54939bacf42003c84559bdcb5d7dbe539dc5262db4c8f408e21f3abd65435fec9bc0ff8968a3b32dafde0bbf
languageName: node
linkType: hard
-"@types/node@npm:14.0.9":
- version: 14.0.9
- resolution: "@types/node@npm:14.0.9"
- checksum: ab395f5817ade45a2f11fcb6cc4e893f6400ac1ddcd477ce5790e620aa510cec4bb79a093ca12a0e0e63e3a3772b5980f5af565ee7ade7beedd495f5ad930b4d
- languageName: node
- linkType: hard
-
"@types/node@npm:18.11.9":
version: 18.11.9
resolution: "@types/node@npm:18.11.9"
@@ -19463,13 +18365,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/node@npm:^8.5.7":
- version: 8.10.66
- resolution: "@types/node@npm:8.10.66"
- checksum: 425e0fca5bad0d6ff14336946a1e3577750dcfbb7449614786d3241ca78ff44e3beb43eace122682de1b9d8e25cf2a0456a0b3e500d78cb55cab68f892e38141
- languageName: node
- linkType: hard
-
"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"
@@ -19588,15 +18483,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/reach__router@npm:^1.3.10":
- version: 1.3.11
- resolution: "@types/reach__router@npm:1.3.11"
- dependencies:
- "@types/react": "*"
- checksum: 5b7dc9d799de0b6a11b7dc2aa1350228bafa23031487f69ad9d602a13cef7e4751e4bf373b21f7c6a00b623b6e930ba87c35497b459307dd97a3cc5261b3d031
- languageName: node
- linkType: hard
-
"@types/react-datepicker@npm:^4.10.0":
version: 4.11.2
resolution: "@types/react-datepicker@npm:4.11.2"
@@ -19746,16 +18632,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/rimraf@npm:^2.0.2":
- version: 2.0.5
- resolution: "@types/rimraf@npm:2.0.5"
- dependencies:
- "@types/glob": "*"
- "@types/node": "*"
- checksum: f1b11100374be4a554fc9bf7c8bd33aef0dc0481007bc55b83451bb2dbe30626be82e3cf16612ba7e4c96ce3982d8bab07cd0e951b9c98d2518d981cf6f2e4b2
- languageName: node
- linkType: hard
-
"@types/scheduler@npm:*":
version: 0.16.3
resolution: "@types/scheduler@npm:0.16.3"
@@ -19816,15 +18692,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/sharp@npm:^0.30.5":
- version: 0.30.5
- resolution: "@types/sharp@npm:0.30.5"
- dependencies:
- "@types/node": "*"
- checksum: e77f1ddf7b725a6bd7edd548ccc445b6ad0bcb932f110b6ffcd371f5a5d31ce154c83565a34bc7ed1742a6e75eea0bd4aebc63cfc9c140356163bd1a5fbe4627
- languageName: node
- linkType: hard
-
"@types/sockjs@npm:^0.3.33":
version: 0.3.33
resolution: "@types/sockjs@npm:0.3.33"
@@ -19871,25 +18738,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/superagent@npm:*":
- version: 4.1.18
- resolution: "@types/superagent@npm:4.1.18"
- dependencies:
- "@types/cookiejar": "*"
- "@types/node": "*"
- checksum: 0ac764df988559e61d5557608c13d3dd00d0d1990e5a8aa390334328b2c61dc6c407ef796bed83d4dd3829c15088f581d4efaa664f21e78849b58cc2713534d9
- languageName: node
- linkType: hard
-
-"@types/supertest@npm:^2.0.10":
- version: 2.0.12
- resolution: "@types/supertest@npm:2.0.12"
- dependencies:
- "@types/superagent": "*"
- checksum: 64ba18395a8e673cce9a4ffcdda7234d2f9982d737a2eb9289c1268ff148e410a1a1d8b7a4f42498511457ad9f51b9b4d53832fbdef3d86aff7bdfbcfe7610ab
- languageName: node
- linkType: hard
-
"@types/symlink-or-copy@npm:^1.2.0":
version: 1.2.0
resolution: "@types/symlink-or-copy@npm:1.2.0"
@@ -19922,13 +18770,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/tmp@npm:^0.0.33":
- version: 0.0.33
- resolution: "@types/tmp@npm:0.0.33"
- checksum: d4833fc0ed9153df1527b3708460c2df121fba7620104e7b3a250320bbfe84d5d92669df7cfd1d2da44857f31919ea82b9516d333ea183edaf7bd409a3ca2d1f
- languageName: node
- linkType: hard
-
"@types/tough-cookie@npm:*":
version: 4.0.2
resolution: "@types/tough-cookie@npm:4.0.2"
@@ -20064,35 +18905,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/yoga-layout@npm:1.9.2":
- version: 1.9.2
- resolution: "@types/yoga-layout@npm:1.9.2"
- checksum: 9f2a8618afe3e2e18e76eeaa4ec7d09a85f01f071231f8ff21388d851f940dd7ae5867a5f9aef29eafe44c47453a328d3c718fff1451ab62266450b415e43150
- languageName: node
- linkType: hard
-
-"@typescript-eslint/eslint-plugin@npm:^4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/eslint-plugin@npm:4.33.0"
- dependencies:
- "@typescript-eslint/experimental-utils": 4.33.0
- "@typescript-eslint/scope-manager": 4.33.0
- debug: ^4.3.1
- functional-red-black-tree: ^1.0.1
- ignore: ^5.1.8
- regexpp: ^3.1.0
- semver: ^7.3.5
- tsutils: ^3.21.0
- peerDependencies:
- "@typescript-eslint/parser": ^4.0.0
- eslint: ^5.0.0 || ^6.0.0 || ^7.0.0
- peerDependenciesMeta:
- typescript:
- optional: true
- checksum: c1e1e424e257fa6e5e8b18d7ff77e8a983a761f4acc0cd58ebd31de8ec56c8c472689989cff0290eee41457662a1e664b555cf74bfc1b37bdf8c87ccac2a4663
- languageName: node
- linkType: hard
-
"@typescript-eslint/eslint-plugin@npm:^6.19.0":
version: 6.19.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.19.0"
@@ -20118,39 +18930,6 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/experimental-utils@npm:4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/experimental-utils@npm:4.33.0"
- dependencies:
- "@types/json-schema": ^7.0.7
- "@typescript-eslint/scope-manager": 4.33.0
- "@typescript-eslint/types": 4.33.0
- "@typescript-eslint/typescript-estree": 4.33.0
- eslint-scope: ^5.1.1
- eslint-utils: ^3.0.0
- peerDependencies:
- eslint: "*"
- checksum: bb2a48c9df21ef06ccbcd083753b8c51b30a46cde67ab56d278b30ad7868d2e07641e51b6f7fb54437dcb7aff134fac44708e730e2b8f6e43027fefe8629bcb9
- languageName: node
- linkType: hard
-
-"@typescript-eslint/parser@npm:^4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/parser@npm:4.33.0"
- dependencies:
- "@typescript-eslint/scope-manager": 4.33.0
- "@typescript-eslint/types": 4.33.0
- "@typescript-eslint/typescript-estree": 4.33.0
- debug: ^4.3.1
- peerDependencies:
- eslint: ^5.0.0 || ^6.0.0 || ^7.0.0
- peerDependenciesMeta:
- typescript:
- optional: true
- checksum: d6f91479b2c0d0ff20ac2dbc7540b28c175fd834a220a4f227209f6c74c55401ac6bd41b2bb4cf40b3ba7761075ccded2019bfc6096c2e4f273bd4ae86c44172
- languageName: node
- linkType: hard
-
"@typescript-eslint/parser@npm:^6.19.0":
version: 6.19.0
resolution: "@typescript-eslint/parser@npm:6.19.0"
@@ -20169,16 +18948,6 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/scope-manager@npm:4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/scope-manager@npm:4.33.0"
- dependencies:
- "@typescript-eslint/types": 4.33.0
- "@typescript-eslint/visitor-keys": 4.33.0
- checksum: 1dfe65777eeb430c1ef778bdad35e6065d4b3075ddb2639d0747d8db93c02eebf6832ba82388a7f80662e0e9f61f1922fe939b53a20889e11fb9f80c4029c6b7
- languageName: node
- linkType: hard
-
"@typescript-eslint/scope-manager@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/scope-manager@npm:5.62.0"
@@ -20216,13 +18985,6 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/types@npm:4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/types@npm:4.33.0"
- checksum: 6c94780a589eca7a75ae2b014f320bc412b50794c39ab04889918bb39a40e72584b65c8c0b035330cb0599579afaa3adccee40701f63cf39c0e89299de199d4b
- languageName: node
- linkType: hard
-
"@typescript-eslint/types@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/types@npm:5.62.0"
@@ -20237,24 +18999,6 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/typescript-estree@npm:4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/typescript-estree@npm:4.33.0"
- dependencies:
- "@typescript-eslint/types": 4.33.0
- "@typescript-eslint/visitor-keys": 4.33.0
- debug: ^4.3.1
- globby: ^11.0.3
- is-glob: ^4.0.1
- semver: ^7.3.5
- tsutils: ^3.21.0
- peerDependenciesMeta:
- typescript:
- optional: true
- checksum: 67609a7bdd680136765d103dec4b8afb38a17436e8a5cd830da84f62c6153c3acba561da3b9e2140137b1a0bcbbfc19d4256c692f7072acfebcff88db079e22b
- languageName: node
- linkType: hard
-
"@typescript-eslint/typescript-estree@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/typescript-estree@npm:5.62.0"
@@ -20327,16 +19071,6 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/visitor-keys@npm:4.33.0":
- version: 4.33.0
- resolution: "@typescript-eslint/visitor-keys@npm:4.33.0"
- dependencies:
- "@typescript-eslint/types": 4.33.0
- eslint-visitor-keys: ^2.0.0
- checksum: 95b3904db6113ef365892567d47365e6af3708e6fa905743426036f99e1b7fd4a275facec5d939afecb618369f9d615e379d39f96b8936f469e75507c41c249c
- languageName: node
- linkType: hard
-
"@typescript-eslint/visitor-keys@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/visitor-keys@npm:5.62.0"
@@ -20368,15 +19102,6 @@ __metadata:
languageName: node
linkType: hard
-"@vercel/webpack-asset-relocator-loader@npm:^1.7.0":
- version: 1.7.3
- resolution: "@vercel/webpack-asset-relocator-loader@npm:1.7.3"
- dependencies:
- resolve: ^1.10.0
- checksum: 5b35ee7c5cab08ef8ee9f0a2413be220e905824d1481bf6bed3ba2d8e97d052448317654f9e947b698da51f27f255940e9e8209db9123d8ddcb0bc9cd2a502d3
- languageName: node
- linkType: hard
-
"@verdaccio/commons-api@npm:9.7.1, @verdaccio/commons-api@npm:^9.7.1":
version: 9.7.1
resolution: "@verdaccio/commons-api@npm:9.7.1"
@@ -21014,13 +19739,6 @@ __metadata:
languageName: node
linkType: hard
-"abortcontroller-polyfill@npm:^1.1.9":
- version: 1.7.5
- resolution: "abortcontroller-polyfill@npm:1.7.5"
- checksum: d7a5ab6fda4f9a54f22ddeb233a2564d2f4f857ec17be25fee21a91bb5090bee57c630c454634b5c4b93fc06bd90d592d1f2fc69f77cd28791ac0fe361feb7d2
- languageName: node
- linkType: hard
-
"abstract-leveldown@npm:^6.2.1":
version: 6.3.0
resolution: "abstract-leveldown@npm:6.3.0"
@@ -21057,7 +19775,7 @@ __metadata:
languageName: node
linkType: hard
-"accepts@npm:^1.3.7, accepts@npm:~1.3.4, accepts@npm:~1.3.5, accepts@npm:~1.3.7, accepts@npm:~1.3.8":
+"accepts@npm:~1.3.4, accepts@npm:~1.3.5, accepts@npm:~1.3.7, accepts@npm:~1.3.8":
version: 1.3.8
resolution: "accepts@npm:1.3.8"
dependencies:
@@ -21115,7 +19833,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn-loose@npm:8.3.0, acorn-loose@npm:^8.3.0":
+"acorn-loose@npm:8.3.0":
version: 8.3.0
resolution: "acorn-loose@npm:8.3.0"
dependencies:
@@ -21156,7 +19874,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn@npm:^6.0.1, acorn@npm:^6.2.1, acorn@npm:^6.4.1":
+"acorn@npm:^6.0.1, acorn@npm:^6.4.1":
version: 6.4.2
resolution: "acorn@npm:6.4.2"
bin:
@@ -21192,13 +19910,6 @@ __metadata:
languageName: node
linkType: hard
-"address@npm:1.1.2":
- version: 1.1.2
- resolution: "address@npm:1.1.2"
- checksum: 3ac908133d1d8cc52110473833718e82775428e73b4eb51b42cd7c7f571c7459c28c3c54592231efdcb96f6ed376eb490194e97c533df9e8efb910fa29a34e55
- languageName: node
- linkType: hard
-
"address@npm:^1.0.1, address@npm:^1.1.2":
version: 1.2.2
resolution: "address@npm:1.2.2"
@@ -21404,13 +20115,6 @@ __metadata:
languageName: node
linkType: hard
-"anser@npm:^2.1.0":
- version: 2.1.1
- resolution: "anser@npm:2.1.1"
- checksum: 47a844fea847ffd580c37587c97c49e505390cb034e397b02c38aafc23d52c64d40fbeefe04a86b83867cfb7093d8884826a0551211b69dda473b1f76ce38e98
- languageName: node
- linkType: hard
-
"ansi-align@npm:^3.0.0":
version: 3.0.1
resolution: "ansi-align@npm:3.0.1"
@@ -21608,13 +20312,6 @@ __metadata:
languageName: node
linkType: hard
-"application-config-path@npm:^0.1.0":
- version: 0.1.1
- resolution: "application-config-path@npm:0.1.1"
- checksum: 32afb4d6fd66596119d37bc697353a29e0496ffcceddc60abfc954dbd063d45e4b9875b05ad413d8b0ab05e800bcb0decfb32c8c22fd1e55b5c9fba8936f0e86
- languageName: node
- linkType: hard
-
"aproba@npm:^1.0.3 || ^2.0.0":
version: 2.0.0
resolution: "aproba@npm:2.0.0"
@@ -21629,13 +20326,6 @@ __metadata:
languageName: node
linkType: hard
-"arch@npm:^2.1.1":
- version: 2.2.0
- resolution: "arch@npm:2.2.0"
- checksum: 4ceaf8d8207817c216ebc4469742052cb0a097bc45d9b7fcd60b7507220da545a28562ab5bdd4dfe87921bb56371a0805da4e10d704e01f93a15f83240f1284c
- languageName: node
- linkType: hard
-
"are-we-there-yet@npm:^2.0.0":
version: 2.0.0
resolution: "are-we-there-yet@npm:2.0.0"
@@ -21704,7 +20394,7 @@ __metadata:
languageName: node
linkType: hard
-"aria-query@npm:^5.0.0, aria-query@npm:^5.1.3":
+"aria-query@npm:^5.0.0":
version: 5.3.0
resolution: "aria-query@npm:5.3.0"
dependencies:
@@ -21892,7 +20582,7 @@ __metadata:
languageName: node
linkType: hard
-"asap@npm:^2.0.0, asap@npm:~2.0.3":
+"asap@npm:~2.0.3":
version: 2.0.6
resolution: "asap@npm:2.0.6"
checksum: c6d5e39fe1f15e4b87677460bd66b66050cd14c772269cee6688824c1410a08ab20254bb6784f9afb75af9144a9f9a7692d49547f4d19d715aeb7c0318f3136d
@@ -21964,13 +20654,6 @@ __metadata:
languageName: node
linkType: hard
-"ast-types-flow@npm:^0.0.7":
- version: 0.0.7
- resolution: "ast-types-flow@npm:0.0.7"
- checksum: f381529f2da535949ba6cceddbdfaa33b4d5105842e147ec63582f560ea9ecc1a08f66457664f3109841d3053641fa8b9fa94ba607f1ea9f6c804fe5dee44a1d
- languageName: node
- linkType: hard
-
"ast-types@npm:0.15.2":
version: 0.15.2
resolution: "ast-types@npm:0.15.2"
@@ -22012,15 +20695,6 @@ __metadata:
languageName: node
linkType: hard
-"async-cache@npm:^1.1.0":
- version: 1.1.0
- resolution: "async-cache@npm:1.1.0"
- dependencies:
- lru-cache: ^4.0.0
- checksum: a5e31dd9a68457b10c37d0db36173e482baf4b3bdc3c29457ae99f9a3d5ac0d1b3787ee0ecfb5761e9f6422916e0881eb13ef4b195cd7f5f439bbb1211226a54
- languageName: node
- linkType: hard
-
"async-each@npm:^1.0.1":
version: 1.0.6
resolution: "async-each@npm:1.0.6"
@@ -22035,13 +20709,6 @@ __metadata:
languageName: node
linkType: hard
-"async@npm:1.5.2":
- version: 1.5.2
- resolution: "async@npm:1.5.2"
- checksum: 9ee84592c393aad1047d1223004317ecc65a9a3f76101e0f4614a0818eac962e666510353400a3c9ea158df540579a293f486f3578e918c5e90a0f5ed52e8aea
- languageName: node
- linkType: hard
-
"async@npm:3.2.0":
version: 3.2.0
resolution: "async@npm:3.2.0"
@@ -22093,14 +20760,7 @@ __metadata:
languageName: node
linkType: hard
-"auto-bind@npm:~4.0.0":
- version: 4.0.0
- resolution: "auto-bind@npm:4.0.0"
- checksum: 12f70745d081ba990dca028ecfa70de25d4baa9a8b74a5bef3ab293da56cba32ff8276c3ff8e5fe6d9f370547bf3fa71486befbfefe272af7e722c21d0c25530
- languageName: node
- linkType: hard
-
-"autoprefixer@npm:^10.1.0, autoprefixer@npm:^10.4.0, autoprefixer@npm:^10.4.13, autoprefixer@npm:^10.4.14":
+"autoprefixer@npm:^10.1.0, autoprefixer@npm:^10.4.13, autoprefixer@npm:^10.4.14":
version: 10.4.14
resolution: "autoprefixer@npm:10.4.14"
dependencies:
@@ -22238,14 +20898,7 @@ __metadata:
languageName: node
linkType: hard
-"axe-core@npm:^4.6.2":
- version: 4.7.2
- resolution: "axe-core@npm:4.7.2"
- checksum: 8dfc61f038fbd9623ae8a264c8a475d887113a027fb440a2b377b82ffd300e71d1a0bcf042ff13b517a8d548b34c44b4159eff693725c5d7cde240d0aa68feac
- languageName: node
- linkType: hard
-
-"axios-mock-adapter@npm:^1.18.2, axios-mock-adapter@npm:^1.19.0":
+"axios-mock-adapter@npm:^1.19.0":
version: 1.21.5
resolution: "axios-mock-adapter@npm:1.21.5"
dependencies:
@@ -22257,28 +20910,6 @@ __metadata:
languageName: node
linkType: hard
-"axios-mock-server@npm:^0.19.1":
- version: 0.19.1
- resolution: "axios-mock-server@npm:0.19.1"
- dependencies:
- chokidar: ^3.5.1
- minimist: ^1.2.5
- url-search-params-polyfill: ^8.1.0
- bin:
- axios-mock-server: bin/index.js
- checksum: 86fafed531d79e5530e1b22d4aeba2136eafef5d1e888afa386f983dd20c75a020072e57ece134845d1246be3420a980c24b45586344390b05e67a62fb754d34
- languageName: node
- linkType: hard
-
-"axios-rate-limit@npm:^1.2.1":
- version: 1.3.0
- resolution: "axios-rate-limit@npm:1.3.0"
- peerDependencies:
- axios: "*"
- checksum: a593384a76b68b57c062a22dae550255d4c80516a13f2c9a269154905a9a5cf6566c4f58e9d4a9481866415dbed6f5ca520785ba54ba586da09fd3172b52a3d7
- languageName: node
- linkType: hard
-
"axios-retry@npm:^3.0.2, axios-retry@npm:^3.1.9":
version: 3.5.1
resolution: "axios-retry@npm:3.5.1"
@@ -22336,7 +20967,7 @@ __metadata:
languageName: node
linkType: hard
-"axios@npm:^0.26.0, axios@npm:^0.26.1":
+"axios@npm:^0.26.0":
version: 0.26.1
resolution: "axios@npm:0.26.1"
dependencies:
@@ -22377,15 +21008,6 @@ __metadata:
languageName: node
linkType: hard
-"axobject-query@npm:^3.1.1":
- version: 3.2.1
- resolution: "axobject-query@npm:3.2.1"
- dependencies:
- dequal: ^2.0.3
- checksum: f7debc2012e456139b57d888c223f6d3cb4b61eb104164a85e3d346273dd6ef0bc9a04b6660ca9407704a14a8e05fa6b6eb9d55f44f348c7210de7ffb350c3a7
- languageName: node
- linkType: hard
-
"babel-core@npm:^7.0.0-bridge.0":
version: 7.0.0-bridge.0
resolution: "babel-core@npm:7.0.0-bridge.0"
@@ -22483,13 +21105,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-jsx-utils@npm:^1.1.0":
- version: 1.1.0
- resolution: "babel-jsx-utils@npm:1.1.0"
- checksum: d55e04cca5cd5b6d9c31df883ae08165c6aa7863124ffd7593b5a91eea00cda80035c5ab9971ea2c82a8dab5d5b0ced9f91013da4612c5c68c14ef7c0c4afb4e
- languageName: node
- linkType: hard
-
"babel-loader@npm:^8.0.0, babel-loader@npm:^8.2.3":
version: 8.3.0
resolution: "babel-loader@npm:8.3.0"
@@ -22505,13 +21120,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-add-module-exports@npm:^1.0.4":
- version: 1.0.4
- resolution: "babel-plugin-add-module-exports@npm:1.0.4"
- checksum: 11fa503cddb3d42a888a45b92ac4241772e731bd748b84226a875eedca614cad203b42b6a699ed91ff5a7f0822780a53979df397866fa4a4c6a3e6fef68caeb1
- languageName: node
- linkType: hard
-
"babel-plugin-add-react-displayname@npm:^0.0.5":
version: 0.0.5
resolution: "babel-plugin-add-react-displayname@npm:0.0.5"
@@ -22531,15 +21139,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-dynamic-import-node@npm:^2.3.3":
- version: 2.3.3
- resolution: "babel-plugin-dynamic-import-node@npm:2.3.3"
- dependencies:
- object.assign: ^4.1.0
- checksum: 1bd80df981e1fc1aff0cd4e390cf27aaa34f95f7620cd14dff07ba3bad56d168c098233a7d2deb2c9b1dc13643e596a6b94fc608a3412ee3c56e74a25cd2167e
- languageName: node
- linkType: hard
-
"babel-plugin-extract-import-names@npm:1.6.22":
version: 1.6.22
resolution: "babel-plugin-extract-import-names@npm:1.6.22"
@@ -22621,19 +21220,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-lodash@npm:^3.3.4":
- version: 3.3.4
- resolution: "babel-plugin-lodash@npm:3.3.4"
- dependencies:
- "@babel/helper-module-imports": ^7.0.0-beta.49
- "@babel/types": ^7.0.0-beta.49
- glob: ^7.1.1
- lodash: ^4.17.10
- require-package-name: ^2.0.1
- checksum: 1a1db624f70c1e9badd3ca112bc6819157e75768aab949c424cfabe562765d7f22cf93e5e088e820d5d5b1da7b2bd9d045cb54a5790616b65da1f84eda2ecc08
- languageName: node
- linkType: hard
-
"babel-plugin-macros@npm:^3.0.1, babel-plugin-macros@npm:^3.1.0":
version: 3.1.0
resolution: "babel-plugin-macros@npm:3.1.0"
@@ -22740,27 +21326,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-remove-graphql-queries@npm:^4.25.0":
- version: 4.25.0
- resolution: "babel-plugin-remove-graphql-queries@npm:4.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- "@babel/types": ^7.15.4
- gatsby-core-utils: ^3.25.0
- peerDependencies:
- "@babel/core": ^7.0.0
- gatsby: ^4.0.0-next
- checksum: fdfdba97c28cd1b291d879fdee791df4fe12406679291ff452bb71076bd35c9dbce99a353e631d4b7824ab2fc27b28f82d7b3aaee695e90229eb7e88e4667f16
- languageName: node
- linkType: hard
-
-"babel-plugin-syntax-trailing-function-commas@npm:^7.0.0-beta.0":
- version: 7.0.0-beta.0
- resolution: "babel-plugin-syntax-trailing-function-commas@npm:7.0.0-beta.0"
- checksum: 67e3d6a706637097526b2d3046d3124d3efd3aac28b47af940c2f8df01b8d7ffeb4cdf5648f3b5eac3f098f5b61c4845e306f34301c869e5e14db6ae8b77f699
- languageName: node
- linkType: hard
-
"babel-plugin-transform-async-to-promises@npm:^0.8.15":
version: 0.8.18
resolution: "babel-plugin-transform-async-to-promises@npm:0.8.18"
@@ -22768,13 +21333,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-transform-react-remove-prop-types@npm:^0.4.24":
- version: 0.4.24
- resolution: "babel-plugin-transform-react-remove-prop-types@npm:0.4.24"
- checksum: 713441fd9fb663cc95709cb52d9c2c6228ea6d5406092a8a50094c810bcb13c3c347f8fca703d45b20cc401782743a91d7272025950147f9247d53360267f107
- languageName: node
- linkType: hard
-
"babel-plugin-transform-replace-expressions@npm:^0.2.0":
version: 0.2.0
resolution: "babel-plugin-transform-replace-expressions@npm:0.2.0"
@@ -22838,69 +21396,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-preset-fbjs@npm:^3.4.0":
- version: 3.4.0
- resolution: "babel-preset-fbjs@npm:3.4.0"
- dependencies:
- "@babel/plugin-proposal-class-properties": ^7.0.0
- "@babel/plugin-proposal-object-rest-spread": ^7.0.0
- "@babel/plugin-syntax-class-properties": ^7.0.0
- "@babel/plugin-syntax-flow": ^7.0.0
- "@babel/plugin-syntax-jsx": ^7.0.0
- "@babel/plugin-syntax-object-rest-spread": ^7.0.0
- "@babel/plugin-transform-arrow-functions": ^7.0.0
- "@babel/plugin-transform-block-scoped-functions": ^7.0.0
- "@babel/plugin-transform-block-scoping": ^7.0.0
- "@babel/plugin-transform-classes": ^7.0.0
- "@babel/plugin-transform-computed-properties": ^7.0.0
- "@babel/plugin-transform-destructuring": ^7.0.0
- "@babel/plugin-transform-flow-strip-types": ^7.0.0
- "@babel/plugin-transform-for-of": ^7.0.0
- "@babel/plugin-transform-function-name": ^7.0.0
- "@babel/plugin-transform-literals": ^7.0.0
- "@babel/plugin-transform-member-expression-literals": ^7.0.0
- "@babel/plugin-transform-modules-commonjs": ^7.0.0
- "@babel/plugin-transform-object-super": ^7.0.0
- "@babel/plugin-transform-parameters": ^7.0.0
- "@babel/plugin-transform-property-literals": ^7.0.0
- "@babel/plugin-transform-react-display-name": ^7.0.0
- "@babel/plugin-transform-react-jsx": ^7.0.0
- "@babel/plugin-transform-shorthand-properties": ^7.0.0
- "@babel/plugin-transform-spread": ^7.0.0
- "@babel/plugin-transform-template-literals": ^7.0.0
- babel-plugin-syntax-trailing-function-commas: ^7.0.0-beta.0
- peerDependencies:
- "@babel/core": ^7.0.0
- checksum: 2be440c0fd7d1df247417be35644cb89f40a300e7fcdc44878b737ec49b04380eff422e4ebdc7bb5efd5ecfef45b634fc5fe11c3a409a50c9084e81083037902
- languageName: node
- linkType: hard
-
-"babel-preset-gatsby@npm:^2.25.0":
- version: 2.25.0
- resolution: "babel-preset-gatsby@npm:2.25.0"
- dependencies:
- "@babel/plugin-proposal-class-properties": ^7.14.0
- "@babel/plugin-proposal-nullish-coalescing-operator": ^7.14.5
- "@babel/plugin-proposal-optional-chaining": ^7.14.5
- "@babel/plugin-syntax-dynamic-import": ^7.8.3
- "@babel/plugin-transform-classes": ^7.15.4
- "@babel/plugin-transform-runtime": ^7.15.0
- "@babel/plugin-transform-spread": ^7.14.6
- "@babel/preset-env": ^7.15.4
- "@babel/preset-react": ^7.14.0
- "@babel/runtime": ^7.15.4
- babel-plugin-dynamic-import-node: ^2.3.3
- babel-plugin-macros: ^3.1.0
- babel-plugin-transform-react-remove-prop-types: ^0.4.24
- gatsby-core-utils: ^3.25.0
- gatsby-legacy-polyfills: ^2.25.0
- peerDependencies:
- "@babel/core": ^7.11.6
- core-js: ^3.0.0
- checksum: 97d9bcbaf9a04a3cb8e10fef0587a48a39f88dda4a477aeefd3974a506d27b1fef418ad68b5e78b4405ce11906918e2e4e28e54b4a8bfc7785ba8bb37f27e692
- languageName: node
- linkType: hard
-
"babel-preset-jest@npm:^25.5.0":
version: 25.5.0
resolution: "babel-preset-jest@npm:25.5.0"
@@ -22994,15 +21489,6 @@ __metadata:
languageName: node
linkType: hard
-"base-x@npm:^3.0.8":
- version: 3.0.9
- resolution: "base-x@npm:3.0.9"
- dependencies:
- safe-buffer: ^5.0.1
- checksum: e6bbeae30b24f748b546005affb710c5fbc8b11a83f6cd0ca999bd1ab7ad3a22e42888addc40cd145adc4edfe62fcfab4ebc91da22e4259aae441f95a77aee1a
- languageName: node
- linkType: hard
-
"base16@npm:^1.0.0":
version: 1.0.0
resolution: "base16@npm:1.0.0"
@@ -23017,13 +21503,6 @@ __metadata:
languageName: node
linkType: hard
-"base64id@npm:2.0.0, base64id@npm:~2.0.0":
- version: 2.0.0
- resolution: "base64id@npm:2.0.0"
- checksum: 6919efd237ed44b9988cbfc33eca6f173a10e810ce50292b271a1a421aac7748ef232a64d1e6032b08f19aae48dce6ee8f66c5ae2c9e5066c82b884861d4d453
- languageName: node
- linkType: hard
-
"base@npm:^0.11.1":
version: 0.11.2
resolution: "base@npm:0.11.2"
@@ -23142,7 +21621,7 @@ __metadata:
languageName: node
linkType: hard
-"bl@npm:^4.0.0, bl@npm:^4.0.3, bl@npm:^4.1.0":
+"bl@npm:^4.0.3, bl@npm:^4.1.0":
version: 4.1.0
resolution: "bl@npm:4.1.0"
dependencies:
@@ -23164,7 +21643,7 @@ __metadata:
languageName: node
linkType: hard
-"bluebird@npm:^3.4.0, bluebird@npm:^3.5.5, bluebird@npm:^3.7.2":
+"bluebird@npm:^3.5.5":
version: 3.7.2
resolution: "bluebird@npm:3.7.2"
checksum: 680de03adc54ff925eaa6c7bb9a47a0690e8b5de60f4792604aae8ed618c65e6b63a7893b57ca924beaf53eee69c5af4f8314148c08124c550fe1df1add897d2
@@ -23269,23 +21748,7 @@ __metadata:
languageName: node
linkType: hard
-"boxen@npm:^4.2.0":
- version: 4.2.0
- resolution: "boxen@npm:4.2.0"
- dependencies:
- ansi-align: ^3.0.0
- camelcase: ^5.3.1
- chalk: ^3.0.0
- cli-boxes: ^2.2.0
- string-width: ^4.1.0
- term-size: ^2.1.0
- type-fest: ^0.8.1
- widest-line: ^3.1.0
- checksum: 64898cf3c0d79a84be1f4d93267d5ed5ed1082df9a62f8a5a80ee46112743ad32c9aba02ac5c280b37da5f452d351eb63a05b90482cdbe2ef49000cec20ff709
- languageName: node
- linkType: hard
-
-"boxen@npm:^5, boxen@npm:^5.0.0, boxen@npm:^5.0.1, boxen@npm:^5.1.2":
+"boxen@npm:^5, boxen@npm:^5.0.1, boxen@npm:^5.1.2":
version: 5.1.2
resolution: "boxen@npm:5.1.2"
dependencies:
@@ -23553,7 +22016,7 @@ __metadata:
languageName: node
linkType: hard
-"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.14.5, browserslist@npm:^4.16.3, browserslist@npm:^4.17.5, browserslist@npm:^4.18.1, browserslist@npm:^4.21.3, browserslist@npm:^4.21.4, browserslist@npm:^4.21.5, browserslist@npm:^4.21.9, browserslist@npm:^4.6.6":
+"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.14.5, browserslist@npm:^4.18.1, browserslist@npm:^4.21.3, browserslist@npm:^4.21.4, browserslist@npm:^4.21.5, browserslist@npm:^4.21.9":
version: 4.21.9
resolution: "browserslist@npm:4.21.9"
dependencies:
@@ -23927,17 +22390,6 @@ __metadata:
languageName: node
linkType: hard
-"cache-manager@npm:^2.11.1":
- version: 2.11.1
- resolution: "cache-manager@npm:2.11.1"
- dependencies:
- async: 1.5.2
- lodash.clonedeep: 4.5.0
- lru-cache: 4.0.0
- checksum: fba397dd52b6565b25bbff40ace58f54265d772ecac1c8476628beb366b23eaf7fb318bdab3cec0a12cccf03d11dc48c56dbcdd209bd3e4439f1f7d1cb24c6f0
- languageName: node
- linkType: hard
-
"cacheable-lookup@npm:^5.0.3":
version: 5.0.4
resolution: "cacheable-lookup@npm:5.0.4"
@@ -23945,21 +22397,6 @@ __metadata:
languageName: node
linkType: hard
-"cacheable-request@npm:^6.0.0":
- version: 6.1.0
- resolution: "cacheable-request@npm:6.1.0"
- dependencies:
- clone-response: ^1.0.2
- get-stream: ^5.1.0
- http-cache-semantics: ^4.0.0
- keyv: ^3.0.0
- lowercase-keys: ^2.0.0
- normalize-url: ^4.1.0
- responselike: ^1.0.2
- checksum: e92f2b2078c014ba097647ab4ff6a6149dc2974a65670ee97ec593ec9f4148ecc988e86b9fcd8ebf7fe255774a53d5dc3db6b01065d44f09a7452c7a7d8e4844
- languageName: node
- linkType: hard
-
"cacheable-request@npm:^7.0.2":
version: 7.0.4
resolution: "cacheable-request@npm:7.0.4"
@@ -24125,17 +22562,6 @@ __metadata:
languageName: node
linkType: hard
-"capital-case@npm:^1.0.4":
- version: 1.0.4
- resolution: "capital-case@npm:1.0.4"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- upper-case-first: ^2.0.2
- checksum: 6a034af73401f6e55d91ea35c190bbf8bda21714d4ea8bb8f1799311d123410a80f0875db4e3236dc3f97d74231ff4bf1c8783f2be13d7733c7d990c57387281
- languageName: node
- linkType: hard
-
"capture-exit@npm:^2.0.0":
version: 2.0.0
resolution: "capture-exit@npm:2.0.0"
@@ -24244,62 +22670,6 @@ __metadata:
languageName: node
linkType: hard
-"change-case-all@npm:1.0.14":
- version: 1.0.14
- resolution: "change-case-all@npm:1.0.14"
- dependencies:
- change-case: ^4.1.2
- is-lower-case: ^2.0.2
- is-upper-case: ^2.0.2
- lower-case: ^2.0.2
- lower-case-first: ^2.0.2
- sponge-case: ^1.0.1
- swap-case: ^2.0.2
- title-case: ^3.0.3
- upper-case: ^2.0.2
- upper-case-first: ^2.0.2
- checksum: c2d5fda011b2430f9e503afdca5d8ed48b0e8ee96e38f5530193f8a503317c4a82e6b721c5ea8ef852a2534bdd3d1af25d76e0604b820cd3bc136cf9c179803e
- languageName: node
- linkType: hard
-
-"change-case-all@npm:1.0.15":
- version: 1.0.15
- resolution: "change-case-all@npm:1.0.15"
- dependencies:
- change-case: ^4.1.2
- is-lower-case: ^2.0.2
- is-upper-case: ^2.0.2
- lower-case: ^2.0.2
- lower-case-first: ^2.0.2
- sponge-case: ^1.0.1
- swap-case: ^2.0.2
- title-case: ^3.0.3
- upper-case: ^2.0.2
- upper-case-first: ^2.0.2
- checksum: 0de81690de866aa8c477f8b5b08c6f9dbce4a078cffa5f014858f49fda548a9a6524b61f62f2940acce9f1fdcfeef3a7124090684e86e731f55d26c22713e2d7
- languageName: node
- linkType: hard
-
-"change-case@npm:^4.1.2":
- version: 4.1.2
- resolution: "change-case@npm:4.1.2"
- dependencies:
- camel-case: ^4.1.2
- capital-case: ^1.0.4
- constant-case: ^3.0.4
- dot-case: ^3.0.4
- header-case: ^2.0.4
- no-case: ^3.0.4
- param-case: ^3.0.4
- pascal-case: ^3.1.2
- path-case: ^3.0.4
- sentence-case: ^3.0.4
- snake-case: ^3.0.4
- tslib: ^2.0.3
- checksum: 95a6e48563cd393241ce18470c7310a8a050304a64b63addac487560ab039ce42b099673d1d293cc10652324d92060de11b5d918179fe3b5af2ee521fb03ca58
- languageName: node
- linkType: hard
-
"char-regex@npm:^1.0.2":
version: 1.0.2
resolution: "char-regex@npm:1.0.2"
@@ -24422,7 +22792,7 @@ __metadata:
languageName: node
linkType: hard
-"chownr@npm:^1.1.1, chownr@npm:^1.1.4":
+"chownr@npm:^1.1.1":
version: 1.1.4
resolution: "chownr@npm:1.1.4"
checksum: ed57952a84cc0c802af900cf7136de643d3aba2eecb59d29344bc2f3f9bf703a301b9d84cdc71f82c3ffc9ccde831b0d92f5b45f91727d6c9da62f23aef9d9db
@@ -24454,7 +22824,7 @@ __metadata:
languageName: node
linkType: hard
-"ci-info@npm:2.0.0, ci-info@npm:^2.0.0":
+"ci-info@npm:^2.0.0":
version: 2.0.0
resolution: "ci-info@npm:2.0.0"
checksum: 8c5fa3830a2bcee2b53c2e5018226f0141db9ec9f7b1e27a5c57db5512332cde8a0beb769bcbaf0d8775a78afbf2bb841928feca4ea6219638a5b088f9884b46
@@ -24563,7 +22933,7 @@ __metadata:
languageName: node
linkType: hard
-"cli-boxes@npm:^2.2.0, cli-boxes@npm:^2.2.1":
+"cli-boxes@npm:^2.2.1":
version: 2.2.1
resolution: "cli-boxes@npm:2.2.1"
checksum: 6111352edbb2f62dbc7bfd58f2d534de507afed7f189f13fa894ce5a48badd94b2aa502fda28f1d7dd5f1eb456e7d4033d09a76660013ef50c7f66e7a034f050
@@ -24700,17 +23070,6 @@ __metadata:
languageName: node
linkType: hard
-"clipboardy@npm:^2.3.0":
- version: 2.3.0
- resolution: "clipboardy@npm:2.3.0"
- dependencies:
- arch: ^2.1.1
- execa: ^1.0.0
- is-wsl: ^2.1.1
- checksum: 171c7d216dbec50213e35796740eaf79e39fb3442b7a8caf7414c2aed1da14e4d040696126c467325641612267a3dd43740d2ec29719fdcfb62065c6a2f91860
- languageName: node
- linkType: hard
-
"cliui@npm:^6.0.0":
version: 6.0.0
resolution: "cliui@npm:6.0.0"
@@ -24907,7 +23266,7 @@ __metadata:
languageName: node
linkType: hard
-"color-string@npm:^1.6.0, color-string@npm:^1.9.0":
+"color-string@npm:^1.6.0":
version: 1.9.1
resolution: "color-string@npm:1.9.1"
dependencies:
@@ -24936,16 +23295,6 @@ __metadata:
languageName: node
linkType: hard
-"color@npm:^4.2.3":
- version: 4.2.3
- resolution: "color@npm:4.2.3"
- dependencies:
- color-convert: ^2.0.1
- color-string: ^1.9.0
- checksum: 7fbe7cfb811054c808349de19fb380252e5e34e61d7d168ec3353e9e9aacb1802674bddc657682e4e9730c2786592a4de6f8283e7e0d3870b829bb0b7b2f6118
- languageName: node
- linkType: hard
-
"colord@npm:^2.9.1":
version: 2.9.3
resolution: "colord@npm:2.9.3"
@@ -24960,7 +23309,7 @@ __metadata:
languageName: node
linkType: hard
-"colorette@npm:^1.2.0, colorette@npm:^1.2.2, colorette@npm:^1.4.0":
+"colorette@npm:^1.2.0, colorette@npm:^1.4.0":
version: 1.4.0
resolution: "colorette@npm:1.4.0"
checksum: 4955c8f7daafca8ae7081d672e4bd89d553bd5782b5846d5a7e05effe93c2f15f7e9c0cb46f341b59f579a39fcf436241ff79594899d75d5f3460c03d607fe9e
@@ -25014,13 +23363,6 @@ __metadata:
languageName: node
linkType: hard
-"command-exists@npm:^1.2.4":
- version: 1.2.9
- resolution: "command-exists@npm:1.2.9"
- checksum: 75040240062de46cd6cd43e6b3032a8b0494525c89d3962e280dde665103f8cc304a8b313a5aa541b91da2f5a9af75c5959dc3a77893a2726407a5e9a0234c16
- languageName: node
- linkType: hard
-
"command-score@npm:0.1.2":
version: 0.1.2
resolution: "command-score@npm:0.1.2"
@@ -25056,7 +23398,7 @@ __metadata:
languageName: node
linkType: hard
-"commander@npm:^2.19.0, commander@npm:^2.20.0, commander@npm:^2.20.3":
+"commander@npm:^2.19.0, commander@npm:^2.20.0":
version: 2.20.3
resolution: "commander@npm:2.20.3"
checksum: 74c781a5248c2402a0a3e966a0a2bba3c054aad144f5c023364be83265e796b20565aa9feff624132ff629aa64e16999fa40a743c10c12f7c61e96a794b99288
@@ -25121,13 +23463,6 @@ __metadata:
languageName: node
linkType: hard
-"common-tags@npm:1.8.2, common-tags@npm:^1.8.0, common-tags@npm:^1.8.2":
- version: 1.8.2
- resolution: "common-tags@npm:1.8.2"
- checksum: 23efe47ff0a1a7c91489271b3a1e1d2a171c12ec7f9b35b29b2fce51270124aff0ec890087e2bc2182c1cb746e232ab7561aaafe05f1e7452aea733d2bfe3f63
- languageName: node
- linkType: hard
-
"commondir@npm:^1.0.1":
version: 1.0.1
resolution: "commondir@npm:1.0.1"
@@ -25239,13 +23574,6 @@ __metadata:
languageName: node
linkType: hard
-"confusing-browser-globals@npm:^1.0.10":
- version: 1.0.11
- resolution: "confusing-browser-globals@npm:1.0.11"
- checksum: 475d0a284fa964a5182b519af5738b5b64bf7e413cfd703c1b3496bf6f4df9f827893a9b221c0ea5873c1476835beb1e0df569ba643eff0734010c1eb780589e
- languageName: node
- linkType: hard
-
"connect-history-api-fallback@npm:^2.0.0":
version: 2.0.0
resolution: "connect-history-api-fallback@npm:2.0.0"
@@ -25281,17 +23609,6 @@ __metadata:
languageName: node
linkType: hard
-"constant-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "constant-case@npm:3.0.4"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- upper-case: ^2.0.2
- checksum: 91d54f18341fcc491ae66d1086642b0cc564be3e08984d7b7042f8b0a721c8115922f7f11d6a09f13ed96ff326eabae11f9d1eb0335fa9d8b6e39e4df096010e
- languageName: node
- linkType: hard
-
"constants-browserify@npm:^1.0.0":
version: 1.0.0
resolution: "constants-browserify@npm:1.0.0"
@@ -25317,7 +23634,7 @@ __metadata:
languageName: node
linkType: hard
-"content-type@npm:^1.0.4, content-type@npm:~1.0.4, content-type@npm:~1.0.5":
+"content-type@npm:~1.0.4, content-type@npm:~1.0.5":
version: 1.0.5
resolution: "content-type@npm:1.0.5"
checksum: b76ebed15c000aee4678c3707e0860cb6abd4e680a598c0a26e17f0bfae723ec9cc2802f0ff1bc6e4d80603719010431d2231018373d4dde10f9ccff9dadf5af
@@ -25349,13 +23666,6 @@ __metadata:
languageName: node
linkType: hard
-"convert-hrtime@npm:^3.0.0":
- version: 3.0.0
- resolution: "convert-hrtime@npm:3.0.0"
- checksum: 3db1f27ecd8052f5b5eeb38c7180d3ee8f45705edad67eb6c89dd1ddfaf683d378169ace0ea147e7b61c5b038ff1bf59a0c0453d2812300e86977e03584df929
- languageName: node
- linkType: hard
-
"convert-source-map@npm:^1.1.0, convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0":
version: 1.9.0
resolution: "convert-source-map@npm:1.9.0"
@@ -25401,7 +23711,7 @@ __metadata:
languageName: node
linkType: hard
-"cookie@npm:0.4.2, cookie@npm:^0.4.1, cookie@npm:~0.4.1":
+"cookie@npm:0.4.2, cookie@npm:^0.4.1":
version: 0.4.2
resolution: "cookie@npm:0.4.2"
checksum: beab41fbd7c20175e3a2799ba948c1dcc71ef69f23fe14eeeff59fc09f50c517b0f77098db87dbb4c55da802f9d86ee86cdc1cd3efd87760341551838d53fca2
@@ -25422,7 +23732,7 @@ __metadata:
languageName: node
linkType: hard
-"cookies@npm:0.8.0, cookies@npm:^0.8.0":
+"cookies@npm:0.8.0":
version: 0.8.0
resolution: "cookies@npm:0.8.0"
dependencies:
@@ -25488,16 +23798,6 @@ __metadata:
languageName: node
linkType: hard
-"core-js-compat@npm:3.9.0":
- version: 3.9.0
- resolution: "core-js-compat@npm:3.9.0"
- dependencies:
- browserslist: ^4.16.3
- semver: 7.0.0
- checksum: bd18f5ae373e6425a3734308d8aa5923cd6dc6f5e3dfeaf1bbb31eab87579a0148a9a94eeff10cb3274e80f48544fc78f706ad0518e185809211f64808e7fbf9
- languageName: node
- linkType: hard
-
"core-js-compat@npm:^3.30.1, core-js-compat@npm:^3.30.2, core-js-compat@npm:^3.6.2, core-js-compat@npm:^3.8.1":
version: 3.31.0
resolution: "core-js-compat@npm:3.31.0"
@@ -25530,7 +23830,7 @@ __metadata:
languageName: node
linkType: hard
-"core-js@npm:^3.0.4, core-js@npm:^3.22.3, core-js@npm:^3.30.2, core-js@npm:^3.6.5, core-js@npm:^3.7.0, core-js@npm:^3.8.2":
+"core-js@npm:^3.0.4, core-js@npm:^3.30.2, core-js@npm:^3.6.5, core-js@npm:^3.7.0, core-js@npm:^3.8.2":
version: 3.31.0
resolution: "core-js@npm:3.31.0"
checksum: 6216c7ada80b2468b1297d844fa99a99da97d6156cb05270b3627d8c463fb8c17baeff74ef204ef1c905712930fe82740ba2a74e2f957e4909fd241416fe5735
@@ -25558,7 +23858,7 @@ __metadata:
languageName: node
linkType: hard
-"cors@npm:2.8.5, cors@npm:^2.8.5, cors@npm:~2.8.5":
+"cors@npm:2.8.5, cors@npm:^2.8.5":
version: 2.8.5
resolution: "cors@npm:2.8.5"
dependencies:
@@ -25645,17 +23945,6 @@ __metadata:
languageName: node
linkType: hard
-"create-gatsby@npm:^2.25.0":
- version: 2.25.0
- resolution: "create-gatsby@npm:2.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- bin:
- create-gatsby: cli.js
- checksum: 40744db91cdecf75f61bb53287dd64bb4216915d797dcc3901935f3a8b35b47a28feb0b452f0d74176d100264b4fbd46ddeff0e86643e2784ce6c55cb31d1033
- languageName: node
- linkType: hard
-
"create-hash@npm:^1.1.0, create-hash@npm:^1.1.2, create-hash@npm:^1.2.0":
version: 1.2.0
resolution: "create-hash@npm:1.2.0"
@@ -25954,26 +24243,6 @@ __metadata:
languageName: node
linkType: hard
-"css-loader@npm:^5.2.7":
- version: 5.2.7
- resolution: "css-loader@npm:5.2.7"
- dependencies:
- icss-utils: ^5.1.0
- loader-utils: ^2.0.0
- postcss: ^8.2.15
- postcss-modules-extract-imports: ^3.0.0
- postcss-modules-local-by-default: ^4.0.0
- postcss-modules-scope: ^3.0.0
- postcss-modules-values: ^4.0.0
- postcss-value-parser: ^4.1.0
- schema-utils: ^3.0.0
- semver: ^7.3.5
- peerDependencies:
- webpack: ^4.27.0 || ^5.0.0
- checksum: 02fbdb0dca92e4a4d2aa27b2817ea51d0af3d662d3295c61f2aa37537b29f9a46a9c2e87d8f5e40a1a97159f35d5c7b9a325f27761b59a38c8e15e8ca3988d2b
- languageName: node
- linkType: hard
-
"css-loader@npm:^6.7.3, css-loader@npm:^6.8.1":
version: 6.8.1
resolution: "css-loader@npm:6.8.1"
@@ -25992,28 +24261,6 @@ __metadata:
languageName: node
linkType: hard
-"css-minimizer-webpack-plugin@npm:^2.0.0":
- version: 2.0.0
- resolution: "css-minimizer-webpack-plugin@npm:2.0.0"
- dependencies:
- cssnano: ^5.0.0
- jest-worker: ^26.3.0
- p-limit: ^3.0.2
- postcss: ^8.2.9
- schema-utils: ^3.0.0
- serialize-javascript: ^5.0.1
- source-map: ^0.6.1
- peerDependencies:
- webpack: ^5.0.0
- peerDependenciesMeta:
- clean-css:
- optional: true
- csso:
- optional: true
- checksum: c255bf74cd5c4472cdb2f38533ebc4930d20ecd1b467ea5f3ec3e45837e6ca622f79fee4f055a2345e1b6e0bdab7e768da1944a3369f5720bab944b59991e098
- languageName: node
- linkType: hard
-
"css-prefers-color-scheme@npm:^8.0.2":
version: 8.0.2
resolution: "css-prefers-color-scheme@npm:8.0.2"
@@ -26023,7 +24270,7 @@ __metadata:
languageName: node
linkType: hard
-"css-select@npm:^4.1.3, css-select@npm:^4.2.1":
+"css-select@npm:^4.1.3":
version: 4.3.0
resolution: "css-select@npm:4.3.0"
dependencies:
@@ -26120,13 +24367,6 @@ __metadata:
languageName: node
linkType: hard
-"cssfilter@npm:0.0.10":
- version: 0.0.10
- resolution: "cssfilter@npm:0.0.10"
- checksum: 478a227a616fb6e9bb338eb95f690df141b86231ec737cbea574484f31a09a51db894b4921afc4987459dae08d584355fd689ff2a7a7c7a74de4bb4c072ce553
- languageName: node
- linkType: hard
-
"cssnano-preset-default@npm:^5.2.14":
version: 5.2.14
resolution: "cssnano-preset-default@npm:5.2.14"
@@ -26175,7 +24415,7 @@ __metadata:
languageName: node
linkType: hard
-"cssnano@npm:^5.0.0, cssnano@npm:^5.0.1":
+"cssnano@npm:^5.0.1":
version: 5.1.15
resolution: "cssnano@npm:5.1.15"
dependencies:
@@ -26315,23 +24555,6 @@ __metadata:
languageName: node
linkType: hard
-"d@npm:1, d@npm:^1.0.1":
- version: 1.0.1
- resolution: "d@npm:1.0.1"
- dependencies:
- es5-ext: ^0.10.50
- type: ^1.0.1
- checksum: 1fedcb3b956a461f64d86b94b347441beff5cef8910b6ac4ec509a2c67eeaa7093660a98b26601ac91f91260238add73bdf25867a9c0cb783774642bc4c1523f
- languageName: node
- linkType: hard
-
-"damerau-levenshtein@npm:^1.0.8":
- version: 1.0.8
- resolution: "damerau-levenshtein@npm:1.0.8"
- checksum: 4c2647e0f42acaee7d068756c1d396e296c3556f9c8314bac1ac63ffb236217ef0e7e58602b18bb2173deec7ec8e0cac8e27cccf8f5526666b4ff11a13ad54a3
- languageName: node
- linkType: hard
-
"dashdash@npm:^1.12.0":
version: 1.14.1
resolution: "dashdash@npm:1.14.1"
@@ -26399,7 +24622,7 @@ __metadata:
languageName: node
linkType: hard
-"date-fns@npm:^2.0.1, date-fns@npm:^2.24.0, date-fns@npm:^2.25.0, date-fns@npm:^2.29.3, date-fns@npm:^2.30.0":
+"date-fns@npm:^2.0.1, date-fns@npm:^2.24.0, date-fns@npm:^2.29.3, date-fns@npm:^2.30.0":
version: 2.30.0
resolution: "date-fns@npm:2.30.0"
dependencies:
@@ -26422,13 +24645,6 @@ __metadata:
languageName: node
linkType: hard
-"dayjs@npm:^1.8.29":
- version: 1.11.9
- resolution: "dayjs@npm:1.11.9"
- checksum: 1697892de0f4107083ec72451ba86c947df61d9a67f8c52da991c5f8e347781baccec5c4c42e81a99e63cf603389ed324723cd77ad1b6fbd04f0f34433334979
- languageName: node
- linkType: hard
-
"de-indent@npm:^1.0.2":
version: 1.0.2
resolution: "de-indent@npm:1.0.2"
@@ -26445,7 +24661,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:~4.3.1, debug@npm:~4.3.2":
+"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4":
version: 4.3.4
resolution: "debug@npm:4.3.4"
dependencies:
@@ -26466,7 +24682,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:^3.0.0, debug@npm:^3.0.1, debug@npm:^3.1.0, debug@npm:^3.2.7":
+"debug@npm:^3.0.0, debug@npm:^3.1.0, debug@npm:^3.2.7":
version: 3.2.7
resolution: "debug@npm:3.2.7"
dependencies:
@@ -26520,15 +24736,6 @@ __metadata:
languageName: node
linkType: hard
-"decompress-response@npm:^3.3.0":
- version: 3.3.0
- resolution: "decompress-response@npm:3.3.0"
- dependencies:
- mimic-response: ^1.0.0
- checksum: 5ffaf1d744277fd51c68c94ddc3081cd011b10b7de06637cccc6ecba137d45304a09ba1a776dee1c47fccc60b4a056c4bc74468eeea798ff1f1fca0024b45c9d
- languageName: node
- linkType: hard
-
"decompress-response@npm:^6.0.0":
version: 6.0.0
resolution: "decompress-response@npm:6.0.0"
@@ -26592,13 +24799,6 @@ __metadata:
languageName: node
linkType: hard
-"deep-extend@npm:^0.6.0":
- version: 0.6.0
- resolution: "deep-extend@npm:0.6.0"
- checksum: 1c6b0abcdb901e13a44c7d699116d3d4279fdb261983122a3783e7273844d5f2537dc2e1c454a23fcf645917f93fbf8d07101c1d03c015a87faa662755212566
- languageName: node
- linkType: hard
-
"deep-is@npm:^0.1.3, deep-is@npm:~0.1.3":
version: 0.1.4
resolution: "deep-is@npm:0.1.4"
@@ -26666,13 +24866,6 @@ __metadata:
languageName: node
linkType: hard
-"defer-to-connect@npm:^1.0.1":
- version: 1.1.3
- resolution: "defer-to-connect@npm:1.1.3"
- checksum: 9feb161bd7d21836fdff31eba79c2b11b7aaf844be58faf727121f8b0d9c2e82b494560df0903f41b52dd75027dc7c9455c11b3739f3202b28ca92b56c8f960e
- languageName: node
- linkType: hard
-
"defer-to-connect@npm:^2.0.0":
version: 2.0.1
resolution: "defer-to-connect@npm:2.0.1"
@@ -26797,7 +24990,7 @@ __metadata:
languageName: node
linkType: hard
-"denque@npm:^1.1.0, denque@npm:^1.5.0":
+"denque@npm:^1.5.0":
version: 1.5.1
resolution: "denque@npm:1.5.1"
checksum: 9e6fc1a63e1c9ded38325290302fef40e5ad28471ad8c66d68eaea623ef847bd25fc75a7c3f47396206dc967922615999066470a364e1786f2758d61337872b7
@@ -26825,13 +25018,6 @@ __metadata:
languageName: node
linkType: hard
-"dependency-graph@npm:^0.11.0":
- version: 0.11.0
- resolution: "dependency-graph@npm:0.11.0"
- checksum: 9e6968d1534fdb502f7f3a25a3819b499f9d60f8389193950ed0b4d1618f1341b36b5d039f2cee256cfe10c9e8198ace16b271e370df06a93fac206e81602e7c
- languageName: node
- linkType: hard
-
"dequal@npm:^2.0.2, dequal@npm:^2.0.3":
version: 2.0.3
resolution: "dequal@npm:2.0.3"
@@ -26879,22 +25065,6 @@ __metadata:
languageName: node
linkType: hard
-"detect-libc@npm:^1.0.3":
- version: 1.0.3
- resolution: "detect-libc@npm:1.0.3"
- bin:
- detect-libc: ./bin/detect-libc.js
- checksum: 4da0deae9f69e13bc37a0902d78bf7169480004b1fed3c19722d56cff578d16f0e11633b7fbf5fb6249181236c72e90024cbd68f0b9558ae06e281f47326d50d
- languageName: node
- linkType: hard
-
-"detect-libc@npm:^2.0.0, detect-libc@npm:^2.0.1":
- version: 2.0.1
- resolution: "detect-libc@npm:2.0.1"
- checksum: 153009d0ce4073ea885a97641aa1cc0327ff168b971fa3c770958345ad3ead4618f3747334435dc8edff32c0f56d8ba16dcf5271543c99b24af532b1cf84a61d
- languageName: node
- linkType: hard
-
"detect-newline@npm:^3.0.0":
version: 3.1.0
resolution: "detect-newline@npm:3.1.0"
@@ -26964,37 +25134,6 @@ __metadata:
languageName: node
linkType: hard
-"devcert@npm:^1.2.0":
- version: 1.2.2
- resolution: "devcert@npm:1.2.2"
- dependencies:
- "@types/configstore": ^2.1.1
- "@types/debug": ^0.0.30
- "@types/get-port": ^3.2.0
- "@types/glob": ^5.0.34
- "@types/lodash": ^4.14.92
- "@types/mkdirp": ^0.5.2
- "@types/node": ^8.5.7
- "@types/rimraf": ^2.0.2
- "@types/tmp": ^0.0.33
- application-config-path: ^0.1.0
- command-exists: ^1.2.4
- debug: ^3.1.0
- eol: ^0.9.1
- get-port: ^3.2.0
- glob: ^7.1.2
- is-valid-domain: ^0.1.6
- lodash: ^4.17.4
- mkdirp: ^0.5.1
- password-prompt: ^1.0.4
- rimraf: ^2.6.2
- sudo-prompt: ^8.2.0
- tmp: ^0.0.33
- tslib: ^1.10.0
- checksum: b5fa04531fb4cb1bb63ef61185b6d6930ac5edb17aadba0b15b6628ca1a27dc3da1ccde1449edfe0e3ef8d526b7b91d197b9e41ec7714ddf01d00048df6c4db1
- languageName: node
- linkType: hard
-
"didyoumean@npm:^1.2.2":
version: 1.2.2
resolution: "didyoumean@npm:1.2.2"
@@ -27324,14 +25463,7 @@ __metadata:
languageName: node
linkType: hard
-"dotenv@npm:^7.0.0":
- version: 7.0.0
- resolution: "dotenv@npm:7.0.0"
- checksum: 4d834d09d23ebd284e701c4204172659a7dcd51116f11c29c575ae6d918ccd4760a3383bdfd83cfbed42f061266b787f8e56452b952638867ea5476be875eb27
- languageName: node
- linkType: hard
-
-"dotenv@npm:^8.0.0, dotenv@npm:^8.1.0, dotenv@npm:^8.6.0":
+"dotenv@npm:^8.0.0, dotenv@npm:^8.1.0":
version: 8.6.0
resolution: "dotenv@npm:8.6.0"
checksum: 6750431dea8efbd54b9f2d9681b04e1ccc7989486461dcf058bb708d9e3d63b04115fcdf8840e38ad1e24a4a2e1e7c1560626c5e3ac7bc09371b127c49e2d45f
@@ -27355,13 +25487,6 @@ __metadata:
languageName: node
linkType: hard
-"duplexer3@npm:^0.1.4":
- version: 0.1.5
- resolution: "duplexer3@npm:0.1.5"
- checksum: 02195030d61c4d6a2a34eca71639f2ea5e05cb963490e5bd9527623c2ac7f50c33842a34d14777ea9cbfd9bc2be5a84065560b897d9fabb99346058a5b86ca98
- languageName: node
- linkType: hard
-
"duplexer@npm:0.1.1":
version: 0.1.1
resolution: "duplexer@npm:0.1.1"
@@ -27369,7 +25494,7 @@ __metadata:
languageName: node
linkType: hard
-"duplexer@npm:^0.1.1, duplexer@npm:^0.1.2, duplexer@npm:~0.1.1":
+"duplexer@npm:^0.1.1, duplexer@npm:^0.1.2":
version: 0.1.2
resolution: "duplexer@npm:0.1.2"
checksum: c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2
@@ -27610,44 +25735,6 @@ __metadata:
languageName: node
linkType: hard
-"engine.io-client@npm:~6.2.3":
- version: 6.2.3
- resolution: "engine.io-client@npm:6.2.3"
- dependencies:
- "@socket.io/component-emitter": ~3.1.0
- debug: ~4.3.1
- engine.io-parser: ~5.0.3
- ws: ~8.2.3
- xmlhttprequest-ssl: ~2.0.0
- checksum: f0f336627c26ba2712480f247e50273c717b13969970c6abc633c26ef993f9aa69584636605f18c4ca1e853408ab7add430d73053193e41af451665cf615f7da
- languageName: node
- linkType: hard
-
-"engine.io-parser@npm:~5.0.3":
- version: 5.0.7
- resolution: "engine.io-parser@npm:5.0.7"
- checksum: 5fa2c900f4c20c938698d72edde3596562365cb19db4b63a9888f884fdc571b67c04b8d6351bbcb031b4d02b44a4353be13d40a35b1a9050cc12ae75e95ae542
- languageName: node
- linkType: hard
-
-"engine.io@npm:~6.2.1":
- version: 6.2.1
- resolution: "engine.io@npm:6.2.1"
- dependencies:
- "@types/cookie": ^0.4.1
- "@types/cors": ^2.8.12
- "@types/node": ">=10.0.0"
- accepts: ~1.3.4
- base64id: 2.0.0
- cookie: ~0.4.1
- cors: ~2.8.5
- debug: ~4.3.1
- engine.io-parser: ~5.0.3
- ws: ~8.2.3
- checksum: 5b730ec03d3b7b701027aeed2eadf2918429659e5be857efd6da4235be4e423834382ae2cfe0a35954e4efa85a1005ad63dc3ad0f4f8514af8e70e7fbc677c4e
- languageName: node
- linkType: hard
-
"enhanced-resolve@npm:^4.5.0":
version: 4.5.0
resolution: "enhanced-resolve@npm:4.5.0"
@@ -27659,7 +25746,7 @@ __metadata:
languageName: node
linkType: hard
-"enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.8.3":
+"enhanced-resolve@npm:^5.15.0":
version: 5.15.0
resolution: "enhanced-resolve@npm:5.15.0"
dependencies:
@@ -27715,7 +25802,7 @@ __metadata:
languageName: node
linkType: hard
-"envinfo@npm:^7.7.3, envinfo@npm:^7.8.1":
+"envinfo@npm:^7.7.3":
version: 7.10.0
resolution: "envinfo@npm:7.10.0"
bin:
@@ -27758,7 +25845,7 @@ __metadata:
languageName: node
linkType: hard
-"error-stack-parser@npm:^2.0.6, error-stack-parser@npm:^2.1.4":
+"error-stack-parser@npm:^2.0.6":
version: 2.1.4
resolution: "error-stack-parser@npm:2.1.4"
dependencies:
@@ -27909,17 +25996,6 @@ __metadata:
languageName: node
linkType: hard
-"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.50, es5-ext@npm:^0.10.53, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2, es5-ext@npm:~0.10.46":
- version: 0.10.62
- resolution: "es5-ext@npm:0.10.62"
- dependencies:
- es6-iterator: ^2.0.3
- es6-symbol: ^3.1.3
- next-tick: ^1.1.0
- checksum: 72dfbec5e4bce24754be9f2c2a1c67c01de3fe000103c115f52891f6a51f44a59674c40a1f6bd2390fcd43987746dccb76efafea91c7bb6295bdca8d63ba3db4
- languageName: node
- linkType: hard
-
"es5-shim@npm:^4.5.13":
version: 4.6.7
resolution: "es5-shim@npm:4.6.7"
@@ -27927,17 +26003,6 @@ __metadata:
languageName: node
linkType: hard
-"es6-iterator@npm:^2.0.3":
- version: 2.0.3
- resolution: "es6-iterator@npm:2.0.3"
- dependencies:
- d: 1
- es5-ext: ^0.10.35
- es6-symbol: ^3.1.1
- checksum: 91f20b799dba28fb05bf623c31857fc1524a0f1c444903beccaf8929ad196c8c9ded233e5ac7214fc63a92b3f25b64b7f2737fcca8b1f92d2d96cf3ac902f5d8
- languageName: node
- linkType: hard
-
"es6-promise@npm:^3.2.1":
version: 3.3.1
resolution: "es6-promise@npm:3.3.1"
@@ -27945,13 +26010,6 @@ __metadata:
languageName: node
linkType: hard
-"es6-promise@npm:^4.1.1":
- version: 4.2.8
- resolution: "es6-promise@npm:4.2.8"
- checksum: 2373d9c5e9a93bdd9f9ed32ff5cb6dd3dd785368d1c21e9bbbfd07d16345b3774ae260f2bd24c8f836a6903f432b4151e7816a7fa8891ccb4e1a55a028ec42c3
- languageName: node
- linkType: hard
-
"es6-shim@npm:^0.35.5":
version: 0.35.8
resolution: "es6-shim@npm:0.35.8"
@@ -27959,28 +26017,6 @@ __metadata:
languageName: node
linkType: hard
-"es6-symbol@npm:^3.1.1, es6-symbol@npm:^3.1.3":
- version: 3.1.3
- resolution: "es6-symbol@npm:3.1.3"
- dependencies:
- d: ^1.0.1
- ext: ^1.1.2
- checksum: 22982f815f00df553a89f4fb74c5048fed85df598482b4bd38dbd173174247949c72982a7d7132a58b147525398400e5f182db59b0916cb49f1e245fb0e22233
- languageName: node
- linkType: hard
-
-"es6-weak-map@npm:^2.0.3":
- version: 2.0.3
- resolution: "es6-weak-map@npm:2.0.3"
- dependencies:
- d: 1
- es5-ext: ^0.10.46
- es6-iterator: ^2.0.3
- es6-symbol: ^3.1.1
- checksum: 460932be9542473dbbddd183e21c15a66cfec1b2c17dae2b514e190d6fb2896b7eb683783d4b36da036609d2e1c93d2815f21b374dfccaf02a8978694c2f7b67
- languageName: node
- linkType: hard
-
"esbuild-plugin-alias@npm:^0.2.1":
version: 0.2.1
resolution: "esbuild-plugin-alias@npm:0.2.1"
@@ -28394,13 +26430,6 @@ __metadata:
languageName: node
linkType: hard
-"escape-goat@npm:^2.0.0":
- version: 2.1.1
- resolution: "escape-goat@npm:2.1.1"
- checksum: fc0ad656f89c05e86a9641a21bdc5ea37b258714c057430b68a834854fa3e5770cda7d41756108863fc68b1e36a0946463017b7553ac39eaaf64815be07816fc
- languageName: node
- linkType: hard
-
"escape-html@npm:~1.0.3":
version: 1.0.3
resolution: "escape-html@npm:1.0.3"
@@ -28493,118 +26522,6 @@ __metadata:
languageName: node
linkType: hard
-"eslint-config-react-app@npm:^6.0.0":
- version: 6.0.0
- resolution: "eslint-config-react-app@npm:6.0.0"
- dependencies:
- confusing-browser-globals: ^1.0.10
- peerDependencies:
- "@typescript-eslint/eslint-plugin": ^4.0.0
- "@typescript-eslint/parser": ^4.0.0
- babel-eslint: ^10.0.0
- eslint: ^7.5.0
- eslint-plugin-flowtype: ^5.2.0
- eslint-plugin-import: ^2.22.0
- eslint-plugin-jest: ^24.0.0
- eslint-plugin-jsx-a11y: ^6.3.1
- eslint-plugin-react: ^7.20.3
- eslint-plugin-react-hooks: ^4.0.8
- eslint-plugin-testing-library: ^3.9.0
- peerDependenciesMeta:
- eslint-plugin-jest:
- optional: true
- eslint-plugin-testing-library:
- optional: true
- checksum: 3141500eb3b7a1edfbade684cd07cb0199d60c7f432021842932e0c935285ae94b198f6cdc344c4f7ac7b7a1690bb4312c0b2ee4ca28a523d570df768ee177bf
- languageName: node
- linkType: hard
-
-"eslint-import-resolver-node@npm:^0.3.7":
- version: 0.3.7
- resolution: "eslint-import-resolver-node@npm:0.3.7"
- dependencies:
- debug: ^3.2.7
- is-core-module: ^2.11.0
- resolve: ^1.22.1
- checksum: 39c562b59ec8dfd6b85ffa52273dbf0edb661b616463e2c453c60b2398b0a76f268f15f949a1648046c9c996d29599b57f6266df4b5d3562bff1088ded3672d5
- languageName: node
- linkType: hard
-
-"eslint-module-utils@npm:^2.7.4":
- version: 2.8.0
- resolution: "eslint-module-utils@npm:2.8.0"
- dependencies:
- debug: ^3.2.7
- peerDependenciesMeta:
- eslint:
- optional: true
- checksum: c7a8d1a58d76ec8217a8fea49271ec8132d1b9390965a75f6a4ecbc9e5983d742195b46d2e4378231d2186801439fe1aa5700714b0bfd4eb17aac6e1b65309df
- languageName: node
- linkType: hard
-
-"eslint-plugin-flowtype@npm:^5.10.0":
- version: 5.10.0
- resolution: "eslint-plugin-flowtype@npm:5.10.0"
- dependencies:
- lodash: ^4.17.15
- string-natural-compare: ^3.0.1
- peerDependencies:
- eslint: ^7.1.0
- checksum: 9b5d7d3ba0c9c174cd166dd948d8222efca67b78cedcf8ccaadf3a9593af039fcbcedeed0ef006877db5238aa1d7a7ee390e30954af664bf30b06a915b41acf1
- languageName: node
- linkType: hard
-
-"eslint-plugin-import@npm:^2.26.0":
- version: 2.27.5
- resolution: "eslint-plugin-import@npm:2.27.5"
- dependencies:
- array-includes: ^3.1.6
- array.prototype.flat: ^1.3.1
- array.prototype.flatmap: ^1.3.1
- debug: ^3.2.7
- doctrine: ^2.1.0
- eslint-import-resolver-node: ^0.3.7
- eslint-module-utils: ^2.7.4
- has: ^1.0.3
- is-core-module: ^2.11.0
- is-glob: ^4.0.3
- minimatch: ^3.1.2
- object.values: ^1.1.6
- resolve: ^1.22.1
- semver: ^6.3.0
- tsconfig-paths: ^3.14.1
- peerDependencies:
- eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
- checksum: e561e79889ad3c662e305ca9a9b273a5baf8f492dad8198e42987efc4f0532c0d49caee206e78e057cec3365b36f9cef8340915e9f08adec5f29c9d631e6f691
- languageName: node
- linkType: hard
-
-"eslint-plugin-jsx-a11y@npm:^6.6.1":
- version: 6.7.1
- resolution: "eslint-plugin-jsx-a11y@npm:6.7.1"
- dependencies:
- "@babel/runtime": ^7.20.7
- aria-query: ^5.1.3
- array-includes: ^3.1.6
- array.prototype.flatmap: ^1.3.1
- ast-types-flow: ^0.0.7
- axe-core: ^4.6.2
- axobject-query: ^3.1.1
- damerau-levenshtein: ^1.0.8
- emoji-regex: ^9.2.2
- has: ^1.0.3
- jsx-ast-utils: ^3.3.3
- language-tags: =1.0.5
- minimatch: ^3.1.2
- object.entries: ^1.1.6
- object.fromentries: ^2.0.6
- semver: ^6.3.0
- peerDependencies:
- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
- checksum: 41ad3d0c8036b36cd475685c1ad639157f403b16e8ac23c07f1dbe0226ccf8458f2805cbd5cc8e56856a5d8a356f3276e3139274d819476ccad80c41b9245502
- languageName: node
- linkType: hard
-
"eslint-plugin-prettier@npm:^4.2.1":
version: 4.2.1
resolution: "eslint-plugin-prettier@npm:4.2.1"
@@ -28638,7 +26555,7 @@ __metadata:
languageName: node
linkType: hard
-"eslint-plugin-react@npm:^7.30.1, eslint-plugin-react@npm:^7.31.11":
+"eslint-plugin-react@npm:^7.31.11":
version: 7.32.2
resolution: "eslint-plugin-react@npm:7.32.2"
dependencies:
@@ -28747,17 +26664,6 @@ __metadata:
languageName: node
linkType: hard
-"eslint-utils@npm:^3.0.0":
- version: 3.0.0
- resolution: "eslint-utils@npm:3.0.0"
- dependencies:
- eslint-visitor-keys: ^2.0.0
- peerDependencies:
- eslint: ">=5"
- checksum: 45aa2b63667a8d9b474c98c28af908d0a592bed1a4568f3145cd49fb5d9510f545327ec95561625290313fe126e6d7bdfe3fdbdb6f432689fab6b9497d3bfb52
- languageName: node
- linkType: hard
-
"eslint-visitor-keys@npm:^1.1.0, eslint-visitor-keys@npm:^1.3.0":
version: 1.3.0
resolution: "eslint-visitor-keys@npm:1.3.0"
@@ -28779,23 +26685,6 @@ __metadata:
languageName: node
linkType: hard
-"eslint-webpack-plugin@npm:^2.7.0":
- version: 2.7.0
- resolution: "eslint-webpack-plugin@npm:2.7.0"
- dependencies:
- "@types/eslint": ^7.29.0
- arrify: ^2.0.1
- jest-worker: ^27.5.1
- micromatch: ^4.0.5
- normalize-path: ^3.0.0
- schema-utils: ^3.1.1
- peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
- webpack: ^4.0.0 || ^5.0.0
- checksum: ecf4a032b6a2f3460af123ee2d1c56b04f504eedf94cff4b8ef9146dbf8856864c20a994b2b63a59e3713433232e0a1270c1d72f98ad61a48af154b205dfeb97
- languageName: node
- linkType: hard
-
"eslint@npm:7.32.0, eslint@npm:^7.32.0":
version: 7.32.0
resolution: "eslint@npm:7.32.0"
@@ -29070,38 +26959,6 @@ __metadata:
languageName: node
linkType: hard
-"event-emitter@npm:^0.3.5":
- version: 0.3.5
- resolution: "event-emitter@npm:0.3.5"
- dependencies:
- d: 1
- es5-ext: ~0.10.14
- checksum: 75082fa8ffb3929766d0f0a063bfd6046bd2a80bea2666ebaa0cfd6f4a9116be6647c15667bea77222afc12f5b4071b68d393cf39fdaa0e8e81eda006160aff0
- languageName: node
- linkType: hard
-
-"event-source-polyfill@npm:1.0.25":
- version: 1.0.25
- resolution: "event-source-polyfill@npm:1.0.25"
- checksum: 9c02fa3dba1a0b730122b21daab0dd2e97da4f4e4d35528afdb21aead7504f488be1ee5c51098d189d3695300f2a128554ba25c504eabbad249f26b2c51ce387
- languageName: node
- linkType: hard
-
-"event-stream@npm:=3.3.4":
- version: 3.3.4
- resolution: "event-stream@npm:3.3.4"
- dependencies:
- duplexer: ~0.1.1
- from: ~0
- map-stream: ~0.1.0
- pause-stream: 0.0.11
- split: 0.3
- stream-combiner: ~0.0.4
- through: ~2.3.1
- checksum: c3ec4e1efc27ab3e73a98923f0a2fa9a19051b87068fea2f3d53d2e4e8c5cfdadf8c8a115b17f3d90b16a46432d396bad91b6e8d0cceb3e449be717a03b75209
- languageName: node
- linkType: hard
-
"event-target-shim@npm:^5.0.0":
version: 5.0.1
resolution: "event-target-shim@npm:5.0.1"
@@ -29254,13 +27111,6 @@ __metadata:
languageName: node
linkType: hard
-"expand-template@npm:^2.0.3":
- version: 2.0.3
- resolution: "expand-template@npm:2.0.3"
- checksum: 1c9e7afe9acadf9d373301d27f6a47b34e89b3391b1ef38b7471d381812537ef2457e620ae7f819d2642ce9c43b189b3583813ec395e2938319abe356a9b2f51
- languageName: node
- linkType: hard
-
"expect@npm:^25.5.0":
version: 25.5.0
resolution: "expect@npm:25.5.0"
@@ -29347,31 +27197,6 @@ __metadata:
languageName: node
linkType: hard
-"express-graphql@npm:^0.12.0":
- version: 0.12.0
- resolution: "express-graphql@npm:0.12.0"
- dependencies:
- accepts: ^1.3.7
- content-type: ^1.0.4
- http-errors: 1.8.0
- raw-body: ^2.4.1
- peerDependencies:
- graphql: ^14.7.0 || ^15.3.0
- checksum: 5211cc46e8a34776611bcbb40abd445e8e40d6b415099cb0be22107b8fdc501a2d101f2e8b5316c43c6e2538f2858c98e59b17ca57f1253004ee96d40f55eefd
- languageName: node
- linkType: hard
-
-"express-http-proxy@npm:^1.6.3":
- version: 1.6.3
- resolution: "express-http-proxy@npm:1.6.3"
- dependencies:
- debug: ^3.0.1
- es6-promise: ^4.1.1
- raw-body: ^2.3.0
- checksum: e27d85b923a812aa8d2ce90bc15cc8254bcd1691d43ea1c070760d4e3fe985d913e4e9f4523be649aff36a0c827b0d35222f5f5e62a5b03c8ffe58284aa91ef6
- languageName: node
- linkType: hard
-
"express-session@npm:^1.17.3":
version: 1.17.3
resolution: "express-session@npm:1.17.3"
@@ -29465,15 +27290,6 @@ __metadata:
languageName: node
linkType: hard
-"ext@npm:^1.1.2":
- version: 1.7.0
- resolution: "ext@npm:1.7.0"
- dependencies:
- type: ^2.7.2
- checksum: a8e5f34e12214e9eee3a4af3b5c9d05ba048f28996450975b369fc86e5d0ef13b6df0615f892f5396a9c65d616213c25ec5b0ad17ef42eac4a500512a19da6c7
- languageName: node
- linkType: hard
-
"extend-shallow@npm:^2.0.1":
version: 2.0.1
resolution: "extend-shallow@npm:2.0.1"
@@ -29697,7 +27513,7 @@ __metadata:
languageName: node
linkType: hard
-"fastq@npm:^1.13.0, fastq@npm:^1.6.0":
+"fastq@npm:^1.6.0":
version: 1.15.0
resolution: "fastq@npm:1.15.0"
dependencies:
@@ -29779,13 +27595,6 @@ __metadata:
languageName: node
linkType: hard
-"fd@npm:~0.0.2":
- version: 0.0.3
- resolution: "fd@npm:0.0.3"
- checksum: 64fd9f6891c3dafc1d874400ca23e0354fc477a16e93e1b63f4b524fdb5825130d6fdb38c13b8b3d1ab08f16a3281747be83c1824c4c8de91fd02e641a33ee4f
- languageName: node
- linkType: hard
-
"fdir@npm:6.1.1":
version: 6.1.1
resolution: "fdir@npm:6.1.1"
@@ -29937,17 +27746,6 @@ __metadata:
languageName: node
linkType: hard
-"file-type@npm:^16.5.3, file-type@npm:^16.5.4":
- version: 16.5.4
- resolution: "file-type@npm:16.5.4"
- dependencies:
- readable-web-to-node-stream: ^3.0.0
- strtok3: ^6.2.4
- token-types: ^4.1.1
- checksum: a6c9ab8bc05bc9c212bec239fb0d5bf59ddc9b3912f00c4ef44622e67ae4e553a1cc8372e9e595e14859035188eb305d05d488fa3c5c2a2ad90bb7745b3004ef
- languageName: node
- linkType: hard
-
"file-uri-to-path@npm:1.0.0":
version: 1.0.0
resolution: "file-uri-to-path@npm:1.0.0"
@@ -29999,13 +27797,6 @@ __metadata:
languageName: node
linkType: hard
-"filter-obj@npm:^1.1.0":
- version: 1.1.0
- resolution: "filter-obj@npm:1.1.0"
- checksum: 071e0886b2b50238ca5026c5bbf58c26a7c1a1f720773b8c7813d16ba93d0200de977af14ac143c5ac18f666b2cfc83073f3a5fe6a4e996c49e0863d5500fccf
- languageName: node
- linkType: hard
-
"filter-obj@npm:^5.1.0":
version: 5.1.0
resolution: "filter-obj@npm:5.1.0"
@@ -30054,7 +27845,7 @@ __metadata:
languageName: node
linkType: hard
-"find-cache-dir@npm:^3.0.0, find-cache-dir@npm:^3.3.1, find-cache-dir@npm:^3.3.2":
+"find-cache-dir@npm:^3.0.0, find-cache-dir@npm:^3.3.1":
version: 3.3.2
resolution: "find-cache-dir@npm:3.3.2"
dependencies:
@@ -30470,13 +28261,6 @@ __metadata:
languageName: node
linkType: hard
-"from@npm:~0":
- version: 0.1.7
- resolution: "from@npm:0.1.7"
- checksum: 3aab5aea8fe8e1f12a5dee7f390d46a93431ce691b6222dcd5701c5d34378e51ca59b44967da1105a0f90fcdf5d7629d963d51e7ccd79827d19693bdcfb688d4
- languageName: node
- linkType: hard
-
"fs-constants@npm:^1.0.0":
version: 1.0.0
resolution: "fs-constants@npm:1.0.0"
@@ -30484,7 +28268,7 @@ __metadata:
languageName: node
linkType: hard
-"fs-exists-cached@npm:1.0.0, fs-exists-cached@npm:^1.0.0":
+"fs-exists-cached@npm:^1.0.0":
version: 1.0.0
resolution: "fs-exists-cached@npm:1.0.0"
checksum: dcffa1aecb557490b752c680666a0d20345a645e8526738d972c2dfd0c447dbc0a26c2cb1ec503a8e9b32f5425a51787affb4107a34d0821b146d61b545c0040
@@ -30571,15 +28355,6 @@ __metadata:
languageName: node
linkType: hard
-"fs-minipass@npm:^1.2.7":
- version: 1.2.7
- resolution: "fs-minipass@npm:1.2.7"
- dependencies:
- minipass: ^2.6.0
- checksum: c8259ce8caab360f16b8c3774fd09dd1d5240d6f3f78fd8efa0a215b5f40edfa90e7b5b5ddc2335a4c50885e29d5983f9fe6ac3ac19320e6917a21dbb9f05c64
- languageName: node
- linkType: hard
-
"fs-minipass@npm:^2.0.0":
version: 2.1.0
resolution: "fs-minipass@npm:2.1.0"
@@ -30753,527 +28528,6 @@ __metadata:
languageName: node
linkType: hard
-"gatsby-cli@npm:^4.25.0":
- version: 4.25.0
- resolution: "gatsby-cli@npm:4.25.0"
- dependencies:
- "@babel/code-frame": ^7.14.0
- "@babel/core": ^7.15.5
- "@babel/generator": ^7.16.8
- "@babel/helper-plugin-utils": ^7.16.7
- "@babel/preset-typescript": ^7.16.7
- "@babel/runtime": ^7.15.4
- "@babel/template": ^7.16.7
- "@babel/types": ^7.16.8
- "@jridgewell/trace-mapping": ^0.3.13
- "@types/common-tags": ^1.8.1
- better-opn: ^2.1.1
- boxen: ^5.1.2
- chalk: ^4.1.2
- clipboardy: ^2.3.0
- common-tags: ^1.8.2
- convert-hrtime: ^3.0.0
- create-gatsby: ^2.25.0
- envinfo: ^7.8.1
- execa: ^5.1.1
- fs-exists-cached: ^1.0.0
- fs-extra: ^10.1.0
- gatsby-core-utils: ^3.25.0
- gatsby-telemetry: ^3.25.0
- hosted-git-info: ^3.0.8
- is-valid-path: ^0.1.1
- joi: ^17.4.2
- lodash: ^4.17.21
- node-fetch: ^2.6.6
- opentracing: ^0.14.5
- pretty-error: ^2.1.2
- progress: ^2.0.3
- prompts: ^2.4.2
- redux: 4.1.2
- resolve-cwd: ^3.0.0
- semver: ^7.3.7
- signal-exit: ^3.0.6
- stack-trace: ^0.0.10
- strip-ansi: ^6.0.1
- update-notifier: ^5.1.0
- yargs: ^15.4.1
- yoga-layout-prebuilt: ^1.10.0
- yurnalist: ^2.1.0
- bin:
- gatsby: cli.js
- checksum: 787b3c75c6451be5b7c2203269249394ee21fbb6afe2097bab8b9977f0ed98d3513054f07351d9f261da0f3376d2f89d086dfd02a93e460cdc19dc64457141f7
- languageName: node
- linkType: hard
-
-"gatsby-core-utils@npm:^3.25.0, gatsby-core-utils@npm:^3.3.0":
- version: 3.25.0
- resolution: "gatsby-core-utils@npm:3.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- ci-info: 2.0.0
- configstore: ^5.0.1
- fastq: ^1.13.0
- file-type: ^16.5.3
- fs-extra: ^10.1.0
- got: ^11.8.5
- import-from: ^4.0.0
- lmdb: 2.5.3
- lock: ^1.1.0
- node-object-hash: ^2.3.10
- proper-lockfile: ^4.1.2
- resolve-from: ^5.0.0
- tmp: ^0.2.1
- xdg-basedir: ^4.0.0
- checksum: 1a92fe6fd4710147579a7d44df0f0a4309e508a0c82eea1a6255f684eb301ce0f62f50415d98fbc4f3e99b23f92d8229d8336162060e3b48566e6fcc861a0c04
- languageName: node
- linkType: hard
-
-"gatsby-graphiql-explorer@npm:^2.25.0":
- version: 2.25.0
- resolution: "gatsby-graphiql-explorer@npm:2.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- checksum: d977b1dde00a4a2e77fbc38833ae0d95d2fc670e865d635ac9dbd5e6f6c7cc258db591c1c6431af8d8463e49878f2eb260c51ca180b76258d6ab10a1bc4274e4
- languageName: node
- linkType: hard
-
-"gatsby-legacy-polyfills@npm:^2.25.0":
- version: 2.25.0
- resolution: "gatsby-legacy-polyfills@npm:2.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- core-js-compat: 3.9.0
- checksum: 3a4357f68f6150e35723cb050afc0c778fa41fa22866386c55ab69fe156b6d3fe863a8ac5b40f0a6c6806163a198cc5fde1b55848840abb842fdd73bcf822a56
- languageName: node
- linkType: hard
-
-"gatsby-link@npm:^4.25.0":
- version: 4.25.0
- resolution: "gatsby-link@npm:4.25.0"
- dependencies:
- "@types/reach__router": ^1.3.10
- gatsby-page-utils: ^2.25.0
- prop-types: ^15.8.1
- peerDependencies:
- "@gatsbyjs/reach-router": ^1.3.5
- react: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- checksum: ee08be66c8841cfd2c628200ac6d0018f44eb6bc10e062c49b3f46187354efdaa9edf18b908727c90497c72dfef9fca76a01823a53b84f94c50373e792280561
- languageName: node
- linkType: hard
-
-"gatsby-page-utils@npm:^2.25.0":
- version: 2.25.0
- resolution: "gatsby-page-utils@npm:2.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- bluebird: ^3.7.2
- chokidar: ^3.5.3
- fs-exists-cached: ^1.0.0
- gatsby-core-utils: ^3.25.0
- glob: ^7.2.3
- lodash: ^4.17.21
- micromatch: ^4.0.5
- checksum: 34074f8a9348a4b5a340c2056d8b4a5c7f5d6a48c2df702df7876960fa09166418f6a7b50a937e4dabaca97b1774653b60b3cedd45f5f3cb0c21b5bc5f833845
- languageName: node
- linkType: hard
-
-"gatsby-parcel-config@npm:0.16.0":
- version: 0.16.0
- resolution: "gatsby-parcel-config@npm:0.16.0"
- dependencies:
- "@gatsbyjs/parcel-namer-relative-to-cwd": ^1.10.0
- "@parcel/bundler-default": 2.6.2
- "@parcel/compressor-raw": 2.6.2
- "@parcel/namer-default": 2.6.2
- "@parcel/optimizer-terser": 2.6.2
- "@parcel/packager-js": 2.6.2
- "@parcel/packager-raw": 2.6.2
- "@parcel/reporter-dev-server": 2.6.2
- "@parcel/resolver-default": 2.6.2
- "@parcel/runtime-js": 2.6.2
- "@parcel/transformer-js": 2.6.2
- "@parcel/transformer-json": 2.6.2
- peerDependencies:
- "@parcel/core": ^2.0.0
- checksum: 9722df718f9d1ad631f70060601f46817d2024b7689df5948bfc940c1ba64ebf7726b925c06940148067ef1aa2d4796527034bcfaf92356a20047e1668cf356c
- languageName: node
- linkType: hard
-
-"gatsby-plugin-image@npm:^2.3.0":
- version: 2.25.0
- resolution: "gatsby-plugin-image@npm:2.25.0"
- dependencies:
- "@babel/code-frame": ^7.14.0
- "@babel/parser": ^7.15.5
- "@babel/runtime": ^7.15.4
- "@babel/traverse": ^7.15.4
- babel-jsx-utils: ^1.1.0
- babel-plugin-remove-graphql-queries: ^4.25.0
- camelcase: ^5.3.1
- chokidar: ^3.5.3
- common-tags: ^1.8.2
- fs-extra: ^10.1.0
- gatsby-core-utils: ^3.25.0
- gatsby-plugin-utils: ^3.19.0
- objectFitPolyfill: ^2.3.5
- prop-types: ^15.8.1
- peerDependencies:
- "@babel/core": ^7.12.3
- gatsby: ^4.0.0-next
- gatsby-plugin-sharp: ^4.0.0-next
- gatsby-source-filesystem: ^4.0.0-next
- react: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- checksum: fa61775b90f1d930da095cea148b0a0bcfca3c9d28153ab3a998c894bec9860734eb834687d11ffcd82fb47fd53c3f23ea55f28fc5d9c9adbf9a7ea949b35dc6
- languageName: node
- linkType: hard
-
-"gatsby-plugin-page-creator@npm:^4.25.0":
- version: 4.25.0
- resolution: "gatsby-plugin-page-creator@npm:4.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- "@babel/traverse": ^7.15.4
- "@sindresorhus/slugify": ^1.1.2
- chokidar: ^3.5.3
- fs-exists-cached: ^1.0.0
- fs-extra: ^10.1.0
- gatsby-core-utils: ^3.25.0
- gatsby-page-utils: ^2.25.0
- gatsby-plugin-utils: ^3.19.0
- gatsby-telemetry: ^3.25.0
- globby: ^11.1.0
- lodash: ^4.17.21
- peerDependencies:
- gatsby: ^4.0.0-next
- checksum: ef9b94faa43fa4a20dda35621cf34d92a993a6de7b53d4f702272ddb19e55de0e2e5678605078225cbec47a847db306bc35c2e3fa2d8a979ee14b8c3cb6196cd
- languageName: node
- linkType: hard
-
-"gatsby-plugin-typescript@npm:^4.25.0":
- version: 4.25.0
- resolution: "gatsby-plugin-typescript@npm:4.25.0"
- dependencies:
- "@babel/core": ^7.15.5
- "@babel/plugin-proposal-nullish-coalescing-operator": ^7.14.5
- "@babel/plugin-proposal-numeric-separator": ^7.14.5
- "@babel/plugin-proposal-optional-chaining": ^7.14.5
- "@babel/preset-typescript": ^7.15.0
- "@babel/runtime": ^7.15.4
- babel-plugin-remove-graphql-queries: ^4.25.0
- peerDependencies:
- gatsby: ^4.0.0-next
- checksum: fa9963a3cc79212f5e2de708cd6450616e74f6bb5fc6d48c01b0388860f834105124748f9bc0056206975258176dd45b9f562a0296f2a4b52c368d8ddb2357e6
- languageName: node
- linkType: hard
-
-"gatsby-plugin-utils@npm:^3.19.0":
- version: 3.19.0
- resolution: "gatsby-plugin-utils@npm:3.19.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- fastq: ^1.13.0
- fs-extra: ^10.1.0
- gatsby-core-utils: ^3.25.0
- gatsby-sharp: ^0.19.0
- graphql-compose: ^9.0.7
- import-from: ^4.0.0
- joi: ^17.4.2
- mime: ^3.0.0
- peerDependencies:
- gatsby: ^4.0.0-next
- graphql: ^15.0.0
- checksum: b0fa88c093ecb42e9a0ffa977a454325e5b60853065e96ffc548e66a70a709f2895c23a8439919068b66691c15e93551e7e632d4945d27c79d2bc728ffd818fe
- languageName: node
- linkType: hard
-
-"gatsby-react-router-scroll@npm:^5.25.0":
- version: 5.25.0
- resolution: "gatsby-react-router-scroll@npm:5.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- prop-types: ^15.8.1
- peerDependencies:
- "@gatsbyjs/reach-router": ^1.3.5
- react: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- checksum: efd9afb36ab0829df645393310bca83e34bf4f6863f9338ea428f338a727de4535898253939ba958863170570a3fe997059a1cf5705e4784bc6f109c677bc685
- languageName: node
- linkType: hard
-
-"gatsby-script@npm:^1.10.0":
- version: 1.10.0
- resolution: "gatsby-script@npm:1.10.0"
- peerDependencies:
- "@gatsbyjs/reach-router": ^1.3.5
- react: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- checksum: 968419b2b7850f5ea34c5c1154ca6b754fbf48a3e3859afe37d2d77aae4e704722927a43efb3c93b7fe82625e8b53ed3515b0dd2219d83eda96c6ad1fffc482e
- languageName: node
- linkType: hard
-
-"gatsby-sharp@npm:^0.19.0":
- version: 0.19.0
- resolution: "gatsby-sharp@npm:0.19.0"
- dependencies:
- "@types/sharp": ^0.30.5
- sharp: ^0.30.7
- checksum: 74289ff600c1a98f30e447261c4074ca029ac16ac9a7534cabf321bc00b1bfaa72994e8c840a99bbb8d519973018a658285752599bafecf0a311131ea2932076
- languageName: node
- linkType: hard
-
-"gatsby-source-filesystem@npm:^4.3.0":
- version: 4.25.0
- resolution: "gatsby-source-filesystem@npm:4.25.0"
- dependencies:
- "@babel/runtime": ^7.15.4
- chokidar: ^3.5.3
- file-type: ^16.5.4
- fs-extra: ^10.1.0
- gatsby-core-utils: ^3.25.0
- md5-file: ^5.0.0
- mime: ^2.5.2
- pretty-bytes: ^5.4.1
- valid-url: ^1.0.9
- xstate: 4.32.1
- peerDependencies:
- gatsby: ^4.0.0-next
- checksum: c6565e59b5d50b99fddafa00b9271e1af5ad8efd054b6a06054fbffb4a90712312a1943738fe1e5a0f2c695f94a68462baf4c7b502b002e005049fd4d6d64017
- languageName: node
- linkType: hard
-
-"gatsby-source-medusa@workspace:packages/gatsby-source-medusa":
- version: 0.0.0-use.local
- resolution: "gatsby-source-medusa@workspace:packages/gatsby-source-medusa"
- dependencies:
- "@types/jest": ^27.0.1
- axios: ^0.24.0
- gatsby: ^4.1.0
- gatsby-core-utils: ^3.3.0
- gatsby-plugin-image: ^2.3.0
- gatsby-source-filesystem: ^4.3.0
- jest: ^27.0.6
- ts-jest: ^27.1.5
- tsc-watch: ^4.5.0
- typescript: ^4.5.2
- peerDependencies:
- gatsby: ^4.1.0
- languageName: unknown
- linkType: soft
-
-"gatsby-telemetry@npm:^3.25.0":
- version: 3.25.0
- resolution: "gatsby-telemetry@npm:3.25.0"
- dependencies:
- "@babel/code-frame": ^7.14.0
- "@babel/runtime": ^7.15.4
- "@turist/fetch": ^7.2.0
- "@turist/time": ^0.0.2
- boxen: ^4.2.0
- configstore: ^5.0.1
- fs-extra: ^10.1.0
- gatsby-core-utils: ^3.25.0
- git-up: ^7.0.0
- is-docker: ^2.2.1
- lodash: ^4.17.21
- node-fetch: ^2.6.7
- checksum: 887ff1193533c67d86fb784248de50805ce7b8800873c3bda6255f44eb3e5878c4f102d0fe638935dcd28832081e129cf65c0a620f2058f2ca45ccc4f292b6bb
- languageName: node
- linkType: hard
-
-"gatsby-worker@npm:^1.25.0":
- version: 1.25.0
- resolution: "gatsby-worker@npm:1.25.0"
- dependencies:
- "@babel/core": ^7.15.5
- "@babel/runtime": ^7.15.4
- checksum: 00c9d73e4a707dd5288e404e35021caccab03c1b719b2fdd7da906ce54479594541a73459c16d35381e548698b6eadf88bf38620cd9dcaf218553ad4c7b6ceb7
- languageName: node
- linkType: hard
-
-"gatsby@npm:^4.1.0":
- version: 4.25.7
- resolution: "gatsby@npm:4.25.7"
- dependencies:
- "@babel/code-frame": ^7.14.0
- "@babel/core": ^7.15.5
- "@babel/eslint-parser": ^7.15.4
- "@babel/helper-plugin-utils": ^7.14.5
- "@babel/parser": ^7.15.5
- "@babel/runtime": ^7.15.4
- "@babel/traverse": ^7.15.4
- "@babel/types": ^7.15.4
- "@builder.io/partytown": ^0.5.2
- "@gatsbyjs/reach-router": ^1.3.9
- "@gatsbyjs/webpack-hot-middleware": ^2.25.2
- "@graphql-codegen/add": ^3.1.1
- "@graphql-codegen/core": ^2.5.1
- "@graphql-codegen/plugin-helpers": ^2.4.2
- "@graphql-codegen/typescript": ^2.4.8
- "@graphql-codegen/typescript-operations": ^2.3.5
- "@graphql-tools/code-file-loader": ^7.2.14
- "@graphql-tools/load": ^7.5.10
- "@jridgewell/trace-mapping": ^0.3.13
- "@nodelib/fs.walk": ^1.2.8
- "@parcel/cache": 2.6.2
- "@parcel/core": 2.6.2
- "@pmmmwh/react-refresh-webpack-plugin": ^0.5.7
- "@types/http-proxy": ^1.17.7
- "@typescript-eslint/eslint-plugin": ^4.33.0
- "@typescript-eslint/parser": ^4.33.0
- "@vercel/webpack-asset-relocator-loader": ^1.7.0
- acorn-loose: ^8.3.0
- acorn-walk: ^8.2.0
- address: 1.1.2
- anser: ^2.1.0
- autoprefixer: ^10.4.0
- axios: ^0.21.1
- babel-loader: ^8.2.3
- babel-plugin-add-module-exports: ^1.0.4
- babel-plugin-dynamic-import-node: ^2.3.3
- babel-plugin-lodash: ^3.3.4
- babel-plugin-remove-graphql-queries: ^4.25.0
- babel-preset-gatsby: ^2.25.0
- better-opn: ^2.1.1
- bluebird: ^3.7.2
- browserslist: ^4.17.5
- cache-manager: ^2.11.1
- chalk: ^4.1.2
- chokidar: ^3.5.3
- common-tags: ^1.8.0
- compression: ^1.7.4
- cookie: ^0.4.1
- core-js: ^3.22.3
- cors: ^2.8.5
- css-loader: ^5.2.7
- css-minimizer-webpack-plugin: ^2.0.0
- css.escape: ^1.5.1
- date-fns: ^2.25.0
- debug: ^3.2.7
- deepmerge: ^4.2.2
- detect-port: ^1.3.0
- devcert: ^1.2.0
- dotenv: ^8.6.0
- enhanced-resolve: ^5.8.3
- error-stack-parser: ^2.1.4
- eslint: ^7.32.0
- eslint-config-react-app: ^6.0.0
- eslint-plugin-flowtype: ^5.10.0
- eslint-plugin-import: ^2.26.0
- eslint-plugin-jsx-a11y: ^6.6.1
- eslint-plugin-react: ^7.30.1
- eslint-plugin-react-hooks: ^4.6.0
- eslint-webpack-plugin: ^2.7.0
- event-source-polyfill: 1.0.25
- execa: ^5.1.1
- express: ^4.17.1
- express-graphql: ^0.12.0
- express-http-proxy: ^1.6.3
- fastest-levenshtein: ^1.0.12
- fastq: ^1.13.0
- file-loader: ^6.2.0
- find-cache-dir: ^3.3.2
- fs-exists-cached: 1.0.0
- fs-extra: ^10.1.0
- gatsby-cli: ^4.25.0
- gatsby-core-utils: ^3.25.0
- gatsby-graphiql-explorer: ^2.25.0
- gatsby-legacy-polyfills: ^2.25.0
- gatsby-link: ^4.25.0
- gatsby-page-utils: ^2.25.0
- gatsby-parcel-config: 0.16.0
- gatsby-plugin-page-creator: ^4.25.0
- gatsby-plugin-typescript: ^4.25.0
- gatsby-plugin-utils: ^3.19.0
- gatsby-react-router-scroll: ^5.25.0
- gatsby-script: ^1.10.0
- gatsby-sharp: ^0.19.0
- gatsby-telemetry: ^3.25.0
- gatsby-worker: ^1.25.0
- glob: ^7.2.3
- globby: ^11.1.0
- got: ^11.8.5
- graphql: ^15.7.2
- graphql-compose: ^9.0.7
- graphql-playground-middleware-express: ^1.7.22
- graphql-tag: ^2.12.6
- hasha: ^5.2.2
- invariant: ^2.2.4
- is-relative: ^1.0.0
- is-relative-url: ^3.0.0
- joi: ^17.4.2
- json-loader: ^0.5.7
- latest-version: 5.1.0
- lmdb: 2.5.3
- lodash: ^4.17.21
- md5-file: ^5.0.0
- meant: ^1.0.3
- memoizee: ^0.4.15
- micromatch: ^4.0.4
- mime: ^2.5.2
- mini-css-extract-plugin: 1.6.2
- mitt: ^1.2.0
- moment: ^2.29.1
- multer: ^1.4.5-lts.1
- node-fetch: ^2.6.6
- node-html-parser: ^5.3.3
- normalize-path: ^3.0.0
- null-loader: ^4.0.1
- opentracing: ^0.14.5
- p-defer: ^3.0.0
- parseurl: ^1.3.3
- physical-cpu-count: ^2.0.0
- platform: ^1.3.6
- postcss: ^8.3.11
- postcss-flexbugs-fixes: ^5.0.2
- postcss-loader: ^5.3.0
- prompts: ^2.4.2
- prop-types: ^15.7.2
- query-string: ^6.14.1
- raw-loader: ^4.0.2
- react-dev-utils: ^12.0.1
- react-refresh: ^0.14.0
- react-server-dom-webpack: 0.0.0-experimental-c8b778b7f-20220825
- redux: 4.1.2
- redux-thunk: ^2.4.0
- resolve-from: ^5.0.0
- semver: ^7.3.7
- shallow-compare: ^1.2.2
- signal-exit: ^3.0.5
- slugify: ^1.6.1
- socket.io: 4.5.4
- socket.io-client: 4.5.4
- st: ^2.0.0
- stack-trace: ^0.0.10
- string-similarity: ^1.2.2
- strip-ansi: ^6.0.1
- style-loader: ^2.0.0
- terser-webpack-plugin: ^5.2.4
- tmp: ^0.2.1
- true-case-path: ^2.2.1
- type-of: ^2.0.1
- url-loader: ^4.1.1
- uuid: ^8.3.2
- webpack: ^5.61.0
- webpack-dev-middleware: ^4.3.0
- webpack-merge: ^5.8.0
- webpack-stats-plugin: ^1.0.3
- webpack-virtual-modules: ^0.3.2
- xstate: 4.32.1
- yaml-loader: ^0.8.0
- peerDependencies:
- react: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0
- dependenciesMeta:
- gatsby-sharp:
- optional: true
- bin:
- gatsby: ./cli.js
- checksum: 6af054174b63716802589cd69fd6e476350f6e48e39c6f4f8bbaec8de824f97b7db5ef073a1eebc4975ed801b83013db4841ea38d70d594637b39b1370414f98
- languageName: node
- linkType: hard
-
"gauge@npm:^3.0.0":
version: 3.0.2
resolution: "gauge@npm:3.0.2"
@@ -31397,13 +28651,6 @@ __metadata:
languageName: node
linkType: hard
-"get-port@npm:^3.2.0":
- version: 3.2.0
- resolution: "get-port@npm:3.2.0"
- checksum: 1b6c3fe89074be3753d9ddf3d67126ea351ab9890537fe53fefebc2912d1d66fdc112451bbc76d33ae5ceb6ca70be2a91017944e3ee8fb0814ac9b295bf2a5b8
- languageName: node
- linkType: hard
-
"get-port@npm:^5.1.1":
version: 5.1.1
resolution: "get-port@npm:5.1.1"
@@ -31418,7 +28665,7 @@ __metadata:
languageName: node
linkType: hard
-"get-stream@npm:^4.0.0, get-stream@npm:^4.1.0":
+"get-stream@npm:^4.0.0":
version: 4.1.0
resolution: "get-stream@npm:4.1.0"
dependencies:
@@ -31493,23 +28740,6 @@ __metadata:
languageName: node
linkType: hard
-"git-up@npm:^7.0.0":
- version: 7.0.0
- resolution: "git-up@npm:7.0.0"
- dependencies:
- is-ssh: ^1.4.0
- parse-url: ^8.1.0
- checksum: a3fa02e1a63c7c824b5ebbf23f4a9a6b34dd80031114c5dd8adb7ef53493642e39d3d80dfef4025a452128400c35c2c138d20a0f6ae5d7d7ef70d9ba13083d34
- languageName: node
- linkType: hard
-
-"github-from-package@npm:0.0.0":
- version: 0.0.0
- resolution: "github-from-package@npm:0.0.0"
- checksum: 737ee3f52d0a27e26332cde85b533c21fcdc0b09fb716c3f8e522cfaa9c600d4a631dec9fcde179ec9d47cca89017b7848ed4d6ae6b6b78f936c06825b1fcc12
- languageName: node
- linkType: hard
-
"github-slugger@npm:^1.0.0":
version: 1.5.0
resolution: "github-slugger@npm:1.5.0"
@@ -31671,7 +28901,7 @@ __metadata:
languageName: node
linkType: hard
-"glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0, glob@npm:^7.2.3, glob@npm:~7.2.0":
+"glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0, glob@npm:~7.2.0":
version: 7.2.3
resolution: "glob@npm:7.2.3"
dependencies:
@@ -31698,15 +28928,6 @@ __metadata:
languageName: node
linkType: hard
-"global-dirs@npm:^3.0.0":
- version: 3.0.1
- resolution: "global-dirs@npm:3.0.1"
- dependencies:
- ini: 2.0.0
- checksum: ef65e2241a47ff978f7006a641302bc7f4c03dfb98783d42bf7224c136e3a06df046e70ee3a010cf30214114755e46c9eb5eb1513838812fbbe0d92b14c25080
- languageName: node
- linkType: hard
-
"global-modules@npm:^2.0.0":
version: 2.0.0
resolution: "global-modules@npm:2.0.0"
@@ -31753,7 +28974,7 @@ __metadata:
languageName: node
linkType: hard
-"globals@npm:^13.19.0, globals@npm:^13.2.0, globals@npm:^13.6.0, globals@npm:^13.9.0":
+"globals@npm:^13.19.0, globals@npm:^13.6.0, globals@npm:^13.9.0":
version: 13.20.0
resolution: "globals@npm:13.20.0"
dependencies:
@@ -31846,7 +29067,7 @@ __metadata:
languageName: node
linkType: hard
-"got@npm:^11.8.5, got@npm:^11.8.6":
+"got@npm:^11.8.6":
version: 11.8.6
resolution: "got@npm:11.8.6"
dependencies:
@@ -31865,26 +29086,7 @@ __metadata:
languageName: node
linkType: hard
-"got@npm:^9.6.0":
- version: 9.6.0
- resolution: "got@npm:9.6.0"
- dependencies:
- "@sindresorhus/is": ^0.14.0
- "@szmarczak/http-timer": ^1.1.2
- cacheable-request: ^6.0.0
- decompress-response: ^3.3.0
- duplexer3: ^0.1.4
- get-stream: ^4.1.0
- lowercase-keys: ^1.0.1
- mimic-response: ^1.0.1
- p-cancelable: ^1.0.0
- to-readable-stream: ^1.0.0
- url-parse-lax: ^3.0.0
- checksum: 5cb3111e14b48bf4fb8b414627be481ebfb14151ec867e80a74b6d1472489965b9c4f4ac5cf4f3b1f9b90c60a2ce63584d9072b16efd9a3171553e00afc5abc8
- languageName: node
- linkType: hard
-
-"graceful-fs@npm:^4.0.0, graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9":
+"graceful-fs@npm:^4.0.0, graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9":
version: 4.2.11
resolution: "graceful-fs@npm:4.2.11"
checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2
@@ -31905,56 +29107,7 @@ __metadata:
languageName: node
linkType: hard
-"graphql-compose@npm:^9.0.7":
- version: 9.0.10
- resolution: "graphql-compose@npm:9.0.10"
- dependencies:
- graphql-type-json: 0.3.2
- checksum: 83724bf8ee9e7da8d040f1b4d580a5f75041529f7c4aabdaad9fcc8a2eba0854c1612aed7a04665e5620a37b8baacc75808f1b6e34aa55785884aa2091bd0489
- languageName: node
- linkType: hard
-
-"graphql-playground-html@npm:^1.6.30":
- version: 1.6.30
- resolution: "graphql-playground-html@npm:1.6.30"
- dependencies:
- xss: ^1.0.6
- checksum: 32c87615b221610e57db41b68788bccf1e548ae66f38489521d4cfd2abf35666c76acf8250ce178f86b2bd825c2a9b083d496684abede1085847ca2dc7e71fb6
- languageName: node
- linkType: hard
-
-"graphql-playground-middleware-express@npm:^1.7.22":
- version: 1.7.23
- resolution: "graphql-playground-middleware-express@npm:1.7.23"
- dependencies:
- graphql-playground-html: ^1.6.30
- peerDependencies:
- express: ^4.16.2
- checksum: 49fc327e770256490e701d8696d61403132956ebfebda9a531c134010149e4cff11697d4ddeea0f11dd0430c5f8b9b21ebdfc5bbbcf8bb5db30ac0628cd7f9a6
- languageName: node
- linkType: hard
-
-"graphql-tag@npm:^2.11.0, graphql-tag@npm:^2.12.6":
- version: 2.12.6
- resolution: "graphql-tag@npm:2.12.6"
- dependencies:
- tslib: ^2.1.0
- peerDependencies:
- graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- checksum: 7763a72011bda454ed8ff1a0d82325f43ca6478e4ce4ab8b7910c4c651dd00db553132171c04d80af5d5aebf1ef6a8a9fd53ccfa33b90ddc00aa3d4be6114419
- languageName: node
- linkType: hard
-
-"graphql-type-json@npm:0.3.2":
- version: 0.3.2
- resolution: "graphql-type-json@npm:0.3.2"
- peerDependencies:
- graphql: ">=0.8.0"
- checksum: 1ee7efff7f451cf2db6844430f4b19f8915175af11c1eeca31c8972685194669199cc542060d15cc9e169bb4d5a3cd16a6cf99081b9d802d8470048022a2924a
- languageName: node
- linkType: hard
-
-"graphql@npm:^15.5.1, graphql@npm:^15.7.2":
+"graphql@npm:^15.5.1":
version: 15.8.0
resolution: "graphql@npm:15.8.0"
checksum: 30cc09b77170a9d1ed68e4c017ec8c5265f69501c96e4f34f8f6613f39a886c96dd9853eac925f212566ed651736334c8fe24ceae6c44e8d7625c95c3009a801
@@ -32203,13 +29356,6 @@ __metadata:
languageName: node
linkType: hard
-"has-yarn@npm:^2.1.0":
- version: 2.1.0
- resolution: "has-yarn@npm:2.1.0"
- checksum: b5cab61b4129c2fc0474045b59705371b7f5ddf2aab8ba8725011e52269f017e06f75059a2c8a1d8011e9779c2885ad987263cfc6d1280f611c396b45fd5d74a
- languageName: node
- linkType: hard
-
"has@npm:^1.0.3":
version: 1.0.3
resolution: "has@npm:1.0.3"
@@ -32240,16 +29386,6 @@ __metadata:
languageName: node
linkType: hard
-"hasha@npm:^5.2.2":
- version: 5.2.2
- resolution: "hasha@npm:5.2.2"
- dependencies:
- is-stream: ^2.0.0
- type-fest: ^0.8.0
- checksum: 9d10d4e665a37beea6e18ba3a0c0399a05b26e505c5ff2fe9115b64fedb3ca95f68c89cf15b08ee4d09fd3064b5e1bfc8e8247353c7aa6b7388471d0f86dca74
- languageName: node
- linkType: hard
-
"hasown@npm:^2.0.0":
version: 2.0.0
resolution: "hasown@npm:2.0.0"
@@ -32339,7 +29475,7 @@ __metadata:
languageName: node
linkType: hard
-"he@npm:1.2.0, he@npm:^1.2.0":
+"he@npm:^1.2.0":
version: 1.2.0
resolution: "he@npm:1.2.0"
bin:
@@ -32348,16 +29484,6 @@ __metadata:
languageName: node
linkType: hard
-"header-case@npm:^2.0.4":
- version: 2.0.4
- resolution: "header-case@npm:2.0.4"
- dependencies:
- capital-case: ^1.0.4
- tslib: ^2.0.3
- checksum: c9f295d9d8e38fa50679281fd70d80726962256e888a76c8e72e526453da7a1832dcb427caa716c1ad5d79841d4537301b90156fa30298fefd3d68f4ea2181bb
- languageName: node
- linkType: hard
-
"headers-utils@npm:^3.0.2":
version: 3.0.2
resolution: "headers-utils@npm:3.0.2"
@@ -32441,15 +29567,6 @@ __metadata:
languageName: node
linkType: hard
-"hosted-git-info@npm:^3.0.8":
- version: 3.0.8
- resolution: "hosted-git-info@npm:3.0.8"
- dependencies:
- lru-cache: ^6.0.0
- checksum: af1392086ab3ab5576aa81af07be2f93ee1588407af18fd9752eb67502558e6ea0ffdd4be35ac6c8bef12fb9017f6e7705757e21b10b5ce7798da9106c9c0d9d
- languageName: node
- linkType: hard
-
"hosted-git-info@npm:^4.0.2":
version: 4.1.0
resolution: "hosted-git-info@npm:4.1.0"
@@ -32505,7 +29622,7 @@ __metadata:
languageName: node
linkType: hard
-"html-entities@npm:^2.1.0, html-entities@npm:^2.3.2, html-entities@npm:^2.3.3":
+"html-entities@npm:^2.1.0, html-entities@npm:^2.3.2":
version: 2.4.0
resolution: "html-entities@npm:2.4.0"
checksum: 42bbd5d91f451625d7e35aaed41c8cd110054c0d0970764cb58df467b3f27f20199e8cf7b4aebc8d4eeaf17a27c0d1fb165f2852db85de200995d0f009c9011d
@@ -32812,16 +29929,6 @@ __metadata:
languageName: node
linkType: hard
-"https-proxy-agent@npm:5.0.0":
- version: 5.0.0
- resolution: "https-proxy-agent@npm:5.0.0"
- dependencies:
- agent-base: 6
- debug: 4
- checksum: 670c04f7f0effb5a449c094ea037cbcfb28a5ab93ed22e8c343095202cc7288027869a5a21caf4ee3b8ea06f9624ef1e1fc9044669c0fd92617654ff39f30806
- languageName: node
- linkType: hard
-
"https-proxy-agent@npm:^4.0.0":
version: 4.0.0
resolution: "https-proxy-agent@npm:4.0.0"
@@ -33064,7 +30171,7 @@ __metadata:
languageName: node
linkType: hard
-"ignore@npm:^5.1.8, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
+"ignore@npm:^5.2.0, ignore@npm:^5.2.4":
version: 5.2.4
resolution: "ignore@npm:5.2.4"
checksum: 7c7cd90edd9fea6e037f9b9da4b01bf0a86b198ce78345f9bbd983929d68ff14830be31111edc5d70c264921f4962404d75b7262b4d9cc3bc12381eccbd03096
@@ -33092,13 +30199,6 @@ __metadata:
languageName: node
linkType: hard
-"immutable@npm:~3.7.6":
- version: 3.7.6
- resolution: "immutable@npm:3.7.6"
- checksum: efe2bbb2620aa897afbb79545b9eda4dd3dc072e05ae7004895a7efb43187e4265612a88f8723f391eb1c87c46c52fd11e2d1968e42404450c63e49558d7ca4e
- languageName: node
- linkType: hard
-
"import-cwd@npm:^3.0.0":
version: 3.0.0
resolution: "import-cwd@npm:3.0.0"
@@ -33118,13 +30218,6 @@ __metadata:
languageName: node
linkType: hard
-"import-from@npm:4.0.0, import-from@npm:^4.0.0":
- version: 4.0.0
- resolution: "import-from@npm:4.0.0"
- checksum: 7fd98650d555e418c18341fef49ae11afc833f5ae70b7043e99684187cba6ac6b52e4118a491bd9f856045495bef5bdda7321095e65bcb2ef70ce2adf9f0d8d1
- languageName: node
- linkType: hard
-
"import-from@npm:^3.0.0":
version: 3.0.0
resolution: "import-from@npm:3.0.0"
@@ -33134,13 +30227,6 @@ __metadata:
languageName: node
linkType: hard
-"import-lazy@npm:^2.1.0":
- version: 2.1.0
- resolution: "import-lazy@npm:2.1.0"
- checksum: c5e5f507d26ee23c5b2ed64577155810361ac37863b322cae0c17f16b6a8cdd15adf370288384ddd95ef9de05602fb8d87bf76ff835190eb037333c84db8062c
- languageName: node
- linkType: hard
-
"import-local@npm:^3.0.2":
version: 3.1.0
resolution: "import-local@npm:3.1.0"
@@ -33214,14 +30300,7 @@ __metadata:
languageName: node
linkType: hard
-"ini@npm:2.0.0":
- version: 2.0.0
- resolution: "ini@npm:2.0.0"
- checksum: 2e0c8f386369139029da87819438b20a1ff3fe58372d93fb1a86e9d9344125ace3a806b8ec4eb160a46e64cbc422fe68251869441676af49b7fc441af2389c25
- languageName: node
- linkType: hard
-
-"ini@npm:^1.3.5, ini@npm:~1.3.0":
+"ini@npm:^1.3.5":
version: 1.3.8
resolution: "ini@npm:1.3.8"
checksum: ec93838d2328b619532e4f1ff05df7909760b6f66d9c9e2ded11e5c1897d6f2f9980c54dd638f88654b00919ce31e827040631eab0a3969e4d1abefa0719516a
@@ -33481,7 +30560,7 @@ __metadata:
languageName: node
linkType: hard
-"invariant@npm:^2.2.2, invariant@npm:^2.2.3, invariant@npm:^2.2.4":
+"invariant@npm:^2.2.2, invariant@npm:^2.2.4":
version: 2.2.4
resolution: "invariant@npm:2.2.4"
dependencies:
@@ -33506,25 +30585,6 @@ __metadata:
languageName: node
linkType: hard
-"ioredis@npm:^4.27.9":
- version: 4.28.5
- resolution: "ioredis@npm:4.28.5"
- dependencies:
- cluster-key-slot: ^1.1.0
- debug: ^4.3.1
- denque: ^1.1.0
- lodash.defaults: ^4.2.0
- lodash.flatten: ^4.4.0
- lodash.isarguments: ^3.1.0
- p-map: ^2.1.0
- redis-commands: 1.7.0
- redis-errors: ^1.2.0
- redis-parser: ^3.0.0
- standard-as-callback: ^2.1.0
- checksum: 6fd12957d2906f83d8aa662ba78d084df16dc7c1a0e6e18c512302ac94339dcd5936d2e7cd6f89e9e7b511e3cf96617ca2fdea63aa4679bfdf48aa2be441ad76
- languageName: node
- linkType: hard
-
"ioredis@npm:^5.2.5, ioredis@npm:^5.3.1, ioredis@npm:^5.3.2":
version: 5.3.2
resolution: "ioredis@npm:5.3.2"
@@ -33746,7 +30806,7 @@ __metadata:
languageName: node
linkType: hard
-"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.0, is-core-module@npm:^2.9.0":
+"is-core-module@npm:^2.12.0, is-core-module@npm:^2.9.0":
version: 2.12.1
resolution: "is-core-module@npm:2.12.1"
dependencies:
@@ -33981,16 +31041,6 @@ __metadata:
languageName: node
linkType: hard
-"is-installed-globally@npm:^0.4.0":
- version: 0.4.0
- resolution: "is-installed-globally@npm:0.4.0"
- dependencies:
- global-dirs: ^3.0.0
- is-path-inside: ^3.0.2
- checksum: f3e6220ee5824b845c9ed0d4b42c24272701f1f9926936e30c0e676254ca5b34d1b92c6205cae11b283776f9529212c0cdabb20ec280a6451677d6493ca9c22d
- languageName: node
- linkType: hard
-
"is-interactive@npm:^1.0.0":
version: 1.0.0
resolution: "is-interactive@npm:1.0.0"
@@ -34021,15 +31071,6 @@ __metadata:
languageName: node
linkType: hard
-"is-lower-case@npm:^2.0.2":
- version: 2.0.2
- resolution: "is-lower-case@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: c045e6a52dcc7c3857e2f8c850ded604cdc5269ff94625b03881cefc73bfc02f5099a1bc9bafa67793656711a40d4ab3e26e285a848e728506df20ead0ce8e2f
- languageName: node
- linkType: hard
-
"is-map@npm:^2.0.1, is-map@npm:^2.0.2":
version: 2.0.2
resolution: "is-map@npm:2.0.2"
@@ -34075,13 +31116,6 @@ __metadata:
languageName: node
linkType: hard
-"is-npm@npm:^5.0.0":
- version: 5.0.0
- resolution: "is-npm@npm:5.0.0"
- checksum: 8ded3ae1119bbbda22395fe1c64d2d79d3b3baeb2635c90f9a9dca4b8ce19a67b55fda178269b63421b257b361892fd545807fb5ac212f06776f544d9fcc3ab0
- languageName: node
- linkType: hard
-
"is-number-object@npm:^1.0.4":
version: 1.0.7
resolution: "is-number-object@npm:1.0.7"
@@ -34200,13 +31234,6 @@ __metadata:
languageName: node
linkType: hard
-"is-promise@npm:^2.2.2":
- version: 2.2.2
- resolution: "is-promise@npm:2.2.2"
- checksum: 2dba959812380e45b3df0fb12e7cb4d4528c989c7abb03ececb1d1fd6ab1cbfee956ca9daa587b9db1d8ac3c1e5738cf217bdb3dfd99df8c691be4c00ae09069
- languageName: node
- linkType: hard
-
"is-reference@npm:1.2.1, is-reference@npm:^1.2.1":
version: 1.2.1
resolution: "is-reference@npm:1.2.1"
@@ -34233,15 +31260,6 @@ __metadata:
languageName: node
linkType: hard
-"is-relative-url@npm:^3.0.0":
- version: 3.0.0
- resolution: "is-relative-url@npm:3.0.0"
- dependencies:
- is-absolute-url: ^3.0.0
- checksum: 13d114311d1f0ef14ed4bef6e3e0d6e006ed6cff7de39eeffcdea93b7e42ef3d66bf4d9e39e5a3a1878a468c08d5b5aae44e79a29add244a7b93af9f5a3e4953
- languageName: node
- linkType: hard
-
"is-relative@npm:^1.0.0":
version: 1.0.0
resolution: "is-relative@npm:1.0.0"
@@ -34281,15 +31299,6 @@ __metadata:
languageName: node
linkType: hard
-"is-ssh@npm:^1.4.0":
- version: 1.4.0
- resolution: "is-ssh@npm:1.4.0"
- dependencies:
- protocols: ^2.0.1
- checksum: 3eb30d1bcb4507cd25562e7ac61a1c0aa31772134c67cec9c3afe6f4d57ec17e8c2892600a608e8e583f32f53f36465b8968c0305f2855cfbff95acfd049e113
- languageName: node
- linkType: hard
-
"is-stream@npm:^1.0.1, is-stream@npm:^1.1.0":
version: 1.1.0
resolution: "is-stream@npm:1.1.0"
@@ -34381,15 +31390,6 @@ __metadata:
languageName: node
linkType: hard
-"is-upper-case@npm:^2.0.2":
- version: 2.0.2
- resolution: "is-upper-case@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: 2236f416484a2643d55a07cc95443cecf96cbc5fb0de7f24c506a8bc5cc4c4de885ab56c5ec946eadd95b3b7960bff7ed51cc88511fa8e8a9d92f2f8969622d9
- languageName: node
- linkType: hard
-
"is-utf8@npm:^0.2.0, is-utf8@npm:^0.2.1":
version: 0.2.1
resolution: "is-utf8@npm:0.2.1"
@@ -34397,15 +31397,6 @@ __metadata:
languageName: node
linkType: hard
-"is-valid-domain@npm:^0.1.6":
- version: 0.1.6
- resolution: "is-valid-domain@npm:0.1.6"
- dependencies:
- punycode: ^2.1.1
- checksum: 4931790393c22b0bbd3bcdbdb1a75e2b7dc1407983759814ce7c6164a4aff25ab6fafbfcbff0569cae3c17b86a0ece3d97a31735b2c6bcb8f0c2986b72e68e3b
- languageName: node
- linkType: hard
-
"is-valid-glob@npm:^1.0.0":
version: 1.0.0
resolution: "is-valid-glob@npm:1.0.0"
@@ -34492,13 +31483,6 @@ __metadata:
languageName: node
linkType: hard
-"is-yarn-global@npm:^0.3.0":
- version: 0.3.0
- resolution: "is-yarn-global@npm:0.3.0"
- checksum: 9f1ab6f28e6e7961c4b97e564791d1decf2886a0dbe9b92b2176d76156adbb42b4c06c0f33d7107b270c207cbcfe0b2293b7cc4a0ec6774ac6d37af9503d51e1
- languageName: node
- linkType: hard
-
"isarray@npm:1.0.0, isarray@npm:^1.0.0, isarray@npm:~1.0.0":
version: 1.0.0
resolution: "isarray@npm:1.0.0"
@@ -34728,13 +31712,6 @@ __metadata:
languageName: node
linkType: hard
-"javascript-stringify@npm:^2.0.1":
- version: 2.1.0
- resolution: "javascript-stringify@npm:2.1.0"
- checksum: 374e74ebff29b94de78da39daa6e530999c58a145aeb293dc21180c4584459b14d9e5721d9bc6ed4eba319c437ef0145c157c946b70ecddcff6668682a002bcc
- languageName: node
- linkType: hard
-
"jest-changed-files@npm:^25.5.0":
version: 25.5.0
resolution: "jest-changed-files@npm:25.5.0"
@@ -36909,7 +33886,7 @@ __metadata:
languageName: node
linkType: hard
-"jest-worker@npm:^26.2.1, jest-worker@npm:^26.3.0, jest-worker@npm:^26.5.0, jest-worker@npm:^26.6.2":
+"jest-worker@npm:^26.2.1, jest-worker@npm:^26.5.0, jest-worker@npm:^26.6.2":
version: 26.6.2
resolution: "jest-worker@npm:26.6.2"
dependencies:
@@ -36993,7 +33970,7 @@ __metadata:
languageName: node
linkType: hard
-"jest@npm:^27.0.6, jest@npm:^27.4.7":
+"jest@npm:^27.4.7":
version: 27.5.1
resolution: "jest@npm:27.5.1"
dependencies:
@@ -37083,19 +34060,6 @@ __metadata:
languageName: node
linkType: hard
-"joi@npm:^17.4.2, joi@npm:^17.7.0":
- version: 17.9.2
- resolution: "joi@npm:17.9.2"
- dependencies:
- "@hapi/hoek": ^9.0.0
- "@hapi/topo": ^5.0.0
- "@sideway/address": ^4.1.3
- "@sideway/formula": ^3.0.1
- "@sideway/pinpoint": ^2.0.0
- checksum: 284bc34d5070c7b064a9fa68e02703961ad08229dd95dfe0baf2aa5d278c7a99543ecb979b8a6e6f72035539bfdaf1269ac7fa7684a503b6de18b173f72dcc89
- languageName: node
- linkType: hard
-
"joi@npm:^17.6.4":
version: 17.12.0
resolution: "joi@npm:17.12.0"
@@ -37109,6 +34073,19 @@ __metadata:
languageName: node
linkType: hard
+"joi@npm:^17.7.0":
+ version: 17.9.2
+ resolution: "joi@npm:17.9.2"
+ dependencies:
+ "@hapi/hoek": ^9.0.0
+ "@hapi/topo": ^5.0.0
+ "@sideway/address": ^4.1.3
+ "@sideway/formula": ^3.0.1
+ "@sideway/pinpoint": ^2.0.0
+ checksum: 284bc34d5070c7b064a9fa68e02703961ad08229dd95dfe0baf2aa5d278c7a99543ecb979b8a6e6f72035539bfdaf1269ac7fa7684a503b6de18b173f72dcc89
+ languageName: node
+ linkType: hard
+
"join-component@npm:^1.1.0":
version: 1.1.0
resolution: "join-component@npm:1.1.0"
@@ -37384,13 +34361,6 @@ __metadata:
languageName: node
linkType: hard
-"json-buffer@npm:3.0.0":
- version: 3.0.0
- resolution: "json-buffer@npm:3.0.0"
- checksum: 118c060d84430a8ad8376d0c60250830f350a6381bd56541a1ef257ce7ba82d109d1f71a4c4e92e0be0e7ab7da568fad8f7bf02905910a76e8e0aa338621b944
- languageName: node
- linkType: hard
-
"json-buffer@npm:3.0.1":
version: 3.0.1
resolution: "json-buffer@npm:3.0.1"
@@ -37398,13 +34368,6 @@ __metadata:
languageName: node
linkType: hard
-"json-loader@npm:^0.5.7":
- version: 0.5.7
- resolution: "json-loader@npm:0.5.7"
- checksum: b155b81f644693b5418e595c127c552c34373f749d2d125df24cfe753de6b3b0af88dda5d58e7b65940ed03ec46c19fc3d09f53b932b45c9ae3ca1fb55e44a15
- languageName: node
- linkType: hard
-
"json-parse-better-errors@npm:^1.0.2":
version: 1.0.2
resolution: "json-parse-better-errors@npm:1.0.2"
@@ -37482,7 +34445,7 @@ __metadata:
languageName: node
linkType: hard
-"json5@npm:2.x, json5@npm:^2.1.2, json5@npm:^2.2.0, json5@npm:^2.2.1, json5@npm:^2.2.2, json5@npm:^2.2.3":
+"json5@npm:2.x, json5@npm:^2.1.2, json5@npm:^2.2.2, json5@npm:^2.2.3":
version: 2.2.3
resolution: "json5@npm:2.2.3"
bin:
@@ -37491,7 +34454,7 @@ __metadata:
languageName: node
linkType: hard
-"json5@npm:^1.0.1, json5@npm:^1.0.2":
+"json5@npm:^1.0.1":
version: 1.0.2
resolution: "json5@npm:1.0.2"
dependencies:
@@ -37548,7 +34511,7 @@ __metadata:
languageName: node
linkType: hard
-"jsonwebtoken@npm:8.5.1, jsonwebtoken@npm:^8.5.1":
+"jsonwebtoken@npm:8.5.1":
version: 8.5.1
resolution: "jsonwebtoken@npm:8.5.1"
dependencies:
@@ -37608,7 +34571,7 @@ __metadata:
languageName: node
linkType: hard
-"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.3":
+"jsx-ast-utils@npm:^2.4.1 || ^3.0.0":
version: 3.3.4
resolution: "jsx-ast-utils@npm:3.3.4"
dependencies:
@@ -37664,15 +34627,6 @@ __metadata:
languageName: node
linkType: hard
-"keyv@npm:^3.0.0":
- version: 3.1.0
- resolution: "keyv@npm:3.1.0"
- dependencies:
- json-buffer: 3.0.0
- checksum: 6ad784361b4c0213333a8c5bc0bcc59cf46cb7cbbe21fb2f1539ffcc8fe18b8f1562ff913b40552278fdea5f152a15996dfa61ce24ce1a22222560c650be4a1b
- languageName: node
- linkType: hard
-
"keyv@npm:^4.0.0":
version: 4.5.2
resolution: "keyv@npm:4.5.2"
@@ -37827,31 +34781,6 @@ __metadata:
languageName: node
linkType: hard
-"language-subtag-registry@npm:~0.3.2":
- version: 0.3.22
- resolution: "language-subtag-registry@npm:0.3.22"
- checksum: d1e09971260a7cd3b9fdeb190d33af0b6e99c8697013537d9aaa15f7856d9d83aee128ba8078e219df0a7cf4b8dd18d1a0c188f6543b500d92a2689d2d114b70
- languageName: node
- linkType: hard
-
-"language-tags@npm:=1.0.5":
- version: 1.0.5
- resolution: "language-tags@npm:1.0.5"
- dependencies:
- language-subtag-registry: ~0.3.2
- checksum: 04215e821af9a8f1bc6c99ab5aa0a316c3fe1912ca3337eb28596316064bddd8edd22f2883d866069ebdf01b2002e504a760a336b2c728b6d30514e86744f76c
- languageName: node
- linkType: hard
-
-"latest-version@npm:5.1.0, latest-version@npm:^5.1.0":
- version: 5.1.0
- resolution: "latest-version@npm:5.1.0"
- dependencies:
- package-json: ^6.3.0
- checksum: 6219631d8651467c54c58ef1b5d5c5c53e146f5ae2b0ecbb78b202da3eaad55b05b043db2d2d6f1d4230ee071b2ae8c2f85089e01377e4338bad97fa76a963b7
- languageName: node
- linkType: hard
-
"launch-editor@npm:^2.6.0":
version: 2.6.0
resolution: "launch-editor@npm:2.6.0"
@@ -38128,72 +35057,6 @@ __metadata:
languageName: node
linkType: hard
-"lmdb@npm:2.5.2":
- version: 2.5.2
- resolution: "lmdb@npm:2.5.2"
- dependencies:
- "@lmdb/lmdb-darwin-arm64": 2.5.2
- "@lmdb/lmdb-darwin-x64": 2.5.2
- "@lmdb/lmdb-linux-arm": 2.5.2
- "@lmdb/lmdb-linux-arm64": 2.5.2
- "@lmdb/lmdb-linux-x64": 2.5.2
- "@lmdb/lmdb-win32-x64": 2.5.2
- msgpackr: ^1.5.4
- node-addon-api: ^4.3.0
- node-gyp: latest
- node-gyp-build-optional-packages: 5.0.3
- ordered-binary: ^1.2.4
- weak-lru-cache: ^1.2.2
- dependenciesMeta:
- "@lmdb/lmdb-darwin-arm64":
- optional: true
- "@lmdb/lmdb-darwin-x64":
- optional: true
- "@lmdb/lmdb-linux-arm":
- optional: true
- "@lmdb/lmdb-linux-arm64":
- optional: true
- "@lmdb/lmdb-linux-x64":
- optional: true
- "@lmdb/lmdb-win32-x64":
- optional: true
- checksum: e4ba5bc146c8bc974afea0639bfec3c0087132d94195a1a710acb070a76c1a6b0508f5a8cfee4ac2ab905a8941cac0812a475e9da33a62cbf1a80dc268242670
- languageName: node
- linkType: hard
-
-"lmdb@npm:2.5.3":
- version: 2.5.3
- resolution: "lmdb@npm:2.5.3"
- dependencies:
- "@lmdb/lmdb-darwin-arm64": 2.5.3
- "@lmdb/lmdb-darwin-x64": 2.5.3
- "@lmdb/lmdb-linux-arm": 2.5.3
- "@lmdb/lmdb-linux-arm64": 2.5.3
- "@lmdb/lmdb-linux-x64": 2.5.3
- "@lmdb/lmdb-win32-x64": 2.5.3
- msgpackr: ^1.5.4
- node-addon-api: ^4.3.0
- node-gyp: latest
- node-gyp-build-optional-packages: 5.0.3
- ordered-binary: ^1.2.4
- weak-lru-cache: ^1.2.2
- dependenciesMeta:
- "@lmdb/lmdb-darwin-arm64":
- optional: true
- "@lmdb/lmdb-darwin-x64":
- optional: true
- "@lmdb/lmdb-linux-arm":
- optional: true
- "@lmdb/lmdb-linux-arm64":
- optional: true
- "@lmdb/lmdb-linux-x64":
- optional: true
- "@lmdb/lmdb-win32-x64":
- optional: true
- checksum: f1d9ad0cac1653380bee33e189d55316f643402033d87ef88fcaf56c3ed10ed7ec78ab82b0041fa0fb8ac433c1d3841b5d22f9c5b4ae30d500d2d2174d39d6c6
- languageName: node
- linkType: hard
-
"load-json-file@npm:^1.0.0":
version: 1.1.0
resolution: "load-json-file@npm:1.1.0"
@@ -38304,13 +35167,6 @@ __metadata:
languageName: node
linkType: hard
-"lock@npm:^1.1.0":
- version: 1.1.0
- resolution: "lock@npm:1.1.0"
- checksum: 2f07224f226333653d7fc9b955cdd6d57f6c6a51407769fce021716eec4dd71e298ebbbff4b27e393756b8a51e1a9fa7e629598e63cf3be359fcf73d4dfbfa18
- languageName: node
- linkType: hard
-
"lockfile@npm:1.0.4":
version: 1.0.4
resolution: "lockfile@npm:1.0.4"
@@ -38327,13 +35183,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.clonedeep@npm:4.5.0":
- version: 4.5.0
- resolution: "lodash.clonedeep@npm:4.5.0"
- checksum: 2caf0e4808f319d761d2939ee0642fa6867a4bbf2cfce43276698828380756b99d4c4fa226d881655e6ac298dd453fe12a5ec8ba49861777759494c534936985
- languageName: node
- linkType: hard
-
"lodash.curry@npm:^4.0.1, lodash.curry@npm:^4.1.1":
version: 4.1.1
resolution: "lodash.curry@npm:4.1.1"
@@ -38348,13 +35197,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.deburr@npm:^4.1.0":
- version: 4.1.0
- resolution: "lodash.deburr@npm:4.1.0"
- checksum: 30c068e9c3b21d65d260887a8849fa7b94692f868adcc4527136c296b4e71ced7149f58e0f37154d3c56d7950cc605ad3e10b2ee0baedf5638af0befc5013ebc
- languageName: node
- linkType: hard
-
"lodash.defaults@npm:^4.2.0":
version: 4.2.0
resolution: "lodash.defaults@npm:4.2.0"
@@ -38362,27 +35204,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.every@npm:^4.6.0":
- version: 4.6.0
- resolution: "lodash.every@npm:4.6.0"
- checksum: 67dd78cf01e3a4dbeaf6095d766e6868a229bb71a9a438d4a0bf5425326fd8e8ceee97c0079961697dae984e1052db6c31d4e7c54da7899f36a88702ed13cee1
- languageName: node
- linkType: hard
-
-"lodash.flatten@npm:^4.4.0":
- version: 4.4.0
- resolution: "lodash.flatten@npm:4.4.0"
- checksum: 97e8f0d6b61fe4723c02ad0c6e67e51784c4a2c48f56ef283483e556ad01594cf9cec9c773e177bbbdbdb5d19e99b09d2487cb6b6e5dc405c2693e93b125bd3a
- languageName: node
- linkType: hard
-
-"lodash.flattendeep@npm:^4.4.0":
- version: 4.4.0
- resolution: "lodash.flattendeep@npm:4.4.0"
- checksum: 83cb80754b921fb4ed2c222b91a82b2524f3bdc60c3ae91e00688bd4bf1bcc28b8a2cc250e11fdc1b6da3a2de09e57008e13f15a209cafdd4f9163d047f97544
- languageName: node
- linkType: hard
-
"lodash.flow@npm:^3.3.0":
version: 3.5.0
resolution: "lodash.flow@npm:3.5.0"
@@ -38390,13 +35211,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.foreach@npm:^4.5.0":
- version: 4.5.0
- resolution: "lodash.foreach@npm:4.5.0"
- checksum: bd9cc83e87e805b21058ce6cf718dd22db137c7ca08eddbd608549db59989911c571b7195707f615cb37f27bb4f9a9fa9980778940d768c24095f5a04b244c84
- languageName: node
- linkType: hard
-
"lodash.includes@npm:^4.3.0":
version: 4.3.0
resolution: "lodash.includes@npm:4.3.0"
@@ -38453,20 +35267,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.map@npm:^4.6.0":
- version: 4.6.0
- resolution: "lodash.map@npm:4.6.0"
- checksum: 919fe767fa58d3f8369ddd84346636eda71c88a8ef6bde1ca0d87dd37e71614da2ed8bcfc3018ca5b7741ebaf7c01c2d7078b510dca8ab6a0d0ecafd3dc1abcb
- languageName: node
- linkType: hard
-
-"lodash.maxby@npm:^4.6.0":
- version: 4.6.0
- resolution: "lodash.maxby@npm:4.6.0"
- checksum: 752db8fdb890a796c3be2fc9e469376da203ce650306fec65fc2ebecf181a89f127ffa4c59b32f2901faaab4f18e8ee3c994071e5075a42a0ec19817de66c591
- languageName: node
- linkType: hard
-
"lodash.memoize@npm:4.x, lodash.memoize@npm:^4.1.2":
version: 4.1.2
resolution: "lodash.memoize@npm:4.1.2"
@@ -38516,7 +35316,7 @@ __metadata:
languageName: node
linkType: hard
-"lodash@npm:4.17.21, lodash@npm:4.x, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0, lodash@npm:~4.17.0, lodash@npm:~4.17.21":
+"lodash@npm:4.17.21, lodash@npm:4.x, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.7.0, lodash@npm:~4.17.21":
version: 4.17.21
resolution: "lodash@npm:4.17.21"
checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c
@@ -38615,15 +35415,6 @@ __metadata:
languageName: node
linkType: hard
-"lower-case-first@npm:^2.0.2":
- version: 2.0.2
- resolution: "lower-case-first@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: 22253389fa0693ec1ba09b9394be3a8228304bf21d074703db2eef97c16cda9c66462d88f9b91d4ad0186493d23cad99c63d38ebc13f9a808bc83aad539ff404
- languageName: node
- linkType: hard
-
"lower-case@npm:^2.0.2":
version: 2.0.2
resolution: "lower-case@npm:2.0.2"
@@ -38633,13 +35424,6 @@ __metadata:
languageName: node
linkType: hard
-"lowercase-keys@npm:^1.0.0, lowercase-keys@npm:^1.0.1":
- version: 1.0.1
- resolution: "lowercase-keys@npm:1.0.1"
- checksum: 56776a8e1ef1aca98ecf6c19b30352ae1cf257b65b8ac858b7d8a0e8b348774d12a9b41aa7f59bfea51bff44bc7a198ab63ba4406bfba60dba008799618bef66
- languageName: node
- linkType: hard
-
"lowercase-keys@npm:^2.0.0":
version: 2.0.0
resolution: "lowercase-keys@npm:2.0.0"
@@ -38647,17 +35431,7 @@ __metadata:
languageName: node
linkType: hard
-"lru-cache@npm:4.0.0":
- version: 4.0.0
- resolution: "lru-cache@npm:4.0.0"
- dependencies:
- pseudomap: ^1.0.1
- yallist: ^2.0.0
- checksum: b91519133133c6d2986d608c2b2a0f479e18aad74445437faa83989f8374bb8a3538e2e5e49ac2fcc65db099df45f46d34b5f89f7be993757d1a0ab527ca4963
- languageName: node
- linkType: hard
-
-"lru-cache@npm:^4.0.0, lru-cache@npm:^4.0.1":
+"lru-cache@npm:^4.0.1":
version: 4.1.5
resolution: "lru-cache@npm:4.1.5"
dependencies:
@@ -38699,15 +35473,6 @@ __metadata:
languageName: node
linkType: hard
-"lru-queue@npm:^0.1.0":
- version: 0.1.0
- resolution: "lru-queue@npm:0.1.0"
- dependencies:
- es5-ext: ~0.10.2
- checksum: 83517032b46843601c4528be65e8aaf85f5a7860a9cfa3e4f2b5591da436e7cd748d95b450c91434c4ffb75d3ae4c069ddbdd9f71ada56a99a00c03088c51b4d
- languageName: node
- linkType: hard
-
"ltgt@npm:^2.1.2":
version: 2.2.1
resolution: "ltgt@npm:2.2.1"
@@ -38774,18 +35539,6 @@ __metadata:
languageName: node
linkType: hard
-"mailchimp-api-v3@npm:^1.14.0":
- version: 1.15.0
- resolution: "mailchimp-api-v3@npm:1.15.0"
- dependencies:
- bluebird: ^3.4.0
- lodash: ^4.17.14
- request: ^2.88.0
- tar: ^4.0.2
- checksum: 37c91936fbb52606e49ed4f9542c9eb3c700dd6e0ee546282778f487840447e0304d703785084ff6fc924f25ab8447a4591f9798ccac4f957eb040a2f5c050fc
- languageName: node
- linkType: hard
-
"make-dir@npm:^2.0.0, make-dir@npm:^2.1.0":
version: 2.1.0
resolution: "make-dir@npm:2.1.0"
@@ -38844,16 +35597,7 @@ __metadata:
languageName: node
linkType: hard
-"map-age-cleaner@npm:^0.1.3":
- version: 0.1.3
- resolution: "map-age-cleaner@npm:0.1.3"
- dependencies:
- p-defer: ^1.0.0
- checksum: 7495236c7b0950956c144fd8b4bc6399d4e78072a8840a4232fe1c4faccbb5eb5d842e5c0a56a60afc36d723f315c1c672325ca03c1b328650f7fcc478f385fd
- languageName: node
- linkType: hard
-
-"map-cache@npm:^0.2.0, map-cache@npm:^0.2.2":
+"map-cache@npm:^0.2.2":
version: 0.2.2
resolution: "map-cache@npm:0.2.2"
checksum: 05e3eb005c1b80b9f949ca007687640e8c5d0fc88dc45c3c3ab4902a3bec79d66a58f3e3b04d6985d90cd267c629c7b46c977e9c34433e8c11ecfcbb9f0fa290
@@ -38881,13 +35625,6 @@ __metadata:
languageName: node
linkType: hard
-"map-stream@npm:~0.1.0":
- version: 0.1.0
- resolution: "map-stream@npm:0.1.0"
- checksum: 7dd6debe511c1b55d9da75e1efa65a28b1252a2d8357938d2e49b412713c478efbaefb0cdf0ee0533540c3bf733e8f9f71e1a15aa0fe74bf71b64e75bf1576bd
- languageName: node
- linkType: hard
-
"map-visit@npm:^1.0.0":
version: 1.0.0
resolution: "map-visit@npm:1.0.0"
@@ -38986,15 +35723,6 @@ __metadata:
languageName: node
linkType: hard
-"md5-file@npm:^5.0.0":
- version: 5.0.0
- resolution: "md5-file@npm:5.0.0"
- bin:
- md5-file: cli.js
- checksum: ef69092bcf28efcd82f3c5b40831eb6b23bae3133d5d63b58d2b77d1bc5f9a8a0e46d29ddb5167b7c939d6ae1ea7447332e722693ea08cc19cd36d306122f43a
- languageName: node
- linkType: hard
-
"md5.js@npm:^1.3.4":
version: 1.3.5
resolution: "md5.js@npm:1.3.5"
@@ -39285,37 +36013,6 @@ __metadata:
languageName: unknown
linkType: soft
-"medusa-payment-adyen@workspace:packages/medusa-payment-adyen":
- version: 0.0.0-use.local
- resolution: "medusa-payment-adyen@workspace:packages/medusa-payment-adyen"
- dependencies:
- "@adyen/api-library": ^5.0.1
- "@babel/cli": ^7.7.5
- "@babel/core": ^7.7.5
- "@babel/node": ^7.7.4
- "@babel/plugin-proposal-class-properties": ^7.7.4
- "@babel/plugin-transform-classes": ^7.9.5
- "@babel/plugin-transform-instanceof": ^7.8.3
- "@babel/plugin-transform-runtime": ^7.7.6
- "@babel/preset-env": ^7.7.5
- "@babel/register": ^7.7.4
- "@babel/runtime": ^7.9.6
- axios: ^0.19.2
- body-parser: ^1.19.0
- client-sessions: ^0.8.0
- cors: ^2.8.5
- cross-env: ^7.0.3
- express: ^4.17.1
- jest: ^25.5.4
- lodash: ^4.17.21
- medusa-core-utils: ^1.2.1
- medusa-interfaces: ^1.3.9
- medusa-test-utils: ^1.1.42
- peerDependencies:
- medusa-interfaces: 1.3.9
- languageName: unknown
- linkType: soft
-
"medusa-payment-klarna@workspace:packages/medusa-payment-klarna":
version: 0.0.0-use.local
resolution: "medusa-payment-klarna@workspace:packages/medusa-payment-klarna"
@@ -39441,40 +36138,6 @@ __metadata:
languageName: unknown
linkType: soft
-"medusa-plugin-brightpearl@workspace:packages/medusa-plugin-brightpearl":
- version: 0.0.0-use.local
- resolution: "medusa-plugin-brightpearl@workspace:packages/medusa-plugin-brightpearl"
- dependencies:
- "@babel/cli": ^7.7.5
- "@babel/core": ^7.7.5
- "@babel/node": ^7.7.4
- "@babel/plugin-proposal-class-properties": ^7.7.4
- "@babel/plugin-transform-classes": ^7.9.5
- "@babel/plugin-transform-instanceof": ^7.8.3
- "@babel/plugin-transform-runtime": ^7.7.6
- "@babel/preset-env": ^7.7.5
- "@babel/register": ^7.7.4
- "@babel/runtime": ^7.9.6
- "@medusajs/medusa": ^1.17.4
- "@medusajs/utils": ^1.10.5
- axios: ^0.19.2
- axios-mock-adapter: ^1.18.2
- axios-mock-server: ^0.19.1
- axios-rate-limit: ^1.2.1
- client-sessions: ^0.8.0
- cross-env: ^7.0.3
- express: ^4.17.1
- jest: ^25.5.4
- medusa-core-utils: ^1.2.0
- medusa-interfaces: ^1.3.7
- medusa-test-utils: ^1.1.40
- randomatic: ^3.1.1
- peerDependencies:
- "@medusajs/medusa": ^1.12.0
- medusa-interfaces: ^1.3.7
- languageName: unknown
- linkType: soft
-
"medusa-plugin-contentful@workspace:packages/medusa-plugin-contentful":
version: 0.0.0-use.local
resolution: "medusa-plugin-contentful@workspace:packages/medusa-plugin-contentful"
@@ -39533,35 +36196,6 @@ __metadata:
languageName: unknown
linkType: soft
-"medusa-plugin-economic@workspace:packages/medusa-plugin-economic":
- version: 0.0.0-use.local
- resolution: "medusa-plugin-economic@workspace:packages/medusa-plugin-economic"
- dependencies:
- "@babel/cli": ^7.7.5
- "@babel/core": ^7.7.5
- "@babel/node": ^7.7.4
- "@babel/plugin-proposal-class-properties": ^7.7.4
- "@babel/plugin-transform-classes": ^7.9.5
- "@babel/plugin-transform-instanceof": ^7.8.3
- "@babel/plugin-transform-runtime": ^7.7.6
- "@babel/preset-env": ^7.7.5
- "@babel/register": ^7.7.4
- "@babel/runtime": ^7.9.6
- axios: ^0.19.2
- body-parser: ^1.19.0
- client-sessions: ^0.8.0
- cross-env: ^5.2.1
- express: ^4.17.1
- jest: ^25.5.4
- medusa-core-utils: ^1.2.0
- medusa-interfaces: ^1.3.7
- medusa-test-utils: ^1.1.40
- moment: ^2.27.0
- peerDependencies:
- medusa-interfaces: ^1.3.7
- languageName: unknown
- linkType: soft
-
"medusa-plugin-ip-lookup@workspace:packages/medusa-plugin-ip-lookup":
version: 0.0.0-use.local
resolution: "medusa-plugin-ip-lookup@workspace:packages/medusa-plugin-ip-lookup"
@@ -39583,28 +36217,6 @@ __metadata:
languageName: unknown
linkType: soft
-"medusa-plugin-mailchimp@workspace:packages/medusa-plugin-mailchimp":
- version: 0.0.0-use.local
- resolution: "medusa-plugin-mailchimp@workspace:packages/medusa-plugin-mailchimp"
- dependencies:
- "@medusajs/medusa": ^1.12.1
- "@types/express": ^4.17.17
- body-parser: ^1.19.0
- client-sessions: ^0.8.0
- cors: ^2.8.5
- cross-env: ^5.2.1
- express: ^4.17.1
- jest: ^25.5.4
- mailchimp-api-v3: ^1.14.0
- medusa-core-utils: ^1.2.0
- medusa-test-utils: ^1.1.40
- rimraf: ^5.0.1
- typescript: ^4.4.4
- peerDependencies:
- "@medusajs/medusa": ^1.12.0
- languageName: unknown
- linkType: soft
-
"medusa-plugin-meilisearch@workspace:packages/medusa-plugin-meilisearch":
version: 0.0.0-use.local
resolution: "medusa-plugin-meilisearch@workspace:packages/medusa-plugin-meilisearch"
@@ -39732,32 +36344,6 @@ __metadata:
languageName: unknown
linkType: soft
-"medusa-plugin-twilio-sms@workspace:packages/medusa-plugin-twilio-sms":
- version: 0.0.0-use.local
- resolution: "medusa-plugin-twilio-sms@workspace:packages/medusa-plugin-twilio-sms"
- dependencies:
- "@babel/cli": ^7.7.5
- "@babel/core": ^7.7.5
- "@babel/node": ^7.7.4
- "@babel/plugin-proposal-class-properties": ^7.7.4
- "@babel/plugin-transform-classes": ^7.9.5
- "@babel/plugin-transform-instanceof": ^7.8.3
- "@babel/plugin-transform-runtime": ^7.7.6
- "@babel/preset-env": ^7.7.5
- "@babel/register": ^7.7.4
- "@babel/runtime": ^7.9.6
- body-parser: ^1.19.0
- cross-env: ^5.2.1
- jest: ^25.5.4
- medusa-core-utils: ^1.2.0
- medusa-interfaces: ^1.3.7
- medusa-test-utils: ^1.1.40
- twilio: ^3.49.1
- peerDependencies:
- medusa-interfaces: ^1.3.7
- languageName: unknown
- linkType: soft
-
"medusa-plugin-wishlist@workspace:packages/medusa-plugin-wishlist":
version: 0.0.0-use.local
resolution: "medusa-plugin-wishlist@workspace:packages/medusa-plugin-wishlist"
@@ -39824,38 +36410,6 @@ __metadata:
languageName: unknown
linkType: soft
-"medusa-source-shopify@workspace:packages/medusa-source-shopify":
- version: 0.0.0-use.local
- resolution: "medusa-source-shopify@workspace:packages/medusa-source-shopify"
- dependencies:
- "@babel/cli": ^7.15.4
- "@babel/core": ^7.15.5
- "@babel/node": ^7.15.4
- "@babel/plugin-proposal-class-properties": ^7.14.5
- "@babel/plugin-transform-classes": ^7.15.4
- "@babel/plugin-transform-instanceof": ^7.14.5
- "@babel/plugin-transform-runtime": ^7.15.0
- "@babel/preset-env": ^7.15.6
- "@babel/register": ^7.15.3
- "@babel/runtime": ^7.15.4
- "@medusajs/utils": ^1.10.5
- "@shopify/shopify-api": ^1.4.1
- axios: ^0.21.4
- body-parser: ^1.19.0
- client-sessions: ^0.8.0
- cross-env: ^7.0.3
- express: ^4.17.1
- ioredis: ^4.27.9
- jest: ^25.5.4
- lodash: ^4.17.21
- medusa-core-utils: ^1.2.0
- medusa-interfaces: ^1.3.7
- medusa-test-utils: ^1.1.40
- peerDependencies:
- medusa-interfaces: ^1.3.7
- languageName: unknown
- linkType: soft
-
"medusa-telemetry@^0.0.17, medusa-telemetry@workspace:packages/medusa-telemetry":
version: 0.0.0-use.local
resolution: "medusa-telemetry@workspace:packages/medusa-telemetry"
@@ -39928,17 +36482,7 @@ __metadata:
languageName: node
linkType: hard
-"mem@npm:^8.1.1":
- version: 8.1.1
- resolution: "mem@npm:8.1.1"
- dependencies:
- map-age-cleaner: ^0.1.3
- mimic-fn: ^3.1.0
- checksum: 5829c404d024c1accaf76ebacbc7eae9b59e5ce5722d184aa24e8387a8097a499f6aa7e181021003c51eb87b2dcdc9a2270050c58753cce761de206643cba91c
- languageName: node
- linkType: hard
-
-"memfs@npm:^3.1.2, memfs@npm:^3.2.2, memfs@npm:^3.4.3":
+"memfs@npm:^3.1.2, memfs@npm:^3.4.3":
version: 3.5.3
resolution: "memfs@npm:3.5.3"
dependencies:
@@ -39961,22 +36505,6 @@ __metadata:
languageName: node
linkType: hard
-"memoizee@npm:^0.4.15":
- version: 0.4.15
- resolution: "memoizee@npm:0.4.15"
- dependencies:
- d: ^1.0.1
- es5-ext: ^0.10.53
- es6-weak-map: ^2.0.3
- event-emitter: ^0.3.5
- is-promise: ^2.2.2
- lru-queue: ^0.1.0
- next-tick: ^1.1.0
- timers-ext: ^0.1.7
- checksum: 297e65cd8256bdf24c48f5e158da80d4c9688db0d6e65c5dcc13fa768e782ddeb71aec36925359931b5efef0efc6666b5bb2af6deb3de63d4258a3821ed16fce
- languageName: node
- linkType: hard
-
"memoizerific@npm:^1.11.3":
version: 1.11.3
resolution: "memoizerific@npm:1.11.3"
@@ -40185,7 +36713,7 @@ __metadata:
languageName: node
linkType: hard
-"mime-types@npm:^2.1.12, mime-types@npm:^2.1.25, mime-types@npm:^2.1.27, mime-types@npm:^2.1.30, mime-types@npm:^2.1.31, mime-types@npm:~2.1.17, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34":
+"mime-types@npm:^2.1.12, mime-types@npm:^2.1.25, mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.17, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34":
version: 2.1.35
resolution: "mime-types@npm:2.1.35"
dependencies:
@@ -40212,7 +36740,7 @@ __metadata:
languageName: node
linkType: hard
-"mime@npm:^2.0.3, mime@npm:^2.4.4, mime@npm:^2.5.2":
+"mime@npm:^2.0.3, mime@npm:^2.4.4":
version: 2.6.0
resolution: "mime@npm:2.6.0"
bin:
@@ -40221,15 +36749,6 @@ __metadata:
languageName: node
linkType: hard
-"mime@npm:^3.0.0":
- version: 3.0.0
- resolution: "mime@npm:3.0.0"
- bin:
- mime: cli.js
- checksum: 402e792a8df1b2cc41cb77f0dcc46472b7944b7ec29cb5bbcd398624b6b97096728f1239766d3fdeb20551dd8d94738344c195a6ea10c4f906eb0356323b0531
- languageName: node
- linkType: hard
-
"mimic-fn@npm:^2.1.0":
version: 2.1.0
resolution: "mimic-fn@npm:2.1.0"
@@ -40237,13 +36756,6 @@ __metadata:
languageName: node
linkType: hard
-"mimic-fn@npm:^3.1.0":
- version: 3.1.0
- resolution: "mimic-fn@npm:3.1.0"
- checksum: a07cdd8ed6490c2dff5b11f889b245d9556b80f5a653a552a651d17cff5a2d156e632d235106c2369f00cccef4071704589574cf3601bc1b1400a1f620dff067
- languageName: node
- linkType: hard
-
"mimic-fn@npm:^4.0.0":
version: 4.0.0
resolution: "mimic-fn@npm:4.0.0"
@@ -40251,7 +36763,7 @@ __metadata:
languageName: node
linkType: hard
-"mimic-response@npm:^1.0.0, mimic-response@npm:^1.0.1":
+"mimic-response@npm:^1.0.0":
version: 1.0.1
resolution: "mimic-response@npm:1.0.1"
checksum: c5381a5eae997f1c3b5e90ca7f209ed58c3615caeee850e85329c598f0c000ae7bec40196580eef1781c60c709f47258131dab237cad8786f8f56750594f27fa
@@ -40281,19 +36793,6 @@ __metadata:
languageName: node
linkType: hard
-"mini-css-extract-plugin@npm:1.6.2":
- version: 1.6.2
- resolution: "mini-css-extract-plugin@npm:1.6.2"
- dependencies:
- loader-utils: ^2.0.0
- schema-utils: ^3.0.0
- webpack-sources: ^1.1.0
- peerDependencies:
- webpack: ^4.4.0 || ^5.0.0
- checksum: 138c008f8a510012266d2834227e75181feeffd09e89e9cde0a63f17be3d64ea3ddbba01036aac9c8a969462c0142285659a20c294e8d01ba948aa1124affdc2
- languageName: node
- linkType: hard
-
"mini-css-extract-plugin@npm:^2.7.6":
version: 2.7.6
resolution: "mini-css-extract-plugin@npm:2.7.6"
@@ -40384,7 +36883,7 @@ __metadata:
languageName: node
linkType: hard
-"minimist@npm:^1.1.1, minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.7":
+"minimist@npm:^1.1.1, minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.7":
version: 1.2.8
resolution: "minimist@npm:1.2.8"
checksum: 19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6
@@ -40442,16 +36941,6 @@ __metadata:
languageName: node
linkType: hard
-"minipass@npm:^2.6.0, minipass@npm:^2.9.0":
- version: 2.9.0
- resolution: "minipass@npm:2.9.0"
- dependencies:
- safe-buffer: ^5.1.2
- yallist: ^3.0.0
- checksum: 307d8765ac3db9fcd6b486367e6f6c3e460f3a3e198d95d6c0005a2d95804c40c72959261cdebde3c8237cda0b03d4c01975e4581fe11abcf201f5005caafd2a
- languageName: node
- linkType: hard
-
"minipass@npm:^3.0.0, minipass@npm:^3.1.1":
version: 3.3.6
resolution: "minipass@npm:3.3.6"
@@ -40482,15 +36971,6 @@ __metadata:
languageName: node
linkType: hard
-"minizlib@npm:^1.3.3":
- version: 1.3.3
- resolution: "minizlib@npm:1.3.3"
- dependencies:
- minipass: ^2.9.0
- checksum: 79798032bbaa6594fa517e5b7ff9977951984fc9548a421b28d3fb0add8ed7e98a33e41e262af53b944f9d860c1e00fc778b477ef692e7b38b1ba12b390ffb17
- languageName: node
- linkType: hard
-
"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2":
version: 2.1.2
resolution: "minizlib@npm:2.1.2"
@@ -40519,13 +36999,6 @@ __metadata:
languageName: node
linkType: hard
-"mitt@npm:^1.2.0":
- version: 1.2.0
- resolution: "mitt@npm:1.2.0"
- checksum: 81a0f22b7ac1a0ab5f17489e811641ad589b5e9d2a46a25adac19c8c0ba9c3b50bef7b287582357de25eaa0a47e5d4ced63ea8b8641ba6ca1d1f39d3ec47bb11
- languageName: node
- linkType: hard
-
"mixin-deep@npm:^1.2.0":
version: 1.3.2
resolution: "mixin-deep@npm:1.3.2"
@@ -40543,7 +37016,7 @@ __metadata:
languageName: node
linkType: hard
-"mkdirp-classic@npm:^0.5.2, mkdirp-classic@npm:^0.5.3":
+"mkdirp-classic@npm:^0.5.2":
version: 0.5.3
resolution: "mkdirp-classic@npm:0.5.3"
checksum: 95371d831d196960ddc3833cc6907e6b8f67ac5501a6582f47dfae5eb0f092e9f8ce88e0d83afcae95d6e2b61a01741ba03714eeafb6f7a6e9dcc158ac85b168
@@ -40561,7 +37034,7 @@ __metadata:
languageName: node
linkType: hard
-"mkdirp@npm:0.x, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.4, mkdirp@npm:^0.5.5, mkdirp@npm:~0.5.1":
+"mkdirp@npm:0.x, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.4, mkdirp@npm:~0.5.1":
version: 0.5.6
resolution: "mkdirp@npm:0.5.6"
dependencies:
@@ -40657,7 +37130,7 @@ __metadata:
languageName: node
linkType: hard
-"moment@npm:^2.19.3, moment@npm:^2.27.0, moment@npm:^2.29.1, moment@npm:^2.29.4, moment@npm:~2.29.3":
+"moment@npm:^2.19.3, moment@npm:^2.27.0, moment@npm:^2.29.4, moment@npm:~2.29.3":
version: 2.29.4
resolution: "moment@npm:2.29.4"
checksum: 844c6f3ce42862ac9467c8ca4f5e48a00750078682cc5bda1bc0e50cc7ca88e2115a0f932d65a06e4a90e26cb78892be9b3ca3dd6546ca2c4d994cebb787fc2b
@@ -40776,18 +37249,6 @@ __metadata:
languageName: node
linkType: hard
-"msgpackr@npm:^1.5.4":
- version: 1.9.5
- resolution: "msgpackr@npm:1.9.5"
- dependencies:
- msgpackr-extract: ^3.0.2
- dependenciesMeta:
- msgpackr-extract:
- optional: true
- checksum: 2c114e9521b2e93648840881a82409143ae873a8627982ee5824bfa0d184074998d222e49adf17bc20a0b69f3078e613dc605e088b4ef86d1426badd69d5d510
- languageName: node
- linkType: hard
-
"msw-storybook-addon@npm:^1.5.0":
version: 1.8.0
resolution: "msw-storybook-addon@npm:1.8.0"
@@ -40868,7 +37329,7 @@ __metadata:
languageName: node
linkType: hard
-"mute-stream@npm:0.0.8, mute-stream@npm:~0.0.4":
+"mute-stream@npm:0.0.8":
version: 0.0.8
resolution: "mute-stream@npm:0.0.8"
checksum: 18d06d92e5d6d45e2b63c0e1b8f25376af71748ac36f53c059baa8b76ffac31c5ab225480494e7d35d30215ecdb18fed26ec23cafcd2f7733f2f14406bcd19e2
@@ -40966,13 +37427,6 @@ __metadata:
languageName: node
linkType: hard
-"napi-build-utils@npm:^1.0.1":
- version: 1.0.2
- resolution: "napi-build-utils@npm:1.0.2"
- checksum: 37fd2cd0ff2ad20073ce78d83fd718a740d568b225924e753ae51cb69d68f330c80544d487e5e5bd18e28702ed2ca469c2424ad948becd1862c1b0209542b2e9
- languageName: node
- linkType: hard
-
"napi-macros@npm:~2.0.0":
version: 2.0.0
resolution: "napi-macros@npm:2.0.0"
@@ -41003,7 +37457,7 @@ __metadata:
languageName: node
linkType: hard
-"negotiator@npm:0.6.3, negotiator@npm:^0.6.3, negotiator@npm:~0.6.2":
+"negotiator@npm:0.6.3, negotiator@npm:^0.6.3":
version: 0.6.3
resolution: "negotiator@npm:0.6.3"
checksum: 3ec9fd413e7bf071c937ae60d572bc67155262068ed522cf4b3be5edbe6ddf67d095ec03a3a14ebf8fc8e95f8e1d61be4869db0dbb0de696f6b837358bd43fc2
@@ -41033,13 +37487,6 @@ __metadata:
languageName: node
linkType: hard
-"next-tick@npm:1, next-tick@npm:^1.1.0":
- version: 1.1.0
- resolution: "next-tick@npm:1.1.0"
- checksum: 3ba80dd805fcb336b4f52e010992f3e6175869c8d88bf4ff0a81d5d66e6049f89993463b28211613e58a6b7fe93ff5ccbba0da18d4fa574b96289e8f0b577f28
- languageName: node
- linkType: hard
-
"nice-try@npm:^1.0.4":
version: 1.0.5
resolution: "nice-try@npm:1.0.5"
@@ -41057,15 +37504,6 @@ __metadata:
languageName: node
linkType: hard
-"node-abi@npm:^3.3.0":
- version: 3.45.0
- resolution: "node-abi@npm:3.45.0"
- dependencies:
- semver: ^7.3.5
- checksum: 36517006fe413b0c76ea60603201a81e7a931d70fe1e27914e86228e0e7e9746f1b4292d89082c8a736f2f1824a4aedb2a4357502d0a38aab5ccbc7486bb33db
- languageName: node
- linkType: hard
-
"node-abort-controller@npm:^3.1.1":
version: 3.1.1
resolution: "node-abort-controller@npm:3.1.1"
@@ -41073,40 +37511,6 @@ __metadata:
languageName: node
linkType: hard
-"node-addon-api@npm:^4.3.0":
- version: 4.3.0
- resolution: "node-addon-api@npm:4.3.0"
- dependencies:
- node-gyp: latest
- checksum: 5febe94d58cdef319bc96a357b43d7a13776c93ee3f2edb374000f16454e65cec06035497947d5fdaa50db1cc7ab8e3a30ca8669bb07a1b159f0307dc2c1ccdf
- languageName: node
- linkType: hard
-
-"node-addon-api@npm:^5.0.0":
- version: 5.1.0
- resolution: "node-addon-api@npm:5.1.0"
- dependencies:
- node-gyp: latest
- checksum: 0eb269786124ba6fad9df8007a149e03c199b3e5a3038125dfb3e747c2d5113d406a4e33f4de1ea600aa2339be1f137d55eba1a73ee34e5fff06c52a5c296d1d
- languageName: node
- linkType: hard
-
-"node-addon-api@npm:^7.0.0":
- version: 7.0.0
- resolution: "node-addon-api@npm:7.0.0"
- dependencies:
- node-gyp: latest
- checksum: 3d5a15ee434e122b345e614db122a63f30194c298104c3d8a0fa9f68707abb278af27b45222602456a131890a59b4a92291ff5b4b7938ff282168e9ad1bf7103
- languageName: node
- linkType: hard
-
-"node-cleanup@npm:^2.1.2":
- version: 2.1.2
- resolution: "node-cleanup@npm:2.1.2"
- checksum: c59077d7cac01f6315e4417e5d13523e43aa19965b14768581dbd06b37419323abe5f7171afe6aa52b7a483bdd0027e5a5f62a532a2ebec2a8c4cdf163736c92
- languageName: node
- linkType: hard
-
"node-dir@npm:^0.1.10, node-dir@npm:^0.1.17":
version: 0.1.17
resolution: "node-dir@npm:0.1.17"
@@ -41199,7 +37603,7 @@ __metadata:
languageName: node
linkType: hard
-"node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.6, node-fetch@npm:^2.6.7":
+"node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7":
version: 2.6.12
resolution: "node-fetch@npm:2.6.12"
dependencies:
@@ -41231,17 +37635,6 @@ __metadata:
languageName: node
linkType: hard
-"node-gyp-build-optional-packages@npm:5.0.3":
- version: 5.0.3
- resolution: "node-gyp-build-optional-packages@npm:5.0.3"
- bin:
- node-gyp-build-optional-packages: bin.js
- node-gyp-build-optional-packages-optional: optional.js
- node-gyp-build-optional-packages-test: build-test.js
- checksum: 334336bdefb398469a115a2c9d4c141d28e093fd703be7adc1448f9dd3e1b5525281a789be8a60a778c91212daaa310155b1908b1fb9a987cec61a9fe04d774a
- languageName: node
- linkType: hard
-
"node-gyp-build-optional-packages@npm:5.0.7":
version: 5.0.7
resolution: "node-gyp-build-optional-packages@npm:5.0.7"
@@ -41285,16 +37678,6 @@ __metadata:
languageName: node
linkType: hard
-"node-html-parser@npm:^5.3.3":
- version: 5.4.2
- resolution: "node-html-parser@npm:5.4.2"
- dependencies:
- css-select: ^4.2.1
- he: 1.2.0
- checksum: 5a46ce4dc29dcb656067a977ef977d09328b21d1e26e6105176230bb151970cf7deb2db0dd084abeb98106ac79a83102232ad0d9a45d0a686f3eb6931a048663
- languageName: node
- linkType: hard
-
"node-int64@npm:^0.4.0":
version: 0.4.0
resolution: "node-int64@npm:0.4.0"
@@ -41367,13 +37750,6 @@ __metadata:
languageName: node
linkType: hard
-"node-object-hash@npm:^2.3.10":
- version: 2.3.10
- resolution: "node-object-hash@npm:2.3.10"
- checksum: 6a3a59d8de1adfa283ece530ec4b89d889d72e4a3c75b3dacfd25428a67bc13977319b64bb0ab3125ec35afe90ae9c68b91cefbd8c55f62ae1e029e3ba5128ce
- languageName: node
- linkType: hard
-
"node-readfiles@npm:^0.2.0":
version: 0.2.0
resolution: "node-readfiles@npm:0.2.0"
@@ -41492,13 +37868,6 @@ __metadata:
languageName: node
linkType: hard
-"normalize-url@npm:^4.1.0":
- version: 4.5.1
- resolution: "normalize-url@npm:4.5.1"
- checksum: 6362e9274fdcc310f8b17e20de29754c94e1820d864114f03d3bfd6286a0028fc51705fb3fd4e475013357b5cd7421fc17f3aba93f2289056779a9bb23bccf59
- languageName: node
- linkType: hard
-
"normalize-url@npm:^6.0.1":
version: 6.1.0
resolution: "normalize-url@npm:6.1.0"
@@ -41575,25 +37944,6 @@ __metadata:
languageName: node
linkType: hard
-"null-loader@npm:^4.0.1":
- version: 4.0.1
- resolution: "null-loader@npm:4.0.1"
- dependencies:
- loader-utils: ^2.0.0
- schema-utils: ^3.0.0
- peerDependencies:
- webpack: ^4.0.0 || ^5.0.0
- checksum: fe9a74a928c9ddc1eab7be0e4322516439562d6efd6feeb0f7c61777d4b79a6a8e5a6bc8133deb59408f3f423bdf84c154a88168154a583154e9e33d544b4d42
- languageName: node
- linkType: hard
-
-"nullthrows@npm:^1.1.1":
- version: 1.1.1
- resolution: "nullthrows@npm:1.1.1"
- checksum: 56f34bd7c3dcb3bd23481a277fa22918120459d3e9d95ca72976c72e9cac33a97483f0b95fc420e2eb546b9fe6db398273aba9a938650cdb8c98ee8f159dcb30
- languageName: node
- linkType: hard
-
"num2fraction@npm:^1.2.2":
version: 1.2.2
resolution: "num2fraction@npm:1.2.2"
@@ -41773,7 +38123,7 @@ __metadata:
languageName: node
linkType: hard
-"object.assign@npm:^4.0.4, object.assign@npm:^4.1.0, object.assign@npm:^4.1.4":
+"object.assign@npm:^4.0.4, object.assign@npm:^4.1.4":
version: 4.1.4
resolution: "object.assign@npm:4.1.4"
dependencies:
@@ -41850,13 +38200,6 @@ __metadata:
languageName: node
linkType: hard
-"objectFitPolyfill@npm:^2.3.5":
- version: 2.3.5
- resolution: "objectFitPolyfill@npm:2.3.5"
- checksum: 3efe83ef5d5ce51e2ccff9035b9929c634fb974230f7a961f67a5600909167a574dc029d7846250bd2712e38cfaf8dee2d910f97d4a7eb5af0add4ac4d13f3a3
- languageName: node
- linkType: hard
-
"objectorarray@npm:^1.0.5":
version: 1.0.5
resolution: "objectorarray@npm:1.0.5"
@@ -42002,13 +38345,6 @@ __metadata:
languageName: node
linkType: hard
-"opentracing@npm:^0.14.5":
- version: 0.14.7
- resolution: "opentracing@npm:0.14.7"
- checksum: a7be8d697b1997548233423f5f4c196e285af8e864a24d7704fc6029beb73cd1f987651ca814e207629c6bc624cb03297a86601c0dc51cdca9a07a20f97b71ea
- languageName: node
- linkType: hard
-
"optionator@npm:^0.8.1, optionator@npm:^0.8.3":
version: 0.8.3
resolution: "optionator@npm:0.8.3"
@@ -42071,13 +38407,6 @@ __metadata:
languageName: node
linkType: hard
-"ordered-binary@npm:^1.2.4":
- version: 1.4.0
- resolution: "ordered-binary@npm:1.4.0"
- checksum: 55f87a69af5df70c1adb2fc0f5d8742af081dab9a5a4810075d8f680d7557c4d5da302bb7946986640918440a0ccae3232ab82044426b26661341be9d39aafc5
- languageName: node
- linkType: hard
-
"ordered-read-streams@npm:^1.0.0":
version: 1.0.1
resolution: "ordered-read-streams@npm:1.0.1"
@@ -42131,13 +38460,6 @@ __metadata:
languageName: node
linkType: hard
-"p-cancelable@npm:^1.0.0":
- version: 1.1.0
- resolution: "p-cancelable@npm:1.1.0"
- checksum: 9f16d7d58897edb07b1a9234b2bfce3665c747f0f13886e25e2144ecab4595412017cc8cc3b0042f89864b997d6dba76c130724e1c0923fc41ff3c9399b87449
- languageName: node
- linkType: hard
-
"p-cancelable@npm:^2.0.0":
version: 2.1.1
resolution: "p-cancelable@npm:2.1.1"
@@ -42145,20 +38467,6 @@ __metadata:
languageName: node
linkType: hard
-"p-defer@npm:^1.0.0":
- version: 1.0.0
- resolution: "p-defer@npm:1.0.0"
- checksum: ed603c3790e74b061ac2cb07eb6e65802cf58dce0fbee646c113a7b71edb711101329ad38f99e462bd2e343a74f6e9366b496a35f1d766c187084d3109900487
- languageName: node
- linkType: hard
-
-"p-defer@npm:^3.0.0":
- version: 3.0.0
- resolution: "p-defer@npm:3.0.0"
- checksum: 848eb9821785b9a203def23618217ddbfa5cd909574ad0d66aae61a1981c4dcfa084804d6f97abe027bd004643471ddcdc823aa8df60198f791a9bd985e01bee
- languageName: node
- linkType: hard
-
"p-each-series@npm:^2.1.0":
version: 2.2.0
resolution: "p-each-series@npm:2.2.0"
@@ -42198,15 +38506,6 @@ __metadata:
languageName: node
linkType: hard
-"p-limit@npm:3.1.0, p-limit@npm:^3.0.2, p-limit@npm:^3.1.0":
- version: 3.1.0
- resolution: "p-limit@npm:3.1.0"
- dependencies:
- yocto-queue: ^0.1.0
- checksum: 9db675949dbdc9c3763c89e748d0ef8bdad0afbb24d49ceaf4c46c02c77d30db4e0652ed36d0a0a7a95154335fab810d95c86153105bb73b3a90448e2bb14e1a
- languageName: node
- linkType: hard
-
"p-limit@npm:^2.0.0, p-limit@npm:^2.2.0":
version: 2.3.0
resolution: "p-limit@npm:2.3.0"
@@ -42216,6 +38515,15 @@ __metadata:
languageName: node
linkType: hard
+"p-limit@npm:^3.0.2, p-limit@npm:^3.1.0":
+ version: 3.1.0
+ resolution: "p-limit@npm:3.1.0"
+ dependencies:
+ yocto-queue: ^0.1.0
+ checksum: 9db675949dbdc9c3763c89e748d0ef8bdad0afbb24d49ceaf4c46c02c77d30db4e0652ed36d0a0a7a95154335fab810d95c86153105bb73b3a90448e2bb14e1a
+ languageName: node
+ linkType: hard
+
"p-limit@npm:^4.0.0":
version: 4.0.0
resolution: "p-limit@npm:4.0.0"
@@ -42252,7 +38560,7 @@ __metadata:
languageName: node
linkType: hard
-"p-map@npm:^2.0.0, p-map@npm:^2.1.0":
+"p-map@npm:^2.0.0":
version: 2.1.0
resolution: "p-map@npm:2.1.0"
checksum: 735dae87badd4737a2dd582b6d8f93e49a1b79eabbc9815a4d63a528d5e3523e978e127a21d784cccb637010e32103a40d2aaa3ab23ae60250b1a820ca752043
@@ -42320,18 +38628,6 @@ __metadata:
languageName: node
linkType: hard
-"package-json@npm:^6.3.0":
- version: 6.5.0
- resolution: "package-json@npm:6.5.0"
- dependencies:
- got: ^9.6.0
- registry-auth-token: ^4.0.0
- registry-url: ^5.0.0
- semver: ^6.2.0
- checksum: 60c29fe357af43f96c92c334aa0160cebde44e8e65c1e5f9b065efb3f501af812f268ec967a07757b56447834ef7f71458ebbab94425a9f09c271f348f9b764f
- languageName: node
- linkType: hard
-
"package-name-regex@npm:~2.0.6":
version: 2.0.6
resolution: "package-name-regex@npm:2.0.6"
@@ -42431,17 +38727,6 @@ __metadata:
languageName: node
linkType: hard
-"parse-filepath@npm:^1.0.2":
- version: 1.0.2
- resolution: "parse-filepath@npm:1.0.2"
- dependencies:
- is-absolute: ^1.0.0
- map-cache: ^0.2.0
- path-root: ^0.1.1
- checksum: 37bbd225fa864257246777efbdf72a9305c4ae12110bf467d11994e93f8be60dd309dcef68124a2c78c5d3b4e64e1c36fcc2560e2ea93fd97767831e7a446805
- languageName: node
- linkType: hard
-
"parse-json@npm:^2.2.0":
version: 2.2.0
resolution: "parse-json@npm:2.2.0"
@@ -42470,24 +38755,6 @@ __metadata:
languageName: node
linkType: hard
-"parse-path@npm:^7.0.0":
- version: 7.0.0
- resolution: "parse-path@npm:7.0.0"
- dependencies:
- protocols: ^2.0.0
- checksum: e7646f6b998b083bbd40102643d803557ce4ae18ae1704e6cc7ae2525ea7c5400f4a3635aca3244cfe65ce4dd0ff77db1142dde4d080e8a80c364c4b3e8fe8d2
- languageName: node
- linkType: hard
-
-"parse-url@npm:^8.1.0":
- version: 8.1.0
- resolution: "parse-url@npm:8.1.0"
- dependencies:
- parse-path: ^7.0.0
- checksum: 68b95afdf4bbf72e57c7ab66f8757c935fff888f7e2b0f1e06098b4faa19e06b6b743bddaed5bc8df4f0c2de6fc475355d787373b2fdd40092be9e4e4b996648
- languageName: node
- linkType: hard
-
"parse5-htmlparser2-tree-adapter@npm:^6.0.0":
version: 6.0.1
resolution: "parse5-htmlparser2-tree-adapter@npm:6.0.1"
@@ -42537,7 +38804,7 @@ __metadata:
languageName: node
linkType: hard
-"parseurl@npm:^1.3.3, parseurl@npm:~1.3.2, parseurl@npm:~1.3.3":
+"parseurl@npm:~1.3.2, parseurl@npm:~1.3.3":
version: 1.3.3
resolution: "parseurl@npm:1.3.3"
checksum: 90dd4760d6f6174adb9f20cf0965ae12e23879b5f5464f38e92fce8073354341e4b3b76fa3d878351efe7d01e617121955284cfd002ab087fba1a0726ec0b4f5
@@ -42616,7 +38883,7 @@ __metadata:
languageName: node
linkType: hard
-"password-prompt@npm:^1.0.4, password-prompt@npm:^1.1.2":
+"password-prompt@npm:^1.1.2":
version: 1.1.2
resolution: "password-prompt@npm:1.1.2"
dependencies:
@@ -42640,16 +38907,6 @@ __metadata:
languageName: node
linkType: hard
-"path-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "path-case@npm:3.0.4"
- dependencies:
- dot-case: ^3.0.4
- tslib: ^2.0.3
- checksum: b6b14637228a558793f603aaeb2fcd981e738b8b9319421b713532fba96d75aa94024b9f6b9ae5aa33d86755144a5b36697d28db62ae45527dbd672fcc2cf0b7
- languageName: node
- linkType: hard
-
"path-dirname@npm:^1.0.0":
version: 1.0.2
resolution: "path-dirname@npm:1.0.2"
@@ -42722,22 +38979,6 @@ __metadata:
languageName: node
linkType: hard
-"path-root-regex@npm:^0.1.0":
- version: 0.1.2
- resolution: "path-root-regex@npm:0.1.2"
- checksum: 27651a234f280c70d982dd25c35550f74a4284cde6b97237aab618cb4b5745682d18cdde1160617bb4a4b6b8aec4fbc911c4a2ad80d01fa4c7ee74dae7af2337
- languageName: node
- linkType: hard
-
-"path-root@npm:^0.1.1":
- version: 0.1.1
- resolution: "path-root@npm:0.1.1"
- dependencies:
- path-root-regex: ^0.1.0
- checksum: aed5cd290df84c46c7730f6a363e95e47a23929b51ab068a3818d69900da3e89dc154cdfd0c45c57b2e02f40c094351bc862db70c2cb00b7e6bd47039a227813
- languageName: node
- linkType: hard
-
"path-scurry@npm:^1.10.0":
version: 1.10.0
resolution: "path-scurry@npm:1.10.0"
@@ -42806,15 +39047,6 @@ __metadata:
languageName: node
linkType: hard
-"pause-stream@npm:0.0.11":
- version: 0.0.11
- resolution: "pause-stream@npm:0.0.11"
- dependencies:
- through: ~2.3
- checksum: 86f12c64cdaaa8e45ebaca4e39a478e1442db8b4beabc280b545bfaf79c0e2f33c51efb554aace5c069cc441c7b924ba484837b345eaa4ba6fc940d62f826802
- languageName: node
- linkType: hard
-
"pause@npm:0.0.1":
version: 0.0.1
resolution: "pause@npm:0.0.1"
@@ -42835,13 +39067,6 @@ __metadata:
languageName: node
linkType: hard
-"peek-readable@npm:^4.1.0":
- version: 4.1.0
- resolution: "peek-readable@npm:4.1.0"
- checksum: f9b81ce3eed185cc9ebbf7dff0b6e130dd6da7b05f1802bbf726a78e4d84990b0a65f8e701959c50eb1124cc2ad352205147954bf39793faba29bb00ce742a44
- languageName: node
- linkType: hard
-
"peek-stream@npm:^1.1.0":
version: 1.1.3
resolution: "peek-stream@npm:1.1.3"
@@ -42991,13 +39216,6 @@ __metadata:
languageName: node
linkType: hard
-"physical-cpu-count@npm:^2.0.0":
- version: 2.0.0
- resolution: "physical-cpu-count@npm:2.0.0"
- checksum: 3a4436a09c536a5c62e9edd3df5d33f15db0a9b2e919f3f08dbc25095a866466e1e39fe02a22dc44c7e10cdd9822f32b0e0803982c85a39d838c6a62e10a113a
- languageName: node
- linkType: hard
-
"picocolors@npm:^0.2.1":
version: 0.2.1
resolution: "picocolors@npm:0.2.1"
@@ -43124,13 +39342,6 @@ __metadata:
languageName: node
linkType: hard
-"platform@npm:^1.3.6":
- version: 1.3.6
- resolution: "platform@npm:1.3.6"
- checksum: 69f2eb692e15f1a343dd0d9347babd9ca933824c8673096be746ff66f99f2bdc909fadd8609076132e6ec768349080babb7362299f2a7f885b98f1254ae6224b
- languageName: node
- linkType: hard
-
"please-upgrade-node@npm:^3.2.0":
version: 3.2.0
resolution: "please-upgrade-node@npm:3.2.0"
@@ -43188,13 +39399,6 @@ __metadata:
languageName: node
linkType: hard
-"pop-iterate@npm:^1.0.1":
- version: 1.0.1
- resolution: "pop-iterate@npm:1.0.1"
- checksum: 1768f8985f4ceb6e4e20a0e80685dad034a689b1eedb8cc8c344d292b89c9794861dc45cab711e73f1bb5d70f47ebf189fa46beb933c795bd481b19c883592d2
- languageName: node
- linkType: hard
-
"posix-character-classes@npm:^0.1.0":
version: 0.1.1
resolution: "posix-character-classes@npm:0.1.1"
@@ -43406,15 +39610,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss-flexbugs-fixes@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-flexbugs-fixes@npm:5.0.2"
- peerDependencies:
- postcss: ^8.1.4
- checksum: b413f73cc3c005f33479df95e1357467c28183e62ba8b25e06b8590b2a69e60d624f07824c0ff85fb1dfdd5bb7dfa321dad0885d42ec3c8f000669960b30894f
- languageName: node
- linkType: hard
-
"postcss-focus-visible@npm:^8.0.2":
version: 8.0.2
resolution: "postcss-focus-visible@npm:8.0.2"
@@ -43578,20 +39773,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss-loader@npm:^5.3.0":
- version: 5.3.0
- resolution: "postcss-loader@npm:5.3.0"
- dependencies:
- cosmiconfig: ^7.0.0
- klona: ^2.0.4
- semver: ^7.3.4
- peerDependencies:
- postcss: ^7.0.0 || ^8.0.1
- webpack: ^5.0.0
- checksum: 710c9913a24d2963bbca5a90c44fdf06a4c06b2771089d3079765f1ef7e5f0a653a9854afea7b5fd05c954530fe3c8a25c8d570c5403f6f6914617be1fed0502
- languageName: node
- linkType: hard
-
"postcss-loader@npm:^7.2.4, postcss-loader@npm:^7.3.2":
version: 7.3.3
resolution: "postcss-loader@npm:7.3.3"
@@ -44160,7 +40341,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:^8.2.1, postcss@npm:^8.2.15, postcss@npm:^8.2.9, postcss@npm:^8.3.11, postcss@npm:^8.4.18, postcss@npm:^8.4.21":
+"postcss@npm:^8.2.1, postcss@npm:^8.4.18, postcss@npm:^8.4.21":
version: 8.4.24
resolution: "postcss@npm:8.4.24"
dependencies:
@@ -44271,28 +40452,6 @@ __metadata:
languageName: node
linkType: hard
-"prebuild-install@npm:^7.1.1":
- version: 7.1.1
- resolution: "prebuild-install@npm:7.1.1"
- dependencies:
- detect-libc: ^2.0.0
- expand-template: ^2.0.3
- github-from-package: 0.0.0
- minimist: ^1.2.3
- mkdirp-classic: ^0.5.3
- napi-build-utils: ^1.0.1
- node-abi: ^3.3.0
- pump: ^3.0.0
- rc: ^1.2.7
- simple-get: ^4.0.0
- tar-fs: ^2.0.0
- tunnel-agent: ^0.6.0
- bin:
- prebuild-install: bin.js
- checksum: 6dc70f36b0f4adcb2fe0ed38d874ab28b571fb1a9725d769e8ba3f64a15831e58462de09f3e6e64569bcc4a3e03b9328b56faa0d45fe10ae1574478814536c76
- languageName: node
- linkType: hard
-
"preferred-pm@npm:^3.0.0":
version: 3.0.3
resolution: "preferred-pm@npm:3.0.3"
@@ -44319,13 +40478,6 @@ __metadata:
languageName: node
linkType: hard
-"prepend-http@npm:^2.0.0":
- version: 2.0.0
- resolution: "prepend-http@npm:2.0.0"
- checksum: b023721ffd967728e3a25e3a80dd73827e9444e586800ab90a21b3a8e67f362d28023085406ad53a36db1e4d98cb10e43eb37d45c6b733140a9165ead18a0987
- languageName: node
- linkType: hard
-
"prettier-linter-helpers@npm:^1.0.0":
version: 1.0.0
resolution: "prettier-linter-helpers@npm:1.0.0"
@@ -44430,7 +40582,7 @@ __metadata:
languageName: node
linkType: hard
-"pretty-error@npm:^2.1.1, pretty-error@npm:^2.1.2":
+"pretty-error@npm:^2.1.1":
version: 2.1.2
resolution: "pretty-error@npm:2.1.2"
dependencies:
@@ -44565,7 +40717,7 @@ __metadata:
languageName: node
linkType: hard
-"progress@npm:^2.0.0, progress@npm:^2.0.1, progress@npm:^2.0.3":
+"progress@npm:^2.0.0, progress@npm:^2.0.1":
version: 2.0.3
resolution: "progress@npm:2.0.3"
checksum: 1697e07cb1068055dbe9fe858d242368ff5d2073639e652b75a7eb1f2a1a8d4afd404d719de23c7b48481a6aa0040686310e2dac2f53d776daa2176d3f96369c
@@ -44662,7 +40814,7 @@ __metadata:
languageName: node
linkType: hard
-"prop-types@npm:^15.0.0, prop-types@npm:^15.5.0, prop-types@npm:^15.5.10, prop-types@npm:^15.5.8, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
+"prop-types@npm:^15.0.0, prop-types@npm:^15.5.0, prop-types@npm:^15.5.10, prop-types@npm:^15.5.8, prop-types@npm:^15.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
@@ -44673,17 +40825,6 @@ __metadata:
languageName: node
linkType: hard
-"proper-lockfile@npm:^4.1.2":
- version: 4.1.2
- resolution: "proper-lockfile@npm:4.1.2"
- dependencies:
- graceful-fs: ^4.2.4
- retry: ^0.12.0
- signal-exit: ^3.0.2
- checksum: 2f265dbad15897a43110a02dae55105c04d356ec4ed560723dcb9f0d34bc4fb2f13f79bb930e7561be10278e2314db5aca2527d5d3dcbbdee5e6b331d1571f6d
- languageName: node
- linkType: hard
-
"property-information@npm:^5.0.0, property-information@npm:^5.3.0":
version: 5.6.0
resolution: "property-information@npm:5.6.0"
@@ -44693,13 +40834,6 @@ __metadata:
languageName: node
linkType: hard
-"protocols@npm:^2.0.0, protocols@npm:^2.0.1":
- version: 2.0.1
- resolution: "protocols@npm:2.0.1"
- checksum: 016cc58a596e401004a028a2f7005e3444bf89ee8f606409c411719374d1e8bba0464fc142a065cce0d19f41669b2f7ffe25a8bde4f16ce3b6eb01fabc51f2e7
- languageName: node
- linkType: hard
-
"proxy-addr@npm:~2.0.5, proxy-addr@npm:~2.0.7":
version: 2.0.7
resolution: "proxy-addr@npm:2.0.7"
@@ -44724,18 +40858,7 @@ __metadata:
languageName: node
linkType: hard
-"ps-tree@npm:^1.2.0":
- version: 1.2.0
- resolution: "ps-tree@npm:1.2.0"
- dependencies:
- event-stream: =3.3.4
- bin:
- ps-tree: ./bin/ps-tree.js
- checksum: 9d1c159e0890db5aa05f84d125193c2190a6c4ecd457596fd25e7611f8f747292a846459dcc0244e27d45529d4cea6d1010c3a2a087fad02624d12fdb7d97c22
- languageName: node
- linkType: hard
-
-"pseudomap@npm:^1.0.1, pseudomap@npm:^1.0.2":
+"pseudomap@npm:^1.0.2":
version: 1.0.2
resolution: "pseudomap@npm:1.0.2"
checksum: 5a91ce114c64ed3a6a553aa7d2943868811377388bb31447f9d8028271bae9b05b340fe0b6961a64e45b9c72946aeb0a4ab635e8f7cb3715ffd0ff2beeb6a679
@@ -44822,15 +40945,6 @@ __metadata:
languageName: node
linkType: hard
-"pupa@npm:^2.1.1":
- version: 2.1.1
- resolution: "pupa@npm:2.1.1"
- dependencies:
- escape-goat: ^2.0.0
- checksum: d2346324780ebae4be847cad052b830e004d816851dd4750fc73faa6cd360f443e358f6b1c83641fd4c904c6055dcb545807f55259a20a52ad86d9477746c724
- languageName: node
- linkType: hard
-
"puppeteer-core@npm:^2.1.1":
version: 2.1.1
resolution: "puppeteer-core@npm:2.1.1"
@@ -44863,17 +40977,6 @@ __metadata:
languageName: node
linkType: hard
-"q@npm:2.0.x":
- version: 2.0.3
- resolution: "q@npm:2.0.3"
- dependencies:
- asap: ^2.0.0
- pop-iterate: ^1.0.1
- weak-map: ^1.0.5
- checksum: f1a1a4a803c970480ef1877c9e36e315dff238bc723772e8d38860e78885b774e6e5cf33ec2c8916e527ca21743147ed7f32dbf5cbbb3a38159a2096f090af4b
- languageName: node
- linkType: hard
-
"qs@npm:6.10.3":
version: 6.10.3
resolution: "qs@npm:6.10.3"
@@ -44924,18 +41027,6 @@ __metadata:
languageName: node
linkType: hard
-"query-string@npm:^6.14.1":
- version: 6.14.1
- resolution: "query-string@npm:6.14.1"
- dependencies:
- decode-uri-component: ^0.2.0
- filter-obj: ^1.1.0
- split-on-first: ^1.0.0
- strict-uri-encode: ^2.0.0
- checksum: 900e0fa788000e9dc5f929b6f4141742dcf281f02d3bab9714bc83bea65fab3de75169ea8d61f19cda996bc0dcec72e156efe3c5614c6bce65dcf234ac955b14
- languageName: node
- linkType: hard
-
"query-string@npm:^8.1.0":
version: 8.1.0
resolution: "query-string@npm:8.1.0"
@@ -45103,7 +41194,7 @@ __metadata:
languageName: node
linkType: hard
-"raw-body@npm:2.5.2, raw-body@npm:^2.3.0, raw-body@npm:^2.4.1":
+"raw-body@npm:2.5.2":
version: 2.5.2
resolution: "raw-body@npm:2.5.2"
dependencies:
@@ -45127,20 +41218,6 @@ __metadata:
languageName: node
linkType: hard
-"rc@npm:1.2.8, rc@npm:^1.2.7, rc@npm:^1.2.8":
- version: 1.2.8
- resolution: "rc@npm:1.2.8"
- dependencies:
- deep-extend: ^0.6.0
- ini: ~1.3.0
- minimist: ^1.2.0
- strip-json-comments: ~2.0.1
- bin:
- rc: ./cli.js
- checksum: 24a07653150f0d9ac7168e52943cc3cb4b7a22c0e43c7dff3219977c2fdca5a2760a304a029c20811a0e79d351f57d46c9bde216193a0f73978496afc2b85b15
- languageName: node
- linkType: hard
-
"react-addons-shallow-compare@npm:^15.6.3":
version: 15.6.3
resolution: "react-addons-shallow-compare@npm:15.6.3"
@@ -45849,20 +41926,6 @@ __metadata:
languageName: node
linkType: hard
-"react-server-dom-webpack@npm:0.0.0-experimental-c8b778b7f-20220825":
- version: 0.0.0-experimental-c8b778b7f-20220825
- resolution: "react-server-dom-webpack@npm:0.0.0-experimental-c8b778b7f-20220825"
- dependencies:
- acorn: ^6.2.1
- loose-envify: ^1.1.0
- neo-async: ^2.6.1
- peerDependencies:
- react: 0.0.0-experimental-c8b778b7f-20220825
- webpack: ^5.59.0
- checksum: 7b59cdaba01a13060fef682a06d562bfd0febe6452643098ef52d49032d95d2e5149fb504917cc286b573b8795fc8bcefbfe896f122ec5ed741d280d43774f8a
- languageName: node
- linkType: hard
-
"react-style-singleton@npm:^2.2.1":
version: 2.2.1
resolution: "react-style-singleton@npm:2.2.1"
@@ -46026,15 +42089,6 @@ __metadata:
languageName: node
linkType: hard
-"read@npm:^1.0.7":
- version: 1.0.7
- resolution: "read@npm:1.0.7"
- dependencies:
- mute-stream: ~0.0.4
- checksum: 443533f05d5bb11b36ef1c6d625aae4e2ced8967e93cf546f35aa77b4eb6bd157f4256619e446bae43467f8f6619c7bc5c76983348dffaf36afedf4224f46216
- languageName: node
- linkType: hard
-
"readable-stream@npm:1 || 2, readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.1, readable-stream@npm:^2.0.2, readable-stream@npm:^2.0.5, readable-stream@npm:^2.1.5, readable-stream@npm:^2.2.2, readable-stream@npm:^2.3.3, readable-stream@npm:^2.3.5, readable-stream@npm:^2.3.6, readable-stream@npm:~2.3.6":
version: 2.3.8
resolution: "readable-stream@npm:2.3.8"
@@ -46061,15 +42115,6 @@ __metadata:
languageName: node
linkType: hard
-"readable-web-to-node-stream@npm:^3.0.0":
- version: 3.0.2
- resolution: "readable-web-to-node-stream@npm:3.0.2"
- dependencies:
- readable-stream: ^3.6.0
- checksum: 533d5cd1580232a2c753e52a245be13fc552e6f82c5053a8a8da7ea1063d73a34f936a86b3d4433cdb4a13dd683835cfc87f230936cb96d329a1e28b6040f42e
- languageName: node
- linkType: hard
-
"readdirp@npm:^2.2.1":
version: 2.2.1
resolution: "readdirp@npm:2.2.1"
@@ -46176,7 +42221,7 @@ __metadata:
languageName: node
linkType: hard
-"redis-commands@npm:1.7.0, redis-commands@npm:^1.7.0":
+"redis-commands@npm:^1.7.0":
version: 1.7.0
resolution: "redis-commands@npm:1.7.0"
checksum: c78b46d8d6e811f422961878538c57048a451ab56760d3f1657a7c8f29aaae42cc23890f75655556a59ec67611022e18cb443d2976e6c55036934bfe783aa60e
@@ -46246,24 +42291,6 @@ __metadata:
languageName: node
linkType: hard
-"redux-thunk@npm:^2.4.0":
- version: 2.4.2
- resolution: "redux-thunk@npm:2.4.2"
- peerDependencies:
- redux: ^4
- checksum: e202d6ef7dfa7df08ed24cb221aa89d6c84dbaa7d65fe90dbd8e826d0c10d801f48388f9a7598a4fd970ecbc93d335014570a61ca7bc8bf569eab5de77b31a3c
- languageName: node
- linkType: hard
-
-"redux@npm:4.1.2":
- version: 4.1.2
- resolution: "redux@npm:4.1.2"
- dependencies:
- "@babel/runtime": ^7.9.2
- checksum: 3c6af9724bb39ead9d6a7e2bd422f898136d44e0ff3abe8ccafd6be8a6e219ae4f8bea0b154173e42da829979394944ec47a91eea961997eb95d31af60597ebe
- languageName: node
- linkType: hard
-
"redux@npm:^4.2.0":
version: 4.2.1
resolution: "redux@npm:4.2.1"
@@ -46391,24 +42418,6 @@ __metadata:
languageName: node
linkType: hard
-"registry-auth-token@npm:^4.0.0":
- version: 4.2.2
- resolution: "registry-auth-token@npm:4.2.2"
- dependencies:
- rc: 1.2.8
- checksum: 1d0000b8b65e7141a4cc4594926e2551607f48596e01326e7aa2ba2bc688aea86b2aa0471c5cb5de7acc9a59808a3a1ddde9084f974da79bfc67ab67aa48e003
- languageName: node
- linkType: hard
-
-"registry-url@npm:^5.0.0":
- version: 5.1.0
- resolution: "registry-url@npm:5.1.0"
- dependencies:
- rc: ^1.2.8
- checksum: c2c455342b5836cbed5162092eba075c7a02c087d9ce0fde8aeb4dc87a8f4a34a542e58bf4d8ec2d4cb73f04408cb3148ceb1f76647f76b978cfec22047dc6d6
- languageName: node
- linkType: hard
-
"regjsparser@npm:^0.9.1":
version: 0.9.1
resolution: "regjsparser@npm:0.9.1"
@@ -46427,17 +42436,6 @@ __metadata:
languageName: node
linkType: hard
-"relay-runtime@npm:12.0.0":
- version: 12.0.0
- resolution: "relay-runtime@npm:12.0.0"
- dependencies:
- "@babel/runtime": ^7.0.0
- fbjs: ^3.0.0
- invariant: ^2.2.4
- checksum: f5d29b5c2f3c8a3438d43dcbc3022bd454c4ecbd4f0b10616df08bedc62d8aaa84f155f23e374053cf9f4a8238b93804e37a5b37ed9dc7ad01436d62d1b01d53
- languageName: node
- linkType: hard
-
"remark-external-links@npm:^8.0.0":
version: 8.0.0
resolution: "remark-external-links@npm:8.0.0"
@@ -46731,13 +42729,6 @@ __metadata:
languageName: node
linkType: hard
-"require-package-name@npm:^2.0.1":
- version: 2.0.1
- resolution: "require-package-name@npm:2.0.1"
- checksum: 2da87caecdd2157489deaf8add246696dc9cbcebd89ef49b062ad1183594b979f96f8194d4b0f5447a92ad72d39b9fae2df38ec5b9ecef9c7c0157af38eeecbc
- languageName: node
- linkType: hard
-
"requireindex@npm:^1.1.0":
version: 1.2.0
resolution: "requireindex@npm:1.2.0"
@@ -46942,15 +42933,6 @@ __metadata:
languageName: node
linkType: hard
-"responselike@npm:^1.0.2":
- version: 1.0.2
- resolution: "responselike@npm:1.0.2"
- dependencies:
- lowercase-keys: ^1.0.0
- checksum: 1c2861d1950790da96159ca490eda645130eaf9ccc4d76db20f685ba944feaf30f45714b4318f550b8cd72990710ad68355ff15c41da43ed9a93c102c0ffa403
- languageName: node
- linkType: hard
-
"responselike@npm:^2.0.0":
version: 2.0.1
resolution: "responselike@npm:2.0.1"
@@ -47046,7 +43028,7 @@ __metadata:
languageName: node
linkType: hard
-"rimraf@npm:^2.5.4, rimraf@npm:^2.6.1, rimraf@npm:^2.6.2, rimraf@npm:^2.6.3":
+"rimraf@npm:^2.5.4, rimraf@npm:^2.6.1, rimraf@npm:^2.6.3":
version: 2.7.1
resolution: "rimraf@npm:2.7.1"
dependencies:
@@ -47433,13 +43415,6 @@ __metadata:
languageName: unknown
linkType: soft
-"rootpath@npm:^0.1.2":
- version: 0.1.2
- resolution: "rootpath@npm:0.1.2"
- checksum: 17e9572c9c9ff2718ef2e5d3a8a1dfd1eed71547a78b59d74941e79f456d5feab8b6d9fc264dab6efd5fad177e24e94a3203ea82ee0161a123dc2a2f443d7469
- languageName: node
- linkType: hard
-
"rrweb-cssom@npm:^0.6.0":
version: 0.6.0
resolution: "rrweb-cssom@npm:0.6.0"
@@ -47555,7 +43530,7 @@ __metadata:
languageName: node
linkType: hard
-"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0":
+"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:~5.2.0":
version: 5.2.1
resolution: "safe-buffer@npm:5.2.1"
checksum: 6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3
@@ -47769,13 +43744,6 @@ __metadata:
languageName: node
linkType: hard
-"scmp@npm:^2.1.0":
- version: 2.1.0
- resolution: "scmp@npm:2.1.0"
- checksum: 2128efa993cd2e3e10e3ab6d574cc9993ac7aa30430527e5da830ab509ba15eae49d8ca918d6aa934915bbd5b863778b04178227be005b49d801c0ca6063d2e4
- languageName: node
- linkType: hard
-
"scrypt-kdf@npm:^2.0.1":
version: 2.0.1
resolution: "scrypt-kdf@npm:2.0.1"
@@ -47806,15 +43774,6 @@ __metadata:
languageName: node
linkType: hard
-"semver-diff@npm:^3.1.1":
- version: 3.1.1
- resolution: "semver-diff@npm:3.1.1"
- dependencies:
- semver: ^6.3.0
- checksum: 7d350f1450b9577d538ef866a9bc4cd97bfbf1f1d92070291495a31d0ec3aa808e826c223e5454ea9877cc06eaa886ffd71bb3a1f331b44bc210f9ff525c68d2
- languageName: node
- linkType: hard
-
"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0, semver@npm:^5.7.0, semver@npm:^5.7.1":
version: 5.7.1
resolution: "semver@npm:5.7.1"
@@ -47824,7 +43783,7 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:6.x, semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.2.0, semver@npm:^6.3.0":
+"semver@npm:6.x, semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.3.0":
version: 6.3.0
resolution: "semver@npm:6.3.0"
bin:
@@ -47833,15 +43792,6 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:7.0.0, semver@npm:~7.0.0":
- version: 7.0.0
- resolution: "semver@npm:7.0.0"
- bin:
- semver: bin/semver.js
- checksum: 7fd341680a967a0abfd66f3a7d36ba44e52ff5d3e799e9a6cdb01a68160b64ef09be82b4af05459effeecdd836f002c2462555d2821cd890dfdfe36a0d9f56a5
- languageName: node
- linkType: hard
-
"semver@npm:7.3.4":
version: 7.3.4
resolution: "semver@npm:7.3.4"
@@ -47884,6 +43834,15 @@ __metadata:
languageName: node
linkType: hard
+"semver@npm:~7.0.0":
+ version: 7.0.0
+ resolution: "semver@npm:7.0.0"
+ bin:
+ semver: bin/semver.js
+ checksum: 7fd341680a967a0abfd66f3a7d36ba44e52ff5d3e799e9a6cdb01a68160b64ef09be82b4af05459effeecdd836f002c2462555d2821cd890dfdfe36a0d9f56a5
+ languageName: node
+ linkType: hard
+
"send@npm:0.17.1":
version: 0.17.1
resolution: "send@npm:0.17.1"
@@ -47926,17 +43885,6 @@ __metadata:
languageName: node
linkType: hard
-"sentence-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "sentence-case@npm:3.0.4"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- upper-case-first: ^2.0.2
- checksum: 9a90527a51300cf5faea7fae0c037728f9ddcff23ac083883774c74d180c0a03c31aab43d5c3347512e8c1b31a0d4712512ec82beb71aa79b85149f9abeb5467
- languageName: node
- linkType: hard
-
"serialize-javascript@npm:^4.0.0":
version: 4.0.0
resolution: "serialize-javascript@npm:4.0.0"
@@ -48105,13 +44053,6 @@ __metadata:
languageName: node
linkType: hard
-"shallow-compare@npm:^1.2.2":
- version: 1.2.2
- resolution: "shallow-compare@npm:1.2.2"
- checksum: 6e79e8351e388a16beb6ca796bcfbe7dc9d007b5d4e85cd63da7bc93a418523c2fed8905f61dda3d278be20ce2781f181337823db900e7bf1f1acd0ae0cfec92
- languageName: node
- linkType: hard
-
"shallowequal@npm:1.1.0, shallowequal@npm:^1.1.0":
version: 1.1.0
resolution: "shallowequal@npm:1.1.0"
@@ -48119,23 +44060,6 @@ __metadata:
languageName: node
linkType: hard
-"sharp@npm:^0.30.7":
- version: 0.30.7
- resolution: "sharp@npm:0.30.7"
- dependencies:
- color: ^4.2.3
- detect-libc: ^2.0.1
- node-addon-api: ^5.0.0
- node-gyp: latest
- prebuild-install: ^7.1.1
- semver: ^7.3.7
- simple-get: ^4.0.1
- tar-fs: ^2.1.1
- tunnel-agent: ^0.6.0
- checksum: dc38dceb1daba47523d237b7e05c629f1f2973468a116eb817a4b0456fca20f58bbe393060e79ba32071127434a90592d8946b89be483555e074f8f907b3891b
- languageName: node
- linkType: hard
-
"shebang-command@npm:^1.2.0":
version: 1.2.0
resolution: "shebang-command@npm:1.2.0"
@@ -48268,7 +44192,7 @@ __metadata:
languageName: node
linkType: hard
-"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.5, signal-exit@npm:^3.0.6, signal-exit@npm:^3.0.7":
+"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7":
version: 3.0.7
resolution: "signal-exit@npm:3.0.7"
checksum: 25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912
@@ -48282,31 +44206,6 @@ __metadata:
languageName: node
linkType: hard
-"signedsource@npm:^1.0.0":
- version: 1.0.0
- resolution: "signedsource@npm:1.0.0"
- checksum: dbb4ade9c94888e83c16d23ef1a43195799de091d366d130be286415e8aeb97b3f25b14fd26fc5888e1335d703ad561374fddee32e43b7cea04751b93d178a47
- languageName: node
- linkType: hard
-
-"simple-concat@npm:^1.0.0":
- version: 1.0.1
- resolution: "simple-concat@npm:1.0.1"
- checksum: 62f7508e674414008910b5397c1811941d457dfa0db4fd5aa7fa0409eb02c3609608dfcd7508cace75b3a0bf67a2a77990711e32cd213d2c76f4fd12ee86d776
- languageName: node
- linkType: hard
-
-"simple-get@npm:^4.0.0, simple-get@npm:^4.0.1":
- version: 4.0.1
- resolution: "simple-get@npm:4.0.1"
- dependencies:
- decompress-response: ^6.0.0
- once: ^1.3.1
- simple-concat: ^1.0.0
- checksum: b0649a581dbca741babb960423248899203165769747142033479a7dc5e77d7b0fced0253c731cd57cf21e31e4d77c9157c3069f4448d558ebc96cf9e1eebcf0
- languageName: node
- linkType: hard
-
"simple-oauth2@npm:^5.0.0":
version: 5.0.0
resolution: "simple-oauth2@npm:5.0.0"
@@ -48447,7 +44346,7 @@ __metadata:
languageName: node
linkType: hard
-"slugify@npm:^1.6.1, slugify@npm:^1.6.6":
+"slugify@npm:^1.6.6":
version: 1.6.6
resolution: "slugify@npm:1.6.6"
checksum: e7e63f08f389a371d6228bc19d64ec84360bf0a538333446cc49dbbf3971751a6d180d2f31551188dd007a65ca771e69f574e0283290a7825a818e90b75ef44d
@@ -48530,49 +44429,6 @@ __metadata:
languageName: node
linkType: hard
-"socket.io-adapter@npm:~2.4.0":
- version: 2.4.0
- resolution: "socket.io-adapter@npm:2.4.0"
- checksum: e7f9cc38f6c9653d6d1efd88a1e64100fe9597b6430d03fa9a6c77902dfd1e5eda6f76a2af50d29e755486587cd1a4f60a2863c942fce8c4e3cedae9d794b3dd
- languageName: node
- linkType: hard
-
-"socket.io-client@npm:4.5.4":
- version: 4.5.4
- resolution: "socket.io-client@npm:4.5.4"
- dependencies:
- "@socket.io/component-emitter": ~3.1.0
- debug: ~4.3.2
- engine.io-client: ~6.2.3
- socket.io-parser: ~4.2.1
- checksum: 3ac19b94da6ee75c830c2c07c844bacc0b07c905625f8c8bba0403ebef185ecfc1af4fa1c1ee3bf0ae78e3428eb593301e0bd40850f938a336254a425a461971
- languageName: node
- linkType: hard
-
-"socket.io-parser@npm:~4.2.1":
- version: 4.2.4
- resolution: "socket.io-parser@npm:4.2.4"
- dependencies:
- "@socket.io/component-emitter": ~3.1.0
- debug: ~4.3.1
- checksum: 9383b30358fde4a801ea4ec5e6860915c0389a091321f1c1f41506618b5cf7cd685d0a31c587467a0c4ee99ef98c2b99fb87911f9dfb329716c43b587f29ca48
- languageName: node
- linkType: hard
-
-"socket.io@npm:4.5.4":
- version: 4.5.4
- resolution: "socket.io@npm:4.5.4"
- dependencies:
- accepts: ~1.3.4
- base64id: ~2.0.0
- debug: ~4.3.2
- engine.io: ~6.2.1
- socket.io-adapter: ~2.4.0
- socket.io-parser: ~4.2.1
- checksum: 881ca89d81c1ccf2d452534a52e82be2b4846133293aa35724f9801283b8b9a6a35e8ad32d60f5c16a5d0a1b66581b5003509a4208fcb2ff79eacd7689675a4f
- languageName: node
- linkType: hard
-
"sockjs@npm:^0.3.24":
version: 0.3.24
resolution: "sockjs@npm:0.3.24"
@@ -48852,13 +44708,6 @@ __metadata:
languageName: node
linkType: hard
-"split-on-first@npm:^1.0.0":
- version: 1.1.0
- resolution: "split-on-first@npm:1.1.0"
- checksum: 56df8344f5a5de8521898a5c090023df1d8b8c75be6228f56c52491e0fc1617a5236f2ac3a066adb67a73231eac216ccea7b5b4a2423a543c277cb2f48d24c29
- languageName: node
- linkType: hard
-
"split-on-first@npm:^3.0.0":
version: 3.0.0
resolution: "split-on-first@npm:3.0.0"
@@ -48882,24 +44731,6 @@ __metadata:
languageName: node
linkType: hard
-"split@npm:0.3":
- version: 0.3.3
- resolution: "split@npm:0.3.3"
- dependencies:
- through: 2
- checksum: 88c09b1b4de84953bf5d6c153123a1fbb20addfea9381f70d27b4eb6b2bfbadf25d313f8f5d3fd727d5679b97bfe54da04766b91010f131635bf49e51d5db3fc
- languageName: node
- linkType: hard
-
-"sponge-case@npm:^1.0.1":
- version: 1.0.1
- resolution: "sponge-case@npm:1.0.1"
- dependencies:
- tslib: ^2.0.3
- checksum: dbe42f300ae9f7fbd83c40f71c2a61ecf9c86b927b5668bae067d1e516e314671cc85166f87017e51b56938409b1fc042719eb46a6d5bb30cc1cf23252a82761
- languageName: node
- linkType: hard
-
"sprintf-js@npm:^1.1.1":
version: 1.1.2
resolution: "sprintf-js@npm:1.1.2"
@@ -48969,25 +44800,6 @@ __metadata:
languageName: node
linkType: hard
-"st@npm:^2.0.0":
- version: 2.0.0
- resolution: "st@npm:2.0.0"
- dependencies:
- async-cache: ^1.1.0
- bl: ^4.0.0
- fd: ~0.0.2
- graceful-fs: ^4.2.3
- mime: ^2.4.4
- negotiator: ~0.6.2
- dependenciesMeta:
- graceful-fs:
- optional: true
- bin:
- st: bin/server.js
- checksum: 39c049329027c5ce52b553574a03d5c5f59df584196804c0f6f4f50e42d6e857a1bc36e48f0572222da7817dfcf64b08095540adc0e6f252dac9a835d8bd938e
- languageName: node
- linkType: hard
-
"stable@npm:^0.1.8":
version: 0.1.8
resolution: "stable@npm:0.1.8"
@@ -49157,15 +44969,6 @@ __metadata:
languageName: node
linkType: hard
-"stream-combiner@npm:~0.0.4":
- version: 0.0.4
- resolution: "stream-combiner@npm:0.0.4"
- dependencies:
- duplexer: ~0.1.1
- checksum: 8075a94c0eb0f20450a8236cb99d4ce3ea6e6a4b36d8baa7440b1a08cde6ffd227debadffaecd80993bd334282875d0e927ab5b88484625e01970dd251004ff5
- languageName: node
- linkType: hard
-
"stream-each@npm:^1.1.0":
version: 1.2.3
resolution: "stream-each@npm:1.2.3"
@@ -49231,13 +45034,6 @@ __metadata:
languageName: node
linkType: hard
-"strict-uri-encode@npm:^2.0.0":
- version: 2.0.0
- resolution: "strict-uri-encode@npm:2.0.0"
- checksum: 010cbc78da0e2cf833b0f5dc769e21ae74cdc5d5f5bd555f14a4a4876c8ad2c85ab8b5bdf9a722dc71a11dcd3184085e1c3c0bd50ec6bb85fffc0f28cf82597d
- languageName: node
- linkType: hard
-
"string-argv@npm:0.3.1":
version: 0.3.1
resolution: "string-argv@npm:0.3.1"
@@ -49245,13 +45041,6 @@ __metadata:
languageName: node
linkType: hard
-"string-argv@npm:^0.1.1":
- version: 0.1.2
- resolution: "string-argv@npm:0.1.2"
- checksum: 7674d8d6c09cc89fdcf6d814227934138c114b75c3349d01fd21748dacb1ca8456982e6872475f4523b90848d2988b044494167e51284fe11c234b13c4c83989
- languageName: node
- linkType: hard
-
"string-argv@npm:~0.3.1":
version: 0.3.2
resolution: "string-argv@npm:0.3.2"
@@ -49286,26 +45075,6 @@ __metadata:
languageName: node
linkType: hard
-"string-natural-compare@npm:^3.0.1":
- version: 3.0.1
- resolution: "string-natural-compare@npm:3.0.1"
- checksum: 85a6a9195736be500af5d817c7ea36b7e1ac278af079a807f70f79a56602359ee6743ca409af6291b94557de550ff60d1ec31b3c4fc8e7a08d0e12cdab57c149
- languageName: node
- linkType: hard
-
-"string-similarity@npm:^1.2.2":
- version: 1.2.2
- resolution: "string-similarity@npm:1.2.2"
- dependencies:
- lodash.every: ^4.6.0
- lodash.flattendeep: ^4.4.0
- lodash.foreach: ^4.5.0
- lodash.map: ^4.6.0
- lodash.maxby: ^4.6.0
- checksum: 3dbba29da28f555ed0856b30b2e3055f4811784182a68f971d91036dd761fa1d1df7b1c843ca600bae8538f453a83c10c7dde56deaf23d030457cae1000f0d69
- languageName: node
- linkType: hard
-
"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3":
version: 4.2.3
resolution: "string-width@npm:4.2.3"
@@ -49555,13 +45324,6 @@ __metadata:
languageName: node
linkType: hard
-"strip-json-comments@npm:~2.0.1":
- version: 2.0.1
- resolution: "strip-json-comments@npm:2.0.1"
- checksum: b509231cbdee45064ff4f9fd73609e2bcc4e84a4d508e9dd0f31f70356473fde18abfb5838c17d56fb236f5a06b102ef115438de0600b749e818a35fbbc48c43
- languageName: node
- linkType: hard
-
"strip-literal@npm:^1.0.1":
version: 1.3.0
resolution: "strip-literal@npm:1.3.0"
@@ -49618,16 +45380,6 @@ __metadata:
languageName: node
linkType: hard
-"strtok3@npm:^6.2.4":
- version: 6.3.0
- resolution: "strtok3@npm:6.3.0"
- dependencies:
- "@tokenizer/token": ^0.3.0
- peek-readable: ^4.1.0
- checksum: 8f1483a2a6758404502f2fc431586fcf37d747b10b125596ab5ec92319c247dd1195f82ba0bc2eaa582db3d807b5cca4b67ff61411756fec6622d051f8e255c2
- languageName: node
- linkType: hard
-
"style-inject@npm:^0.3.0":
version: 0.3.0
resolution: "style-inject@npm:0.3.0"
@@ -49647,18 +45399,6 @@ __metadata:
languageName: node
linkType: hard
-"style-loader@npm:^2.0.0":
- version: 2.0.0
- resolution: "style-loader@npm:2.0.0"
- dependencies:
- loader-utils: ^2.0.0
- schema-utils: ^3.0.0
- peerDependencies:
- webpack: ^4.0.0 || ^5.0.0
- checksum: 6febd1809b4f67a722e4e366fa3b3f8e1083425f7214b7a8962cf53aa7cc9c522623fb55a5e64049e46d637bbbda3b29ebbe14ec9f7652b27345450fcef6ea80
- languageName: node
- linkType: hard
-
"style-loader@npm:^3.3.2, style-loader@npm:^3.3.3":
version: 3.3.3
resolution: "style-loader@npm:3.3.3"
@@ -49759,13 +45499,6 @@ __metadata:
languageName: node
linkType: hard
-"sudo-prompt@npm:^8.2.0":
- version: 8.2.5
- resolution: "sudo-prompt@npm:8.2.5"
- checksum: c17bcc852112c11addcdfb8630fad1a236823887959f133ba47de9fcec22c03aafc49bbb35184ab7f13a78e625fb8324b86d5aa21b73b15d601aee71fb9b976e
- languageName: node
- linkType: hard
-
"superagent@npm:^3.8.3":
version: 3.8.3
resolution: "superagent@npm:3.8.3"
@@ -49923,15 +45656,6 @@ __metadata:
languageName: node
linkType: hard
-"swap-case@npm:^2.0.2":
- version: 2.0.2
- resolution: "swap-case@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: 6a47c1926e06395ead750905e103be388aeec8c9697f20b14bc3e1e86fcb4fc78e5033197afe6cc8bbed80f0a4ee1f184b0fa22eec7f4a767bdfd278683d52eb
- languageName: node
- linkType: hard
-
"swc-loader@npm:^0.2.3":
version: 0.2.3
resolution: "swc-loader@npm:0.2.3"
@@ -50184,7 +45908,7 @@ __metadata:
languageName: node
linkType: hard
-"tar-fs@npm:^2.0.0, tar-fs@npm:^2.1.1":
+"tar-fs@npm:^2.1.1":
version: 2.1.1
resolution: "tar-fs@npm:2.1.1"
dependencies:
@@ -50209,21 +45933,6 @@ __metadata:
languageName: node
linkType: hard
-"tar@npm:^4.0.2":
- version: 4.4.19
- resolution: "tar@npm:4.4.19"
- dependencies:
- chownr: ^1.1.4
- fs-minipass: ^1.2.7
- minipass: ^2.9.0
- minizlib: ^1.3.3
- mkdirp: ^0.5.5
- safe-buffer: ^5.2.1
- yallist: ^3.1.1
- checksum: 1a32a68feabd55e040f399f75fed37c35fd76202bb60e393986312cdee0175ff0dfd1aec9cc04ad2ade8a252d2a08c7d191fda877ce23f14a3da954d91d301d7
- languageName: node
- linkType: hard
-
"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.2":
version: 6.1.15
resolution: "tar@npm:6.1.15"
@@ -50377,7 +46086,7 @@ __metadata:
languageName: node
linkType: hard
-"terser-webpack-plugin@npm:^5.2.4, terser-webpack-plugin@npm:^5.3.7":
+"terser-webpack-plugin@npm:^5.3.7":
version: 5.3.9
resolution: "terser-webpack-plugin@npm:5.3.9"
dependencies:
@@ -50412,7 +46121,7 @@ __metadata:
languageName: node
linkType: hard
-"terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.16.8, terser@npm:^5.2.0, terser@npm:^5.3.4, terser@npm:^5.7.0":
+"terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.16.8, terser@npm:^5.3.4, terser@npm:^5.7.0":
version: 5.18.2
resolution: "terser@npm:5.18.2"
dependencies:
@@ -50503,7 +46212,7 @@ __metadata:
languageName: node
linkType: hard
-"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1":
+"through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8":
version: 2.3.8
resolution: "through@npm:2.3.8"
checksum: 4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc
@@ -50533,16 +46242,6 @@ __metadata:
languageName: node
linkType: hard
-"timers-ext@npm:^0.1.7":
- version: 0.1.7
- resolution: "timers-ext@npm:0.1.7"
- dependencies:
- es5-ext: ~0.10.46
- next-tick: 1
- checksum: fc43c6a01f52875e57d301ae9ec47b3021c6d9b96de5bc6e4e5fc4a3d2b25ebaab69faf6fe85520efbef0ad784537748f88f7efd7b6b2bf0a177c8bc7a66ca7c
- languageName: node
- linkType: hard
-
"tiny-glob@npm:^0.2.8":
version: 0.2.9
resolution: "tiny-glob@npm:0.2.9"
@@ -50588,15 +46287,6 @@ __metadata:
languageName: node
linkType: hard
-"title-case@npm:^3.0.3":
- version: 3.0.3
- resolution: "title-case@npm:3.0.3"
- dependencies:
- tslib: ^2.0.3
- checksum: face56f686060f777b43a180d371407124d201eb4238c19d9e97030fd54859696ca4e2ca499cc232f8700f24f2414cc08aab9fdf6d39acff055dd825a4d86d6a
- languageName: node
- linkType: hard
-
"titleize@npm:^3.0.0":
version: 3.0.0
resolution: "titleize@npm:3.0.0"
@@ -50613,15 +46303,6 @@ __metadata:
languageName: node
linkType: hard
-"tmp@npm:^0.2.1":
- version: 0.2.1
- resolution: "tmp@npm:0.2.1"
- dependencies:
- rimraf: ^3.0.0
- checksum: 67607aa012059c9ce697bee820ee51bc0f39b29a8766def4f92d3f764d67c7cf9205d537d24e0cb1ce9685c40d4c628ead010910118ea18348666b5c46ed9123
- languageName: node
- linkType: hard
-
"tmpl@npm:1.0.5":
version: 1.0.5
resolution: "tmpl@npm:1.0.5"
@@ -50662,13 +46343,6 @@ __metadata:
languageName: node
linkType: hard
-"to-readable-stream@npm:^1.0.0":
- version: 1.0.0
- resolution: "to-readable-stream@npm:1.0.0"
- checksum: 79cb836e2fb4f2885745a8c212eab7ebc52e93758ff0737feceaed96df98e4d04b8903fe8c27f2e9f3f856a5068ac332918b235c5d801b3efe02a51a3fa0eb36
- languageName: node
- linkType: hard
-
"to-regex-range@npm:^2.1.0":
version: 2.1.1
resolution: "to-regex-range@npm:2.1.1"
@@ -50737,16 +46411,6 @@ __metadata:
languageName: node
linkType: hard
-"token-types@npm:^4.1.1":
- version: 4.2.1
- resolution: "token-types@npm:4.2.1"
- dependencies:
- "@tokenizer/token": ^0.3.0
- ieee754: ^1.2.1
- checksum: e9a4a139deba9515770cd7ac36a8f53f953b9d035d309e88a66d706760dba0df420753f2b8bdee6b9f3cbff8d66b24e69571e8dea27baa7b378229ab1bcca399
- languageName: node
- linkType: hard
-
"totalist@npm:^1.0.0":
version: 1.1.0
resolution: "totalist@npm:1.1.0"
@@ -50902,13 +46566,6 @@ __metadata:
languageName: node
linkType: hard
-"true-case-path@npm:^2.2.1":
- version: 2.2.1
- resolution: "true-case-path@npm:2.2.1"
- checksum: acd62cc8285d605c93fd6478a102ee1b3c69974437cc98f1f494095806e13a9092525541b05d2c426b5f3897be11b8a3c8cd04b5f9ef9b7ef794413aa10b3641
- languageName: node
- linkType: hard
-
"ts-api-utils@npm:^1.0.1":
version: 1.0.3
resolution: "ts-api-utils@npm:1.0.3"
@@ -51135,23 +46792,6 @@ __metadata:
languageName: node
linkType: hard
-"tsc-watch@npm:^4.5.0":
- version: 4.6.2
- resolution: "tsc-watch@npm:4.6.2"
- dependencies:
- cross-spawn: ^7.0.3
- node-cleanup: ^2.1.2
- ps-tree: ^1.2.0
- string-argv: ^0.1.1
- strip-ansi: ^6.0.0
- peerDependencies:
- typescript: "*"
- bin:
- tsc-watch: index.js
- checksum: 969a24b2dee27a4a7bd12fa17f94c3d152f73cf3ec08664b2341eb498445d70f16b92053f735d4dea33f533935ac5853f58ac23f74ef4937bbd3342d142fb927
- languageName: node
- linkType: hard
-
"tsconfig-paths@npm:4.2.0":
version: 4.2.0
resolution: "tsconfig-paths@npm:4.2.0"
@@ -51163,18 +46803,6 @@ __metadata:
languageName: node
linkType: hard
-"tsconfig-paths@npm:^3.14.1":
- version: 3.14.2
- resolution: "tsconfig-paths@npm:3.14.2"
- dependencies:
- "@types/json5": ^0.0.29
- json5: ^1.0.2
- minimist: ^1.2.6
- strip-bom: ^3.0.0
- checksum: fdc92bb7b18b31c0e76f8ec4f98d07236b09590fd6578e587ad024792c8b2235d65125a8fd007fa47a84400f84ceccbf33f24e5198d953249e7204f4cef3517c
- languageName: node
- linkType: hard
-
"tslib@npm:2.0.1":
version: 2.0.1
resolution: "tslib@npm:2.0.1"
@@ -51196,7 +46824,7 @@ __metadata:
languageName: node
linkType: hard
-"tslib@npm:^1, tslib@npm:^1.10.0, tslib@npm:^1.11.1, tslib@npm:^1.13.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0":
+"tslib@npm:^1, tslib@npm:^1.11.1, tslib@npm:^1.13.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0":
version: 1.14.1
resolution: "tslib@npm:1.14.1"
checksum: 69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2
@@ -51217,13 +46845,6 @@ __metadata:
languageName: node
linkType: hard
-"tslib@npm:~2.4.0":
- version: 2.4.1
- resolution: "tslib@npm:2.4.1"
- checksum: 9ac0e4fd1033861f0b4f0d848dc3009ebcc3aa4757a06e8602a2d8a7aed252810e3540e54e70709f06c0f95311faa8584f769bcbede48aff785eb7e4d399b9ec
- languageName: node
- linkType: hard
-
"tsscmp@npm:1.0.6":
version: 1.0.6
resolution: "tsscmp@npm:1.0.6"
@@ -51500,25 +47121,6 @@ __metadata:
languageName: node
linkType: hard
-"twilio@npm:^3.49.1":
- version: 3.84.1
- resolution: "twilio@npm:3.84.1"
- dependencies:
- axios: ^0.26.1
- dayjs: ^1.8.29
- https-proxy-agent: ^5.0.0
- jsonwebtoken: ^8.5.1
- lodash: ^4.17.21
- q: 2.0.x
- qs: ^6.9.4
- rootpath: ^0.1.2
- scmp: ^2.1.0
- url-parse: ^1.5.9
- xmlbuilder: ^13.0.2
- checksum: bee5761c27237b7a4553871f2fb64d326c7b1731f3fa81cebca64961d7fd263cfe6bc49a265063bacbdf6cc985ec3a77d061844d5339f51b76ba0058e1d2c7f5
- languageName: node
- linkType: hard
-
"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
version: 0.4.0
resolution: "type-check@npm:0.4.0"
@@ -51586,7 +47188,7 @@ __metadata:
languageName: node
linkType: hard
-"type-fest@npm:^0.8.0, type-fest@npm:^0.8.1":
+"type-fest@npm:^0.8.1":
version: 0.8.1
resolution: "type-fest@npm:0.8.1"
checksum: dffbb99329da2aa840f506d376c863bd55f5636f4741ad6e65e82f5ce47e6914108f44f340a0b74009b0cb5d09d6752ae83203e53e98b1192cf80ecee5651636
@@ -51631,27 +47233,6 @@ __metadata:
languageName: node
linkType: hard
-"type-of@npm:^2.0.1":
- version: 2.0.1
- resolution: "type-of@npm:2.0.1"
- checksum: df46982bab99bd06b33e436a715f9d802811cfe45f595e0c208c4e491d4cb5f43239ba8b3dba68da042f7e480d1acb619ebd8b750aa08682f395283aec00ffb5
- languageName: node
- linkType: hard
-
-"type@npm:^1.0.1":
- version: 1.2.0
- resolution: "type@npm:1.2.0"
- checksum: 444660849aaebef8cbb9bc43b28ec2068952064cfce6a646f88db97aaa2e2d6570c5629cd79238b71ba23aa3f75146a0b96e24e198210ee0089715a6f8889bf7
- languageName: node
- linkType: hard
-
-"type@npm:^2.7.2":
- version: 2.7.2
- resolution: "type@npm:2.7.2"
- checksum: 84c2382788fe24e0bc3d64c0c181820048f672b0f06316aa9c7bdb373f8a09f8b5404f4e856bc4539fb931f2f08f2adc4c53f6c08c9c0314505d70c29a1289e1
- languageName: node
- linkType: hard
-
"typed-array-length@npm:^1.0.4":
version: 1.0.4
resolution: "typed-array-length@npm:1.0.4"
@@ -51759,7 +47340,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@npm:4.9.5, typescript@npm:^4.1.3, typescript@npm:^4.4.4, typescript@npm:^4.5.2, typescript@npm:^4.9.3, typescript@npm:^4.9.5":
+"typescript@npm:4.9.5, typescript@npm:^4.1.3, typescript@npm:^4.4.4, typescript@npm:^4.9.3, typescript@npm:^4.9.5":
version: 4.9.5
resolution: "typescript@npm:4.9.5"
bin:
@@ -51799,7 +47380,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@patch:typescript@4.9.5#~builtin, typescript@patch:typescript@^4.1.3#~builtin, typescript@patch:typescript@^4.4.4#~builtin, typescript@patch:typescript@^4.5.2#~builtin, typescript@patch:typescript@^4.9.3#~builtin, typescript@patch:typescript@^4.9.5#~builtin":
+"typescript@patch:typescript@4.9.5#~builtin, typescript@patch:typescript@^4.1.3#~builtin, typescript@patch:typescript@^4.4.4#~builtin, typescript@patch:typescript@^4.9.3#~builtin, typescript@patch:typescript@^4.9.5#~builtin":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin::version=4.9.5&hash=7ad353"
bin:
@@ -52199,15 +47780,6 @@ __metadata:
languageName: node
linkType: hard
-"unixify@npm:^1.0.0":
- version: 1.0.0
- resolution: "unixify@npm:1.0.0"
- dependencies:
- normalize-path: ^2.1.1
- checksum: 8b89100619ebde9f0ab4024a4d402316fb7b1d4853723410fc828944e8d3d01480f210cddf94d9a1699559f8180d861eb6323da8011b7bcc1bbaf6a11a5b1f1e
- languageName: node
- linkType: hard
-
"unpipe@npm:1.0.0, unpipe@npm:~1.0.0":
version: 1.0.0
resolution: "unpipe@npm:1.0.0"
@@ -52288,46 +47860,6 @@ __metadata:
languageName: node
linkType: hard
-"update-notifier@npm:^5.1.0":
- version: 5.1.0
- resolution: "update-notifier@npm:5.1.0"
- dependencies:
- boxen: ^5.0.0
- chalk: ^4.1.0
- configstore: ^5.0.1
- has-yarn: ^2.1.0
- import-lazy: ^2.1.0
- is-ci: ^2.0.0
- is-installed-globally: ^0.4.0
- is-npm: ^5.0.0
- is-yarn-global: ^0.3.0
- latest-version: ^5.1.0
- pupa: ^2.1.1
- semver: ^7.3.4
- semver-diff: ^3.1.1
- xdg-basedir: ^4.0.0
- checksum: 0dde6db5ac1e5244e1f8bf5b26895a0d53c00797ea2bdbc1302623dd1aecab5cfb88b4f324d482cbd4c8b089464383d8c83db64dec5798ec0136820e22478e47
- languageName: node
- linkType: hard
-
-"upper-case-first@npm:^2.0.2":
- version: 2.0.2
- resolution: "upper-case-first@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: ccad6a0b143310ebfba2b5841f30bef71246297385f1329c022c902b2b5fc5aee009faf1ac9da5ab3ba7f615b88f5dc1cd80461b18a8f38cb1d4c3eb92538ea9
- languageName: node
- linkType: hard
-
-"upper-case@npm:^2.0.2":
- version: 2.0.2
- resolution: "upper-case@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: 5ac176c9d3757abb71400df167f9abb46d63152d5797c630d1a9f083fbabd89711fb4b3dc6de06ff0138fe8946fa5b8518b4fcdae9ca8a3e341417075beae069
- languageName: node
- linkType: hard
-
"uri-js@npm:^4.2.2":
version: 4.4.1
resolution: "uri-js@npm:4.4.1"
@@ -52361,16 +47893,7 @@ __metadata:
languageName: node
linkType: hard
-"url-parse-lax@npm:^3.0.0":
- version: 3.0.0
- resolution: "url-parse-lax@npm:3.0.0"
- dependencies:
- prepend-http: ^2.0.0
- checksum: 16f918634d41a4fab9e03c5f9702968c9930f7c29aa1a8c19a6dc01f97d02d9b700ab9f47f8da0b9ace6e0c0e99c27848994de1465b494bced6940c653481e55
- languageName: node
- linkType: hard
-
-"url-parse@npm:^1.5.3, url-parse@npm:^1.5.9":
+"url-parse@npm:^1.5.3":
version: 1.5.10
resolution: "url-parse@npm:1.5.10"
dependencies:
@@ -52380,13 +47903,6 @@ __metadata:
languageName: node
linkType: hard
-"url-search-params-polyfill@npm:^8.1.0":
- version: 8.2.3
- resolution: "url-search-params-polyfill@npm:8.2.3"
- checksum: 2642bedc48503c00dadcad679458978863fc089b751bb5cef8cc839c6c56d72e4f82e1a199749bfbffb273616095afb6fdf74baba2ab45524f0652cc3cf921ca
- languageName: node
- linkType: hard
-
"url-template@npm:^2.0.8":
version: 2.0.8
resolution: "url-template@npm:2.0.8"
@@ -52563,13 +48079,6 @@ __metadata:
languageName: node
linkType: hard
-"utility-types@npm:^3.10.0":
- version: 3.10.0
- resolution: "utility-types@npm:3.10.0"
- checksum: 79a6f7ea0cdd4fcafcec8c6e68e1e0cfa657e414b6f1696552d89ae70a3634b12ac6c16b7a0a3bfdb0a222ebc3d9a7649f2de434a78f2d65d318b50f314a85e4
- languageName: node
- linkType: hard
-
"utils-merge@npm:1.0.1, utils-merge@npm:^1.0.1":
version: 1.0.1
resolution: "utils-merge@npm:1.0.1"
@@ -52602,7 +48111,7 @@ __metadata:
languageName: node
linkType: hard
-"uuid@npm:^8.3.0, uuid@npm:^8.3.1, uuid@npm:^8.3.2":
+"uuid@npm:^8.3.0, uuid@npm:^8.3.2":
version: 8.3.2
resolution: "uuid@npm:8.3.2"
bin:
@@ -52707,13 +48216,6 @@ __metadata:
languageName: node
linkType: hard
-"valid-url@npm:^1.0.9":
- version: 1.0.9
- resolution: "valid-url@npm:1.0.9"
- checksum: 3995e65f9942dbcb1621754c0f9790335cec61e9e9310c0a809e9ae0e2ae91bb7fc6a471fba788e979db0418d9806639f681ecebacc869bc8c3de88efa562ee6
- languageName: node
- linkType: hard
-
"validate-npm-package-license@npm:^3.0.1":
version: 3.0.4
resolution: "validate-npm-package-license@npm:3.0.4"
@@ -53249,20 +48751,6 @@ __metadata:
languageName: node
linkType: hard
-"weak-lru-cache@npm:^1.2.2":
- version: 1.2.2
- resolution: "weak-lru-cache@npm:1.2.2"
- checksum: 744847bd5b96ca86db1cb40d0aea7e92c02bbdb05f501181bf9c581e82fa2afbda32a327ffbe75749302b8492ab449f1c657ca02410d725f5d412d1e6c607d72
- languageName: node
- linkType: hard
-
-"weak-map@npm:^1.0.5":
- version: 1.0.8
- resolution: "weak-map@npm:1.0.8"
- checksum: 56c3c044f41a3f096db55d5dec86bb57e042fa21081491be5fa406608669089c09153de66c14cc8b93c4979fe977c92316e83cba25c2f0305c870065deff042f
- languageName: node
- linkType: hard
-
"web-namespaces@npm:^1.0.0":
version: 1.1.4
resolution: "web-namespaces@npm:1.1.4"
@@ -53379,22 +48867,6 @@ __metadata:
languageName: node
linkType: hard
-"webpack-dev-middleware@npm:^4.3.0":
- version: 4.3.0
- resolution: "webpack-dev-middleware@npm:4.3.0"
- dependencies:
- colorette: ^1.2.2
- mem: ^8.1.1
- memfs: ^3.2.2
- mime-types: ^2.1.30
- range-parser: ^1.2.1
- schema-utils: ^3.0.0
- peerDependencies:
- webpack: ^4.0.0 || ^5.0.0
- checksum: e60685e6958d8bb12762cf393e27b06ee94c453fa0fb7ea90892458ceb05e20ede2ded678019b56c5c80ee646ec7f09ab647a19ab6a2ff8e51b6bb758bacd1d9
- languageName: node
- linkType: hard
-
"webpack-dev-middleware@npm:^5.3.1":
version: 5.3.3
resolution: "webpack-dev-middleware@npm:5.3.3"
@@ -53487,7 +48959,7 @@ __metadata:
languageName: node
linkType: hard
-"webpack-merge@npm:^5.7.3, webpack-merge@npm:^5.8.0":
+"webpack-merge@npm:^5.7.3":
version: 5.9.0
resolution: "webpack-merge@npm:5.9.0"
dependencies:
@@ -53497,7 +48969,7 @@ __metadata:
languageName: node
linkType: hard
-"webpack-sources@npm:^1.1.0, webpack-sources@npm:^1.4.0, webpack-sources@npm:^1.4.1, webpack-sources@npm:^1.4.3":
+"webpack-sources@npm:^1.4.0, webpack-sources@npm:^1.4.1, webpack-sources@npm:^1.4.3":
version: 1.4.3
resolution: "webpack-sources@npm:1.4.3"
dependencies:
@@ -53514,13 +48986,6 @@ __metadata:
languageName: node
linkType: hard
-"webpack-stats-plugin@npm:^1.0.3":
- version: 1.1.3
- resolution: "webpack-stats-plugin@npm:1.1.3"
- checksum: 51a5a94abfd675f5a0c210d8f473ccf7347b7e1412b39d202528cb2ea4198fe95101fe0f395407d0baa3dddc3eb533e417616e3dad597d553bc85bca1b7ff9ac
- languageName: node
- linkType: hard
-
"webpack-virtual-modules@npm:^0.2.2":
version: 0.2.2
resolution: "webpack-virtual-modules@npm:0.2.2"
@@ -53530,15 +48995,6 @@ __metadata:
languageName: node
linkType: hard
-"webpack-virtual-modules@npm:^0.3.2":
- version: 0.3.2
- resolution: "webpack-virtual-modules@npm:0.3.2"
- dependencies:
- debug: ^3.0.0
- checksum: 6d44ea6cb8d7ab0bfc48131f7448ac2d64cbedd150d3e19ec743f3c582c632ea3ab4c9751528af41ee049ad34384a784087992a1b09ec9858bc0da388db5c6be
- languageName: node
- linkType: hard
-
"webpack-virtual-modules@npm:^0.5.0":
version: 0.5.0
resolution: "webpack-virtual-modules@npm:0.5.0"
@@ -53584,7 +49040,7 @@ __metadata:
languageName: node
linkType: hard
-"webpack@npm:>=4.43.0 <6.0.0, webpack@npm:^5.61.0, webpack@npm:^5.84.1":
+"webpack@npm:>=4.43.0 <6.0.0, webpack@npm:^5.84.1":
version: 5.88.1
resolution: "webpack@npm:5.88.1"
dependencies:
@@ -54042,21 +49498,6 @@ __metadata:
languageName: node
linkType: hard
-"ws@npm:~8.2.3":
- version: 8.2.3
- resolution: "ws@npm:8.2.3"
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: ^5.0.2
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
- checksum: 5ef0f81cc5b8776fb5dd5504c83b4f49be5aa610f9319ff774158bba7db495127e69763d73085288223061e7a5d104d022e2e264346b36b046322f50057e7945
- languageName: node
- linkType: hard
-
"x-default-browser@npm:^0.4.0":
version: 0.4.0
resolution: "x-default-browser@npm:0.4.0"
@@ -54109,13 +49550,6 @@ __metadata:
languageName: node
linkType: hard
-"xmlbuilder@npm:^13.0.2":
- version: 13.0.2
- resolution: "xmlbuilder@npm:13.0.2"
- checksum: e703027bd10808ee93f6626a4ca440e9d295a0b323aed151c39f427f32d23bda0a1af0b9278286fa94c25fc52d46716fa79e17abcda31205fb33bf4bc0ffe575
- languageName: node
- linkType: hard
-
"xmlbuilder@npm:~11.0.0":
version: 11.0.1
resolution: "xmlbuilder@npm:11.0.1"
@@ -54130,32 +49564,6 @@ __metadata:
languageName: node
linkType: hard
-"xmlhttprequest-ssl@npm:~2.0.0":
- version: 2.0.0
- resolution: "xmlhttprequest-ssl@npm:2.0.0"
- checksum: b64ab371459bd5e3a4827e3c7535759047d285fd310aea6fd028973d547133f3be0d473c1fdae9f14d89bf509267759198ae1fbe89802079a7e217ddd990d734
- languageName: node
- linkType: hard
-
-"xss@npm:^1.0.6":
- version: 1.0.14
- resolution: "xss@npm:1.0.14"
- dependencies:
- commander: ^2.20.3
- cssfilter: 0.0.10
- bin:
- xss: bin/xss
- checksum: 0a9b4d71781c8418a0327e86e5991dffe8d8b58d465d391ea74e3fa102168d1aa70a438c85d6af90e76f457bbb6041350b700bff7ad10077c5d816512f10ee0d
- languageName: node
- linkType: hard
-
-"xstate@npm:4.32.1":
- version: 4.32.1
- resolution: "xstate@npm:4.32.1"
- checksum: 120ecac3e0310c43dc3a5edb87512cf8bcf81c5ca4ce0f53d50c0508e5fa9ab56ea954e600af908e1bbd1bfe0601a09efbaa0044b80113b5bad4bbb6fb2d4424
- languageName: node
- linkType: hard
-
"xtend@npm:^4.0.0, xtend@npm:^4.0.1, xtend@npm:^4.0.2, xtend@npm:~4.0.0, xtend@npm:~4.0.1":
version: 4.0.2
resolution: "xtend@npm:4.0.2"
@@ -54163,13 +49571,6 @@ __metadata:
languageName: node
linkType: hard
-"xxhash-wasm@npm:^0.4.2":
- version: 0.4.2
- resolution: "xxhash-wasm@npm:0.4.2"
- checksum: c7b3c699b605b1d3b0db36cab565d99d117a92d456946883de2b8c382eb87f31fe455f6b9f87b19295721ba93c3c4126739e491273fae0375b97b8cfbeabbab3
- languageName: node
- linkType: hard
-
"y18n@npm:^4.0.0":
version: 4.0.3
resolution: "y18n@npm:4.0.3"
@@ -54184,14 +49585,14 @@ __metadata:
languageName: node
linkType: hard
-"yallist@npm:^2.0.0, yallist@npm:^2.1.2":
+"yallist@npm:^2.1.2":
version: 2.1.2
resolution: "yallist@npm:2.1.2"
checksum: 0b9e25aa00adf19e01d2bcd4b208aee2b0db643d9927131797b7af5ff69480fc80f1c3db738cbf3946f0bddf39d8f2d0a5709c644fd42d4aa3a4e6e786c087b5
languageName: node
linkType: hard
-"yallist@npm:^3.0.0, yallist@npm:^3.0.2, yallist@npm:^3.1.1":
+"yallist@npm:^3.0.2":
version: 3.1.1
resolution: "yallist@npm:3.1.1"
checksum: c66a5c46bc89af1625476f7f0f2ec3653c1a1791d2f9407cfb4c2ba812a1e1c9941416d71ba9719876530e3340a99925f697142989371b72d93b9ee628afd8c1
@@ -54212,17 +49613,6 @@ __metadata:
languageName: node
linkType: hard
-"yaml-loader@npm:^0.8.0":
- version: 0.8.0
- resolution: "yaml-loader@npm:0.8.0"
- dependencies:
- javascript-stringify: ^2.0.1
- loader-utils: ^2.0.0
- yaml: ^2.0.0
- checksum: f0b585d79b3d7ee707443d5ea2df51da296816f206ea2c883768bcef335d4235ba71851311b8121eee233eb9ca8a4d5bca79a2f6ac47a1b914969e14591cb427
- languageName: node
- linkType: hard
-
"yaml@npm:^1.10.0, yaml@npm:^1.10.2, yaml@npm:^1.7.2":
version: 1.10.2
resolution: "yaml@npm:1.10.2"
@@ -54230,13 +49620,6 @@ __metadata:
languageName: node
linkType: hard
-"yaml@npm:^2.0.0, yaml@npm:^2.2.1":
- version: 2.3.1
- resolution: "yaml@npm:2.3.1"
- checksum: ed4c21a907fb1cd60a25177612fa46d95064a144623d269199817908475fe85bef20fb17406e3bdc175351b6488056a6f84beb7836e8c262646546a0220188e3
- languageName: node
- linkType: hard
-
"yaml@npm:^2.1.1":
version: 2.3.3
resolution: "yaml@npm:2.3.3"
@@ -54244,6 +49627,13 @@ __metadata:
languageName: node
linkType: hard
+"yaml@npm:^2.2.1":
+ version: 2.3.1
+ resolution: "yaml@npm:2.3.1"
+ checksum: ed4c21a907fb1cd60a25177612fa46d95064a144623d269199817908475fe85bef20fb17406e3bdc175351b6488056a6f84beb7836e8c262646546a0220188e3
+ languageName: node
+ linkType: hard
+
"yargs-parser@npm:18.x, yargs-parser@npm:^18.1.2, yargs-parser@npm:^18.1.3":
version: 18.1.3
resolution: "yargs-parser@npm:18.1.3"
@@ -54363,28 +49753,6 @@ __metadata:
languageName: node
linkType: hard
-"yoga-layout-prebuilt@npm:^1.10.0":
- version: 1.10.0
- resolution: "yoga-layout-prebuilt@npm:1.10.0"
- dependencies:
- "@types/yoga-layout": 1.9.2
- checksum: e83b6b7078faf4d0472461b53e92bf9cae655de3d896aee5f79b5ba5a960e507bbf8e671b261db13137bf18711686969f19fd1d9c4669beb1d70754b83c5879d
- languageName: node
- linkType: hard
-
-"yurnalist@npm:^2.1.0":
- version: 2.1.0
- resolution: "yurnalist@npm:2.1.0"
- dependencies:
- chalk: ^2.4.2
- inquirer: ^7.0.0
- is-ci: ^2.0.0
- read: ^1.0.7
- strip-ansi: ^5.2.0
- checksum: 56db963fdc03ba905f0e5b24d9b9b59931a00f5acc2418c40b2818ac11059d6dda812ddc65333642282cd48a731fadd4d56e196bf52fc74d04207d6ed7630de9
- languageName: node
- linkType: hard
-
"zod@npm:3.22.4, zod@npm:^3.22.4":
version: 3.22.4
resolution: "zod@npm:3.22.4"