import {State} from 'statemanager/src/state-manager.mjs'
import {State} from 'state-manager'
- source + source
@@ -238,7 +238,7 @@- source + source
@@ -282,7 +282,7 @@- source + source
diff --git a/docs/class/src/state-manager.mjs~StateManager.html b/docs/class/src/state-manager.mjs~StateManager.html index 7ae9b05..e93f623 100644 --- a/docs/class/src/state-manager.mjs~StateManager.html +++ b/docs/class/src/state-manager.mjs~StateManager.html @@ -36,13 +36,13 @@import {StateManager} from 'statemanager/src/state-manager.mjs'
import {StateManager} from 'state-manager'
StateManager
-A class representing a state machine manager.
-- source + source
@@ -448,7 +447,7 @@- source + source
@@ -494,7 +493,7 @@- source + source
@@ -538,7 +537,7 @@- source + source
@@ -582,7 +581,7 @@- source + source
@@ -629,7 +628,7 @@- source + source
@@ -685,7 +684,7 @@- source + source
@@ -753,7 +752,7 @@- source + source
@@ -821,7 +820,7 @@- source + source
diff --git a/docs/class/src/vendor/logger.min.mjs~e.html b/docs/class/src/vendor/logger.min.mjs~e.html deleted file mode 100644 index f85709c..0000000 --- a/docs/class/src/vendor/logger.min.mjs~e.html +++ /dev/null @@ -1,2257 +0,0 @@ - - - - -e
- - - - - - - - - - - - - - - - - - - - - - - - - -Constructor Summary
Public Constructor | ||
- public - - - - - | -
-
-
- - - - - constructor() - -
-
-
-
-
- |
- - - - | -
Member Summary
Public Members | ||
- public - - - - - | -
-
-
- - - - - BG_COLORS: {} - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - currentType: string - -
-
-
-
-
- |
- - - - | -
Method Summary
Public Methods | ||
- public - - - - - | -
-
-
- - - - - assert(t: ...*) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - clear() - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - count(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - countReset(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - debug(t: ...*) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - error(t: ...*) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - group(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - groupCollapsed(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - groupEnd() - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - info(t: ...*) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - log(t: ...*) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - prefix(t: *): * - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - registerType(t: *, s: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - registerTypes(s: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - table(t: *, s: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - time(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - timeEnd(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - timeLog(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - trace(t: ...*) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - unregisterType(t: *) - -
-
-
-
-
- |
- - - - | -
- public - - - - - | -
-
-
- - - - - warn(t: ...*) - -
-
-
-
-
- |
- - - - | -
Public Constructors
- -- public - - - - - - constructor() - - - - source - -
- - - - - - - - -Public Members
- -- public - - - - - - BG_COLORS: {} - - - - source - -
- - - - - - - - -Public Methods
- -- public - - - - - - assert(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
- public - - - - - - clear() - - - - source - -
- - - - - - - - -- public - - - - - - count(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - countReset(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - debug(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
- public - - - - - - error(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
- public - - - - - - group(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - groupCollapsed(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - groupEnd() - - - - source - -
- - - - - - - - -- public - - - - - - info(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
- public - - - - - - log(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
- public - - - - - - message(s: string, e: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
s | -string | -
|
- - |
e | -...* | -- | - |
- public - - - - - - prefix(t: *): * - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
Return:
-* | - -
- public - - - - - - registerType(t: *, s: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
s | -* | -- | - |
- public - - - - - - registerTypes(s: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
s | -* | -- | - |
- public - - - - - - table(t: *, s: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
s | -* | -- | - |
- public - - - - - - time(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - timeEnd(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - timeLog(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - trace(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
- public - - - - - - unregisterType(t: *) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -* | -- | - |
- public - - - - - - warn(t: ...*) - - - - source - -
- - - - - - - - -Params:
-Name | Type | Attribute | Description |
t | -...* | -- | - |
src/state-manager.mjs
import { Logger } from './vendor/logger.min.mjs';
-/**
- * A class representing a state machine manager.
- *
- * @class StateManager
- * @license StateManager does not have a license at this time. For licensing contact the author
- * @author https://github.com/doubleactii
- */
+
class StateManager {
/**
* An object containing all the registered states.
diff --git a/docs/file/src/vendor/logger.min.mjs.html b/docs/file/src/vendor/logger.min.mjs.html
deleted file mode 100644
index 9b6dbf9..0000000
--- a/docs/file/src/vendor/logger.min.mjs.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- src/vendor/logger.min.mjs | State Manager
-
-
-
-
-
-
-
-
-
-
- Reference
- Source
-
-
-
-
-
-
-
-
-
-
-
-
-src/vendor/logger.min.mjs
-/**
- * logger@1.0.0 https://github.com/EvitcaStudio/Logger
- * Compiled 1/9/2024, 9:29:22 AM UTC
- *
- * logger is licensed under a MIT styled License. See LICENSE.md for more info.
- *
- * Copyright 2024, Evitca Studio, All Rights Reserved
- */
-var t={d:(s,e)=>{for(var i in e)t.o(e,i)&&!t.o(s,i)&&Object.defineProperty(s,i,{enumerable:!0,get:e[i]})},o:(t,s)=>Object.prototype.hasOwnProperty.call(t,s)},s={};t.d(s,{Y:()=>e});class e{constructor(t){this.RESET="[0m",this.BRIGHT="[1m",this.DIM="[2m",this.UNDERSCORE="[4m",this.BLINK="[5m",this.REVERSE="[7m",this.HIDDEN="[8m",this.FG_BLACK="[30m",this.FG_RED="[31m",this.FG_GREEN="[32m",this.FG_YELLOW="[33m",this.FG_BLUE="[34m",this.FG_MAGENTA="[35m",this.FG_CYAN="[36m",this.FG_WHITE="[37m",this.FG_GRAY="[90m",this.BG_BLACK="[40m",this.BG_RED="[41m",this.BG_GREEN="[42m",this.BG_YELLOW="[43m",this.BG_BLUE="[44m",this.BG_MAGENTA="[45m",this.BG_CYAN="[46m",this.BG_WHITE="[47m",this.BG_GRAY="[100m",this.TYPE_SPACER_LENGTH=13,this.types={default:this.FG_WHITE},this.currentType="",this.SPACE_CHAR=" ",this.FG_COLORS={};for(let t=0;t<=255;t++)this.FG_COLORS[t]="[38;5;"+t+"m";this.BG_COLORS={};for(let t=0;t<=255;t++)this.BG_COLORS[t]="[48;5;"+t+"m";Array.isArray(t)&&this.registerTypes(t)}prefix(t){return"string"==typeof t&&(this.currentType=t),this}message(s="log",...e){var i=this.currentType||"";if(0===i.length)console[s](...e);else{var r=i.length>=this.TYPE_SPACER_LENGTH;let t=this.types[i.toLowerCase()]?this.types[i.toLowerCase()]:this.types.default;var h=t.includes("");h||(t="color: "+t),!globalThis.window||h?console[s](t+i+this.SPACE_CHAR.repeat(Math.max(this.TYPE_SPACER_LENGTH-i.length,r?1:0))+"|"+this.RESET,...e):console[s]("%c"+i+this.SPACE_CHAR.repeat(Math.max(this.TYPE_SPACER_LENGTH-i.length,r?1:0))+"|",t,...e)}this.currentType=""}log(...t){this.message("log",...t)}info(...t){this.message("info",...t)}error(...t){this.message("error",...t)}warn(...t){this.message("warn",...t)}assert(...t){console.assert(...t)}debug(...t){this.message("debug",...t)}count(t){console.count(t)}countReset(t){console.countReset(t)}table(t,s){console.table(t,s)}time(t){this.message("time",t)}timeLog(t){this.message("timeLog",t)}timeEnd(t){this.message("timeEnd",t)}trace(...t){this.message("trace",...t)}group(t){this.message("group",t)}groupCollapsed(t){console.groupCollapsed(t)}groupEnd(){console.groupEnd()}clear(){console.clear()}registerType(t,s){this.types[t]||"string"==typeof t&&"string"==typeof s&&(this.types[t.toLowerCase()]=s)}registerTypes(s){if(Array.isArray(s))for(let t=0;t<s.length;t++)this.registerType(s[t].type,s[t].ansi)}unregisterType(t){this.types[t]&&delete this.types[t]}}var i=s.Y;export{i as Logger};
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/identifiers.html b/docs/identifiers.html
index 6b2a0da..84a4bdf 100644
--- a/docs/identifiers.html
+++ b/docs/identifiers.html
@@ -95,8 +95,7 @@
- A class representing a state machine manager.
-
+
diff --git a/docs/index.html b/docs/index.html
index e3c0f94..dde7346 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -36,8 +36,17 @@
StateManager
A simple state machine manager and state class that can be used in JavaScript games.
+Installation
ES Module
import { StateManager, State } from './state-manager.mjs';
+
+IIFE (Immediately Invoked Function Expression)
<script src="state-manager.js"></script>;
+// ...
+window.StateManagerBundle.StateManager;
+window.StateManagerBundle.State;
+
+CommonJS (CJS) Module
const { StateManager, State } = require('./state-manager.cjs.js');
+
Usage
Import StateManager and State:
-import { StateManager, State } from './state-manager.min.mjs';
+import { StateManager, State } from './state-manager.mjs';
Create your own states by extending the State class:
class IdleState extends State {
@@ -69,7 +78,7 @@ Usage
Import StateManager and State:
}
API
StateManager
new StateManager(pStates)
Creates a new state machine manager.
-import { StateManager, State } from './state-manager.min.mjs';
+import { StateManager, State } from './state-manager.mjs';
class FooState extends State {
// ...
}
@@ -92,7 +101,7 @@ registerState(pName, pState)
Regist
pName {string} - The name of the state.
-pState {State} - The state object.import { StateManager, State } from './state-manager.min.mjs';
+pState {State} - The state object.import { StateManager, State } from './state-manager.mjs';
const stateManager = new StateManager();
class IdleState extends State {
// ...
@@ -151,7 +160,7 @@ exit()
Called when exiting the state.
}
}
-Arguments can be passed when setting the state
import { StateManager, State } from './state-manager.min.mjs';
+Arguments can be passed when setting the state
import { StateManager, State } from './state-manager.mjs';
const stateManager = new StateManager();
class IdleState extends State {
@@ -166,8 +175,8 @@ Arguments can be passed
-License
StateManager does not have a license at this time. For licensing contact the author.
Author
StateManager was created by doubleactii.
+Global Dependency
StateManager relies on the VYLO
variable being globally accessible.
diff --git a/docs/index.json b/docs/index.json
index cfd6c02..b92c1dc 100644
--- a/docs/index.json
+++ b/docs/index.json
@@ -567,7 +567,7 @@
"__docId__": 48,
"kind": "file",
"name": "src/state-manager.mjs",
- "content": "import { Logger } from './vendor/logger.min.mjs';\r\n/**\r\n * A class representing a state machine manager.\r\n * \r\n * @class StateManager \r\n * @license StateManager does not have a license at this time. For licensing contact the author\r\n * @author https://github.com/doubleactii\r\n */\r\nclass StateManager {\r\n\t/**\r\n\t * An object containing all the registered states.\r\n\t * \r\n\t * @private\r\n\t * @type {Object}\r\n\t */\r\n\tstates = {};\r\n\t/**\r\n\t * The current state of the state machine.\r\n\t * \r\n\t * @private\r\n\t * @type {State|null}\r\n\t */\r\n\tcurrentState = null;\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tversion = \"VERSION_REPLACE_ME\";\r\n\t/**\r\n\t * Creates a new state machine manager.\r\n\t * \r\n\t * @param {Object} pStates - Array of state objects to register.\r\n\t */\r\n\tconstructor(pStates) {\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n this.logger = new Logger();\r\n this.logger.registerType('StateManager-Module', '#ff6600');\r\n\t\t// Loop passed states and register them. {'name': foo, 'state': state}\r\n\t\tif (typeof (pStates) === 'object' && !Array.isArray(pStates)) {\r\n\t\t\tfor (const state in pStates) {\r\n\t\t\t\tthis.registerState();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Registers a new state with the state machine.\r\n\t * \r\n\t * @param {string} pName - The name of the state.\r\n\t * @param {State} pState - The state object.\r\n\t */\r\n\tregisterState(pName, pState) {\r\n\t\tif (typeof (pName) === 'string') {\r\n\t\t\tif (pState instanceof State) {\r\n\t\t\t\tpState.name = pName;\r\n\t\t\t\tthis.states[pName] = pState;\r\n\t\t\t\tpState.manager = this;\r\n\t\t\t} else {\r\n\t\t\t\tthis.logger.prefix('StateManager-Module').error(`${pState} is not a valid state.`);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.logger.prefix('StateManager-Module').error('Invalid name for state.');\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Sets the current state of the state machine.\r\n\t * \r\n\t * @param {string} pName - The name of the state to set.\r\n\t * @param {*} pRest - The arguments that were passed when setting this state.\r\n\t */\r\n\tsetState(pName, ...pRest) {\r\n\t\tconst state = this.states[pName];\r\n\t\tif (!state) {\r\n\t\t\tthis.logger.prefix('StateManager-Module').warn(`State ${pName} not found.`);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.currentState) {\r\n\t\t\tthis.currentState.exit();\r\n\t\t}\r\n\r\n\t\tthis.currentState = state;\r\n\t\tthis.currentState.enter(...pRest);\r\n\t}\r\n\r\n\t/**\r\n\t * Gets the current state.\r\n\t */\r\n\tgetCurrentState() {\r\n\t\treturn this.currentState ? this.currentState.name : null;\r\n\t}\r\n\r\n\t/**\r\n\t * Updates the current state of the state machine.\r\n\t * \r\n\t * @param {number} pDelta - The delta time since the last update in seconds.\r\n\t */\r\n\tupdate(pDelta) {\r\n\t\tif (this.currentState) {\r\n\t\t\tthis.currentState.update(pDelta);\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * A class representing a state.\r\n */\r\nclass State {\r\n\t/**\r\n\t * Called when entering the state.\r\n\t */\r\n\tenter() { }\r\n\r\n\t/**\r\n\t * Called when executing the state.\r\n\t * \r\n\t * @param {number} pDelta - The delta time since the last update in seconds.\r\n\t */\r\n\tupdate(pDelta) { }\r\n\r\n\t/**\r\n\t * Called when exiting the state.\r\n\t */\r\n\texit() { }\r\n}\r\n\r\nexport { StateManager, State };",
+ "content": "import { Logger } from './vendor/logger.min.mjs';\r\n\r\nclass StateManager {\r\n\t/**\r\n\t * An object containing all the registered states.\r\n\t * \r\n\t * @private\r\n\t * @type {Object}\r\n\t */\r\n\tstates = {};\r\n\t/**\r\n\t * The current state of the state machine.\r\n\t * \r\n\t * @private\r\n\t * @type {State|null}\r\n\t */\r\n\tcurrentState = null;\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tversion = \"VERSION_REPLACE_ME\";\r\n\t/**\r\n\t * Creates a new state machine manager.\r\n\t * \r\n\t * @param {Object} pStates - Array of state objects to register.\r\n\t */\r\n\tconstructor(pStates) {\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n this.logger = new Logger();\r\n this.logger.registerType('StateManager-Module', '#ff6600');\r\n\t\t// Loop passed states and register them. {'name': foo, 'state': state}\r\n\t\tif (typeof (pStates) === 'object' && !Array.isArray(pStates)) {\r\n\t\t\tfor (const state in pStates) {\r\n\t\t\t\tthis.registerState();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Registers a new state with the state machine.\r\n\t * \r\n\t * @param {string} pName - The name of the state.\r\n\t * @param {State} pState - The state object.\r\n\t */\r\n\tregisterState(pName, pState) {\r\n\t\tif (typeof (pName) === 'string') {\r\n\t\t\tif (pState instanceof State) {\r\n\t\t\t\tpState.name = pName;\r\n\t\t\t\tthis.states[pName] = pState;\r\n\t\t\t\tpState.manager = this;\r\n\t\t\t} else {\r\n\t\t\t\tthis.logger.prefix('StateManager-Module').error(`${pState} is not a valid state.`);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.logger.prefix('StateManager-Module').error('Invalid name for state.');\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Sets the current state of the state machine.\r\n\t * \r\n\t * @param {string} pName - The name of the state to set.\r\n\t * @param {*} pRest - The arguments that were passed when setting this state.\r\n\t */\r\n\tsetState(pName, ...pRest) {\r\n\t\tconst state = this.states[pName];\r\n\t\tif (!state) {\r\n\t\t\tthis.logger.prefix('StateManager-Module').warn(`State ${pName} not found.`);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.currentState) {\r\n\t\t\tthis.currentState.exit();\r\n\t\t}\r\n\r\n\t\tthis.currentState = state;\r\n\t\tthis.currentState.enter(...pRest);\r\n\t}\r\n\r\n\t/**\r\n\t * Gets the current state.\r\n\t */\r\n\tgetCurrentState() {\r\n\t\treturn this.currentState ? this.currentState.name : null;\r\n\t}\r\n\r\n\t/**\r\n\t * Updates the current state of the state machine.\r\n\t * \r\n\t * @param {number} pDelta - The delta time since the last update in seconds.\r\n\t */\r\n\tupdate(pDelta) {\r\n\t\tif (this.currentState) {\r\n\t\t\tthis.currentState.update(pDelta);\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * A class representing a state.\r\n */\r\nclass State {\r\n\t/**\r\n\t * Called when entering the state.\r\n\t */\r\n\tenter() { }\r\n\r\n\t/**\r\n\t * Called when executing the state.\r\n\t * \r\n\t * @param {number} pDelta - The delta time since the last update in seconds.\r\n\t */\r\n\tupdate(pDelta) { }\r\n\r\n\t/**\r\n\t * Called when exiting the state.\r\n\t */\r\n\texit() { }\r\n}\r\n\r\nexport { StateManager, State };",
"static": true,
"longname": "C:/Users/jared/Documents/Github/StateManager/src/state-manager.mjs",
"access": "public",
@@ -583,24 +583,11 @@
"longname": "src/state-manager.mjs~StateManager",
"access": "public",
"export": true,
- "importPath": "statemanager/src/state-manager.mjs",
+ "importPath": "state-manager",
"importStyle": "{StateManager}",
- "description": "A class representing a state machine manager.",
- "lineNumber": 9,
- "unknown": [
- {
- "tagName": "@class",
- "tagValue": "StateManager "
- },
- {
- "tagName": "@license",
- "tagValue": "StateManager does not have a license at this time. For licensing contact the author"
- },
- {
- "tagName": "@author",
- "tagValue": "https://github.com/doubleactii"
- }
- ],
+ "description": null,
+ "lineNumber": 3,
+ "undocument": true,
"interface": false
},
{
@@ -612,7 +599,7 @@
"longname": "src/state-manager.mjs~StateManager#states",
"access": "private",
"description": "An object containing all the registered states.",
- "lineNumber": 16,
+ "lineNumber": 10,
"type": {
"nullable": null,
"types": [
@@ -631,7 +618,7 @@
"longname": "src/state-manager.mjs~StateManager#currentState",
"access": "private",
"description": "The current state of the state machine.",
- "lineNumber": 23,
+ "lineNumber": 17,
"type": {
"nullable": null,
"types": [
@@ -651,7 +638,7 @@
"longname": "src/state-manager.mjs~StateManager#version",
"access": "public",
"description": "The version of the module.",
- "lineNumber": 27,
+ "lineNumber": 21,
"type": {
"types": [
"*"
@@ -669,7 +656,7 @@
"longname": "src/state-manager.mjs~StateManager#constructor",
"access": "public",
"description": "Creates a new state machine manager.",
- "lineNumber": 33,
+ "lineNumber": 27,
"params": [
{
"nullable": null,
@@ -692,7 +679,7 @@
"longname": "src/state-manager.mjs~StateManager#logger",
"access": "private",
"description": "The logger module this module uses to log errors / logs.",
- "lineNumber": 38,
+ "lineNumber": 32,
"type": {
"nullable": null,
"types": [
@@ -713,7 +700,7 @@
"longname": "src/state-manager.mjs~StateManager#registerState",
"access": "public",
"description": "Registers a new state with the state machine.",
- "lineNumber": 54,
+ "lineNumber": 48,
"params": [
{
"nullable": null,
@@ -749,7 +736,7 @@
"longname": "src/state-manager.mjs~StateManager#setState",
"access": "public",
"description": "Sets the current state of the state machine.",
- "lineNumber": 74,
+ "lineNumber": 68,
"params": [
{
"nullable": null,
@@ -785,7 +772,7 @@
"longname": "src/state-manager.mjs~StateManager#getCurrentState",
"access": "public",
"description": "Gets the current state.",
- "lineNumber": 92,
+ "lineNumber": 86,
"params": [],
"return": {
"types": [
@@ -804,7 +791,7 @@
"longname": "src/state-manager.mjs~StateManager#update",
"access": "public",
"description": "Updates the current state of the state machine.",
- "lineNumber": 101,
+ "lineNumber": 95,
"params": [
{
"nullable": null,
@@ -828,10 +815,10 @@
"longname": "src/state-manager.mjs~State",
"access": "public",
"export": true,
- "importPath": "statemanager/src/state-manager.mjs",
+ "importPath": "state-manager",
"importStyle": "{State}",
"description": "A class representing a state.",
- "lineNumber": 111,
+ "lineNumber": 105,
"interface": false
},
{
@@ -845,7 +832,7 @@
"longname": "src/state-manager.mjs~State#enter",
"access": "public",
"description": "Called when entering the state.",
- "lineNumber": 115,
+ "lineNumber": 109,
"params": [],
"return": null
},
@@ -860,7 +847,7 @@
"longname": "src/state-manager.mjs~State#update",
"access": "public",
"description": "Called when executing the state.",
- "lineNumber": 122,
+ "lineNumber": 116,
"params": [
{
"nullable": null,
@@ -886,13 +873,13 @@
"longname": "src/state-manager.mjs~State#exit",
"access": "public",
"description": "Called when exiting the state.",
- "lineNumber": 127,
+ "lineNumber": 121,
"params": [],
"return": null
},
{
"kind": "index",
- "content": "# StateManager\r\nA simple state machine manager and state class that can be used in JavaScript games.\r\n\r\n# Usage\r\nImport StateManager and State:\r\n```js\r\nimport { StateManager, State } from './state-manager.min.mjs';\r\n```\r\nCreate your own states by extending the State class:\r\n```js\r\nclass IdleState extends State {\r\n enter() {\r\n console.log('Entering IdleState');\r\n }\r\n\r\n update(pDelta) {\r\n console.log(`Updating IdleState with delta ${pDelta}`);\r\n }\r\n\r\n exit() {\r\n console.log('Exiting IdleState');\r\n }\r\n}\r\n```\r\nCreate a new StateManager instance and register your states:\r\n```js\r\nconst stateManager = new StateManager();\r\nstateManager.registerState('idle', new IdleState());\r\n```\r\nSet the initial state:\r\n```js\r\nstateManager.setState('idle');\r\n```\r\nUpdate the state machine in your game loop:\r\n```js\r\nfunction gameLoop() {\r\n // caclulate delta and pass it to the state manager's update method\r\n stateManager.update(delta);\r\n requestAnimationFrame(gameLoop);\r\n}\r\n```\r\n# API\r\n# StateManager \r\n\r\n## new StateManager(pStates) \r\nCreates a new state machine manager.\r\n```js\r\nimport { StateManager, State } from './state-manager.min.mjs';\r\nclass FooState extends State {\r\n // ...\r\n}\r\nclass BarState extends State {\r\n // ...\r\n}\r\nconst stateInfo = [\r\n {name: 'foo', state: new FooState()},\r\n {name: 'bar', state: new BarState()}\r\n];\r\n\r\nconst stateManager = new StateManager(stateInfo);\r\n// Now able to change to those states\r\nstateManager.setState('foo');\r\nstateManager.setState('bar');\r\n```\r\n\r\n- pStates {Object} - An object containing all the states to be registered.\r\n## registerState(pName, pState) \r\nRegisters a new state with the state machine.\r\n\r\n- pName {string} - The name of the state.\r\n- pState {State} - The state object.\r\n```js\r\nimport { StateManager, State } from './state-manager.min.mjs';\r\nconst stateManager = new StateManager();\r\nclass IdleState extends State {\r\n // ...\r\n}\r\nstateManager.registerState('idle', new IdleState());\r\n```\r\n\r\n## setState(pName, pArg, pArg2, ..., pArgN) \r\nSets the current state of the state machine.\r\n\r\n- pName {string} - The name of the state to set.\r\n- pArg {*} - Argument(s) to pass to the enter method of the state.\r\n```js\r\nstateManager.setState('idle');\r\n// or with arguments\r\nstateManager.setState('idle', 1, 2, 3);\r\n```\r\n## getCurrentState() \r\nGets the current state.\r\n\r\n```js\r\nstateManager.getCurrentState(); // 'idle'\r\n```\r\n\r\n## update(pDelta) \r\nUpdates the current state of the state machine.\r\n\r\n- pDelta {number} - The delta time since the last update in seconds.\r\n```js\r\nstateManager.update(delta);\r\n```\r\n\r\n# State\r\nA class representing a state.\r\n\r\n## manager\r\nReference to the manager that is managing this state. \r\nWill be **`undefined`** if the state is unregistered.\r\n```js\r\nclass IdleState extends State {\r\n // ...\r\n}\r\nconst idle = new IdleState();\r\nidle.manager // manager that registered this state.\r\n```\r\n\r\n## enter()\r\nCalled when entering the state.\r\n```js\r\nclass IdleState extends State {\r\n enter() {\r\n console.log('Entering IdleState');\r\n }\r\n}\r\n```\r\n\r\n## update(pDelta)\r\nCalled when executing the state. This is automatically called when the state manager updates.\r\n\r\n- pDelta {number} - The delta time since the last update in seconds.\r\n```js\r\nclass IdleState extends State {\r\n update(pDelta) {\r\n console.log(`Updating IdleState with delta ${pDelta}`);\r\n }\r\n}\r\n```\r\n\r\n## exit()\r\nCalled when exiting the state.\r\n```js\r\nclass IdleState extends State {\r\n exit() {\r\n console.log('Exiting IdleState');\r\n }\r\n}\r\n```\r\n\r\n# Arguments can be passed when setting the state\r\n\r\n```js\r\nimport { StateManager, State } from './state-manager.min.mjs';\r\nconst stateManager = new StateManager();\r\n\r\nclass IdleState extends State {\r\n enter(pParam) {\r\n console.log(pParam); // 'foo';\r\n }\r\n}\r\n\r\nconst idle = new IdleState();\r\nstateManager.registerState('idle', idle);\r\nstateManager.setState('idle', 'foo');\r\n\r\n\r\n```\r\n\r\n# License\r\nStateManager does not have a license at this time. For licensing contact the author.\r\n\r\n# Author\r\nStateManager was created by doubleactii.",
+ "content": "# StateManager\r\nA simple state machine manager and state class that can be used in JavaScript games.\r\n\r\n## Installation\r\n\r\n### ES Module\r\n\r\n```js\r\nimport { StateManager, State } from './state-manager.mjs';\r\n```\r\n\r\n### IIFE (Immediately Invoked Function Expression)\r\n\r\n```js\r\n;\r\n// ...\r\nwindow.StateManagerBundle.StateManager;\r\nwindow.StateManagerBundle.State;\r\n```\r\n\r\n### CommonJS (CJS) Module\r\n\r\n```js\r\nconst { StateManager, State } = require('./state-manager.cjs.js');\r\n```\r\n\r\n# Usage\r\nImport StateManager and State:\r\n```js\r\nimport { StateManager, State } from './state-manager.mjs';\r\n```\r\nCreate your own states by extending the State class:\r\n```js\r\nclass IdleState extends State {\r\n enter() {\r\n console.log('Entering IdleState');\r\n }\r\n\r\n update(pDelta) {\r\n console.log(`Updating IdleState with delta ${pDelta}`);\r\n }\r\n\r\n exit() {\r\n console.log('Exiting IdleState');\r\n }\r\n}\r\n```\r\nCreate a new StateManager instance and register your states:\r\n```js\r\nconst stateManager = new StateManager();\r\nstateManager.registerState('idle', new IdleState());\r\n```\r\nSet the initial state:\r\n```js\r\nstateManager.setState('idle');\r\n```\r\nUpdate the state machine in your game loop:\r\n```js\r\nfunction gameLoop() {\r\n // caclulate delta and pass it to the state manager's update method\r\n stateManager.update(delta);\r\n requestAnimationFrame(gameLoop);\r\n}\r\n```\r\n# API\r\n# StateManager \r\n\r\n## new StateManager(pStates) \r\nCreates a new state machine manager.\r\n```js\r\nimport { StateManager, State } from './state-manager.mjs';\r\nclass FooState extends State {\r\n // ...\r\n}\r\nclass BarState extends State {\r\n // ...\r\n}\r\nconst stateInfo = [\r\n {name: 'foo', state: new FooState()},\r\n {name: 'bar', state: new BarState()}\r\n];\r\n\r\nconst stateManager = new StateManager(stateInfo);\r\n// Now able to change to those states\r\nstateManager.setState('foo');\r\nstateManager.setState('bar');\r\n```\r\n\r\n- pStates {Object} - An object containing all the states to be registered.\r\n## registerState(pName, pState) \r\nRegisters a new state with the state machine.\r\n\r\n- pName {string} - The name of the state.\r\n- pState {State} - The state object.\r\n```js\r\nimport { StateManager, State } from './state-manager.mjs';\r\nconst stateManager = new StateManager();\r\nclass IdleState extends State {\r\n // ...\r\n}\r\nstateManager.registerState('idle', new IdleState());\r\n```\r\n\r\n## setState(pName, pArg, pArg2, ..., pArgN) \r\nSets the current state of the state machine.\r\n\r\n- pName {string} - The name of the state to set.\r\n- pArg {*} - Argument(s) to pass to the enter method of the state.\r\n```js\r\nstateManager.setState('idle');\r\n// or with arguments\r\nstateManager.setState('idle', 1, 2, 3);\r\n```\r\n## getCurrentState() \r\nGets the current state.\r\n\r\n```js\r\nstateManager.getCurrentState(); // 'idle'\r\n```\r\n\r\n## update(pDelta) \r\nUpdates the current state of the state machine.\r\n\r\n- pDelta {number} - The delta time since the last update in seconds.\r\n```js\r\nstateManager.update(delta);\r\n```\r\n\r\n# State\r\nA class representing a state.\r\n\r\n## manager\r\nReference to the manager that is managing this state. \r\nWill be **`undefined`** if the state is unregistered.\r\n```js\r\nclass IdleState extends State {\r\n // ...\r\n}\r\nconst idle = new IdleState();\r\nidle.manager // manager that registered this state.\r\n```\r\n\r\n## enter()\r\nCalled when entering the state.\r\n```js\r\nclass IdleState extends State {\r\n enter() {\r\n console.log('Entering IdleState');\r\n }\r\n}\r\n```\r\n\r\n## update(pDelta)\r\nCalled when executing the state. This is automatically called when the state manager updates.\r\n\r\n- pDelta {number} - The delta time since the last update in seconds.\r\n```js\r\nclass IdleState extends State {\r\n update(pDelta) {\r\n console.log(`Updating IdleState with delta ${pDelta}`);\r\n }\r\n}\r\n```\r\n\r\n## exit()\r\nCalled when exiting the state.\r\n```js\r\nclass IdleState extends State {\r\n exit() {\r\n console.log('Exiting IdleState');\r\n }\r\n}\r\n```\r\n\r\n# Arguments can be passed when setting the state\r\n\r\n```js\r\nimport { StateManager, State } from './state-manager.mjs';\r\nconst stateManager = new StateManager();\r\n\r\nclass IdleState extends State {\r\n enter(pParam) {\r\n console.log(pParam); // 'foo';\r\n }\r\n}\r\n\r\nconst idle = new IdleState();\r\nstateManager.registerState('idle', idle);\r\nstateManager.setState('idle', 'foo');\r\n\r\n\r\n```\r\n\r\n# Author\r\nStateManager was created by doubleactii.\r\n\r\n### Global Dependency\r\n\r\nStateManager relies on the `VYLO` variable being globally accessible.",
"longname": "C:\\Users\\jared\\Documents\\Github\\StateManager\\README.md",
"name": "./README.md",
"static": true,
@@ -900,7 +887,7 @@
},
{
"kind": "packageJSON",
- "content": "{\r\n \"name\": \"statemanager\",\r\n \"version\": \"1.0.0\",\r\n \"description\": \"A class representing a state machine manager.\",\r\n \"main\": \"dist/state-manager.min.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build\": \"npx webpack && npm run build:minify && node add-version-script.js && node add-banner-script.js\",\r\n \"build:minify\": \"uglifyjs dist/state-manager.min.mjs -m -c --comments -o dist/state-manager.min.mjs\",\r\n \"build:prod\": \"npx webpack --mode production && npm run build:minify && node add-version-script.js && node add-banner-script.js && npm run build:docs\",\r\n \"build:docs\": \"esdoc -c esdoc.json\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"SEE LICENSE IN LICENSE.md\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/StateManager.git\"\r\n },\r\n \"bugs\": {\r\n \"url\": \"https://github.com/EvitcaStudio/StateManager/issues\"\r\n },\r\n \"homepage\": \"https://github.com/EvitcaStudio/StateManager#readme\",\r\n \"devDependencies\": {\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"uglify-js\": \"^3.17.4\",\r\n \"webpack\": \"^5.89.0\",\r\n \"webpack-cli\": \"^5.1.4\"\r\n }\r\n}\r\n",
+ "content": "{\r\n \"name\": \"state-manager\",\r\n \"version\": \"1.0.0\",\r\n \"description\": \"A class representing a state machine manager.\",\r\n \"main\": \"src/state-manager.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c --failAfterWarnings\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"SEE LICENSE IN LICENSE.md\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/StateManager\"\r\n },\r\n \"bugs\": {\r\n \"url\": \"https://github.com/EvitcaStudio/StateManager/issues\"\r\n },\r\n \"homepage\": \"https://github.com/EvitcaStudio/StateManager#readme\",\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n",
"longname": "C:\\Users\\jared\\Documents\\Github\\StateManager\\package.json",
"name": "package.json",
"static": true,
diff --git a/docs/script/search_index.js b/docs/script/search_index.js
index 374260e..d1b1301 100644
--- a/docs/script/search_index.js
+++ b/docs/script/search_index.js
@@ -1,14 +1,14 @@
window.esdocSearchIndex = [
[
- "statemanager/src/state-manager.mjs~state",
+ "state-manager~state",
"class/src/state-manager.mjs~State.html",
- "State statemanager/src/state-manager.mjs",
+ "State state-manager",
"class"
],
[
- "statemanager/src/state-manager.mjs~statemanager",
+ "state-manager~statemanager",
"class/src/state-manager.mjs~StateManager.html",
- "StateManager statemanager/src/state-manager.mjs",
+ "StateManager state-manager",
"class"
],
[
diff --git a/docs/source.html b/docs/source.html
index 20f289d..1dd136c 100644
--- a/docs/source.html
+++ b/docs/source.html
@@ -55,9 +55,9 @@
State
StateManager
-
-
-
-
+
+
+
diff --git a/docs/variable/index.html b/docs/variable/index.html
deleted file mode 100644
index 07e8521..0000000
--- a/docs/variable/index.html
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
-
-
- Variable | State Manager
-
-
-
-
-
-
-
-
-
-
- Reference
- Source
-
-
-
-
-
-
-
-
-
-
-
-
-Variable
-
- Static Public Summary
-
-
-
-
- public
-
-
-
-
-
-
-
-
-
-
-
- i: *
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- public
-
-
-
-
-
-
-
-
-
-
-
- t: {"d": *, "o": *}
-
-
-
-
-
- logger@1.0.0 https://github.com/EvitcaStudio/Logger
-Compiled 1/9/2024, 9:29:22 AM UTC
-
-
-
-
-
-
-
-
-
-
-
-Static Public
-
-
-
- public
-
-
-
-
-
- i: *
-
-
-
- source
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- public
-
-
-
-
-
- t: {"d": *, "o": *}
-
-
-
- source
-
-
-
-
-
-
- logger@1.0.0 https://github.com/EvitcaStudio/Logger
-Compiled 1/9/2024, 9:29:22 AM UTC
-logger is licensed under a MIT styled License. See LICENSE.md for more info.
-Copyright 2024, Evitca Studio, All Rights Reserved
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/package-lock.json b/package-lock.json
index 17f0d43..1d984fb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,32 +9,486 @@
"version": "1.0.0",
"license": "SEE LICENSE IN LICENSE.md",
"devDependencies": {
+ "@rollup/plugin-babel": "^6.0.4",
+ "@rollup/plugin-terser": "^0.4.4",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
- "uglify-js": "^3.17.4",
- "webpack": "^5.89.0",
- "webpack-cli": "^5.1.4"
+ "rollup": "^4.14.1",
+ "rollup-plugin-banner2": "^1.2.3",
+ "rollup-plugin-cleandir": "^2.0.0",
+ "rollup-plugin-replace": "^2.2.0"
}
},
- "node_modules/@discoveryjs/json-ext": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz",
- "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==",
+ "node_modules/@ampproject/remapping": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
+ "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.24.2",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz",
+ "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/highlight": "^7.24.2",
+ "picocolors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.24.4",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz",
+ "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.5.tgz",
+ "integrity": "sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@ampproject/remapping": "^2.2.0",
+ "@babel/code-frame": "^7.24.2",
+ "@babel/generator": "^7.24.5",
+ "@babel/helper-compilation-targets": "^7.23.6",
+ "@babel/helper-module-transforms": "^7.24.5",
+ "@babel/helpers": "^7.24.5",
+ "@babel/parser": "^7.24.5",
+ "@babel/template": "^7.24.0",
+ "@babel/traverse": "^7.24.5",
+ "@babel/types": "^7.24.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/core/node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@babel/core/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true,
+ "peer": true
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.5.tgz",
+ "integrity": "sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/types": "^7.24.5",
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "jsesc": "^2.5.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/generator/node_modules/jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true,
+ "peer": true,
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz",
+ "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/compat-data": "^7.23.5",
+ "@babel/helper-validator-option": "^7.23.5",
+ "browserslist": "^4.22.2",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-environment-visitor": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-function-name": {
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-hoist-variables": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.24.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz",
+ "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.24.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.5.tgz",
+ "integrity": "sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-module-imports": "^7.24.3",
+ "@babel/helper-simple-access": "^7.24.5",
+ "@babel/helper-split-export-declaration": "^7.24.5",
+ "@babel/helper-validator-identifier": "^7.24.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-simple-access": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.5.tgz",
+ "integrity": "sha512-uH3Hmf5q5n7n8mz7arjUlDOCbttY/DW4DYhE6FUsjKJ/oYC1kQQUvwEQWxRwUpX9qQKRXeqLwWxrqilMrf32sQ==",
"dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/types": "^7.24.5"
+ },
"engines": {
- "node": ">=10.0.0"
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-split-export-declaration": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.5.tgz",
+ "integrity": "sha512-5CHncttXohrHk8GWOFCcCl4oRD9fKosWlIRgWm4ql9VYioKm52Mk2xsmoohvm7f3JoiLSM5ZgJuRaf5QZZYd3Q==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/types": "^7.24.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.24.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz",
+ "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz",
+ "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz",
+ "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.5.tgz",
+ "integrity": "sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/template": "^7.24.0",
+ "@babel/traverse": "^7.24.5",
+ "@babel/types": "^7.24.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz",
+ "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.24.5",
+ "chalk": "^2.4.2",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "peer": true
+ },
+ "node_modules/@babel/highlight/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz",
+ "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==",
+ "dev": true,
+ "peer": true,
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz",
+ "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.23.5",
+ "@babel/parser": "^7.24.0",
+ "@babel/types": "^7.24.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.5.tgz",
+ "integrity": "sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.24.2",
+ "@babel/generator": "^7.24.5",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.24.5",
+ "@babel/parser": "^7.24.5",
+ "@babel/types": "^7.24.5",
+ "debug": "^4.3.1",
+ "globals": "^11.1.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse/node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@babel/traverse/node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/traverse/node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true,
+ "peer": true
+ },
+ "node_modules/@babel/types": {
+ "version": "7.24.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.5.tgz",
+ "integrity": "sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.24.1",
+ "@babel/helper-validator-identifier": "^7.24.5",
+ "to-fast-properties": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types/node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
}
},
"node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
- "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
+ "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
"dev": true,
"dependencies": {
- "@jridgewell/set-array": "^1.0.1",
+ "@jridgewell/set-array": "^1.2.1",
"@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.9"
+ "@jridgewell/trace-mapping": "^0.3.24"
},
"engines": {
"node": ">=6.0.0"
@@ -50,9 +504,9 @@
}
},
"node_modules/@jridgewell/set-array": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
- "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
"dev": true,
"engines": {
"node": ">=6.0.0"
@@ -75,253 +529,299 @@
"dev": true
},
"node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.20",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
- "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
+ "version": "0.3.25",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
"dev": true,
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
- "node_modules/@types/eslint": {
- "version": "8.56.1",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.1.tgz",
- "integrity": "sha512-18PLWRzhy9glDQp3+wOgfLYRWlhgX0azxgJ63rdpoUHyrC9z0f5CkFburjQx4uD7ZCruw85ZtMt6K+L+R8fLJQ==",
+ "node_modules/@mstssk/cleandir": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@mstssk/cleandir/-/cleandir-1.2.1.tgz",
+ "integrity": "sha512-n/62eVEJOBb3CI1Y4r/IOLzvXoI0/MxGGOryT7UGF2C2WSXV3HozwrowqtHoDDbLmWIw+HJbuHZl9vledmGpoQ==",
"dev": true,
- "dependencies": {
- "@types/estree": "*",
- "@types/json-schema": "*"
+ "bin": {
+ "cleandir": "bin/cleandir.js"
}
},
- "node_modules/@types/eslint-scope": {
- "version": "3.7.7",
- "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
- "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
+ "node_modules/@rollup/plugin-babel": {
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-6.0.4.tgz",
+ "integrity": "sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==",
"dev": true,
"dependencies": {
- "@types/eslint": "*",
- "@types/estree": "*"
+ "@babel/helper-module-imports": "^7.18.6",
+ "@rollup/pluginutils": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0",
+ "@types/babel__core": "^7.1.9",
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/babel__core": {
+ "optional": true
+ },
+ "rollup": {
+ "optional": true
+ }
}
},
- "node_modules/@types/estree": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
- "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
- "dev": true
- },
- "node_modules/@types/json-schema": {
- "version": "7.0.15",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true
- },
- "node_modules/@types/node": {
- "version": "18.15.10",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.10.tgz",
- "integrity": "sha512-9avDaQJczATcXgfmMAW3MIWArOO7A+m90vuCFLr8AotWf8igO/mRoYukrk2cqZVtv38tHs33retzHEilM7FpeQ==",
- "dev": true
- },
- "node_modules/@webassemblyjs/ast": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz",
- "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==",
+ "node_modules/@rollup/plugin-terser": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz",
+ "integrity": "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==",
"dev": true,
"dependencies": {
- "@webassemblyjs/helper-numbers": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6"
+ "serialize-javascript": "^6.0.1",
+ "smob": "^1.0.0",
+ "terser": "^5.17.4"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
}
},
- "node_modules/@webassemblyjs/floating-point-hex-parser": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",
- "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-api-error": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",
- "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-buffer": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz",
- "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-numbers": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",
- "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",
+ "node_modules/@rollup/pluginutils": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz",
+ "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==",
"dev": true,
"dependencies": {
- "@webassemblyjs/floating-point-hex-parser": "1.11.6",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@xtuc/long": "4.2.2"
+ "@types/estree": "^1.0.0",
+ "estree-walker": "^2.0.2",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
}
},
- "node_modules/@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz",
- "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==",
- "dev": true
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.14.1.tgz",
+ "integrity": "sha512-fH8/o8nSUek8ceQnT7K4EQbSiV7jgkHq81m9lWZFIXjJ7lJzpWXbQFpT/Zh6OZYnpFykvzC3fbEvEAFZu03dPA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ]
},
- "node_modules/@webassemblyjs/helper-wasm-section": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz",
- "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==",
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.14.1.tgz",
+ "integrity": "sha512-Y/9OHLjzkunF+KGEoJr3heiD5X9OLa8sbT1lm0NYeKyaM3oMhhQFvPB0bNZYJwlq93j8Z6wSxh9+cyKQaxS7PQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-buffer": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.11.6"
- }
+ "optional": true,
+ "os": [
+ "android"
+ ]
},
- "node_modules/@webassemblyjs/ieee754": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz",
- "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==",
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.14.1.tgz",
+ "integrity": "sha512-+kecg3FY84WadgcuSVm6llrABOdQAEbNdnpi5X3UwWiFVhZIZvKgGrF7kmLguvxHNQy+UuRV66cLVl3S+Rkt+Q==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "dependencies": {
- "@xtuc/ieee754": "^1.2.0"
- }
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
},
- "node_modules/@webassemblyjs/leb128": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz",
- "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==",
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.14.1.tgz",
+ "integrity": "sha512-2pYRzEjVqq2TB/UNv47BV/8vQiXkFGVmPFwJb+1E0IFFZbIX8/jo1olxqqMbo6xCXf8kabANhp5bzCij2tFLUA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "dependencies": {
- "@xtuc/long": "4.2.2"
- }
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
},
- "node_modules/@webassemblyjs/utf8": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz",
- "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==",
- "dev": true
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.14.1.tgz",
+ "integrity": "sha512-mS6wQ6Do6/wmrF9aTFVpIJ3/IDXhg1EZcQFYHZLHqw6AzMBjTHWnCG35HxSqUNphh0EHqSM6wRTT8HsL1C0x5g==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
},
- "node_modules/@webassemblyjs/wasm-edit": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz",
- "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==",
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.14.1.tgz",
+ "integrity": "sha512-p9rGKYkHdFMzhckOTFubfxgyIO1vw//7IIjBBRVzyZebWlzRLeNhqxuSaZ7kCEKVkm/kuC9fVRW9HkC/zNRG2w==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-buffer": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/helper-wasm-section": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.11.6",
- "@webassemblyjs/wasm-opt": "1.11.6",
- "@webassemblyjs/wasm-parser": "1.11.6",
- "@webassemblyjs/wast-printer": "1.11.6"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ]
},
- "node_modules/@webassemblyjs/wasm-gen": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz",
- "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==",
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.14.1.tgz",
+ "integrity": "sha512-nDY6Yz5xS/Y4M2i9JLQd3Rofh5OR8Bn8qe3Mv/qCVpHFlwtZSBYSPaU4mrGazWkXrdQ98GB//H0BirGR/SKFSw==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ]
},
- "node_modules/@webassemblyjs/wasm-opt": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz",
- "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==",
+ "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.14.1.tgz",
+ "integrity": "sha512-im7HE4VBL+aDswvcmfx88Mp1soqL9OBsdDBU8NqDEYtkri0qV0THhQsvZtZeNNlLeCUQ16PZyv7cqutjDF35qw==",
+ "cpu": [
+ "ppc64le"
+ ],
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-buffer": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.11.6",
- "@webassemblyjs/wasm-parser": "1.11.6"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.14.1.tgz",
+ "integrity": "sha512-RWdiHuAxWmzPJgaHJdpvUUlDz8sdQz4P2uv367T2JocdDa98iRw2UjIJ4QxSyt077mXZT2X6pKfT2iYtVEvOFw==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.14.1.tgz",
+ "integrity": "sha512-VMgaGQ5zRX6ZqV/fas65/sUGc9cPmsntq2FiGmayW9KMNfWVG/j0BAqImvU4KTeOOgYSf1F+k6at1UfNONuNjA==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
},
- "node_modules/@webassemblyjs/wasm-parser": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz",
- "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==",
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.14.1.tgz",
+ "integrity": "sha512-9Q7DGjZN+hTdJomaQ3Iub4m6VPu1r94bmK2z3UeWP3dGUecRC54tmVu9vKHTm1bOt3ASoYtEz6JSRLFzrysKlA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ]
},
- "node_modules/@webassemblyjs/wast-printer": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz",
- "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==",
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.14.1.tgz",
+ "integrity": "sha512-JNEG/Ti55413SsreTguSx0LOVKX902OfXIKVg+TCXO6Gjans/k9O6ww9q3oLGjNDaTLxM+IHFMeXy/0RXL5R/g==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@xtuc/long": "4.2.2"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ]
},
- "node_modules/@webpack-cli/configtest": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz",
- "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==",
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.14.1.tgz",
+ "integrity": "sha512-ryS22I9y0mumlLNwDFYZRDFLwWh3aKaC72CWjFcFvxK0U6v/mOkM5Up1bTbCRAhv3kEIwW2ajROegCIQViUCeA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "engines": {
- "node": ">=14.15.0"
- },
- "peerDependencies": {
- "webpack": "5.x.x",
- "webpack-cli": "5.x.x"
- }
+ "optional": true,
+ "os": [
+ "win32"
+ ]
},
- "node_modules/@webpack-cli/info": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz",
- "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==",
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.14.1.tgz",
+ "integrity": "sha512-TdloItiGk+T0mTxKx7Hp279xy30LspMso+GzQvV2maYePMAWdmrzqSNZhUpPj3CGw12aGj57I026PgLCTu8CGg==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
- "engines": {
- "node": ">=14.15.0"
- },
- "peerDependencies": {
- "webpack": "5.x.x",
- "webpack-cli": "5.x.x"
- }
+ "optional": true,
+ "os": [
+ "win32"
+ ]
},
- "node_modules/@webpack-cli/serve": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz",
- "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==",
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.14.1.tgz",
+ "integrity": "sha512-wQGI+LY/Py20zdUPq+XCem7JcPOyzIJBm3dli+56DJsQOHbnXZFEwgmnC6el1TPAfC8lBT3m+z69RmLykNUbew==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "engines": {
- "node": ">=14.15.0"
- },
- "peerDependencies": {
- "webpack": "5.x.x",
- "webpack-cli": "5.x.x"
- },
- "peerDependenciesMeta": {
- "webpack-dev-server": {
- "optional": true
- }
- }
+ "optional": true,
+ "os": [
+ "win32"
+ ]
},
- "node_modules/@xtuc/ieee754": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
+ "node_modules/@types/estree": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
+ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
"dev": true
},
- "node_modules/@xtuc/long": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
+ "node_modules/@types/node": {
+ "version": "18.15.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.10.tgz",
+ "integrity": "sha512-9avDaQJczATcXgfmMAW3MIWArOO7A+m90vuCFLr8AotWf8igO/mRoYukrk2cqZVtv38tHs33retzHEilM7FpeQ==",
"dev": true
},
"node_modules/abab": {
@@ -359,6 +859,7 @@
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
+ "optional": true,
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -370,15 +871,6 @@
"url": "https://github.com/sponsors/epoberezkin"
}
},
- "node_modules/ajv-keywords": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
- "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",
- "dev": true,
- "peerDependencies": {
- "ajv": "^6.9.1"
- }
- },
"node_modules/ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
@@ -560,6 +1052,7 @@
"url": "https://github.com/sponsors/ai"
}
],
+ "peer": true,
"dependencies": {
"caniuse-lite": "^1.0.30001565",
"electron-to-chromium": "^1.4.601",
@@ -597,7 +1090,8 @@
"type": "github",
"url": "https://github.com/sponsors/ai"
}
- ]
+ ],
+ "peer": true
},
"node_modules/caseless": {
"version": "0.12.0",
@@ -639,27 +1133,14 @@
"node": ">= 0.6"
}
},
- "node_modules/chrome-trace-event": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz",
- "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==",
- "dev": true,
- "engines": {
- "node": ">=6.0"
- }
- },
- "node_modules/clone-deep": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz",
- "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",
+ "node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"dev": true,
+ "peer": true,
"dependencies": {
- "is-plain-object": "^2.0.4",
- "kind-of": "^6.0.2",
- "shallow-clone": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
+ "color-name": "1.1.3"
}
},
"node_modules/color-logger": {
@@ -668,11 +1149,12 @@
"integrity": "sha512-0iBj3eHRYnor8EJi3oQ1kixbr7B2Sbw1InxjsYZxS+q2H+Ii69m3ARYSJeYIqmf/QRtFhWnR1v97wp8N7ABubw==",
"dev": true
},
- "node_modules/colorette": {
- "version": "2.0.20",
- "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
- "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==",
- "dev": true
+ "node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
+ "dev": true,
+ "peer": true
},
"node_modules/combined-stream": {
"version": "1.0.8",
@@ -693,6 +1175,13 @@
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true
},
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true,
+ "peer": true
+ },
"node_modules/core-js": {
"version": "2.6.12",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
@@ -707,20 +1196,6 @@
"integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==",
"dev": true
},
- "node_modules/cross-spawn": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
- "dev": true,
- "dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
- },
- "engines": {
- "node": ">= 8"
- }
- },
"node_modules/css-select": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
@@ -860,20 +1335,8 @@
"version": "1.4.625",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.625.tgz",
"integrity": "sha512-DENMhh3MFgaPDoXWrVIqSPInQoLImywfCwrSmVl3cf9QHzoZSiutHwGaB/Ql3VkqcQV30rzgdM+BjKqBAJxo5Q==",
- "dev": true
- },
- "node_modules/enhanced-resolve": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz",
- "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==",
"dev": true,
- "dependencies": {
- "graceful-fs": "^4.2.4",
- "tapable": "^2.2.0"
- },
- "engines": {
- "node": ">=10.13.0"
- }
+ "peer": true
},
"node_modules/entities": {
"version": "1.1.2",
@@ -881,29 +1344,12 @@
"integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==",
"dev": true
},
- "node_modules/envinfo": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.11.0.tgz",
- "integrity": "sha512-G9/6xF1FPbIw0TtalAMaVPpiq2aDEuKLXM314jPVAO9r2fo2a4BLqMNkmRS7O/xPPZ+COAhGIz3ETvHEV3eUcg==",
- "dev": true,
- "bin": {
- "envinfo": "dist/cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/es-module-lexer": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz",
- "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==",
- "dev": true
- },
"node_modules/escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
"dev": true,
+ "peer": true,
"engines": {
"node": ">=6"
}
@@ -1272,19 +1718,6 @@
"node": ">= 6.0.0"
}
},
- "node_modules/eslint-scope": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
- "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
- "dev": true,
- "dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^4.1.1"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
"node_modules/esprima": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
@@ -1299,36 +1732,22 @@
"node": ">=4"
}
},
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esrecurse/node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
"node_modules/estraverse": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
"integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
"dev": true,
+ "optional": true,
"engines": {
"node": ">=4.0"
}
},
+ "node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
+ "dev": true
+ },
"node_modules/esutils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
@@ -1338,15 +1757,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/events": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
- "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
- "dev": true,
- "engines": {
- "node": ">=0.8.x"
- }
- },
"node_modules/extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
@@ -1368,13 +1778,15 @@
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true
+ "dev": true,
+ "optional": true
},
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
+ "dev": true,
+ "optional": true
},
"node_modules/fast-levenshtein": {
"version": "2.0.6",
@@ -1383,37 +1795,6 @@
"dev": true,
"optional": true
},
- "node_modules/fastest-levenshtein": {
- "version": "1.0.16",
- "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz",
- "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==",
- "dev": true,
- "engines": {
- "node": ">= 4.9.1"
- }
- },
- "node_modules/find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
- "dependencies": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/flat": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
- "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
- "dev": true,
- "bin": {
- "flat": "cli.js"
- }
- },
"node_modules/forever-agent": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
@@ -1450,13 +1831,28 @@
"universalify": "^0.1.0"
}
},
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=6.9.0"
}
},
"node_modules/get-stdin": {
@@ -1478,12 +1874,6 @@
"assert-plus": "^1.0.0"
}
},
- "node_modules/glob-to-regexp": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
- "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
- "dev": true
- },
"node_modules/globals": {
"version": "9.18.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
@@ -1536,27 +1926,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/hasown": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
- "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
- "dev": true,
- "dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
"node_modules/htmlparser2": {
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
@@ -1668,40 +2037,12 @@
"integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==",
"dev": true
},
- "node_modules/import-local": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz",
- "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==",
- "dev": true,
- "dependencies": {
- "pkg-dir": "^4.2.0",
- "resolve-cwd": "^3.0.0"
- },
- "bin": {
- "import-local-fixture": "fixtures/cli.js"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true
},
- "node_modules/interpret": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz",
- "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==",
- "dev": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
"node_modules/invariant": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
@@ -1711,18 +2052,6 @@
"loose-envify": "^1.0.0"
}
},
- "node_modules/is-core-module": {
- "version": "2.13.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
- "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
- "dev": true,
- "dependencies": {
- "hasown": "^2.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
"node_modules/is-finite": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",
@@ -1735,18 +2064,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-plain-object": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
- "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dev": true,
- "dependencies": {
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/is-typedarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
@@ -1760,21 +2077,6 @@
"integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==",
"dev": true
},
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
- },
- "node_modules/isobject": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
- "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
@@ -1782,35 +2084,6 @@
"dev": true,
"optional": true
},
- "node_modules/jest-worker": {
- "version": "27.5.1",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",
- "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",
- "dev": true,
- "dependencies": {
- "@types/node": "*",
- "merge-stream": "^2.0.0",
- "supports-color": "^8.0.0"
- },
- "engines": {
- "node": ">= 10.13.0"
- }
- },
- "node_modules/jest-worker/node_modules/supports-color": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
- "dev": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/supports-color?sponsor=1"
- }
- },
"node_modules/js-tokens": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
@@ -1864,12 +2137,6 @@
"jsesc": "bin/jsesc"
}
},
- "node_modules/json-parse-even-better-errors": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "dev": true
- },
"node_modules/json-schema": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
@@ -1881,7 +2148,8 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
+ "dev": true,
+ "optional": true
},
"node_modules/json-stringify-safe": {
"version": "5.0.1",
@@ -1890,6 +2158,19 @@
"dev": true,
"optional": true
},
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "peer": true,
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/jsonfile": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
@@ -1915,15 +2196,6 @@
"node": ">=0.6.0"
}
},
- "node_modules/kind-of": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
- "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/klaw": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz",
@@ -1935,37 +2207,16 @@
},
"node_modules/levn": {
"version": "0.3.0",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
- "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "prelude-ls": "~1.1.2",
- "type-check": "~0.3.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/loader-runner": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",
- "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",
- "dev": true,
- "engines": {
- "node": ">=6.11.5"
- }
- },
- "node_modules/locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
+ "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==",
"dev": true,
+ "optional": true,
"dependencies": {
- "p-locate": "^4.1.0"
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.8.0"
}
},
"node_modules/lodash": {
@@ -2058,6 +2309,25 @@
"loose-envify": "cli.js"
}
},
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.25.9",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz",
+ "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==",
+ "dev": true,
+ "dependencies": {
+ "sourcemap-codec": "^1.4.8"
+ }
+ },
"node_modules/marked": {
"version": "0.3.19",
"resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz",
@@ -2070,17 +2340,12 @@
"node": ">=0.10.0"
}
},
- "node_modules/merge-stream": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
- "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
- "dev": true
- },
"node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
"dev": true,
+ "optional": true,
"engines": {
"node": ">= 0.6"
}
@@ -2090,6 +2355,7 @@
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"dev": true,
+ "optional": true,
"dependencies": {
"mime-db": "1.52.0"
},
@@ -2109,17 +2375,12 @@
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
"dev": true
},
- "node_modules/neo-async": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
- "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
- "dev": true
- },
"node_modules/node-releases": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
"integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==",
- "dev": true
+ "dev": true,
+ "peer": true
},
"node_modules/nth-check": {
"version": "1.0.2",
@@ -2165,42 +2426,6 @@
"node": ">= 0.8.0"
}
},
- "node_modules/p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
- "dependencies": {
- "p-limit": "^2.2.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/parse5": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
@@ -2210,30 +2435,6 @@
"@types/node": "*"
}
},
- "node_modules/path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-key": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true
- },
"node_modules/performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
@@ -2245,18 +2446,19 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
- "dev": true
+ "dev": true,
+ "peer": true
},
- "node_modules/pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"dev": true,
- "dependencies": {
- "find-up": "^4.0.0"
- },
"engines": {
- "node": ">=8"
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/prelude-ls": {
@@ -2281,6 +2483,7 @@
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
"integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==",
"dev": true,
+ "optional": true,
"engines": {
"node": ">=6"
}
@@ -2318,18 +2521,6 @@
"node": ">= 6"
}
},
- "node_modules/rechoir": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz",
- "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==",
- "dev": true,
- "dependencies": {
- "resolve": "^1.20.0"
- },
- "engines": {
- "node": ">= 10.13.0"
- }
- },
"node_modules/regenerator-runtime": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
@@ -2381,44 +2572,90 @@
"node": ">= 6"
}
},
- "node_modules/resolve": {
- "version": "1.22.8",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
- "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
+ "node_modules/rollup": {
+ "version": "4.14.1",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.14.1.tgz",
+ "integrity": "sha512-4LnHSdd3QK2pa1J6dFbfm1HN0D7vSK/ZuZTsdyUAlA6Rr1yTouUTL13HaDOGJVgby461AhrNGBS7sCGXXtT+SA==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.13.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
+ "@types/estree": "1.0.5"
},
"bin": {
- "resolve": "bin/resolve"
+ "rollup": "dist/bin/rollup"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.14.1",
+ "@rollup/rollup-android-arm64": "4.14.1",
+ "@rollup/rollup-darwin-arm64": "4.14.1",
+ "@rollup/rollup-darwin-x64": "4.14.1",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.14.1",
+ "@rollup/rollup-linux-arm64-gnu": "4.14.1",
+ "@rollup/rollup-linux-arm64-musl": "4.14.1",
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.14.1",
+ "@rollup/rollup-linux-riscv64-gnu": "4.14.1",
+ "@rollup/rollup-linux-s390x-gnu": "4.14.1",
+ "@rollup/rollup-linux-x64-gnu": "4.14.1",
+ "@rollup/rollup-linux-x64-musl": "4.14.1",
+ "@rollup/rollup-win32-arm64-msvc": "4.14.1",
+ "@rollup/rollup-win32-ia32-msvc": "4.14.1",
+ "@rollup/rollup-win32-x64-msvc": "4.14.1",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/rollup-plugin-banner2": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-banner2/-/rollup-plugin-banner2-1.2.3.tgz",
+ "integrity": "sha512-lhpPoDTRZMIvSK1AppGNDIZ4fnQuW4WuENuswSUzvXhTR596zWNOmCaCYoqD15QixnjnG+wT+jauLEK5qGRPZg==",
+ "dev": true,
+ "dependencies": {
+ "magic-string": "^0.25.7"
+ },
+ "engines": {
+ "node": ">=12.13"
}
},
- "node_modules/resolve-cwd": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
- "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
+ "node_modules/rollup-plugin-cleandir": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-cleandir/-/rollup-plugin-cleandir-2.0.0.tgz",
+ "integrity": "sha512-cTL/WbBJqHQkYBplhtiQ/yc0IqTuRR7EGw/S+XtQdaFhtv6+Xq/j8dxkk5lzTcxd0hCahUebZFYhLBRzSsgynw==",
"dev": true,
"dependencies": {
- "resolve-from": "^5.0.0"
+ "@mstssk/cleandir": "^1.2.0"
},
- "engines": {
- "node": ">=8"
+ "peerDependencies": {
+ "rollup": ">=2.0.0"
}
},
- "node_modules/resolve-from": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
- "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "node_modules/rollup-plugin-replace": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz",
+ "integrity": "sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA==",
+ "deprecated": "This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.",
"dev": true,
- "engines": {
- "node": ">=8"
+ "dependencies": {
+ "magic-string": "^0.25.2",
+ "rollup-pluginutils": "^2.6.0"
+ }
+ },
+ "node_modules/rollup-pluginutils": {
+ "version": "2.8.2",
+ "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz",
+ "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==",
+ "dev": true,
+ "dependencies": {
+ "estree-walker": "^0.6.1"
}
},
+ "node_modules/rollup-pluginutils/node_modules/estree-walker": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz",
+ "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==",
+ "dev": true
+ },
"node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
@@ -2453,22 +2690,14 @@
"dev": true,
"optional": true
},
- "node_modules/schema-utils": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz",
- "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==",
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"dev": true,
- "dependencies": {
- "@types/json-schema": "^7.0.8",
- "ajv": "^6.12.5",
- "ajv-keywords": "^3.5.2"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "peer": true,
+ "bin": {
+ "semver": "bin/semver.js"
}
},
"node_modules/serialize-javascript": {
@@ -2480,38 +2709,11 @@
"randombytes": "^2.1.0"
}
},
- "node_modules/shallow-clone": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
- "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.2"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-command": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
+ "node_modules/smob": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/smob/-/smob-1.5.0.tgz",
+ "integrity": "sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==",
+ "dev": true
},
"node_modules/source-map": {
"version": "0.5.7",
@@ -2541,6 +2743,13 @@
"node": ">=0.10.0"
}
},
+ "node_modules/sourcemap-codec": {
+ "version": "1.4.8",
+ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",
+ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==",
+ "deprecated": "Please use @jridgewell/sourcemap-codec instead",
+ "dev": true
+ },
"node_modules/sshpk": {
"version": "1.17.0",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz",
@@ -2597,18 +2806,6 @@
"node": ">=0.8.0"
}
},
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
"node_modules/symbol-tree": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
@@ -2622,15 +2819,6 @@
"integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==",
"dev": true
},
- "node_modules/tapable": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
- "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/terser": {
"version": "5.26.0",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz",
@@ -2649,40 +2837,6 @@
"node": ">=10"
}
},
- "node_modules/terser-webpack-plugin": {
- "version": "5.3.10",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
- "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
- "dev": true,
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.20",
- "jest-worker": "^27.4.5",
- "schema-utils": "^3.1.1",
- "serialize-javascript": "^6.0.1",
- "terser": "^5.26.0"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
- },
- "peerDependenciesMeta": {
- "@swc/core": {
- "optional": true
- },
- "esbuild": {
- "optional": true
- },
- "uglify-js": {
- "optional": true
- }
- }
- },
"node_modules/terser/node_modules/acorn": {
"version": "8.11.3",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
@@ -2767,18 +2921,6 @@
"node": ">= 0.8.0"
}
},
- "node_modules/uglify-js": {
- "version": "3.17.4",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz",
- "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==",
- "dev": true,
- "bin": {
- "uglifyjs": "bin/uglifyjs"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
"node_modules/universalify": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
@@ -2807,6 +2949,7 @@
"url": "https://github.com/sponsors/ai"
}
],
+ "peer": true,
"dependencies": {
"escalade": "^3.1.1",
"picocolors": "^1.0.0"
@@ -2823,6 +2966,7 @@
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
"dev": true,
+ "optional": true,
"dependencies": {
"punycode": "^2.1.0"
}
@@ -2859,19 +3003,6 @@
"extsprintf": "^1.2.0"
}
},
- "node_modules/watchpack": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",
- "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==",
- "dev": true,
- "dependencies": {
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.1.2"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
"node_modules/webidl-conversions": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz",
@@ -2879,151 +3010,6 @@
"dev": true,
"optional": true
},
- "node_modules/webpack": {
- "version": "5.89.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz",
- "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==",
- "dev": true,
- "dependencies": {
- "@types/eslint-scope": "^3.7.3",
- "@types/estree": "^1.0.0",
- "@webassemblyjs/ast": "^1.11.5",
- "@webassemblyjs/wasm-edit": "^1.11.5",
- "@webassemblyjs/wasm-parser": "^1.11.5",
- "acorn": "^8.7.1",
- "acorn-import-assertions": "^1.9.0",
- "browserslist": "^4.14.5",
- "chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.15.0",
- "es-module-lexer": "^1.2.1",
- "eslint-scope": "5.1.1",
- "events": "^3.2.0",
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.2.9",
- "json-parse-even-better-errors": "^2.3.1",
- "loader-runner": "^4.2.0",
- "mime-types": "^2.1.27",
- "neo-async": "^2.6.2",
- "schema-utils": "^3.2.0",
- "tapable": "^2.1.1",
- "terser-webpack-plugin": "^5.3.7",
- "watchpack": "^2.4.0",
- "webpack-sources": "^3.2.3"
- },
- "bin": {
- "webpack": "bin/webpack.js"
- },
- "engines": {
- "node": ">=10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependenciesMeta": {
- "webpack-cli": {
- "optional": true
- }
- }
- },
- "node_modules/webpack-cli": {
- "version": "5.1.4",
- "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz",
- "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==",
- "dev": true,
- "dependencies": {
- "@discoveryjs/json-ext": "^0.5.0",
- "@webpack-cli/configtest": "^2.1.1",
- "@webpack-cli/info": "^2.0.2",
- "@webpack-cli/serve": "^2.0.5",
- "colorette": "^2.0.14",
- "commander": "^10.0.1",
- "cross-spawn": "^7.0.3",
- "envinfo": "^7.7.3",
- "fastest-levenshtein": "^1.0.12",
- "import-local": "^3.0.2",
- "interpret": "^3.1.1",
- "rechoir": "^0.8.0",
- "webpack-merge": "^5.7.3"
- },
- "bin": {
- "webpack-cli": "bin/cli.js"
- },
- "engines": {
- "node": ">=14.15.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "5.x.x"
- },
- "peerDependenciesMeta": {
- "@webpack-cli/generators": {
- "optional": true
- },
- "webpack-bundle-analyzer": {
- "optional": true
- },
- "webpack-dev-server": {
- "optional": true
- }
- }
- },
- "node_modules/webpack-cli/node_modules/commander": {
- "version": "10.0.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",
- "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",
- "dev": true,
- "engines": {
- "node": ">=14"
- }
- },
- "node_modules/webpack-merge": {
- "version": "5.10.0",
- "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz",
- "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==",
- "dev": true,
- "dependencies": {
- "clone-deep": "^4.0.1",
- "flat": "^5.0.2",
- "wildcard": "^2.0.0"
- },
- "engines": {
- "node": ">=10.0.0"
- }
- },
- "node_modules/webpack-sources": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
- "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
- "dev": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/webpack/node_modules/acorn": {
- "version": "8.11.3",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
- "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==",
- "dev": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/webpack/node_modules/acorn-import-assertions": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz",
- "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==",
- "dev": true,
- "peerDependencies": {
- "acorn": "^8"
- }
- },
"node_modules/whatwg-url-compat": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/whatwg-url-compat/-/whatwg-url-compat-0.6.5.tgz",
@@ -3034,27 +3020,6 @@
"tr46": "~0.0.1"
}
},
- "node_modules/which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "node-which": "bin/node-which"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/wildcard": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz",
- "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==",
- "dev": true
- },
"node_modules/word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
@@ -3071,6 +3036,13 @@
"integrity": "sha512-jRKe/iQYMyVJpzPH+3HL97Lgu5HrCfii+qSo+TfjKHtOnvbnvdVfMYrn9Q34YV81M2e5sviJlI6Ko9y+nByzvA==",
"dev": true,
"optional": true
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "dev": true,
+ "peer": true
}
}
}
diff --git a/package.json b/package.json
index 4a9dec5..e9d27b3 100644
--- a/package.json
+++ b/package.json
@@ -1,32 +1,34 @@
{
- "name": "statemanager",
+ "name": "state-manager",
"version": "1.0.0",
"description": "A class representing a state machine manager.",
- "main": "dist/state-manager.min.mjs",
+ "main": "src/state-manager.mjs",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "npx webpack && npm run build:minify && node add-version-script.js && node add-banner-script.js",
- "build:minify": "uglifyjs dist/state-manager.min.mjs -m -c --comments -o dist/state-manager.min.mjs",
- "build:prod": "npx webpack --mode production && npm run build:minify && node add-version-script.js && node add-banner-script.js && npm run build:docs",
- "build:docs": "esdoc -c esdoc.json"
+ "build:rollup": "npx rollup -c --failAfterWarnings",
+ "build:docs": "esdoc -c esdoc.json",
+ "build:dist": "npm run build:rollup && npm run build:docs"
},
"keywords": [],
"author": "https://github.com/doubleactii",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
- "url": "https://github.com/EvitcaStudio/StateManager.git"
+ "url": "https://github.com/EvitcaStudio/StateManager"
},
"bugs": {
"url": "https://github.com/EvitcaStudio/StateManager/issues"
},
"homepage": "https://github.com/EvitcaStudio/StateManager#readme",
"devDependencies": {
+ "@rollup/plugin-babel": "^6.0.4",
+ "@rollup/plugin-terser": "^0.4.4",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
- "uglify-js": "^3.17.4",
- "webpack": "^5.89.0",
- "webpack-cli": "^5.1.4"
+ "rollup": "^4.14.1",
+ "rollup-plugin-banner2": "^1.2.3",
+ "rollup-plugin-cleandir": "^2.0.0",
+ "rollup-plugin-replace": "^2.2.0"
}
}
diff --git a/rollup.config.mjs b/rollup.config.mjs
new file mode 100644
index 0000000..730ac5b
--- /dev/null
+++ b/rollup.config.mjs
@@ -0,0 +1,80 @@
+import babel from '@rollup/plugin-babel';
+import replace from 'rollup-plugin-replace';
+import terser from '@rollup/plugin-terser';
+import { cleandir } from 'rollup-plugin-cleandir';
+import packageJson from './package.json' assert { type: 'json' };
+
+const fileName = packageJson.name;
+
+// Add a banner at the top of the minified code
+const banner = [
+ `/*!`,
+ ` * ${packageJson.name}@${packageJson.version} ${packageJson.repository.url}`,
+ ` * Compiled ${new Date().toUTCString().replace(/GMT/g, 'UTC')}`,
+ ` *`,
+ ` * ${packageJson.name} is licensed under the MIT License.`,
+ ` * http://www.opensource.org/licenses/mit-license`,
+ ` */`,
+].join('\n');
+
+/**
+ * Generates output configurations for Rollup.
+ * @param {boolean} pMinify - Whether to generate minified configurations.
+ * @returns {Object[]} An array of output configurations.
+ */
+const generateOutputConfigs = (pMinify) => {
+ const outputFormats = ['iife', 'es', 'cjs'];
+
+ return outputFormats.map((pFormat) => {
+ const isMinified = pMinify ? '.min' : '';
+ const isCJS = pFormat === 'cjs' ? '.cjs': '';
+ const fileExtension = pFormat === 'es' ? 'mjs' : 'js';
+ // Uppercase library name for global IIFE represeting this bindle. [LibraryNameBundle].bundleInstance.foo
+ const iifeName = pFormat === 'iife' ? `StateManagerBundle` : undefined;
+
+ return {
+ file: `dist/${pFormat}/${fileName}${isCJS}${isMinified}.${fileExtension}`,
+ format: pFormat,
+ name: pFormat === 'iife' ? iifeName : undefined,
+ sourcemap: true,
+ banner: pMinify ? undefined : banner,
+ plugins: pMinify
+ ? [
+ terser({
+ mangle: {
+ // Exclude the bundle name from mangling
+ reserved: iifeName ? [iifeName] : [],
+ },
+ module: iifeName ? false : true,
+ toplevel: iifeName ? false : true,
+ keep_classnames: iifeName ? false : true,
+ format: {
+ comments: 'some',
+ preamble: banner,
+ },
+ }),
+ ]
+ : [],
+ };
+ });
+};
+
+const config = {
+ input: `src/${fileName}.mjs`,
+ output: [
+ // Build regular
+ ...generateOutputConfigs(false),
+ // Build minified
+ ...generateOutputConfigs(true),
+ ],
+ plugins: [
+ // Clean the directory first
+ cleandir('./dist'),
+ // Replace version in source with package.json version
+ replace({ ['VERSION_REPLACE_ME']: packageJson.version }),
+ // Transpile ES6 to ES5 (CommonJS)
+ babel({ babelHelpers: 'bundled' }),
+ ],
+};
+
+export default [config];
diff --git a/src/state-manager.mjs b/src/state-manager.mjs
index f3e6290..09c4478 100644
--- a/src/state-manager.mjs
+++ b/src/state-manager.mjs
@@ -1,11 +1,5 @@
import { Logger } from './vendor/logger.min.mjs';
-/**
- * A class representing a state machine manager.
- *
- * @class StateManager
- * @license StateManager does not have a license at this time. For licensing contact the author
- * @author https://github.com/doubleactii
- */
+
class StateManager {
/**
* An object containing all the registered states.
diff --git a/webpack.config.js b/webpack.config.js
deleted file mode 100644
index 219bb46..0000000
--- a/webpack.config.js
+++ /dev/null
@@ -1,48 +0,0 @@
-const path = require('path');
-
-module.exports = {
- entry: {
- 'state-manager': './src/state-manager.mjs',
- },
- output: {
- filename: '[name].min.mjs',
- path: path.resolve(__dirname, 'dist'),
- /**
- * Clean the directory before each build.
- */
- clean: true,
- library: {
- type: 'module'
- },
- },
- module: {
- rules: [
- {
- test: /\.js$/,
- exclude: /node_modules/,
- use: {
- loader: 'babel-loader',
- options: {
- presets: ['@babel/preset-env']
- }
- }
- }
- ]
- },
- experiments: {
- outputModule: true
- },
- /**
- * development: This mode is optimized for development, and includes features like fast build times, easier debugging, and detailed error messages.
- * production: This mode is optimized for production, and includes features like minification, tree shaking, and other performance optimizations.
- * none: This mode disables all default optimizations and settings.
- */
- mode: 'none',
- /**
- * OPTIONAL
- * npx webpack --watch (can also enable it via this flag on the npx webpack command)
- * When you run webpack in watch mode, it will watch for changes in your source code and automatically trigger a new build whenever a change is detected.
- * This means that you can simply make changes to your code and refresh your browser to see the changes in real time.
- */
- watch: false
- };
\ No newline at end of file