From bf42b0ae44d0ed930b8bcc6442c113a186ad7fff Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 30 Apr 2024 18:11:49 +0800 Subject: [PATCH] fix: lodash version has warning (#4020) Co-authored-by: nite-knite --- web/package.json | 1 - web/test/factories/index.ts | 30 ---- web/test/mocks/categories.ts | 322 ----------------------------------- web/yarn.lock | 170 ------------------ 4 files changed, 523 deletions(-) delete mode 100644 web/test/factories/index.ts delete mode 100644 web/test/mocks/categories.ts diff --git a/web/package.json b/web/package.json index f0aa51769..ab6d13972 100644 --- a/web/package.json +++ b/web/package.json @@ -113,7 +113,6 @@ "eslint-config-next": "^14.0.4", "husky": "^8.0.3", "lint-staged": "^13.2.2", - "miragejs": "^0.1.47", "postcss": "^8.4.31", "sass": "^1.61.0", "tailwindcss": "^3.3.3", diff --git a/web/test/factories/index.ts b/web/test/factories/index.ts deleted file mode 100644 index 07da804e8..000000000 --- a/web/test/factories/index.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Factory } from 'miragejs' -import { faker } from '@faker-js/faker' - -import type { User } from '@/models/user' - -export const seedUser = () => { - return Factory.extend>({ - firstName() { - return faker.name.firstName() - }, - lastName() { - return faker.name.lastName() - }, - name() { - return faker.address.streetAddress() - }, - phone() { - return faker.phone.number() - }, - email() { - return faker.internet.email() - }, - username() { - return faker.internet.userName() - }, - avatar() { - return faker.internet.avatar() - }, - }) -} diff --git a/web/test/mocks/categories.ts b/web/test/mocks/categories.ts deleted file mode 100644 index e69cc6907..000000000 --- a/web/test/mocks/categories.ts +++ /dev/null @@ -1,322 +0,0 @@ -// TODO: maybe use faker.js to randomize the data -export const mockApps = { - recommended_apps: [ - { - app: { - id: 'b82da4c0-2887-48cc-a7d6-7edc0bdd6002', - name: 'AI 前端面试官', - mode: 'chat', - icon: '🤖', - icon_background: null, - }, - app_id: 'b82da4c0-2887-48cc-a7d6-7edc0bdd6002', - description: - '一个模拟的前端面试官,通过提问的方式对前端开发的技能水平进行检验。', - copyright: null, - privacy_policy: null, - category: 'HR', - position: 20, - is_listed: true, - install_count: 0, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: '1fa25f89-2883-41ac-877e-c372274020a4', - name: '扁平风插画生成', - mode: 'chat', - icon: '🖼️', - icon_background: '#D5F5F6', - }, - app_id: '1fa25f89-2883-41ac-877e-c372274020a4', - description: '输入相关元素,为你生成扁平插画风格的封面图片', - copyright: null, - privacy_policy: null, - category: '绘画', - position: 10, - is_listed: true, - install_count: 0, - installed: false, - editable: true, - is_agent: true, - }, - { - app: { - id: '94b509ad-4225-4924-8b50-5c25c2bd7e3c', - name: '文章翻译助理 ', - mode: 'completion', - icon: '🤖', - icon_background: null, - }, - app_id: '94b509ad-4225-4924-8b50-5c25c2bd7e3c', - description: - '一个多语言翻译器,提供多种语言翻译能力,输入你需要翻译的文本,选择目标语言即可。提示词来自宝玉。', - copyright: null, - privacy_policy: null, - category: 'Assistant', - position: 10, - is_listed: true, - install_count: 0, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: 'c8003ab3-9bb7-4693-9249-e603d48e58a6', - name: 'SQL 生成器', - mode: 'completion', - icon: '🤖', - icon_background: null, - }, - app_id: 'c8003ab3-9bb7-4693-9249-e603d48e58a6', - description: - '我将帮助你把自然语言转化成指定的数据库查询 SQL 语句,请在下方输入你需要查询的条件,并选择目标数据库类型。', - copyright: null, - privacy_policy: null, - category: 'Programming', - position: 12, - is_listed: true, - install_count: 3142, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: 'dad6a1e0-0fe9-47e1-91a9-e16de48f1276', - name: '代码解释器', - mode: 'chat', - icon: 'eye-in-speech-bubble', - icon_background: '#FFEAD5', - }, - app_id: 'dad6a1e0-0fe9-47e1-91a9-e16de48f1276', - description: '阐明代码的语法和语义。', - copyright: 'Copyright 2023 Dify', - privacy_policy: 'https://dify.ai', - category: 'Programming', - position: 2, - is_listed: true, - install_count: 2344, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: 'fae3e7ac-8ccc-4d43-8986-7c61d2bdde4f', - name: '赛博朋克插画生成', - mode: 'chat', - icon: '🖼️', - icon_background: '#FFEAD5', - }, - app_id: 'fae3e7ac-8ccc-4d43-8986-7c61d2bdde4f', - description: '输入相关元素,为你生成赛博朋克风格的插画', - copyright: null, - privacy_policy: null, - category: '绘画', - position: 10, - is_listed: true, - install_count: 0, - installed: false, - editable: true, - is_agent: true, - }, - { - app: { - id: '4e57bc83-ab95-4f8a-a955-70796b4804a0', - name: 'SEO 文章生成专家', - mode: 'completion', - icon: '🤖', - icon_background: '#FFEAD5', - }, - app_id: '4e57bc83-ab95-4f8a-a955-70796b4804a0', - description: - '我是一名SEO专家,可以根据您提供的标题、关键词、相关信息来批量生成SEO文章。', - copyright: null, - privacy_policy: null, - category: 'Assistant', - position: 10, - is_listed: true, - install_count: 0, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: '6786ce62-fa85-4ea7-a4d1-5dbe3e3ff59f', - name: '会议纪要', - mode: 'chat', - icon: 'clipboard', - icon_background: '#D1E0FF', - }, - app_id: '6786ce62-fa85-4ea7-a4d1-5dbe3e3ff59f', - description: '帮你重新组织和输出混乱复杂的会议纪要。', - copyright: 'Copyright 2023 Dify', - privacy_policy: 'https://dify.ai', - category: 'Writing', - position: 6, - is_listed: true, - install_count: 1542, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: '73dd96bb-49b7-4791-acbd-9ef2ef506900', - name: '美股投资分析助手', - mode: 'chat', - icon: '🤑', - icon_background: '#E4FBCC', - }, - app_id: '73dd96bb-49b7-4791-acbd-9ef2ef506900', - description: - '欢迎使用您的个性化美股投资分析助手,在这里我们深入的进行股票分析,为您提供全面的洞察。', - copyright: 'Dify.AI', - privacy_policy: null, - category: '智能助理', - position: 0, - is_listed: true, - install_count: 2, - installed: false, - editable: true, - is_agent: true, - }, - { - app: { - id: '93ca3c2c-3a47-4658-b230-d5a6cc61ff01', - name: 'SVG Logo 设计', - mode: 'chat', - icon: '🎨', - icon_background: '#E4FBCC', - }, - app_id: '93ca3c2c-3a47-4658-b230-d5a6cc61ff01', - description: - '您好,我是您的创意伙伴,将帮助您将想法生动地实现!我可以协助您利用DALL·E 3的能力创造出令人惊叹的设计。', - copyright: 'Dify.AI', - privacy_policy: null, - category: '智能助理', - position: 4, - is_listed: true, - install_count: 6, - installed: false, - editable: true, - is_agent: true, - }, - { - app: { - id: '59924f26-963f-4b4b-90cf-978bbfcddc49', - name: '中英文互译', - mode: 'chat', - icon: 'speaking_head_in_silhouette', - icon_background: '#FBE8FF', - }, - app_id: '59924f26-963f-4b4b-90cf-978bbfcddc49', - description: '翻译专家:提供中英文互译', - copyright: 'Copyright 2023 Dify', - privacy_policy: 'https://dify.ai', - category: 'Translate', - position: 4, - is_listed: true, - install_count: 1662, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: '89ad1e65-6711-4c80-b469-a71a434e2dbd', - name: '个人学习导师', - mode: 'chat', - icon: '🤖', - icon_background: '#FFEAD5', - }, - app_id: '89ad1e65-6711-4c80-b469-a71a434e2dbd', - description: '您的私人学习导师,帮您制定学习计划并辅导', - copyright: 'Copyright 2023 Dify', - privacy_policy: 'https://dify.ai', - category: 'Assistant', - position: 26, - is_listed: true, - install_count: 1441, - installed: true, - editable: true, - is_agent: false, - }, - { - app: { - id: 'ff551444-a3ff-4fd8-b297-f38581c98b4a', - name: '文献综述写作', - mode: 'completion', - icon: 'female-student', - icon_background: '#FBE8FF', - }, - app_id: 'ff551444-a3ff-4fd8-b297-f38581c98b4a', - description: '帮你撰写论文文献综述', - copyright: 'Copyright 2023 Dify', - privacy_policy: 'https://dify.ai', - category: 'Writing', - position: 7, - is_listed: true, - install_count: 1651, - installed: false, - editable: true, - is_agent: false, - }, - { - app: { - id: '79227a52-11f1-4cf9-8c49-0bd86f9be813', - name: 'Youtube 频道数据分析', - mode: 'chat', - icon: '🔢', - icon_background: '#E4FBCC', - }, - app_id: '79227a52-11f1-4cf9-8c49-0bd86f9be813', - description: - '你好,告诉我您想分析的 YouTube 频道,我将为您整理一份完整的数据分析报告。', - copyright: null, - privacy_policy: null, - category: '智能助理', - position: 0, - is_listed: true, - install_count: 2, - installed: false, - editable: true, - is_agent: true, - }, - { - app: { - id: '609f4a7f-36f7-4791-96a7-4ccbe6f8dfbb', - name: '旅行规划助手', - mode: 'chat', - icon: '✈️', - icon_background: '#E4FBCC', - }, - app_id: '609f4a7f-36f7-4791-96a7-4ccbe6f8dfbb', - description: - '欢迎使用您的个性化旅行服务顾问!🌍✈️ 准备好踏上一段充满冒险与放松的旅程了吗?让我们一起深入打造您难忘的旅行体验吧。', - copyright: null, - privacy_policy: null, - category: '智能助理', - position: 0, - is_listed: true, - install_count: 3, - installed: false, - editable: true, - is_agent: true, - }, - ], - categories: [ - '绘画', - 'HR', - 'Programming', - 'Translate', - 'Assistant', - 'Writing', - '智能助理', - ], -} diff --git a/web/yarn.lock b/web/yarn.lock index e903f3d9e..471951d26 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -590,11 +590,6 @@ "@types/mdx" "^2.0.0" "@types/react" ">=16" -"@miragejs/pretender-node-polyfill@^0.1.0": - version "0.1.2" - resolved "https://registry.npmjs.org/@miragejs/pretender-node-polyfill/-/pretender-node-polyfill-0.1.2.tgz" - integrity sha512-M/BexG/p05C5lFfMunxo/QcgIJnMT2vDVCd00wNqK2ImZONIlEETZwWJu1QtLxtmYlSHlCFl3JNzp0tLe7OJ5g== - "@monaco-editor/loader@^1.4.0": version "1.4.0" resolved "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.4.0.tgz" @@ -3229,11 +3224,6 @@ extend@^3.0.0: resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -fake-xml-http-request@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/fake-xml-http-request/-/fake-xml-http-request-2.1.2.tgz" - integrity sha512-HaFMBi7r+oEC9iJNpc3bvcW7Z7iLmM26hPDmlb0mFwyANSsOQAtJxbdWsXITKOzZUyMYK0zYCv3h5yDj9TsiXg== - fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" @@ -3793,11 +3783,6 @@ indent-string@^4.0.0: resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== -inflected@^2.0.4: - version "2.1.0" - resolved "https://registry.npmjs.org/inflected/-/inflected-2.1.0.tgz" - integrity sha512-hAEKNxvHf2Iq3H60oMBHkB4wl5jn3TPF3+fXek/sRwAB5gP9xWs4r7aweSF95f99HFoz69pnZTcu8f0SIHV18w== - inflight@^1.0.4: version "1.0.6" resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" @@ -4386,131 +4371,21 @@ lodash-es@^4.17.21: resolved "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz" integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== -lodash.assign@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz" - integrity sha512-hFuH8TY+Yji7Eja3mGiuAxBqLagejScbG8GbG0j6o9vzn0YL14My+ktnqtZgFTosKymC9/44wP6s7xyuLfnClw== - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz" - integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== - lodash.castarray@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz" integrity sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q== -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz" - integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== - -lodash.compact@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/lodash.compact/-/lodash.compact-3.0.1.tgz" - integrity sha512-2ozeiPi+5eBXW1CLtzjk8XQFhQOEMwwfxblqeq6EGyTxZJ1bPATqilY0e6g2SLQpP4KuMeuioBhEnWz5Pr7ICQ== - -lodash.find@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash.find/-/lodash.find-4.6.0.tgz" - integrity sha512-yaRZoAV3Xq28F1iafWN1+a0rflOej93l1DQUejs3SZ41h2O9UJBoS9aueGjPDgAl4B6tPC0NuuchLKaDQQ3Isg== - -lodash.flatten@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz" - integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g== - -lodash.forin@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.forin/-/lodash.forin-4.4.0.tgz" - integrity sha512-APldePP4yvGhMcplVxv9L+exdLHMRHRhH1Q9O70zRJMm9HbTm6zxaihXtNl+ICOBApeFWoH7jNmFr/L4XfWeiQ== - -lodash.get@^4.4.2: - version "4.4.2" - resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz" - integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== - -lodash.has@^4.5.2: - version "4.5.2" - resolved "https://registry.npmjs.org/lodash.has/-/lodash.has-4.5.2.tgz" - integrity sha512-rnYUdIo6xRCJnQmbVFEwcxF144erlD+M3YcJUVesflU9paQaE8p+fJDcIQrlMYbxoANFL+AB9hZrzSBBk5PL+g== - -lodash.invokemap@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash.invokemap/-/lodash.invokemap-4.6.0.tgz" - integrity sha512-CfkycNtMqgUlfjfdh2BhKO/ZXrP8ePOX5lEU/g0R3ItJcnuxWDwokMGKx1hWcfOikmyOVx6X9IwWnDGlgKl61w== - -lodash.isempty@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz" - integrity sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg== - -lodash.isequal@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz" - integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== - -lodash.isfunction@^3.0.9: - version "3.0.9" - resolved "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz" - integrity sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw== - -lodash.isinteger@^4.0.4: - version "4.0.4" - resolved "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz" - integrity sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA== - lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz" integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== -lodash.lowerfirst@^4.3.1: - version "4.3.1" - resolved "https://registry.npmjs.org/lodash.lowerfirst/-/lodash.lowerfirst-4.3.1.tgz" - integrity sha512-UUKX7VhP1/JL54NXg2aq/E1Sfnjjes8fNYTNkPU8ZmsaVeBvPHKdbNaN79Re5XRL01u6wbq3j0cbYZj71Fcu5w== - -lodash.map@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz" - integrity sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q== - -lodash.mapvalues@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash.mapvalues/-/lodash.mapvalues-4.6.0.tgz" - integrity sha512-JPFqXFeZQ7BfS00H58kClY7SPVeHertPE0lNuCyZ26/XlN8TvakYD7b9bGyNmXbT/D3BbtPAAmq90gPWqLkxlQ== - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash.pick@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz" - integrity sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q== - -lodash.snakecase@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz" - integrity sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw== - -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz" - integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== - -lodash.uniqby@^4.7.0: - version "4.7.0" - resolved "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz" - integrity sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww== - -lodash.values@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/lodash.values/-/lodash.values-4.3.0.tgz" - integrity sha512-r0RwvdCv8id9TUblb/O7rYPwVy6lerCbcawrfdo9iC/1t1wsNMJknO79WNBgwkH0hIeJ08jmvvESbFpNb4jH0Q== - lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.21: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" @@ -5266,38 +5141,6 @@ minimist@^1.2.0, minimist@^1.2.6: resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz" integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== -miragejs@^0.1.47: - version "0.1.47" - resolved "https://registry.npmjs.org/miragejs/-/miragejs-0.1.47.tgz" - integrity sha512-99tuCbIAlMhNhyF3s5d3+5/FdJ7O4jSq/5e3e+sDv7L8dZdwJuwutXe0pobJ7hm6yRChTDjK+Nn8dZZd175wbg== - dependencies: - "@miragejs/pretender-node-polyfill" "^0.1.0" - inflected "^2.0.4" - lodash.assign "^4.2.0" - lodash.camelcase "^4.3.0" - lodash.clonedeep "^4.5.0" - lodash.compact "^3.0.1" - lodash.find "^4.6.0" - lodash.flatten "^4.4.0" - lodash.forin "^4.4.0" - lodash.get "^4.4.2" - lodash.has "^4.5.2" - lodash.invokemap "^4.6.0" - lodash.isempty "^4.4.0" - lodash.isequal "^4.5.0" - lodash.isfunction "^3.0.9" - lodash.isinteger "^4.0.4" - lodash.isplainobject "^4.0.6" - lodash.lowerfirst "^4.3.1" - lodash.map "^4.6.0" - lodash.mapvalues "^4.6.0" - lodash.pick "^4.4.0" - lodash.snakecase "^4.1.1" - lodash.uniq "^4.5.0" - lodash.uniqby "^4.7.0" - lodash.values "^4.3.0" - pretender "^3.4.7" - mkdirp@^0.5.6: version "0.5.6" resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" @@ -5803,14 +5646,6 @@ prelude-ls@^1.2.1: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -pretender@^3.4.7: - version "3.4.7" - resolved "https://registry.npmjs.org/pretender/-/pretender-3.4.7.tgz" - integrity sha512-jkPAvt1BfRi0RKamweJdEcnjkeu7Es8yix3bJ+KgBC5VpG/Ln4JE3hYN6vJym4qprm8Xo5adhWpm3HCoft1dOw== - dependencies: - fake-xml-http-request "^2.1.2" - route-recognizer "^0.3.3" - prismjs@^1.27.0: version "1.29.0" resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz" @@ -6293,11 +6128,6 @@ robust-predicates@^3.0.0: resolved "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz" integrity sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg== -route-recognizer@^0.3.3: - version "0.3.4" - resolved "https://registry.npmjs.org/route-recognizer/-/route-recognizer-0.3.4.tgz" - integrity sha512-2+MhsfPhvauN1O8KaXpXAOfR/fwe8dnUXVM+xw7yt40lJRfPVQxV6yryZm0cgRvAj5fMF/mdRZbL2ptwbs5i2g== - run-applescript@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz"