From 9fa0c93bcbe71d14644b2289954f3d99e2ff538a Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Wed, 11 Oct 2023 14:59:17 +0200 Subject: [PATCH] Removed obsolete port dependecies and code --- core/assets/css/app.css | 34 - core/assets/js/app.js | 6 - core/assets/js/data_donation_assembly.js | 17 - core/assets/js/data_donation_hook.js | 57 - core/assets/js/port.js | 42 - core/assets/js/processing_engine.js | 41 - core/assets/js/processing_worker.js | 124 -- core/assets/js/python_uploader.js | 94 -- core/assets/js/pyworker.js | 80 -- core/assets/package-lock.json | 1368 +++------------------- core/assets/package.json | 1 - core/assets/webpack.config.js | 2 - core/lib/core_web.ex | 2 +- 13 files changed, 157 insertions(+), 1711 deletions(-) delete mode 100644 core/assets/js/data_donation_assembly.js delete mode 100644 core/assets/js/data_donation_hook.js delete mode 100644 core/assets/js/port.js delete mode 100755 core/assets/js/processing_engine.js delete mode 100755 core/assets/js/processing_worker.js delete mode 100644 core/assets/js/python_uploader.js delete mode 100755 core/assets/js/pyworker.js diff --git a/core/assets/css/app.css b/core/assets/css/app.css index 3d5a4809f..e78a1673e 100644 --- a/core/assets/css/app.css +++ b/core/assets/css/app.css @@ -127,37 +127,3 @@ src: url("../static/fonts/Finador-BlackOblique.woff2") format("woff2"), url("../static/fonts/Finador-BlackOblique.woff") format("woff"); } - -.data-donation-extraction-results tbody tr:nth-child(even) { - background-color: #fafafa; -} - -.data-donation-extraction-results thead { - background-color: #fafafa; -} - -.data-donation-extraction-results thead tr { - font-family: "Finador-Bold"; - font-size: 18px; -} - -.data-donation-extraction-results tbody tr { - font-family: "Finador-Regular"; - font-size: 14px; -} - -.data-donation-extraction-results thead tr td, -th { - padding-top: 9px; - padding-bottom: 9px; - padding-left: 10px; - padding-right: 10px; -} - -.data-donation-extraction-results tbody tr td, -th { - padding-top: 7px; - padding-bottom: 7px; - padding-left: 10px; - padding-right: 10px; -} diff --git a/core/assets/js/app.js b/core/assets/js/app.js index 1ba86b618..7f85dc212 100644 --- a/core/assets/js/app.js +++ b/core/assets/js/app.js @@ -29,10 +29,7 @@ import { Toggle } from "./toggle"; import { Cell } from "./cell"; import { LiveContent, LiveField } from "./live_content"; import { Tabbar, TabbarItem, TabbarFooterItem } from "./tabbar"; -import { PythonUploader } from "./python_uploader"; import { Clipboard } from "./clipboard"; -import { DataDonationHook } from "./data_donation_hook"; -import { Port } from "./port"; import { FeldsparApp } from "./feldspar_app"; window.registerAPNSDeviceToken = registerAPNSDeviceToken; @@ -105,9 +102,6 @@ let Hooks = { TabbarItem, TabbarFooterItem, NativeWrapper, - PythonUploader, - DataDonationHook, - Port, FeldsparApp, }; diff --git a/core/assets/js/data_donation_assembly.js b/core/assets/js/data_donation_assembly.js deleted file mode 100644 index a0a99d718..000000000 --- a/core/assets/js/data_donation_assembly.js +++ /dev/null @@ -1,17 +0,0 @@ -import { VisualisationEngine } from "./visualisation_engine"; -import { VisualisationFactory } from "./visualisation_factory"; -import { ProcessingEngine } from "./processing_engine"; -import Worker from "./processing_worker.js"; - -export class DataDonationAssembly { - constructor() { - this.visualisationFactory = new VisualisationFactory(); - this.processingEngine = new ProcessingEngine(new Worker()); - this.visualisationEngine = new VisualisationEngine( - this.visualisationFactory, - this.processingEngine - ); - - this.processingEngine.eventListener = this.visualisationEngine.onEvent; - } -} diff --git a/core/assets/js/data_donation_hook.js b/core/assets/js/data_donation_hook.js deleted file mode 100644 index 91e8d1d5d..000000000 --- a/core/assets/js/data_donation_hook.js +++ /dev/null @@ -1,57 +0,0 @@ -import { Tabbar } from "./tabbar"; -import { DataDonationAssembly } from "./data_donation_assembly"; - -const assembly = new DataDonationAssembly(); - -export const DataDonationHook = { - mounted() { - console.log("[DataDonationHook] mounted"); - this.hideNextButton("execute"); - - const locale = this.el.dataset.locale; - const afterCompletionTab = this.el.dataset.afterCompletionTab; - - const hook = this; - const script = this.get_script(); - const prompt_element = this.get_prompt_element(); - const spinner_element = this.get_spinner_element(); - - assembly.visualisationEngine - .start(script, prompt_element, spinner_element, locale) - .then((result) => { - hook.el - .querySelector(".no-extraction-data-yet") - .classList.add("hidden"); - hook.el.querySelector(".donate-form").classList.remove("hidden"); - hook.el.querySelector(".extracted").innerHTML = result.html; - hook.el.querySelector("input[id='data']").value = result.data; - Tabbar.show("tab_" + afterCompletionTab, true); - }); - - assembly.processingEngine.start(); - }, - beforeUpdate() { - console.log("[DataDonationHook] beforeUpdate"); - }, - updated() { - console.log("[DataDonationHook] updated"); - }, - destroyed() { - assembly.visualisationEngine.terminate(); - }, - get_spinner_element() { - return this.el.querySelector("#spinner"); - }, - get_prompt_element() { - return this.el.querySelector("#prompt"); - }, - get_script_element() { - return this.el.getElementsByTagName("code")[0]; - }, - get_script() { - return this.get_script_element().innerText; - }, - hideNextButton(tabId) { - this.el.querySelector(`#tabbar-footer-item-${tabId}`).hidden = true; - }, -}; diff --git a/core/assets/js/port.js b/core/assets/js/port.js deleted file mode 100644 index 4ef5ba4f9..000000000 --- a/core/assets/js/port.js +++ /dev/null @@ -1,42 +0,0 @@ -import Assembly from "port/dist/framework/assembly"; -import Worker from "port/dist/framework/processing/py_worker.js"; -import { isCommandSystemDonate } from "port/dist/framework/types/commands"; - -// Webpack will make sure the assets below can be served from root -import "port/dist/port-0.0.0-py3-none-any.whl"; - -// TODO: refactor import multiple css files. Temporary disable port css in the master branch -// import "port/dist/styles.css"; - -export const Port = { - mounted() { - const worker = new Worker(); - const container = document.getElementById(this.el.id); - const locale = this.el.dataset.locale; - // const participant = this.el.dataset.participant; - this.assembly = new Assembly(worker, this); - this.assembly.visualisationEngine.start(container, locale); - this.assembly.processingEngine.start(); - }, - - destroyed() { - this.assembly.visualisationEngine.destroyed(); - }, - - send(command) { - if (isCommandSystemDonate(command)) { - this.handleDonation(command); - } else { - console.log( - "[System] received unknown command: " + JSON.stringify(command) - ); - } - }, - - handleDonation(command) { - console.log( - `[System] received donation: key=${command.key}, payload=${command.json_string}` - ); - this.pushEvent("donate", command); - }, -}; diff --git a/core/assets/js/processing_engine.js b/core/assets/js/processing_engine.js deleted file mode 100755 index fa13f498a..000000000 --- a/core/assets/js/processing_engine.js +++ /dev/null @@ -1,41 +0,0 @@ -export class ProcessingEngine { - constructor(worker) { - this.eventListener = (event) => { - event_string = Object.stringify(event); - console.log( - "[ProcessingEngine] No event listener registered for event: ", - event_string - ); - }; - - this.worker = worker; - this.worker.onerror = console.log; - this.worker.onmessage = (event) => { - console.log( - "[ProcessingEngine] Received event from worker: ", - event.data.eventType - ); - this.eventListener(event); - }; - } - - start() { - this.worker.postMessage({ eventType: "initialise" }); - } - - loadScript(script) { - this.worker.postMessage({ eventType: "loadScript", script }); - } - - firstRunCycle() { - this.worker.postMessage({ eventType: "firstRunCycle" }); - } - - nextRunCycle(response) { - this.worker.postMessage({ eventType: "nextRunCycle", response }); - } - - terminate() { - this.worker.terminate(); - } -} diff --git a/core/assets/js/processing_worker.js b/core/assets/js/processing_worker.js deleted file mode 100755 index ca0df5d8a..000000000 --- a/core/assets/js/processing_worker.js +++ /dev/null @@ -1,124 +0,0 @@ -let pyScript = undefined; - -onmessage = (event) => { - const { eventType } = event.data; - switch (eventType) { - case "initialise": - initialise().then(() => { - self.postMessage({ eventType: "initialiseDone" }); - }); - break; - - case "loadScript": - loadScript(event.data.script); - self.postMessage({ eventType: "loadScriptDone" }); - break; - - case "firstRunCycle": - pyScript = self.pyodide.runPython(pyWorker()); - runCycle(null); - break; - - case "nextRunCycle": - const { response } = event.data; - unwrap(response).then((userInput) => { - runCycle(userInput); - }); - break; - - default: - console.log("[ProcessingWorker] Received unsupported event: ", eventType); - } -}; - -function runCycle(userInput) { - cmd = pyScript.send(userInput); - self.postMessage({ - eventType: "runCycleDone", - cmd: cmd.toJs({ - create_proxies: false, - dict_converter: Object.fromEntries, - }), - }); -} - -function unwrap(response) { - return new Promise((resolve) => { - switch (response.prompt.type) { - case "file": - copyFileToPyFS(response.userInput, resolve); - break; - - default: - resolve(response.userInput); - } - }); -} - -function copyFileToPyFS(file, resolve) { - const reader = file.stream().getReader(); - const pyFile = self.pyodide.FS.open(file.name, "w"); - - const writeToPyFS = ({ done, value }) => { - if (done) { - resolve(file.name); - } else { - self.pyodide.FS.write(pyFile, value, 0, value.length); - reader.read().then(writeToPyFS); - } - }; - reader.read().then(writeToPyFS); -} - -function initialise() { - importScripts("https://cdn.jsdelivr.net/pyodide/v0.21.2/full/pyodide.js"); - - return loadPyodide({ - indexURL: "https://cdn.jsdelivr.net/pyodide/v0.21.2/full/", - }).then((pyodide) => { - self.pyodide = pyodide; - return self.pyodide.loadPackage(["micropip", "numpy", "pandas"]); - }); -} - -function loadScript(script) { - console.log("[ProcessingWorker] loadScript"); - self.pyodide.runPython(script); -} - -function pyWorker() { - return ` - from collections.abc import Generator - import json - import html - import pandas as pd - - class ScriptWrapper(Generator): - def __init__(self, script): - self.script = script - def send(self, data): - if data == None: - return self.script.send(None) - else: - response = self.script.send(data) - if response["cmd"] == "result": - response["result"] = self.translate_result(response["result"]) - return response - def throw(self, type=None, value=None, traceback=None): - raise StopIteration - def translate_result(self, result): - data_output = [] - html_output = [] - for data in result: - html_output.append(f"""

{html.escape(data["title"])}

""") - df = data["data_frame"] - html_output.append(df.to_html(classes=["data-donation-extraction-results"], justify="left")) - data_output.append({"id": data["id"], "data_frame": df.to_json()}) - return { - "html": "\\n".join(html_output), - "data": json.dumps(data_output), - } - script = process() - ScriptWrapper(script) - `; -} diff --git a/core/assets/js/python_uploader.js b/core/assets/js/python_uploader.js deleted file mode 100644 index 457708835..000000000 --- a/core/assets/js/python_uploader.js +++ /dev/null @@ -1,94 +0,0 @@ -import { Tabbar } from "./tabbar"; - -export const PythonUploader = { - nextButtonSelector: "#tabbar-footer-item-file_selection", - - destroyed() { - this.worker && this.worker.terminate(); - }, - mounted() { - console.log("PythonUploader mounted"); - const uploader = this; - - // First hide the next button (requires selected file) - this.el.querySelector(this.nextButtonSelector).hidden = true; - this.el - .querySelector(".extract-data-button") - .addEventListener("click", () => { - this.el.querySelector(".select-file").classList.add("hidden"); - this.el.querySelector(".extract-data").classList.add("hidden"); - this.el.querySelector(".data-extraction").classList.remove("hidden"); - const script = this.el.getElementsByTagName("code")[0].innerText; - uploader.process(script).then((result) => { - uploader.result = result; - uploader.el - .querySelector(".no-extraction-data-yet") - .classList.add("hidden"); - uploader.el.querySelector(".donate-form").classList.remove("hidden"); - uploader.el.querySelector(".extracted").innerHTML = result.html; - uploader.el.querySelector("input[id='data']").value = result.data; - Tabbar.show("tab_" + this.el.dataset.afterCompletionTab, true); - this.el.querySelector(".extract-data").classList.remove("hidden"); - this.el.querySelector(".data-extraction").classList.add("hidden"); - }); - }); - - // Hook up the process button to the worker - const FileInputFactory = this.el.querySelector("input[type=file]"); - FileInputFactory.addEventListener("change", () => { - this.el.querySelector(".select-file").classList.add("hidden"); - this.el.querySelector(".extract-data").classList.remove("hidden"); - const filenameInfo = this.el.querySelector(".selected-filename"); - filenameInfo.innerText = FileInputFactory.files[0].name; - filenameInfo.classList.remove("hidden"); - }); - - this.el.querySelector(".reset-button").addEventListener("click", () => { - // clear current selected file - const FileInputFactory = this.el.querySelector("input[type=file]"); - FileInputFactory.type = "text"; - FileInputFactory.type = "file"; - - // show select file panel - this.el.querySelector(".select-file").classList.remove("hidden"); - this.el.querySelector(".extract-data").classList.add("hidden"); - }); - }, - process(script) { - return new Promise((resolve) => { - // Initialize the Python worker - const worker = new Worker("/js/pyworker.js"); - worker.onerror = console.log; - worker.onmessage = (event) => { - const { eventType } = event.data; - if (eventType === "initialized") { - worker.postMessage({ eventType: "loadScript", script }); - this.sendDataToWorker(worker); - } else if (eventType === "result") { - worker.terminate(); - resolve(event.data.result); - } - }; - }); - }, - sendDataToWorker(worker) { - const FileInputFactory = this.el.querySelector("input[type=file]"); - const file = FileInputFactory.files[0]; - const filename = file.name; - const reader = file.stream().getReader(); - const sendToWorker = ({ done, value }) => { - if (done) { - worker.postMessage({ eventType: "processData" }); - return; - } - worker.postMessage({ eventType: "data", chunk: value }); - reader.read().then(sendToWorker); - }; - worker.postMessage({ - eventType: "initData", - filename: filename, - size: file.size, - }); - reader.read().then(sendToWorker); - }, -}; diff --git a/core/assets/js/pyworker.js b/core/assets/js/pyworker.js deleted file mode 100755 index 4a5f970ab..000000000 --- a/core/assets/js/pyworker.js +++ /dev/null @@ -1,80 +0,0 @@ -importScripts("https://cdn.jsdelivr.net/pyodide/v0.21.2/full/pyodide.js"); - -var data = undefined; - -loadPyodide({ indexURL: "https://cdn.jsdelivr.net/pyodide/v0.21.2/full/" }) - .then((pyodide) => { - self.pyodide = pyodide; - return self.pyodide.loadPackage(["micropip", "numpy", "pandas"]); - }) - .then(() => { - self.postMessage({ eventType: "initialized" }); - }); - -let file = undefined; -var filename = undefined; - -onmessage = (event) => { - const { eventType } = event.data; - if (eventType === "loadScript") { - self.pyodide.runPython(event.data.script); - } else if (eventType === "initData") { - filename = event.data.filename; - file = self.pyodide.FS.open(filename, "w"); - } else if (eventType === "data") { - self.pyodide.FS.write(file, event.data.chunk, 0, event.data.chunk.length); - } else if (eventType === "processData") { - const result = self.pyodide.runPython(` - def _process_data(): - import json - import html - import pandas as pd - - result = process("${filename}") - - if not result: - data_frame = pd.DataFrame() - data_frame["Messages"] = pd.Series(["Unfortunately, no data could be extracted from the selected file."], name="Messages") - result = [{"id": "important_feedback", "title": "Important feedback", "data_frame": data_frame}] - - data_output = [] - html_output = [] - for data in result: - html_output.append(f"""

{html.escape(data['title'])}

""") - df = data['data_frame'] - html_output.append(df.to_html(classes=["data-donation-extraction-results"], justify="left")) - data_output.append({"id": data["id"], "data_frame": df.to_json()}) - - return { - "html": "\\n".join(html_output), - "data": json.dumps(data_output), - } - _process_data()`); - self.postMessage({ - eventType: "result", - result: result.toJs({ - create_proxies: false, - dict_converter: Object.fromEntries, - }), - }); - } else if (eventType === "run_cycle") { - var prompt = undefined; - - if (generator == undefined) { - generator = self.pyodide.runPython(` - return process() - `); - prompt = generator.__next__(); - } else { - prompt = generator.send(event.data); - } - - self.postMessage({ - eventType: "prompt", - result: prompt.toJs({ - create_proxies: false, - dict_converter: Object.fromEntries, - }), - }); - } -}; diff --git a/core/assets/package-lock.json b/core/assets/package-lock.json index 19a361e48..4eb1fc3f6 100644 --- a/core/assets/package-lock.json +++ b/core/assets/package-lock.json @@ -15,7 +15,6 @@ "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html", "phoenix_live_view": "file:../deps/phoenix_live_view", - "port": "github:eyra/port#v1.0.0", "stringify": "^5.2.0", "topbar": "^0.1.4", "workbox-precaching": "^6.1.5", @@ -64,10 +63,6 @@ "version": "0.18.18", "license": "MIT" }, - "node_modules/@adobe/css-tools": { - "version": "4.0.1", - "license": "MIT" - }, "node_modules/@alloc/quick-lru": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", @@ -138,6 +133,7 @@ }, "node_modules/@babel/code-frame": { "version": "7.18.6", + "dev": true, "license": "MIT", "dependencies": { "@babel/highlight": "^7.18.6" @@ -500,6 +496,7 @@ }, "node_modules/@babel/helper-validator-identifier": { "version": "7.19.1", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -542,6 +539,7 @@ }, "node_modules/@babel/highlight": { "version": "7.18.6", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.18.6", @@ -1648,6 +1646,7 @@ }, "node_modules/@babel/runtime": { "version": "7.20.6", + "dev": true, "license": "MIT", "dependencies": { "regenerator-runtime": "^0.13.11" @@ -1942,190 +1941,6 @@ "string.prototype.matchall": "^4.0.6" } }, - "node_modules/@testing-library/dom": { - "version": "8.19.0", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^4.2.0", - "aria-query": "^5.0.0", - "chalk": "^4.1.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", - "pretty-format": "^27.0.2" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@testing-library/dom/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@testing-library/dom/node_modules/chalk": { - "version": "4.1.2", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@testing-library/dom/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@testing-library/dom/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/@testing-library/dom/node_modules/has-flag": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/dom/node_modules/supports-color": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/jest-dom": { - "version": "5.16.5", - "license": "MIT", - "dependencies": { - "@adobe/css-tools": "^4.0.1", - "@babel/runtime": "^7.9.2", - "@types/testing-library__jest-dom": "^5.9.1", - "aria-query": "^5.0.0", - "chalk": "^3.0.0", - "css.escape": "^1.5.1", - "dom-accessibility-api": "^0.5.6", - "lodash": "^4.17.15", - "redent": "^3.0.0" - }, - "engines": { - "node": ">=8", - "npm": ">=6", - "yarn": ">=1" - } - }, - "node_modules/@testing-library/jest-dom/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@testing-library/jest-dom/node_modules/chalk": { - "version": "3.0.0", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/jest-dom/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@testing-library/jest-dom/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/@testing-library/jest-dom/node_modules/has-flag": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/jest-dom/node_modules/supports-color": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/react": { - "version": "13.4.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.5.0", - "@types/react-dom": "^18.0.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" - } - }, - "node_modules/@testing-library/user-event": { - "version": "13.5.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.5" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "peerDependencies": { - "@testing-library/dom": ">=7.21.4" - } - }, - "node_modules/@types/aria-query": { - "version": "4.2.2", - "license": "MIT" - }, "node_modules/@types/babel__core": { "version": "7.1.20", "dev": true, @@ -2176,14 +1991,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/jest": { - "version": "27.5.2", - "license": "MIT", - "dependencies": { - "jest-matcher-utils": "^27.0.0", - "pretty-format": "^27.0.0" - } - }, "node_modules/@types/json-schema": { "version": "7.0.11", "dev": true, @@ -2204,6 +2011,7 @@ }, "node_modules/@types/node": { "version": "16.18.6", + "dev": true, "license": "MIT" }, "node_modules/@types/normalize-package-data": { @@ -2216,31 +2024,11 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/prop-types": { - "version": "15.7.5", - "license": "MIT" - }, "node_modules/@types/q": { "version": "1.5.4", "dev": true, "license": "MIT" }, - "node_modules/@types/react": { - "version": "18.0.26", - "license": "MIT", - "dependencies": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "node_modules/@types/react-dom": { - "version": "18.0.9", - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/resolve": { "version": "1.17.1", "dev": true, @@ -2249,17 +2037,6 @@ "@types/node": "*" } }, - "node_modules/@types/scheduler": { - "version": "0.16.2", - "license": "MIT" - }, - "node_modules/@types/testing-library__jest-dom": { - "version": "5.14.5", - "license": "MIT", - "dependencies": { - "@types/jest": "*" - } - }, "node_modules/@types/trusted-types": { "version": "2.0.2", "dev": true, @@ -2521,6 +2298,7 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2528,6 +2306,7 @@ }, "node_modules/ansi-styles": { "version": "3.2.1", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^1.9.0" @@ -2573,13 +2352,6 @@ "sprintf-js": "~1.0.2" } }, - "node_modules/aria-query": { - "version": "5.1.3", - "license": "Apache-2.0", - "dependencies": { - "deep-equal": "^2.0.5" - } - }, "node_modules/arr-diff": { "version": "4.0.0", "dev": true, @@ -2755,16 +2527,6 @@ "postcss": "^8.1.0" } }, - "node_modules/available-typed-arrays": { - "version": "1.0.5", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/babel-loader": { "version": "8.3.0", "dev": true, @@ -3320,6 +3082,7 @@ }, "node_modules/call-bind": { "version": "1.0.2", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1", @@ -3428,6 +3191,7 @@ }, "node_modules/chalk": { "version": "2.4.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", @@ -3708,6 +3472,7 @@ }, "node_modules/color-convert": { "version": "1.9.3", + "dev": true, "license": "MIT", "dependencies": { "color-name": "1.1.3" @@ -3715,6 +3480,7 @@ }, "node_modules/color-name": { "version": "1.1.3", + "dev": true, "license": "MIT" }, "node_modules/color-string": { @@ -4129,10 +3895,6 @@ "url": "https://github.com/sponsors/fb55" } }, - "node_modules/css.escape": { - "version": "1.5.1", - "license": "MIT" - }, "node_modules/cssesc": { "version": "3.0.0", "dev": true, @@ -4377,10 +4139,6 @@ "node": ">=0.10.0" } }, - "node_modules/csstype": { - "version": "3.1.1", - "license": "MIT" - }, "node_modules/cyclist": { "version": "1.0.1", "dev": true, @@ -4442,34 +4200,6 @@ "version": "1.0.2", "license": "MIT" }, - "node_modules/deep-equal": { - "version": "2.1.0", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "es-get-iterator": "^1.1.2", - "get-intrinsic": "^1.1.3", - "is-arguments": "^1.1.1", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.8" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/deep-equal/node_modules/isarray": { - "version": "2.0.5", - "license": "MIT" - }, "node_modules/deepmerge": { "version": "4.2.2", "dev": true, @@ -4480,6 +4210,7 @@ }, "node_modules/define-properties": { "version": "1.1.4", + "dev": true, "license": "MIT", "dependencies": { "has-property-descriptors": "^1.0.0", @@ -4569,13 +4300,6 @@ "dev": true, "license": "Apache-2.0" }, - "node_modules/diff-sequences": { - "version": "27.5.1", - "license": "MIT", - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, "node_modules/diffie-hellman": { "version": "5.0.3", "dev": true, @@ -4607,10 +4331,6 @@ "dev": true, "license": "MIT" }, - "node_modules/dom-accessibility-api": { - "version": "0.5.14", - "license": "MIT" - }, "node_modules/dom-serializer": { "version": "0.2.2", "dev": true, @@ -4828,27 +4548,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/es-get-iterator": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.0", - "has-symbols": "^1.0.1", - "is-arguments": "^1.1.0", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.5", - "isarray": "^2.0.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-get-iterator/node_modules/isarray": { - "version": "2.0.5", - "license": "MIT" - }, "node_modules/es-to-primitive": { "version": "1.2.1", "dev": true, @@ -4875,6 +4574,7 @@ }, "node_modules/escape-string-regexp": { "version": "1.0.5", + "dev": true, "license": "MIT", "engines": { "node": ">=0.8.0" @@ -5466,13 +5166,6 @@ "readable-stream": "^2.3.6" } }, - "node_modules/for-each": { - "version": "0.3.3", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, "node_modules/for-in": { "version": "1.0.2", "dev": true, @@ -5573,6 +5266,7 @@ }, "node_modules/function-bind": { "version": "1.1.1", + "dev": true, "license": "MIT" }, "node_modules/function.prototype.name": { @@ -5594,6 +5288,7 @@ }, "node_modules/functions-have-names": { "version": "1.2.3", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5617,6 +5312,7 @@ }, "node_modules/get-intrinsic": { "version": "1.1.3", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1", @@ -5795,16 +5491,6 @@ "node": ">=0.6.0" } }, - "node_modules/gopd": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/graceful-fs": { "version": "4.2.10", "dev": true, @@ -5850,6 +5536,7 @@ }, "node_modules/has": { "version": "1.0.3", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1" @@ -5860,6 +5547,7 @@ }, "node_modules/has-bigints": { "version": "1.0.2", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5867,6 +5555,7 @@ }, "node_modules/has-flag": { "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -5874,6 +5563,7 @@ }, "node_modules/has-property-descriptors": { "version": "1.0.0", + "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.1" @@ -5884,6 +5574,7 @@ }, "node_modules/has-symbols": { "version": "1.0.3", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -5894,6 +5585,7 @@ }, "node_modules/has-tostringtag": { "version": "1.0.0", + "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" @@ -6256,6 +5948,7 @@ }, "node_modules/indent-string": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6363,20 +6056,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "dev": true, @@ -6384,6 +6063,7 @@ }, "node_modules/is-bigint": { "version": "1.0.4", + "dev": true, "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" @@ -6405,6 +6085,7 @@ }, "node_modules/is-boolean-object": { "version": "1.1.0", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.0" @@ -6423,6 +6104,7 @@ }, "node_modules/is-callable": { "version": "1.2.7", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6479,6 +6161,7 @@ }, "node_modules/is-date-object": { "version": "1.0.5", + "dev": true, "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" @@ -6572,13 +6255,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/is-map": { - "version": "2.0.2", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-module": { "version": "1.0.0", "dev": true, @@ -6608,6 +6284,7 @@ }, "node_modules/is-number-object": { "version": "1.0.4", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6656,6 +6333,7 @@ }, "node_modules/is-regex": { "version": "1.1.4", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -6681,13 +6359,6 @@ "dev": true, "license": "ISC" }, - "node_modules/is-set": { - "version": "2.0.2", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-shared-array-buffer": { "version": "1.0.2", "dev": true, @@ -6712,6 +6383,7 @@ }, "node_modules/is-string": { "version": "1.0.7", + "dev": true, "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" @@ -6736,6 +6408,7 @@ }, "node_modules/is-symbol": { "version": "1.0.3", + "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.1" @@ -6747,23 +6420,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-typed-array": { - "version": "1.1.10", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-typedarray": { "version": "1.0.0", "dev": true, @@ -6780,243 +6436,71 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-weakmap": { - "version": "2.0.1", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-weakref": { "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakset": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-windows": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-wsl": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/isexe": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/isobject": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jake": { - "version": "10.8.5", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.1", - "minimatch": "^3.0.4" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jake/node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jake/node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jake/node_modules/color-convert": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jake/node_modules/color-name": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/jake/node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/jake/node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-diff": { - "version": "27.5.1", - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-diff/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-diff/node_modules/chalk": { - "version": "4.1.2", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-diff/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/jest-diff/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/jest-diff/node_modules/has-flag": { - "version": "4.0.0", + "node_modules/is-windows": { + "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/jest-diff/node_modules/supports-color": { - "version": "7.2.0", + "node_modules/is-wsl": { + "version": "1.1.0", + "dev": true, "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/jest-get-type": { - "version": "27.5.1", + "node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/isobject": { + "version": "3.0.1", + "dev": true, "license": "MIT", "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-matcher-utils": { - "version": "27.5.1", - "license": "MIT", + "node_modules/jake": { + "version": "10.8.5", + "dev": true, + "license": "Apache-2.0", "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.1", + "minimatch": "^3.0.4" + }, + "bin": { + "jake": "bin/cli.js" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": ">=10" } }, - "node_modules/jest-matcher-utils/node_modules/ansi-styles": { + "node_modules/jake/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -7028,8 +6512,9 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-matcher-utils/node_modules/chalk": { + "node_modules/jake/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -7042,8 +6527,9 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/jest-matcher-utils/node_modules/color-convert": { + "node_modules/jake/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -7052,19 +6538,22 @@ "node": ">=7.0.0" } }, - "node_modules/jest-matcher-utils/node_modules/color-name": { + "node_modules/jake/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, - "node_modules/jest-matcher-utils/node_modules/has-flag": { + "node_modules/jake/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/jest-matcher-utils/node_modules/supports-color": { + "node_modules/jake/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -7126,6 +6615,7 @@ }, "node_modules/js-tokens": { "version": "4.0.0", + "dev": true, "license": "MIT" }, "node_modules/js-yaml": { @@ -7424,32 +6914,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/loose-envify": { - "version": "1.4.0", - "license": "MIT", - "peer": true, - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, - "node_modules/lottie-react": { - "version": "2.3.1", - "license": "MIT", - "dependencies": { - "lottie-web": "^5.9.4" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/lottie-web": { - "version": "5.10.0", - "license": "MIT" - }, "node_modules/lower-case": { "version": "1.1.4", "license": "MIT" @@ -7462,13 +6926,6 @@ "yallist": "^3.0.2" } }, - "node_modules/lz-string": { - "version": "1.4.4", - "license": "WTFPL", - "bin": { - "lz-string": "bin/bin.js" - } - }, "node_modules/magic-string": { "version": "0.25.9", "dev": true, @@ -7706,6 +7163,7 @@ }, "node_modules/min-indent": { "version": "1.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -8192,27 +7650,15 @@ }, "node_modules/object-inspect": { "version": "1.12.2", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.5", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -8231,6 +7677,7 @@ }, "node_modules/object.assign": { "version": "4.1.4", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -8583,23 +8030,6 @@ "node": ">=6" } }, - "node_modules/port": { - "version": "0.1.0", - "resolved": "git+ssh://git@github.com/eyra/port.git#4949d714e03ebe996c192450e86649a4203792ee", - "dependencies": { - "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^13.4.0", - "@testing-library/user-event": "^13.5.0", - "@types/jest": "^27.5.2", - "@types/node": "^16.11.59", - "@types/react": "^18.0.21", - "@types/react-dom": "^18.0.6", - "lodash": "^4.17.21", - "lottie-react": "^2.3.1", - "typescript": "^4.4.3", - "web-vitals": "^2.1.4" - } - }, "node_modules/posix-character-classes": { "version": "0.1.1", "dev": true, @@ -10792,28 +10222,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/pretty-format": { - "version": "27.5.1", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/process": { "version": "0.11.10", "dev": true, @@ -10970,33 +10378,6 @@ "safe-buffer": "^5.1.0" } }, - "node_modules/react": { - "version": "18.2.0", - "license": "MIT", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-dom": { - "version": "18.2.0", - "license": "MIT", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" - }, - "peerDependencies": { - "react": "^18.2.0" - } - }, - "node_modules/react-is": { - "version": "17.0.2", - "license": "MIT" - }, "node_modules/read-cache": { "version": "1.0.0", "dev": true, @@ -11161,6 +10542,7 @@ }, "node_modules/redent": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "indent-string": "^4.0.0", @@ -11188,6 +10570,7 @@ }, "node_modules/regenerator-runtime": { "version": "0.13.11", + "dev": true, "license": "MIT" }, "node_modules/regenerator-transform": { @@ -11212,6 +10595,7 @@ }, "node_modules/regexp.prototype.flags": { "version": "1.4.3", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -11619,14 +11003,6 @@ "dev": true, "license": "ISC" }, - "node_modules/scheduler": { - "version": "0.23.0", - "license": "MIT", - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0" - } - }, "node_modules/schema-utils": { "version": "2.7.1", "dev": true, @@ -11728,6 +11104,7 @@ }, "node_modules/side-channel": { "version": "1.0.4", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.0", @@ -12276,6 +11653,7 @@ }, "node_modules/strip-indent": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "min-indent": "^1.0.0" @@ -12885,6 +12263,7 @@ }, "node_modules/supports-color": { "version": "5.5.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^3.0.0" @@ -13505,6 +12884,7 @@ }, "node_modules/typescript": { "version": "4.9.3", + "dev": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -14082,10 +13462,6 @@ "node": ">=0.10" } }, - "node_modules/web-vitals": { - "version": "2.1.4", - "license": "Apache-2.0" - }, "node_modules/webpack": { "version": "4.41.5", "dev": true, @@ -14264,6 +13640,7 @@ }, "node_modules/which-boxed-primitive": { "version": "1.0.2", + "dev": true, "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", @@ -14276,42 +13653,11 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/which-collection": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-weakmap": "^2.0.1", - "is-weakset": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/which-module": { "version": "2.0.0", "dev": true, "license": "ISC" }, - "node_modules/which-typed-array": { - "version": "1.1.9", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/workbox-background-sync": { "version": "6.5.4", "dev": true, @@ -14841,9 +14187,6 @@ } }, "dependencies": { - "@adobe/css-tools": { - "version": "4.0.1" - }, "@alloc/quick-lru": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", @@ -14885,6 +14228,7 @@ }, "@babel/code-frame": { "version": "7.18.6", + "dev": true, "requires": { "@babel/highlight": "^7.18.6" } @@ -15122,7 +14466,8 @@ "dev": true }, "@babel/helper-validator-identifier": { - "version": "7.19.1" + "version": "7.19.1", + "dev": true }, "@babel/helper-validator-option": { "version": "7.18.6", @@ -15149,6 +14494,7 @@ }, "@babel/highlight": { "version": "7.18.6", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", @@ -15791,6 +15137,7 @@ }, "@babel/runtime": { "version": "7.20.6", + "dev": true, "requires": { "regenerator-runtime": "^0.13.11" } @@ -15990,116 +15337,6 @@ "string.prototype.matchall": "^4.0.6" } }, - "@testing-library/dom": { - "version": "8.19.0", - "requires": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^4.2.0", - "aria-query": "^5.0.0", - "chalk": "^4.1.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", - "pretty-format": "^27.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4" - }, - "has-flag": { - "version": "4.0.0" - }, - "supports-color": { - "version": "7.2.0", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "@testing-library/jest-dom": { - "version": "5.16.5", - "requires": { - "@adobe/css-tools": "^4.0.1", - "@babel/runtime": "^7.9.2", - "@types/testing-library__jest-dom": "^5.9.1", - "aria-query": "^5.0.0", - "chalk": "^3.0.0", - "css.escape": "^1.5.1", - "dom-accessibility-api": "^0.5.6", - "lodash": "^4.17.15", - "redent": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "3.0.0", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4" - }, - "has-flag": { - "version": "4.0.0" - }, - "supports-color": { - "version": "7.2.0", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "@testing-library/react": { - "version": "13.4.0", - "requires": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.5.0", - "@types/react-dom": "^18.0.0" - } - }, - "@testing-library/user-event": { - "version": "13.5.0", - "requires": { - "@babel/runtime": "^7.12.5" - } - }, - "@types/aria-query": { - "version": "4.2.2" - }, "@types/babel__core": { "version": "7.1.20", "dev": true, @@ -16145,13 +15382,6 @@ "version": "0.0.39", "dev": true }, - "@types/jest": { - "version": "27.5.2", - "requires": { - "jest-matcher-utils": "^27.0.0", - "pretty-format": "^27.0.0" - } - }, "@types/json-schema": { "version": "7.0.11", "dev": true @@ -16168,7 +15398,8 @@ "dev": true }, "@types/node": { - "version": "16.18.6" + "version": "16.18.6", + "dev": true }, "@types/normalize-package-data": { "version": "2.4.0", @@ -16178,27 +15409,10 @@ "version": "4.0.0", "dev": true }, - "@types/prop-types": { - "version": "15.7.5" - }, "@types/q": { "version": "1.5.4", "dev": true }, - "@types/react": { - "version": "18.0.26", - "requires": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "@types/react-dom": { - "version": "18.0.9", - "requires": { - "@types/react": "*" - } - }, "@types/resolve": { "version": "1.17.1", "dev": true, @@ -16206,15 +15420,6 @@ "@types/node": "*" } }, - "@types/scheduler": { - "version": "0.16.2" - }, - "@types/testing-library__jest-dom": { - "version": "5.14.5", - "requires": { - "@types/jest": "*" - } - }, "@types/trusted-types": { "version": "2.0.2", "dev": true @@ -16421,10 +15626,12 @@ "dev": true }, "ansi-regex": { - "version": "5.0.1" + "version": "5.0.1", + "dev": true }, "ansi-styles": { "version": "3.2.1", + "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -16460,12 +15667,6 @@ "sprintf-js": "~1.0.2" } }, - "aria-query": { - "version": "5.1.3", - "requires": { - "deep-equal": "^2.0.5" - } - }, "arr-diff": { "version": "4.0.0", "dev": true @@ -16571,9 +15772,6 @@ "postcss-value-parser": "^4.2.0" } }, - "available-typed-arrays": { - "version": "1.0.5" - }, "babel-loader": { "version": "8.3.0", "dev": true, @@ -16965,6 +16163,7 @@ }, "call-bind": { "version": "1.0.2", + "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -17030,6 +16229,7 @@ }, "chalk": { "version": "2.4.2", + "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -17213,12 +16413,14 @@ }, "color-convert": { "version": "1.9.3", + "dev": true, "requires": { "color-name": "1.1.3" } }, "color-name": { - "version": "1.1.3" + "version": "1.1.3", + "dev": true }, "color-string": { "version": "1.5.4", @@ -17512,9 +16714,6 @@ "version": "3.4.2", "dev": true }, - "css.escape": { - "version": "1.5.1" - }, "cssesc": { "version": "3.0.0", "dev": true @@ -17675,9 +16874,6 @@ } } }, - "csstype": { - "version": "3.1.1" - }, "cyclist": { "version": "1.0.1", "dev": true @@ -17714,37 +16910,13 @@ "deep-diff": { "version": "1.0.2" }, - "deep-equal": { - "version": "2.1.0", - "requires": { - "call-bind": "^1.0.2", - "es-get-iterator": "^1.1.2", - "get-intrinsic": "^1.1.3", - "is-arguments": "^1.1.1", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.8" - }, - "dependencies": { - "isarray": { - "version": "2.0.5" - } - } - }, "deepmerge": { "version": "4.2.2", "dev": true }, "define-properties": { "version": "1.1.4", + "dev": true, "requires": { "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" @@ -17803,9 +16975,6 @@ "version": "1.2.2", "dev": true }, - "diff-sequences": { - "version": "27.5.1" - }, "diffie-hellman": { "version": "5.0.3", "dev": true, @@ -17832,9 +17001,6 @@ "version": "1.1.3", "dev": true }, - "dom-accessibility-api": { - "version": "0.5.14" - }, "dom-serializer": { "version": "0.2.2", "dev": true, @@ -18001,24 +17167,6 @@ "unbox-primitive": "^1.0.2" } }, - "es-get-iterator": { - "version": "1.1.2", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.0", - "has-symbols": "^1.0.1", - "is-arguments": "^1.1.0", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.5", - "isarray": "^2.0.5" - }, - "dependencies": { - "isarray": { - "version": "2.0.5" - } - } - }, "es-to-primitive": { "version": "1.2.1", "dev": true, @@ -18033,7 +17181,8 @@ "dev": true }, "escape-string-regexp": { - "version": "1.0.5" + "version": "1.0.5", + "dev": true }, "eslint-scope": { "version": "4.0.3", @@ -18440,12 +17589,6 @@ "readable-stream": "^2.3.6" } }, - "for-each": { - "version": "0.3.3", - "requires": { - "is-callable": "^1.1.3" - } - }, "for-in": { "version": "1.0.2", "dev": true @@ -18510,7 +17653,8 @@ "optional": true }, "function-bind": { - "version": "1.1.1" + "version": "1.1.1", + "dev": true }, "function.prototype.name": { "version": "1.1.5", @@ -18523,7 +17667,8 @@ } }, "functions-have-names": { - "version": "1.2.3" + "version": "1.2.3", + "dev": true }, "gensync": { "version": "1.0.0-beta.2", @@ -18535,6 +17680,7 @@ }, "get-intrinsic": { "version": "1.1.3", + "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -18652,12 +17798,6 @@ "minimist": "^1.2.5" } }, - "gopd": { - "version": "1.0.1", - "requires": { - "get-intrinsic": "^1.1.3" - } - }, "graceful-fs": { "version": "4.2.10", "dev": true @@ -18690,27 +17830,33 @@ }, "has": { "version": "1.0.3", + "dev": true, "requires": { "function-bind": "^1.1.1" } }, "has-bigints": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "has-flag": { - "version": "3.0.0" + "version": "3.0.0", + "dev": true }, "has-property-descriptors": { "version": "1.0.0", + "dev": true, "requires": { "get-intrinsic": "^1.1.1" } }, "has-symbols": { - "version": "1.0.3" + "version": "1.0.3", + "dev": true }, "has-tostringtag": { "version": "1.0.0", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -18954,7 +18100,8 @@ "dev": true }, "indent-string": { - "version": "4.0.0" + "version": "4.0.0", + "dev": true }, "indexes-of": { "version": "1.0.1", @@ -19025,19 +18172,13 @@ "is-decimal": "^1.0.0" } }, - "is-arguments": { - "version": "1.1.1", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, "is-arrayish": { "version": "0.2.1", "dev": true }, "is-bigint": { "version": "1.0.4", + "dev": true, "requires": { "has-bigints": "^1.0.1" } @@ -19051,6 +18192,7 @@ }, "is-boolean-object": { "version": "1.1.0", + "dev": true, "requires": { "call-bind": "^1.0.0" } @@ -19060,7 +18202,8 @@ "dev": true }, "is-callable": { - "version": "1.2.7" + "version": "1.2.7", + "dev": true }, "is-color-stop": { "version": "1.1.0", @@ -19099,6 +18242,7 @@ }, "is-date-object": { "version": "1.0.5", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -19149,9 +18293,6 @@ "version": "1.0.4", "dev": true }, - "is-map": { - "version": "2.0.2" - }, "is-module": { "version": "1.0.0", "dev": true @@ -19177,7 +18318,8 @@ } }, "is-number-object": { - "version": "1.0.4" + "version": "1.0.4", + "dev": true }, "is-obj": { "version": "2.0.0", @@ -19196,6 +18338,7 @@ }, "is-regex": { "version": "1.1.4", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -19209,9 +18352,6 @@ "version": "1.1.0", "dev": true }, - "is-set": { - "version": "2.0.2" - }, "is-shared-array-buffer": { "version": "1.0.2", "dev": true, @@ -19225,6 +18365,7 @@ }, "is-string": { "version": "1.0.7", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -19238,20 +18379,11 @@ }, "is-symbol": { "version": "1.0.3", + "dev": true, "requires": { "has-symbols": "^1.0.1" } }, - "is-typed-array": { - "version": "1.1.10", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" - } - }, "is-typedarray": { "version": "1.0.0", "dev": true @@ -19260,9 +18392,6 @@ "version": "0.1.0", "dev": true }, - "is-weakmap": { - "version": "2.0.1" - }, "is-weakref": { "version": "1.0.2", "dev": true, @@ -19270,13 +18399,6 @@ "call-bind": "^1.0.2" } }, - "is-weakset": { - "version": "2.0.2", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, "is-windows": { "version": "1.0.2", "dev": true @@ -19346,93 +18468,6 @@ } } }, - "jest-diff": { - "version": "27.5.1", - "requires": { - "chalk": "^4.0.0", - "diff-sequences": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4" - }, - "has-flag": { - "version": "4.0.0" - }, - "supports-color": { - "version": "7.2.0", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "jest-get-type": { - "version": "27.5.1" - }, - "jest-matcher-utils": { - "version": "27.5.1", - "requires": { - "chalk": "^4.0.0", - "jest-diff": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4" - }, - "has-flag": { - "version": "4.0.0" - }, - "supports-color": { - "version": "7.2.0", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "jest-worker": { "version": "25.5.0", "dev": true, @@ -19471,7 +18506,8 @@ } }, "js-tokens": { - "version": "4.0.0" + "version": "4.0.0", + "dev": true }, "js-yaml": { "version": "3.14.0", @@ -19663,22 +18699,6 @@ "version": "2.0.4", "dev": true }, - "loose-envify": { - "version": "1.4.0", - "peer": true, - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, - "lottie-react": { - "version": "2.3.1", - "requires": { - "lottie-web": "^5.9.4" - } - }, - "lottie-web": { - "version": "5.10.0" - }, "lower-case": { "version": "1.1.4" }, @@ -19689,9 +18709,6 @@ "yallist": "^3.0.2" } }, - "lz-string": { - "version": "1.4.4" - }, "magic-string": { "version": "0.25.9", "dev": true, @@ -19852,7 +18869,8 @@ } }, "min-indent": { - "version": "1.0.1" + "version": "1.0.1", + "dev": true }, "mini-css-extract-plugin": { "version": "0.9.0", @@ -20203,17 +19221,12 @@ "dev": true }, "object-inspect": { - "version": "1.12.2" - }, - "object-is": { - "version": "1.1.5", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } + "version": "1.12.2", + "dev": true }, "object-keys": { - "version": "1.1.1" + "version": "1.1.1", + "dev": true }, "object-visit": { "version": "1.0.1", @@ -20224,6 +19237,7 @@ }, "object.assign": { "version": "4.1.4", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -20452,23 +19466,6 @@ "find-up": "^3.0.0" } }, - "port": { - "version": "git+ssh://git@github.com/eyra/port.git#4949d714e03ebe996c192450e86649a4203792ee", - "from": "port@github:eyra/port#v1.0.0", - "requires": { - "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^13.4.0", - "@testing-library/user-event": "^13.5.0", - "@types/jest": "^27.5.2", - "@types/node": "^16.11.59", - "@types/react": "^18.0.21", - "@types/react-dom": "^18.0.6", - "lodash": "^4.17.21", - "lottie-react": "^2.3.1", - "typescript": "^4.4.3", - "web-vitals": "^2.1.4" - } - }, "posix-character-classes": { "version": "0.1.1", "dev": true @@ -21840,19 +20837,6 @@ "version": "5.6.0", "dev": true }, - "pretty-format": { - "version": "27.5.1", - "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0" - } - } - }, "process": { "version": "0.11.10", "dev": true @@ -21961,24 +20945,6 @@ "safe-buffer": "^5.1.0" } }, - "react": { - "version": "18.2.0", - "peer": true, - "requires": { - "loose-envify": "^1.1.0" - } - }, - "react-dom": { - "version": "18.2.0", - "peer": true, - "requires": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" - } - }, - "react-is": { - "version": "17.0.2" - }, "read-cache": { "version": "1.0.0", "dev": true, @@ -22095,6 +21061,7 @@ }, "redent": { "version": "3.0.0", + "dev": true, "requires": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" @@ -22112,7 +21079,8 @@ } }, "regenerator-runtime": { - "version": "0.13.11" + "version": "0.13.11", + "dev": true }, "regenerator-transform": { "version": "0.15.1", @@ -22131,6 +21099,7 @@ }, "regexp.prototype.flags": { "version": "1.4.3", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -22388,13 +21357,6 @@ "version": "1.2.4", "dev": true }, - "scheduler": { - "version": "0.23.0", - "peer": true, - "requires": { - "loose-envify": "^1.1.0" - } - }, "schema-utils": { "version": "2.7.1", "dev": true, @@ -22463,6 +21425,7 @@ }, "side-channel": { "version": "1.0.4", + "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -22863,6 +21826,7 @@ }, "strip-indent": { "version": "3.0.0", + "dev": true, "requires": { "min-indent": "^1.0.0" } @@ -23271,6 +22235,7 @@ }, "supports-color": { "version": "5.5.0", + "dev": true, "requires": { "has-flag": "^3.0.0" } @@ -23697,7 +22662,8 @@ } }, "typescript": { - "version": "4.9.3" + "version": "4.9.3", + "dev": true }, "uglify-js": { "version": "3.0.28", @@ -24069,9 +23035,6 @@ } } }, - "web-vitals": { - "version": "2.1.4" - }, "webpack": { "version": "4.41.5", "dev": true, @@ -24199,6 +23162,7 @@ }, "which-boxed-primitive": { "version": "1.0.2", + "dev": true, "requires": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -24207,30 +23171,10 @@ "is-symbol": "^1.0.3" } }, - "which-collection": { - "version": "1.0.1", - "requires": { - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-weakmap": "^2.0.1", - "is-weakset": "^2.0.1" - } - }, "which-module": { "version": "2.0.0", "dev": true }, - "which-typed-array": { - "version": "1.1.9", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" - } - }, "workbox-background-sync": { "version": "6.5.4", "dev": true, diff --git a/core/assets/package.json b/core/assets/package.json index e9476ce2c..f4d1224a4 100644 --- a/core/assets/package.json +++ b/core/assets/package.json @@ -17,7 +17,6 @@ "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html", "phoenix_live_view": "file:../deps/phoenix_live_view", - "port": "github:eyra/port#v1.0.0", "stringify": "^5.2.0", "topbar": "^0.1.4", "workbox-precaching": "^6.1.5", diff --git a/core/assets/webpack.config.js b/core/assets/webpack.config.js index 1760ed79d..218cdb150 100644 --- a/core/assets/webpack.config.js +++ b/core/assets/webpack.config.js @@ -19,8 +19,6 @@ module.exports = (env, options) => { }, entry: { app: glob.sync("./vendor/**/*.js").concat(["./js/app.js"]), - pyworker: ["./js/pyworker.js"], - processing_worker: ["./js/processing_worker.js"], // 'sw': ['./js/sw.js'] }, output: { diff --git a/core/lib/core_web.ex b/core/lib/core_web.ex index 9ff20f582..05123093a 100644 --- a/core/lib/core_web.ex +++ b/core/lib/core_web.ex @@ -19,7 +19,7 @@ defmodule CoreWeb do def static_paths, do: - ~w(css assets fonts images js favicon logo icon apple-touch-icon robots manifest sw privacy-statement.pdf landing_page port) + ~w(css assets fonts images js favicon logo icon apple-touch-icon robots manifest sw privacy-statement.pdf landing_page) def controller( opts \\ [formats: [:html, :json], layouts: [html: CoreWeb.Layouts], namespace: CoreWeb]