mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7ed2d5b60 | ||
|
|
ec9d787be4 | ||
|
|
abf259543d | ||
|
|
9d8a29388c | ||
|
|
00f9d0449c | ||
|
|
a46b586832 | ||
|
|
dc50fe6dbb | ||
|
|
a6d483ca48 | ||
|
|
b1babdbc09 | ||
|
|
f8f97344fd | ||
|
|
48ee030372 | ||
|
|
fe1d6e6b05 | ||
|
|
c1f5bb3375 | ||
|
|
d4e367baaf | ||
|
|
ce87bc488c | ||
|
|
dc55401b78 | ||
|
|
3b55e890a8 | ||
|
|
bacd9c171d | ||
|
|
29d28197bb | ||
|
|
4646c6f027 | ||
|
|
30a391031b | ||
|
|
22de50c081 | ||
|
|
d0730c5e9b | ||
|
|
b781f0ca45 | ||
|
|
31959beb85 | ||
|
|
de2c731295 | ||
|
|
93ff6bae45 | ||
|
|
1266f4a7b6 | ||
|
|
a06cf65d10 | ||
|
|
5b55c81046 | ||
|
|
6acd0ac352 | ||
|
|
55d8d46334 | ||
|
|
4b179191d4 | ||
|
|
1ec52903ca | ||
|
|
7e5d4cce06 | ||
|
|
681b39692a | ||
|
|
39c485644d | ||
|
|
634bbffd46 | ||
|
|
273a4a8a89 | ||
|
|
b8249d5457 | ||
|
|
372a95632c | ||
|
|
faae020dd4 | ||
|
|
5e89d62688 | ||
|
|
51ac8d1e8c | ||
|
|
466f230dc4 | ||
|
|
06b106151f | ||
|
|
a0573c8623 | ||
|
|
076e327c9a | ||
|
|
c5f150e003 | ||
|
|
4b2b564591 | ||
|
|
3f57c566df | ||
|
|
5e6547611b | ||
|
|
be221b70d3 | ||
|
|
f7dea332de | ||
|
|
d2758de972 |
No files matched your search
@@ -32,6 +32,8 @@ jobs:
|
||||
- name: Bundle files
|
||||
run: |
|
||||
mv dist oxmysql
|
||||
mkdir oxmysql/lib
|
||||
mv lib/MySQL.lua oxmysql/lib/MySQL.lua
|
||||
zip -r oxmysql-${{ env.RELEASE_VERSION }}.zip oxmysql
|
||||
|
||||
- name: Create Release
|
||||
|
||||
@@ -1,7 +1,41 @@
|
||||
<h2 align='center'>oxmysql<p><a href='https://overextended.github.io/oxmysql/'>Documentation</a></p></h2>
|
||||
<h1 align='center'><a href='https://overextended.github.io/oxmysql/'>Documentation</a></h2>
|
||||
|
||||
|
||||
### Introduction
|
||||
Oxmysql is an alternative to the unmaintained mysql-async/ghmattimysql resources, utilising [node-mysql2](https://github.com/sidorares/node-mysql2) rather than [mysqljs](https://github.com/mysqljs/mysql).
|
||||
|
||||
There are several incompatibilities in the provided API, meaning we cannot guarantee 100% success when using a "drag-and-drop" mentality. For convenience we have included `@oxmysql/lib/MySQL.lua` to replace mysql-async in your resource manifests.
|
||||
|
||||
For more information regarding the use of queries, refer to the documentation linked above.
|
||||
|
||||
### Features
|
||||
- Support for URI connection strings and semicolon separated values
|
||||
- Asynchronous queries utilising mysql2/promises connection pool
|
||||
- Lua promises in the `wrapper.lua` and `lib/MySQL.lua` files for improved performance when using sync functions
|
||||
- Javascript async_retval exports when using recent FX Server builds (requires wrapper.lua to be removed)
|
||||
- Support for placeholder values (named and unnamed) to improve query speed and increase security against SQL injection
|
||||
- Improved error checking when placeholders and parameters do not match
|
||||
|
||||
### Placeholders
|
||||
This allows queries to be properly prepared and escaped, as well as improve query times for frequently accessed queries.
|
||||
The following lines are equivalent.
|
||||
|
||||
```
|
||||
"SELECT group FROM users WHERE identifier = ?", {identifier}
|
||||
"SELECT group FROM users WHERE identifier = :identifier", {identifier = identifier}
|
||||
"SELECT group FROM users WHERE identifier = @identifier", {['@identifier'] = identifier}
|
||||
```
|
||||
|
||||
You can also use the following syntax when you are uncertain about the column to select.
|
||||
|
||||
```
|
||||
"SELECT ?? FROM users WHERE identifier = ?", {column, identifier}
|
||||
instead of using
|
||||
"SELECT "..column.." FROM users WHERE identifier = ?", {identifier}
|
||||
```
|
||||
|
||||
|
||||
<br><br><br><br><br>
|
||||
<hr>
|
||||
<p align='center'><a href='https://discord.io/overextended'>Discord</a></p>
|
||||
|
||||
oxmysql is a middleware for FXServer which utilises [node-mysql2](https://github.com/sidorares/node-mysql2) to communicate with a database and respond with the query results.
|
||||
|
||||
Calling the JS exports will result in async behaviour, or you can use the Lua exports to return a promise and await the response.
|
||||
<hr>
|
||||
+4
-4
@@ -1,17 +1,17 @@
|
||||
fx_version 'cerulean'
|
||||
game 'gta5'
|
||||
game 'common'
|
||||
|
||||
name 'oxmysql'
|
||||
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
|
||||
version '1.2.0'
|
||||
version '1.6.3'
|
||||
url 'https://github.com/overextended/oxmysql'
|
||||
author 'overextended'
|
||||
use_fxv2_oal 'yes'
|
||||
lua54 'yes'
|
||||
|
||||
server_only 'true'
|
||||
|
||||
server_scripts {
|
||||
'oxmysql.js',
|
||||
'wrapper.lua'
|
||||
}
|
||||
|
||||
provide 'mysql-async'
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
-- This file allows simple conversion from MySQL-Async to Oxmysql
|
||||
-- Replace any references to '@mysql-async' in your resource manifests to use '@oxmysql' instead
|
||||
-- Store is used for compatibility only
|
||||
|
||||
local Ox = exports.oxmysql
|
||||
local Resource = GetCurrentResourceName()
|
||||
local Store = {}
|
||||
|
||||
local function safeArgs(query, parameters, cb, transaction)
|
||||
if type(query) == 'number' then query = Store[query] end
|
||||
if transaction then
|
||||
assert(type(query) == 'table', ('A table was expected for the transaction, but instead received %s'):format(query))
|
||||
else
|
||||
assert(type(query) == 'string', ('A string was expected for the query, but instead received %s'):format(query))
|
||||
end
|
||||
if cb then
|
||||
assert(type(cb) == 'function', ('A callback function was expected, but instead received %s'):format(cb))
|
||||
end
|
||||
local type = parameters and type(parameters)
|
||||
if type and type ~= 'table' and type ~= 'function' then
|
||||
assert(nil, ('A %s was expected, but instead received %s'):format(cb and 'table' or 'function', parameters))
|
||||
end
|
||||
return query, parameters, cb
|
||||
end
|
||||
|
||||
MySQL = {
|
||||
--- Result is returned to a callback function, without interupting the execution of code
|
||||
Async = {
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@param cb? function
|
||||
---@return integer result
|
||||
---returns number of rows updated by the executed query
|
||||
execute = function(query, parameters, cb)
|
||||
Ox:update(safeArgs(query, parameters, cb))
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@param cb? function
|
||||
---@return table result
|
||||
---returns array of matching rows or result data
|
||||
fetchAll = function(query, parameters, cb)
|
||||
Ox:execute(safeArgs(query, parameters, cb))
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@param cb? function
|
||||
---@return integer|string
|
||||
---returns value of the first column of a single row
|
||||
fetchScalar = function(query, parameters, cb)
|
||||
Ox:scalar(safeArgs(query, parameters, cb))
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@param cb? function
|
||||
---@return table result
|
||||
---returns table containing key value pairs
|
||||
fetchSingle = function(query, parameters, cb)
|
||||
Ox:single(safeArgs(query, parameters, cb))
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@param cb? function
|
||||
---@return table result
|
||||
---returns the last inserted id
|
||||
insert = function(query, parameters, cb)
|
||||
Ox:insert(safeArgs(query, parameters, cb))
|
||||
end,
|
||||
|
||||
---@param queries table
|
||||
---@param parameters? table|function
|
||||
---@param cb? function
|
||||
---@return boolean result
|
||||
---returns true when the transaction has succeeded
|
||||
transaction = function(queries, parameters, cb)
|
||||
Ox:transaction(safeArgs(queries, parameters, cb, true))
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param cb? function
|
||||
---@return integer result
|
||||
---returns the id used to reference a stored query string
|
||||
store = function(query, cb)
|
||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
||||
local store = #Store+1
|
||||
Store[store] = query
|
||||
cb(store)
|
||||
end,
|
||||
},
|
||||
|
||||
--- Result is assigned in-line to a variable, causing the current thread to await the result
|
||||
Sync = {
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return integer result
|
||||
---returns number of rows updated by the executed query
|
||||
execute = function(query, parameters)
|
||||
query, parameters = safeArgs(query, parameters)
|
||||
local promise = promise.new()
|
||||
Ox:update(query, parameters, function(result)
|
||||
promise:resolve(result)
|
||||
end, Resource)
|
||||
return Citizen.Await(promise)
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return table result
|
||||
---returns array of matching rows or result data
|
||||
fetchAll = function(query, parameters)
|
||||
query, parameters = safeArgs(query, parameters)
|
||||
local promise = promise.new()
|
||||
Ox:execute(query, parameters, function(result)
|
||||
promise:resolve(result)
|
||||
end, Resource)
|
||||
return Citizen.Await(promise)
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return integer|string
|
||||
---returns value of the first column of a single row
|
||||
fetchScalar = function(query, parameters)
|
||||
query, parameters = safeArgs(query, parameters)
|
||||
local promise = promise.new()
|
||||
Ox:scalar(query, parameters, function(result)
|
||||
promise:resolve(result)
|
||||
end, Resource)
|
||||
return Citizen.Await(promise)
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return table result
|
||||
---returns table containing key value pairs
|
||||
fetchSingle = function(query, parameters)
|
||||
query, parameters = safeArgs(query, parameters)
|
||||
local promise = promise.new()
|
||||
Ox:single(query, parameters, function(result)
|
||||
promise:resolve(result)
|
||||
end, Resource)
|
||||
return Citizen.Await(promise)
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return table result
|
||||
---returns the last inserted id
|
||||
insert = function(query, parameters)
|
||||
query, parameters = safeArgs(query, parameters)
|
||||
local promise = promise.new()
|
||||
Ox:insert(query, parameters, function(result)
|
||||
promise:resolve(result)
|
||||
end, Resource)
|
||||
return Citizen.Await(promise)
|
||||
end,
|
||||
|
||||
---@param queries table
|
||||
---@param parameters? table|function
|
||||
---@return boolean result
|
||||
---returns true when the transaction has succeeded
|
||||
transaction = function(queries, parameters)
|
||||
queries, parameters = safeArgs(queries, parameters, true)
|
||||
local promise = promise.new()
|
||||
Ox:transaction(queries, parameters, function(result)
|
||||
promise:resolve(result)
|
||||
end, Resource)
|
||||
return Citizen.Await(promise)
|
||||
end,
|
||||
|
||||
---@param query string
|
||||
---@return integer result
|
||||
---returns the id used to reference a stored query string
|
||||
store = function(query)
|
||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
||||
local store = #Store+1
|
||||
Store[store] = query
|
||||
return store
|
||||
end,
|
||||
},
|
||||
|
||||
ready = function(cb)
|
||||
CreateThread(function()
|
||||
repeat
|
||||
Wait(50)
|
||||
until GetResourceState('oxmysql') == 'started'
|
||||
cb()
|
||||
end)
|
||||
end
|
||||
}
|
||||
+5
-5
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "oxmysql",
|
||||
"version": "1.2.0",
|
||||
"version": "1.6.3",
|
||||
"main": "oxmysql.js",
|
||||
"description": "FiveM MySQL wrapper using faster mysql2",
|
||||
"description": "node-mysql2 resource for Cfx",
|
||||
"repository": "[email protected]:overextended/oxmysql.git",
|
||||
"author": "dunak-debug <[email protected]>",
|
||||
"license": "GPL-3.0-or-later",
|
||||
@@ -12,15 +12,15 @@
|
||||
"postinstall": "patch-package"
|
||||
},
|
||||
"dependencies": {
|
||||
"@citizenfx/server": "^2.0.4376-1",
|
||||
"@citizenfx/server": "^2.0.4793-1",
|
||||
"connection-string-parser": "^1.0.4",
|
||||
"mysql2": "^2.3.0",
|
||||
"github-version-checker": "^2.2.0",
|
||||
"mysql2": "https://github.com/overextended/node-mysql2.git",
|
||||
"postinstall-postinstall": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"copy-webpack-plugin": "^9.0.1",
|
||||
"patch-package": "^6.4.7",
|
||||
"ts-loader": "^9.2.5",
|
||||
"typescript": "^4.4.3",
|
||||
"webpack": "^5.52.1",
|
||||
"webpack-cli": "^4.8.0"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/node_modules/github-version-checker/lib/check.js b/node_modules/github-version-checker/lib/check.js
|
||||
index 7f00060..cf0e231 100644
|
||||
--- a/node_modules/github-version-checker/lib/check.js
|
||||
+++ b/node_modules/github-version-checker/lib/check.js
|
||||
@@ -88,7 +88,6 @@ const rest = (options, callback) => {
|
||||
|
||||
if (found) {
|
||||
const mapped = schemeMapper[options.fetchTags ? 'tag' : 'release'](version);
|
||||
- console.log(mapped);
|
||||
callback(null, mapped);
|
||||
} else {
|
||||
callback(null, null);
|
||||
@@ -1,5 +1,5 @@
|
||||
diff --git a/node_modules/named-placeholders/index.js b/node_modules/named-placeholders/index.js
|
||||
index 527d723..f47b591 100644
|
||||
index 527d723..f63ce28 100644
|
||||
--- a/node_modules/named-placeholders/index.js
|
||||
+++ b/node_modules/named-placeholders/index.js
|
||||
@@ -3,7 +3,7 @@
|
||||
@@ -7,11 +7,11 @@ index 527d723..f47b591 100644
|
||||
// License: https://github.com/mscdex/node-mariasql/blob/master/LICENSE
|
||||
|
||||
-const RE_PARAM = /(?:\?)|(?::(\d+|(?:[a-zA-Z][a-zA-Z0-9_]*)))/g,
|
||||
+const RE_PARAM = /(?:\?)|(?:[:,@](\d+|(?:[a-zA-Z][a-zA-Z0-9_]*)))/g,
|
||||
+const RE_PARAM = /(?:\?)|(?:(?<!["'])[:@](\d+|(?:[a-zA-Z][a-zA-Z0-9_]*)))/g,
|
||||
DQUOTE = 34,
|
||||
SQUOTE = 39,
|
||||
BSLASH = 92;
|
||||
@@ -94,15 +94,24 @@ function createCompiler(config) {
|
||||
@@ -94,15 +94,22 @@ function createCompiler(config) {
|
||||
if (typeof params == 'undefined')
|
||||
throw new Error('Named query contains placeholders, but parameters object is undefined');
|
||||
|
||||
@@ -21,13 +21,12 @@ index 527d723..f47b591 100644
|
||||
+ delete params[key];
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+
|
||||
const tokens = tree[1];
|
||||
for (let i=0; i < tokens.length; ++i) {
|
||||
+ if(params[tokens[i]] === undefined) throw new Error(`Undefined parameter ${tokens[i]}`);
|
||||
arr.push(params[tokens[i]]);
|
||||
- arr.push(params[tokens[i]]);
|
||||
+ arr.push(params[tokens[i]] === undefined ? null : params[tokens[i]]);
|
||||
}
|
||||
+
|
||||
return [tree[0], arr];
|
||||
}
|
||||
|
||||
@@ -37,7 +36,7 @@ index 527d723..f47b591 100644
|
||||
return s.slice(0, -1);
|
||||
}
|
||||
return s;
|
||||
@@ -115,7 +124,7 @@ function createCompiler(config) {
|
||||
@@ -115,7 +122,7 @@ function createCompiler(config) {
|
||||
|
||||
let unnamed = noTailingSemicolon(tree[0][0]);
|
||||
for (let i=1; i < tree[0].length; ++i) {
|
||||
@@ -46,7 +45,7 @@ index 527d723..f47b591 100644
|
||||
unnamed += config.placeholder;
|
||||
}
|
||||
unnamed += config.placeholder;
|
||||
@@ -124,7 +133,7 @@ function createCompiler(config) {
|
||||
@@ -124,7 +131,7 @@ function createCompiler(config) {
|
||||
|
||||
const last = tree[0][tree[0].length -1];
|
||||
if (tree[0].length == tree[1].length) {
|
||||
|
||||
+41
-15
@@ -1,18 +1,44 @@
|
||||
import { ConnectionStringParser } from 'connection-string-parser';
|
||||
import versionCheck from 'github-version-checker';
|
||||
import currentVersion from '../package.json';
|
||||
|
||||
const connectionString = GetConvar('mysql_connection_string', '');
|
||||
|
||||
if (connectionString === '') throw new Error(`Set up mysql_connection_string in server.cfg`);
|
||||
|
||||
const config = new ConnectionStringParser({
|
||||
scheme: 'mysql',
|
||||
hosts: [],
|
||||
}).parse(connectionString);
|
||||
|
||||
if (Object.keys(config).length === 0)
|
||||
throw new Error(`Set up mysql_connection_string in correct format - 'mysql://user:password@host/database'`);
|
||||
|
||||
const slowQueryWarning = GetConvarInt('mysql_slow_query_warning', 100);
|
||||
const slowQueryWarning = GetConvarInt('mysql_slow_query_warning', 150);
|
||||
const debug = GetConvar('mysql_debug', 'false') === 'true';
|
||||
|
||||
export { config, slowQueryWarning, debug };
|
||||
const isolationLevel = (() => {
|
||||
switch (GetConvarInt('mysql_transaction_isolation_level', 2)) {
|
||||
case 1:
|
||||
return 'SET TRANSACTION ISOLATION LEVEL REPEATABLE READ';
|
||||
case 2:
|
||||
return 'SET TRANSACTION ISOLATION LEVEL READ COMMITTED';
|
||||
case 3:
|
||||
return 'SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED';
|
||||
case 4:
|
||||
return 'SET TRANSACTION ISOLATION LEVEL SERIALIZABLE';
|
||||
default:
|
||||
return 'SET TRANSACTION ISOLATION LEVEL READ COMMITTED';
|
||||
}
|
||||
})();
|
||||
|
||||
const resourceName = GetCurrentResourceName() || 'oxmysql';
|
||||
|
||||
export { slowQueryWarning, debug, isolationLevel, resourceName };
|
||||
|
||||
setImmediate(async () => {
|
||||
const versionCheckConfig = {
|
||||
repo: 'oxmysql',
|
||||
owner: 'overextended',
|
||||
currentVersion: currentVersion.version,
|
||||
latest: true,
|
||||
};
|
||||
|
||||
try {
|
||||
const update = await versionCheck(versionCheckConfig);
|
||||
if (update) {
|
||||
console.log(
|
||||
`^3Your version of oxmysql is outdated (v${versionCheckConfig.currentVersion})! Please update to the latest version (${update.name}) here: \nhttps://github.com/overextended/oxmysql/releases/latest^0`
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(`^3Could not fetch updates for oxmysql!^0\n${e}`);
|
||||
}
|
||||
});
|
||||
+6
-11
@@ -1,19 +1,14 @@
|
||||
import { pool } from './pool';
|
||||
import { parseParameters } from './parser';
|
||||
import { slowQueryWarning, debug } from './config';
|
||||
|
||||
const resourceName = GetCurrentResourceName() || 'oxmysql';
|
||||
import { slowQueryWarning, debug, resourceName } from './config';
|
||||
|
||||
const execute = async (query, parameters, resource) => {
|
||||
ScheduleResourceTick(resourceName);
|
||||
try {
|
||||
const time = process.hrtime.bigint();
|
||||
|
||||
[query, parameters] = parseParameters(query, parameters);
|
||||
|
||||
const [result] = await pool.query(query, parameters);
|
||||
|
||||
const executionTime = Number(process.hrtime.bigint() - time) / 1e6;
|
||||
const [rows, _, executionTime] = await pool.query(query, parameters);
|
||||
|
||||
if (executionTime >= slowQueryWarning || debug)
|
||||
console.log(
|
||||
@@ -21,14 +16,14 @@ const execute = async (query, parameters, resource) => {
|
||||
${query} ${JSON.stringify(parameters)}^0`
|
||||
);
|
||||
|
||||
return result;
|
||||
return rows;
|
||||
} catch (error) {
|
||||
console.log(
|
||||
`^1[ERROR] ${resource} was unable to execute a query!
|
||||
${error.message}
|
||||
${error.sql || `${query} ${JSON.stringify(parameters)}`}^0`
|
||||
${error.message}
|
||||
${error.sql || `${query} ${JSON.stringify(parameters)}`}^0`
|
||||
);
|
||||
console.trace(error);
|
||||
debug && console.trace(error);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+57
-35
@@ -1,71 +1,93 @@
|
||||
import { pool } from './pool';
|
||||
import { execute } from './execute';
|
||||
import { transaction } from './transaction';
|
||||
import { debug, isolationLevel } from './config';
|
||||
|
||||
setImmediate(async () => {
|
||||
try {
|
||||
await (await pool.getConnection()).ping();
|
||||
await pool.query(isolationLevel);
|
||||
console.log(`^2Database server connection established!^0`);
|
||||
} catch (error) {
|
||||
console.log(`^3Databae server connection establishing error! [${error.code}]\n${error.message}^0`);
|
||||
console.log(`^3Unable to establish a connection to the database! [${error.code}]\n${error.message}^0`);
|
||||
}
|
||||
});
|
||||
|
||||
const safeCallback = (callback, result) => {
|
||||
if (typeof callback === 'function') return callback(result || false);
|
||||
else throw new Error(`Undefined callback passed`);
|
||||
const safeCallback = (callback, result, resource, query) => {
|
||||
if (typeof callback === 'function')
|
||||
return callback(result);
|
||||
else if (debug)
|
||||
return console.log(`^3[WARNING] ${resource} executed a query, but no callback function was defined!\n ^3 ${query}^0`);
|
||||
};
|
||||
|
||||
global.exports('execute', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||
execute(query, parameters, resource).then((result) => safeCallback(cb, result));
|
||||
execute(query, parameters, resource).then((result) =>
|
||||
safeCallback(cb || parameters, result, resource, query));
|
||||
});
|
||||
|
||||
global.exports('insert', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||
execute(query, parameters, resource).then((result) => safeCallback(cb, result && result.insertId));
|
||||
execute(query, parameters, resource).then((result) =>
|
||||
safeCallback(cb || parameters, result && result.insertId, resource, query));
|
||||
});
|
||||
|
||||
global.exports('update', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||
execute(query, parameters, resource).then((result) => safeCallback(cb, result && result.affectedRows));
|
||||
execute(query, parameters, resource).then((result) =>
|
||||
safeCallback(cb || parameters, result && result.affectedRows, resource, query));
|
||||
});
|
||||
|
||||
global.exports('fetch', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||
execute(query, parameters, resource).then((result) => safeCallback(cb, result));
|
||||
execute(query, parameters, resource).then((result) =>
|
||||
safeCallback(cb || parameters, result, resource, query));
|
||||
});
|
||||
|
||||
global.exports('single', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||
execute(query, parameters, resource).then((result) => safeCallback(cb, result && result[0]));
|
||||
execute(query, parameters, resource).then((result) =>
|
||||
safeCallback(cb || parameters, result && result[0], resource, query));
|
||||
});
|
||||
|
||||
global.exports('scalar', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||
execute(query, parameters, resource).then((result) =>
|
||||
safeCallback(cb, result && result[0] && Object.values(result[0])[0])
|
||||
);
|
||||
safeCallback(cb || parameters, result && result[0] && Object.values(result[0])[0], resource, query));
|
||||
});
|
||||
|
||||
/*global.exports('executeSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result;
|
||||
global.exports('transaction', (queries, parameters, cb, resource = GetInvokingResource()) => {
|
||||
transaction(queries, parameters, resource).then((result) => {
|
||||
safeCallback(cb || parameters, result || false, resource, debug && JSON.stringify(queries));
|
||||
});
|
||||
});
|
||||
|
||||
global.exports('insertSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result.insertId;
|
||||
});
|
||||
if (!GetResourceMetadata(GetCurrentResourceName(), 'server_script', 1)) {
|
||||
global.exports('executeSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result;
|
||||
});
|
||||
|
||||
global.exports('updateSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result.affectedRows;
|
||||
});
|
||||
global.exports('insertSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result.insertId;
|
||||
});
|
||||
|
||||
global.exports('fetchSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result;
|
||||
});
|
||||
global.exports('updateSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result.affectedRows;
|
||||
});
|
||||
|
||||
global.exports('singleSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result[0];
|
||||
});
|
||||
global.exports('fetchSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result;
|
||||
});
|
||||
|
||||
global.exports('scalarSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result[0] && Object.values(result[0])[0];
|
||||
});*/
|
||||
global.exports('singleSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result[0];
|
||||
});
|
||||
|
||||
global.exports('scalarSync', async (query, parameters) => {
|
||||
const result = await execute(query, parameters, GetInvokingResource());
|
||||
return result && result[0] && Object.values(result[0])[0];
|
||||
});
|
||||
|
||||
global.exports('transactionSync', async (queries, parameters) => {
|
||||
const result = await transaction(queries, parameters, GetInvokingResource());
|
||||
return result;
|
||||
});
|
||||
}
|
||||
+50
-10
@@ -16,7 +16,7 @@ const parseTypes = (field, next) => {
|
||||
? new Date(field.string() + ' 00:00:00').getTime()
|
||||
: new Date(field.string()).getTime();
|
||||
case 'TINY':
|
||||
if (field.length === 1) return field.string() === '1';
|
||||
if (field.length == 1) return field.string() === '1';
|
||||
else return next();
|
||||
case 'BIT':
|
||||
return field.buffer()[0] === 1;
|
||||
@@ -28,25 +28,65 @@ const parseTypes = (field, next) => {
|
||||
const parseParameters = (query, parameters) => {
|
||||
if (query === undefined) throw new FormatError(`Undefined query passed`);
|
||||
|
||||
if (query.includes('@') || query.includes(':')) return [query, parameters];
|
||||
if (!parameters || typeof parameters === 'function') return [query, []];
|
||||
|
||||
if (query.includes('@') || query.includes(':')) {
|
||||
const obj = parameters.length !== 0 ? parameters : (() => {
|
||||
let obj = {};
|
||||
const [_, paramNames] = convertNamedPlaceholders.parse(query);
|
||||
if (paramNames) {
|
||||
for (let i = 0; i < paramNames.length; i++)
|
||||
obj[paramNames[i]] = null;
|
||||
}
|
||||
return obj;
|
||||
})();
|
||||
|
||||
return [query, obj]
|
||||
};
|
||||
|
||||
const queryParams = query.match(/\?(?!\?)/g);
|
||||
|
||||
if (queryParams === null) return [query, []];
|
||||
|
||||
if (parameters === undefined)
|
||||
throw new FormatError(`Placeholders was defined in query but no parameters provided!`, query);
|
||||
throw new FormatError(`Placeholders were defined, but query received no parameters!`, query);
|
||||
|
||||
if (Array.isArray(parameters)) {
|
||||
if (parameters.length !== queryParams.length)
|
||||
throw new Error(`Undefined array parameter #${parameters.length}`, query, parameters);
|
||||
} else {
|
||||
queryParams.forEach((_, i) => {
|
||||
if (parameters[`${i + 1}`] === undefined) throw new FormatError(`Undefined object parameter #${i + 1}`, query, parameters);
|
||||
if (!Array.isArray(parameters)) {
|
||||
let arr = [];
|
||||
Object.entries(parameters).forEach((entry) => {
|
||||
const [key, value] = entry;
|
||||
arr[key - 1] = value;
|
||||
});
|
||||
parameters = arr;
|
||||
}
|
||||
if (Array.isArray(parameters)) {
|
||||
if (parameters.length === 0) {
|
||||
for (let i = 0; i < queryParams.length; i++) parameters[i] = null;
|
||||
return [query, parameters];
|
||||
}
|
||||
const diff = queryParams.length - parameters.length;
|
||||
if (diff > 0) {
|
||||
for (let i = 0; i < diff; i++) parameters[queryParams.length + i] = null;
|
||||
}
|
||||
}
|
||||
|
||||
return [query, parameters];
|
||||
};
|
||||
|
||||
export { parseParameters, parseTypes };
|
||||
const parseTransaction = (queries, parameters) => {
|
||||
//https://github.com/GHMatti/ghmattimysql/blob/37f1d2ae5c53f91782d168fe81fba80512d3c46d/packages/ghmattimysql/src/server/utility/sanitizeTransactionInput.ts#L5
|
||||
|
||||
if (!Array.isArray(queries)) throw new Error(`Transaction queries must be array type`);
|
||||
|
||||
const parsedTransaction = queries.map((query) => {
|
||||
const [parsedQuery, parsedParameters] = parseParameters(
|
||||
typeof query === 'object' ? query.query : query,
|
||||
(typeof query === 'object' && (query.parameters || query.values)) || parameters || []
|
||||
);
|
||||
return { query: parsedQuery, params: parsedParameters };
|
||||
});
|
||||
|
||||
return parsedTransaction;
|
||||
};
|
||||
|
||||
export { parseTypes, parseParameters, parseTransaction };
|
||||
+63
-11
@@ -1,14 +1,66 @@
|
||||
import { createPool } from 'mysql2/promise';
|
||||
import { config } from './config';
|
||||
import { parseTypes } from './parser';
|
||||
import { ConnectionStringParser } from 'connection-string-parser';
|
||||
|
||||
export const pool = createPool({
|
||||
host: config.hosts[0].host || 'localhost',
|
||||
user: config.username || 'root',
|
||||
password: config.password || '',
|
||||
database: config.endpoint || 'es_extended',
|
||||
charset: 'utf8mb4_unicode_ci',
|
||||
...config.options,
|
||||
namedPlaceholders: true,
|
||||
typeCast: parseTypes,
|
||||
});
|
||||
const connectionString = GetConvar('mysql_connection_string', '');
|
||||
|
||||
if (connectionString === '') {
|
||||
throw new Error(`Set up mysql_connection_string in server.cfg`);
|
||||
}
|
||||
|
||||
const parseSemiColons = () => {
|
||||
const parts = connectionString.split(';');
|
||||
if (parseTypes.length === 1) {
|
||||
throw new Error(
|
||||
`Set up mysql_connection_string in correct format - 'username=root;password=password;database=db;host=127.0.0.1'`
|
||||
);
|
||||
}
|
||||
return parts.reduce((connectionInfo, parameter) => {
|
||||
const [key, value] = parameter.split('=');
|
||||
connectionInfo[key] = value;
|
||||
return connectionInfo;
|
||||
}, {});
|
||||
};
|
||||
|
||||
const createConnection = () => {
|
||||
if (connectionString.includes('database=')) {
|
||||
const options = parseSemiColons();
|
||||
|
||||
return createPool({
|
||||
host: options.host || 'localhost',
|
||||
port: options.port || 3306,
|
||||
user: options.username || options.user || options.userid || 'root',
|
||||
password: options.password || options.pass || '',
|
||||
database: options.endpoint || options.database || 'es_extended',
|
||||
charset: 'utf8mb4_unicode_ci',
|
||||
connectTimeout: 30000,
|
||||
...options.options,
|
||||
namedPlaceholders: true,
|
||||
typeCast: parseTypes,
|
||||
});
|
||||
} else {
|
||||
const options = new ConnectionStringParser({
|
||||
scheme: 'mysql',
|
||||
hosts: [],
|
||||
}).parse(connectionString);
|
||||
|
||||
if (Object.keys(options).length === 0) {
|
||||
throw new Error(`Set up mysql_connection_string in correct format - 'mysql://user:password@host/database'`);
|
||||
}
|
||||
|
||||
return createPool({
|
||||
host: options.hosts[0].host || 'localhost',
|
||||
port: options.hosts[0].port || 3306,
|
||||
user: options.username || 'root',
|
||||
password: options.password || '',
|
||||
database: options.endpoint || 'es_extended',
|
||||
charset: 'utf8mb4_unicode_ci',
|
||||
connectTimeout: 30000,
|
||||
...options.options,
|
||||
namedPlaceholders: true,
|
||||
typeCast: parseTypes,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export const pool = createConnection();
|
||||
@@ -0,0 +1,52 @@
|
||||
import { pool } from './pool';
|
||||
import { parseTransaction } from './parser';
|
||||
import { slowQueryWarning, debug, resourceName } from './config';
|
||||
|
||||
const transactionError = (queries, parameters) =>
|
||||
`${queries
|
||||
.map((query) =>
|
||||
typeof query === 'string' ? query : `${query.query} ${JSON.stringify(query.values || query.parameters || [])}`
|
||||
)
|
||||
.join('\n')}\n${JSON.stringify(parameters)}`;
|
||||
|
||||
const transaction = async (queries, parameters, resource) => {
|
||||
ScheduleResourceTick(resourceName);
|
||||
const connection = await pool.getConnection();
|
||||
try {
|
||||
const time = debug ? process.hrtime.bigint() : Date.now();
|
||||
|
||||
const fullQuery = parseTransaction(queries, parameters);
|
||||
const transactionAmount = fullQuery.length;
|
||||
|
||||
await connection.beginTransaction();
|
||||
|
||||
for (let i = 0; i < transactionAmount; i++) {
|
||||
await connection.query(fullQuery[i].query, fullQuery[i].params);
|
||||
}
|
||||
|
||||
await connection.commit();
|
||||
|
||||
const executionTime = debug ? Number(process.hrtime.bigint() - time) / 1e6 : Date.now() - time;
|
||||
|
||||
if (executionTime >= slowQueryWarning * transactionAmount || debug)
|
||||
console.log(
|
||||
`^3[${
|
||||
debug ? 'DEBUG' : 'WARNING'
|
||||
}] ${resource} took ${executionTime}ms to execute a transaction!\n${transactionError(queries, parameters)}^0`
|
||||
);
|
||||
|
||||
return true;
|
||||
} catch (error) {
|
||||
await connection.rollback();
|
||||
console.log(
|
||||
`^1[ERROR] ${resource} was unable to execute a transaction!
|
||||
${error.message}
|
||||
${error.sql || `${transactionError(queries, parameters)}`}^0`
|
||||
);
|
||||
debug && console.trace(error);
|
||||
} finally {
|
||||
connection.release();
|
||||
}
|
||||
};
|
||||
|
||||
export { transaction };
|
||||
+2
-5
@@ -2,11 +2,8 @@ const path = require("path");
|
||||
const { DefinePlugin, IgnorePlugin } = require("webpack");
|
||||
const CopyPlugin = require("copy-webpack-plugin");
|
||||
|
||||
const filesToCopy = ["fxmanifest.lua", "wrapper.lua", "README.md", "LICENSE.md"];
|
||||
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
devtool: "source-map",
|
||||
mode: "production",
|
||||
entry: "./src/index.js",
|
||||
resolve: {
|
||||
extensions: [".js"],
|
||||
@@ -18,7 +15,7 @@ module.exports = {
|
||||
contextRegExp: /./,
|
||||
}),
|
||||
new CopyPlugin({
|
||||
patterns: filesToCopy,
|
||||
patterns: ["fxmanifest.lua", "wrapper.lua", "README.md", "LICENSE.md"],
|
||||
}),
|
||||
],
|
||||
output: {
|
||||
|
||||
+37
-48
@@ -1,11 +1,7 @@
|
||||
---
|
||||
-- Execute unprepared query and fetch result
|
||||
--
|
||||
-- @param query tring
|
||||
-- @param parameters table
|
||||
--
|
||||
-- @return table with result | false
|
||||
--
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return integer result
|
||||
---returns number of rows updated by the executed query
|
||||
exports('executeSync', function(query, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:execute(query, parameters, function(result)
|
||||
@@ -14,14 +10,11 @@ exports('executeSync', function(query, parameters)
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
|
||||
---
|
||||
-- Execute query and fetch all result
|
||||
--
|
||||
-- @param query tring
|
||||
-- @param parameters table
|
||||
--
|
||||
-- @return table with result
|
||||
--
|
||||
---@deprecated true
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return table result
|
||||
---returns array of matching rows or result data
|
||||
exports('fetchSync', function(query, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:fetch(query, parameters, function(result)
|
||||
@@ -30,14 +23,10 @@ exports('fetchSync', function(query, parameters)
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
|
||||
---
|
||||
-- Execute query and fetch first row
|
||||
--
|
||||
-- @param query tring
|
||||
-- @param parameters table
|
||||
--
|
||||
-- @return table with result row
|
||||
--
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return table result
|
||||
---returns table containing key value pairs
|
||||
exports('singleSync', function(query, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:single(query, parameters, function(result)
|
||||
@@ -46,14 +35,10 @@ exports('singleSync', function(query, parameters)
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
|
||||
---
|
||||
-- Execute query and fetch first column of first row
|
||||
--
|
||||
-- @param query tring
|
||||
-- @param parameters table
|
||||
--
|
||||
-- @return result
|
||||
--
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return integer|string
|
||||
---returns value of the first column of a single row
|
||||
exports('scalarSync', function(query, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:scalar(query, parameters, function(result)
|
||||
@@ -62,14 +47,10 @@ exports('scalarSync', function(query, parameters)
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
|
||||
---
|
||||
-- Insert data and return inserted id
|
||||
--
|
||||
-- @param query tring
|
||||
-- @param parameters table
|
||||
--
|
||||
-- @return insert data result
|
||||
--
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return table result
|
||||
---returns the last inserted id
|
||||
exports('insertSync', function(query, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:insert(query, parameters, function(result)
|
||||
@@ -78,14 +59,10 @@ exports('insertSync', function(query, parameters)
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
|
||||
---
|
||||
-- Update data and return affected rows
|
||||
--
|
||||
-- @param query tring
|
||||
-- @param parameters table
|
||||
--
|
||||
-- @return number affected rows
|
||||
--
|
||||
---@param query string
|
||||
---@param parameters? table|function
|
||||
---@return integer result
|
||||
---returns number of rows updated by the executed query
|
||||
exports('updateSync', function(query, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:update(query, parameters, function(result)
|
||||
@@ -93,3 +70,15 @@ exports('updateSync', function(query, parameters)
|
||||
end, GetInvokingResource())
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
|
||||
---@param queries table
|
||||
---@param parameters? table|function
|
||||
---@return boolean result
|
||||
---returns true when the transaction has succeeded
|
||||
exports('transactionSync', function(queries, parameters)
|
||||
local p = promise.new()
|
||||
exports['oxmysql']:transaction(queries, parameters, function(result)
|
||||
p:resolve(result)
|
||||
end, GetInvokingResource())
|
||||
return Citizen.Await(p)
|
||||
end)
|
||||
@@ -2,15 +2,15 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@citizenfx/server@^2.0.4376-1":
|
||||
version "2.0.4376-1"
|
||||
resolved "https://registry.yarnpkg.com/@citizenfx/server/-/server-2.0.4376-1.tgz#6cc9e034bc463a031df40532f278b9f309b7f258"
|
||||
integrity sha512-xIqpuSwbyga3ysSJ3NfiDeJ6+L3cEHI+vRF45IjMP3U0E4bMZLGrjoSXBbndDJjd97uPdak3HPZD4/AC0HBnIw==
|
||||
"@citizenfx/server@^2.0.4793-1":
|
||||
version "2.0.4793-1"
|
||||
resolved "https://registry.yarnpkg.com/@citizenfx/server/-/server-2.0.4793-1.tgz#9a926bab761d56f43d82fd6671cb5d03c5aadeba"
|
||||
integrity sha512-YT6waUNNa08O/+Pm4FbulL/I47NdUEaShTJ0FjM0Q8SmRQ+JwvgUyYSksgA3XXWrQzRmTF1ngSHXBLD17VqtPQ==
|
||||
|
||||
"@discoveryjs/json-ext@^0.5.0":
|
||||
version "0.5.3"
|
||||
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz#90420f9f9c6d3987f176a19a7d8e764271a2f55d"
|
||||
integrity sha512-Fxt+AfXgjMoin2maPIYzFZnQjAXjAL0PHscM5pRTtatFqB+vZxAM9tLp2Optnuw3QOQC40jTNeGYFOMvyf7v9g==
|
||||
version "0.5.5"
|
||||
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.5.tgz#9283c9ce5b289a3c4f61c12757469e59377f81f3"
|
||||
integrity sha512-6nFkfkmSeV/rqSaS4oWHgmpnYw194f6hmWF5is6b0J1naJZoiD0NTc9AiUwPHvWsowkjuHErCZT1wa0jg+BLIA==
|
||||
|
||||
"@nodelib/[email protected]":
|
||||
version "2.1.5"
|
||||
@@ -42,9 +42,9 @@
|
||||
"@types/estree" "*"
|
||||
|
||||
"@types/eslint@*":
|
||||
version "7.28.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.28.0.tgz#7e41f2481d301c68e14f483fe10b017753ce8d5a"
|
||||
integrity sha512-07XlgzX0YJUn4iG1ocY4IX9DzKSmMGUs6ESKlxWhZRaa0fatIWaHWUVapcuGa8r5HFnTqzj+4OCjd5f7EZ/i/A==
|
||||
version "7.28.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.28.1.tgz#50b07747f1f84c2ba8cd394cf0fe0ba07afce320"
|
||||
integrity sha512-XhZKznR3i/W5dXqUhgU9fFdJekufbeBd5DALmkuXoeFcjbQcPk+2cL+WLHf6Q81HWAnM2vrslIHpGVyCAviRwg==
|
||||
dependencies:
|
||||
"@types/estree" "*"
|
||||
"@types/json-schema" "*"
|
||||
@@ -60,9 +60,9 @@
|
||||
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
|
||||
|
||||
"@types/node@*":
|
||||
version "16.9.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.1.tgz#0611b37db4246c937feef529ddcc018cf8e35708"
|
||||
integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==
|
||||
version "16.11.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.1.tgz#2e50a649a50fc403433a14f829eface1a3443e97"
|
||||
integrity sha512-PYGcJHL9mwl1Ek3PLiYgyEKtwTMmkMw4vbiyz/ps3pfdRYLVv+SN7qHVAImrjdAXxgluDEw6Ph4lyv+m9UpRmA==
|
||||
|
||||
"@webassemblyjs/[email protected]":
|
||||
version "1.11.1"
|
||||
@@ -185,22 +185,22 @@
|
||||
"@webassemblyjs/ast" "1.11.1"
|
||||
"@xtuc/long" "4.2.2"
|
||||
|
||||
"@webpack-cli/configtest@^1.0.4":
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.0.4.tgz#f03ce6311c0883a83d04569e2c03c6238316d2aa"
|
||||
integrity sha512-cs3XLy+UcxiP6bj0A6u7MLLuwdXJ1c3Dtc0RkKg+wiI1g/Ti1om8+/2hc2A2B60NbBNAbMgyBMHvyymWm/j4wQ==
|
||||
"@webpack-cli/configtest@^1.1.0":
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.1.0.tgz#8342bef0badfb7dfd3b576f2574ab80c725be043"
|
||||
integrity sha512-ttOkEkoalEHa7RaFYpM0ErK1xc4twg3Am9hfHhL7MVqlHebnkYd2wuI/ZqTDj0cVzZho6PdinY0phFZV3O0Mzg==
|
||||
|
||||
"@webpack-cli/info@^1.3.0":
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.3.0.tgz#9d78a31101a960997a4acd41ffd9b9300627fe2b"
|
||||
integrity sha512-ASiVB3t9LOKHs5DyVUcxpraBXDOKubYu/ihHhU+t1UPpxsivg6Od2E2qU4gJCekfEddzRBzHhzA/Acyw/mlK/w==
|
||||
"@webpack-cli/info@^1.4.0":
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.4.0.tgz#b9179c3227ab09cbbb149aa733475fcf99430223"
|
||||
integrity sha512-F6b+Man0rwE4n0409FyAJHStYA5OIZERxmnUfLVwv0mc0V1wLad3V7jqRlMkgKBeAq07jUvglacNaa6g9lOpuw==
|
||||
dependencies:
|
||||
envinfo "^7.7.3"
|
||||
|
||||
"@webpack-cli/serve@^1.5.2":
|
||||
version "1.5.2"
|
||||
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec"
|
||||
integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw==
|
||||
"@webpack-cli/serve@^1.6.0":
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.0.tgz#2c275aa05c895eccebbfc34cfb223c6e8bd591a2"
|
||||
integrity sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==
|
||||
|
||||
"@xtuc/ieee754@^1.2.0":
|
||||
version "1.2.0"
|
||||
@@ -218,9 +218,9 @@
|
||||
integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==
|
||||
|
||||
acorn-import-assertions@^1.7.6:
|
||||
version "1.7.6"
|
||||
resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.7.6.tgz#580e3ffcae6770eebeec76c3b9723201e9d01f78"
|
||||
integrity sha512-FlVvVFA1TX6l3lp8VjDnYYq7R1nyW6x3svAt4nDgrWQ9SBaSh9CnbwgSUTasgfNfOG5HlM1ehugCvM+hjo56LA==
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9"
|
||||
integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==
|
||||
|
||||
acorn@^8.4.1:
|
||||
version "8.5.0"
|
||||
@@ -249,13 +249,6 @@ ansi-styles@^3.2.1:
|
||||
dependencies:
|
||||
color-convert "^1.9.0"
|
||||
|
||||
ansi-styles@^4.1.0:
|
||||
version "4.3.0"
|
||||
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
|
||||
integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
|
||||
dependencies:
|
||||
color-convert "^2.0.1"
|
||||
|
||||
array-union@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
|
||||
@@ -282,25 +275,25 @@ braces@^3.0.1:
|
||||
fill-range "^7.0.1"
|
||||
|
||||
browserslist@^4.14.5:
|
||||
version "4.17.0"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.0.tgz#1fcd81ec75b41d6d4994fb0831b92ac18c01649c"
|
||||
integrity sha512-g2BJ2a0nEYvEFQC208q8mVAhfNwpZ5Mu8BwgtCdZKO3qx98HChmeg448fPdUzld8aFmfLgVh7yymqV+q1lJZ5g==
|
||||
version "4.17.4"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.4.tgz#72e2508af2a403aec0a49847ef31bd823c57ead4"
|
||||
integrity sha512-Zg7RpbZpIJRW3am9Lyckue7PLytvVxxhJj1CaJVlCWENsGEAOlnlt8X0ZxGRPp7Bt9o8tIRM5SEXy4BCPMJjLQ==
|
||||
dependencies:
|
||||
caniuse-lite "^1.0.30001254"
|
||||
colorette "^1.3.0"
|
||||
electron-to-chromium "^1.3.830"
|
||||
caniuse-lite "^1.0.30001265"
|
||||
electron-to-chromium "^1.3.867"
|
||||
escalade "^3.1.1"
|
||||
node-releases "^1.1.75"
|
||||
node-releases "^2.0.0"
|
||||
picocolors "^1.0.0"
|
||||
|
||||
buffer-from@^1.0.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
||||
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
|
||||
|
||||
caniuse-lite@^1.0.30001254:
|
||||
version "1.0.30001256"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001256.tgz#182410b5f024e0ab99c72ec648f234a9986bd548"
|
||||
integrity sha512-QirrvMLmB4txNnxiaG/xbm6FSzv9LqOZ3Jp9VtCYb3oPIfCHpr/oGn38pFq0udwlkctvXQgPthaXqJ76DaYGnA==
|
||||
caniuse-lite@^1.0.30001265:
|
||||
version "1.0.30001269"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001269.tgz#3a71bee03df627364418f9fd31adfc7aa1cc2d56"
|
||||
integrity sha512-UOy8okEVs48MyHYgV+RdW1Oiudl1H6KolybD6ZquD0VcrPSgj25omXO1S7rDydjpqaISCwA8Pyx+jUQKZwWO5w==
|
||||
|
||||
chalk@^2.4.2:
|
||||
version "2.4.2"
|
||||
@@ -311,14 +304,6 @@ chalk@^2.4.2:
|
||||
escape-string-regexp "^1.0.5"
|
||||
supports-color "^5.3.0"
|
||||
|
||||
chalk@^4.1.0:
|
||||
version "4.1.2"
|
||||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
||||
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
||||
dependencies:
|
||||
ansi-styles "^4.1.0"
|
||||
supports-color "^7.1.0"
|
||||
|
||||
chrome-trace-event@^1.0.2:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac"
|
||||
@@ -345,27 +330,15 @@ color-convert@^1.9.0:
|
||||
dependencies:
|
||||
color-name "1.1.3"
|
||||
|
||||
color-convert@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
|
||||
integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
|
||||
dependencies:
|
||||
color-name "~1.1.4"
|
||||
|
||||
[email protected]:
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
||||
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
|
||||
|
||||
color-name@~1.1.4:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||
|
||||
colorette@^1.2.1, colorette@^1.3.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40"
|
||||
integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==
|
||||
colorette@^2.0.14:
|
||||
version "2.0.16"
|
||||
resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da"
|
||||
integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==
|
||||
|
||||
commander@^2.20.0:
|
||||
version "2.20.3"
|
||||
@@ -422,10 +395,10 @@ cross-spawn@^7.0.3:
|
||||
shebang-command "^2.0.0"
|
||||
which "^2.0.1"
|
||||
|
||||
denque@^1.4.1:
|
||||
version "1.5.0"
|
||||
resolved "https://registry.yarnpkg.com/denque/-/denque-1.5.0.tgz#773de0686ff2d8ec2ff92914316a47b73b1c73de"
|
||||
integrity sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==
|
||||
denque@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/denque/-/denque-2.0.1.tgz#bcef4c1b80dc32efe97515744f21a4229ab8934a"
|
||||
integrity sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ==
|
||||
|
||||
dir-glob@^3.0.1:
|
||||
version "3.0.1"
|
||||
@@ -434,15 +407,15 @@ dir-glob@^3.0.1:
|
||||
dependencies:
|
||||
path-type "^4.0.0"
|
||||
|
||||
electron-to-chromium@^1.3.830:
|
||||
version "1.3.836"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.836.tgz#823cb9c98f28c64c673920f1c90ea3826596eaf9"
|
||||
integrity sha512-Ney3pHOJBWkG/AqYjrW0hr2AUCsao+2uvq9HUlRP8OlpSdk/zOHOUJP7eu0icDvePC9DlgffuelP4TnOJmMRUg==
|
||||
electron-to-chromium@^1.3.867:
|
||||
version "1.3.871"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.871.tgz#6e87365fd72037a6c898fb46050ad4be3ac9ef62"
|
||||
integrity sha512-qcLvDUPf8DSIMWarHT2ptgcqrYg62n3vPA7vhrOF24d8UNzbUBaHu2CySiENR3nEDzYgaN60071t0F6KLYMQ7Q==
|
||||
|
||||
enhanced-resolve@^5.0.0, enhanced-resolve@^5.8.0:
|
||||
version "5.8.2"
|
||||
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz#15ddc779345cbb73e97c611cd00c01c1e7bf4d8b"
|
||||
integrity sha512-F27oB3WuHDzvR2DOGNTaYy0D5o0cnrv8TeI482VM4kYgQd/FT9lUQwuNsJ0oOHtBUq7eiW5ytqzp7nBFknL+GA==
|
||||
enhanced-resolve@^5.8.3:
|
||||
version "5.8.3"
|
||||
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz#6d552d465cce0423f5b3d718511ea53826a7b2f0"
|
||||
integrity sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==
|
||||
dependencies:
|
||||
graceful-fs "^4.2.4"
|
||||
tapable "^2.2.0"
|
||||
@@ -452,10 +425,10 @@ envinfo@^7.7.3:
|
||||
resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475"
|
||||
integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==
|
||||
|
||||
es-module-lexer@^0.7.1:
|
||||
version "0.7.1"
|
||||
resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.7.1.tgz#c2c8e0f46f2df06274cdaf0dd3f3b33e0a0b267d"
|
||||
integrity sha512-MgtWFl5No+4S3TmhDmCz2ObFGm6lEpTnzbQi+Dd+pw4mlTIZTmM2iAs5gRlmx5zS9luzobCSBSI90JM/1/JgOw==
|
||||
es-module-lexer@^0.9.0:
|
||||
version "0.9.3"
|
||||
resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19"
|
||||
integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==
|
||||
|
||||
escalade@^3.1.1:
|
||||
version "3.1.1"
|
||||
@@ -598,6 +571,19 @@ get-stream@^6.0.0:
|
||||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
||||
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
|
||||
|
||||
github-graphql-client@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/github-graphql-client/-/github-graphql-client-1.0.0.tgz#d5acacc31bb9f6b77e5c502812e90c844f727bca"
|
||||
integrity sha1-1ayswxu59rd+XFAoEukMhE9ye8o=
|
||||
|
||||
github-version-checker@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/github-version-checker/-/github-version-checker-2.2.0.tgz#08a2b52f9ef9cd3dd05b898537750a91b73facec"
|
||||
integrity sha512-Ttj/Uzg++TGfycfn5ga8BfMJ8QYB1+DhG24rtasrN8tHYWgqqrEMAQ52y2qGnPNWzSF8AUdjm6dBcoPdUhKhDQ==
|
||||
dependencies:
|
||||
github-graphql-client "^1.0.0"
|
||||
semver "^5.5.1"
|
||||
|
||||
glob-parent@^5.1.2:
|
||||
version "5.1.2"
|
||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
||||
@@ -606,11 +592,11 @@ glob-parent@^5.1.2:
|
||||
is-glob "^4.0.1"
|
||||
|
||||
glob-parent@^6.0.0:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.1.tgz#42054f685eb6a44e7a7d189a96efa40a54971aa7"
|
||||
integrity sha512-kEVjS71mQazDBHKcsq4E9u/vUzaLcw1A8EtUeydawvIWQCJM0qQ08G1H7/XTjFUulla6XQiDOG6MXSaG0HDKog==
|
||||
version "6.0.2"
|
||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
|
||||
integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
|
||||
dependencies:
|
||||
is-glob "^4.0.1"
|
||||
is-glob "^4.0.3"
|
||||
|
||||
glob-to-regexp@^0.4.1:
|
||||
version "0.4.1"
|
||||
@@ -618,9 +604,9 @@ glob-to-regexp@^0.4.1:
|
||||
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
|
||||
|
||||
glob@^7.1.3:
|
||||
version "7.1.7"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
||||
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
|
||||
version "7.2.0"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
|
||||
integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
|
||||
dependencies:
|
||||
fs.realpath "^1.0.0"
|
||||
inflight "^1.0.4"
|
||||
@@ -668,7 +654,7 @@ human-signals@^2.1.0:
|
||||
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
|
||||
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
||||
|
||||
iconv-lite@^0.6.2:
|
||||
iconv-lite@^0.6.3:
|
||||
version "0.6.3"
|
||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
|
||||
integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
|
||||
@@ -681,9 +667,9 @@ ignore@^5.1.4:
|
||||
integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==
|
||||
|
||||
import-local@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6"
|
||||
integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.3.tgz#4d51c2c495ca9393da259ec66b62e022920211e0"
|
||||
integrity sha512-bE9iaUY3CXH8Cwfan/abDKAxe1KGT9kyGsBPqf6DMK/z0a2OzAsrukeYNgIH6cH5Xr452jb1TUL8rSfCLjZ9uA==
|
||||
dependencies:
|
||||
pkg-dir "^4.2.0"
|
||||
resolve-cwd "^3.0.0"
|
||||
@@ -714,9 +700,9 @@ is-ci@^2.0.0:
|
||||
ci-info "^2.0.0"
|
||||
|
||||
is-core-module@^2.2.0:
|
||||
version "2.6.0"
|
||||
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.6.0.tgz#d7553b2526fe59b92ba3e40c8df757ec8a709e19"
|
||||
integrity sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==
|
||||
version "2.8.0"
|
||||
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548"
|
||||
integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==
|
||||
dependencies:
|
||||
has "^1.0.3"
|
||||
|
||||
@@ -730,10 +716,10 @@ is-extglob@^2.1.1:
|
||||
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
||||
|
||||
is-glob@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
|
||||
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
|
||||
is-glob@^4.0.1, is-glob@^4.0.3:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
||||
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
||||
dependencies:
|
||||
is-extglob "^2.1.1"
|
||||
|
||||
@@ -777,9 +763,9 @@ isobject@^3.0.1:
|
||||
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
|
||||
|
||||
jest-worker@^27.0.6:
|
||||
version "27.1.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.1.1.tgz#eb5f05c4657fdcb702c36c48b20d785bd4599378"
|
||||
integrity sha512-XJKCL7tu+362IUYTWvw8+3S75U7qMiYiRU6u5yqscB48bTvzwN6i8L/7wVTXiFLwkRsxARNM7TISnTvcgv9hxA==
|
||||
version "27.3.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.3.0.tgz#6b636b63b6672208b91b92d8dcde112d1d4dba2d"
|
||||
integrity sha512-xTTvvJqOjKBqE1AmwDHiQN8qzp9VoT981LtfXA+XiJVxHn4435vpnrzVcJ6v/ESiuB+IXPjZakn/ppT00xBCWA==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
merge-stream "^2.0.0"
|
||||
@@ -856,7 +842,7 @@ merge2@^1.3.0:
|
||||
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
|
||||
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
|
||||
|
||||
micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4:
|
||||
micromatch@^4.0.2, micromatch@^4.0.4:
|
||||
version "4.0.4"
|
||||
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9"
|
||||
integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==
|
||||
@@ -864,17 +850,17 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4:
|
||||
braces "^3.0.1"
|
||||
picomatch "^2.2.3"
|
||||
|
||||
mime-db@1.49.0:
|
||||
version "1.49.0"
|
||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.49.0.tgz#f3dfde60c99e9cf3bc9701d687778f537001cbed"
|
||||
integrity sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==
|
||||
mime-db@1.50.0:
|
||||
version "1.50.0"
|
||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.50.0.tgz#abd4ac94e98d3c0e185016c67ab45d5fde40c11f"
|
||||
integrity sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A==
|
||||
|
||||
mime-types@^2.1.27:
|
||||
version "2.1.32"
|
||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.32.tgz#1d00e89e7de7fe02008db61001d9e02852670fd5"
|
||||
integrity sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==
|
||||
version "2.1.33"
|
||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.33.tgz#1fa12a904472fafd068e48d9e8401f74d3f70edb"
|
||||
integrity sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==
|
||||
dependencies:
|
||||
mime-db "1.49.0"
|
||||
mime-db "1.50.0"
|
||||
|
||||
mimic-fn@^2.1.0:
|
||||
version "2.1.0"
|
||||
@@ -893,14 +879,13 @@ minimist@^1.2.0:
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||
|
||||
mysql2@^2.3.0:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/mysql2/-/mysql2-2.3.0.tgz#600f5cc27e397dfb77b59eac93666434f88e8079"
|
||||
integrity sha512-0t5Ivps5Tdy5YHk5NdKwQhe/4Qyn2pload+S+UooDBvsqngtzujG1BaTWBihQLfeKO3t3122/GtusBtmHEHqww==
|
||||
"mysql2@https://github.com/overextended/node-mysql2.git":
|
||||
version "2.3.2"
|
||||
resolved "https://github.com/overextended/node-mysql2.git#b50b58cefc23c6eee1811a2769395904666b8899"
|
||||
dependencies:
|
||||
denque "^1.4.1"
|
||||
denque "^2.0.1"
|
||||
generate-function "^2.3.1"
|
||||
iconv-lite "^0.6.2"
|
||||
iconv-lite "^0.6.3"
|
||||
long "^4.0.0"
|
||||
lru-cache "^6.0.0"
|
||||
named-placeholders "^1.1.2"
|
||||
@@ -924,10 +909,10 @@ nice-try@^1.0.4:
|
||||
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
|
||||
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
|
||||
|
||||
node-releases@^1.1.75:
|
||||
version "1.1.75"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.75.tgz#6dd8c876b9897a1b8e5a02de26afa79bb54ebbfe"
|
||||
integrity sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==
|
||||
node-releases@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.0.tgz#67dc74903100a7deb044037b8a2e5f453bb05400"
|
||||
integrity sha512-aA87l0flFYMzCHpTM3DERFSYxc6lv/BltdbRTOMZuxZ0cwZCD3mejE5n9vLhSJCN++/eOqr77G1IO5uXxlQYWA==
|
||||
|
||||
normalize-path@^3.0.0:
|
||||
version "3.0.0"
|
||||
@@ -1043,6 +1028,11 @@ path-type@^4.0.0:
|
||||
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
|
||||
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
|
||||
|
||||
picocolors@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
|
||||
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
|
||||
|
||||
picomatch@^2.2.3:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
||||
@@ -1147,18 +1137,11 @@ schema-utils@^3.0.0, schema-utils@^3.1.0, schema-utils@^3.1.1:
|
||||
ajv "^6.12.5"
|
||||
ajv-keywords "^3.5.2"
|
||||
|
||||
semver@^5.5.0, semver@^5.6.0:
|
||||
semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
|
||||
version "5.7.1"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||
|
||||
semver@^7.3.4:
|
||||
version "7.3.5"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
|
||||
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
|
||||
dependencies:
|
||||
lru-cache "^6.0.0"
|
||||
|
||||
seq-queue@^0.0.5:
|
||||
version "0.0.5"
|
||||
resolved "https://registry.yarnpkg.com/seq-queue/-/seq-queue-0.0.5.tgz#d56812e1c017a6e4e7c3e3a37a1da6d78dd3c93e"
|
||||
@@ -1203,9 +1186,9 @@ shebang-regex@^3.0.0:
|
||||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
||||
|
||||
signal-exit@^3.0.3:
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
||||
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
|
||||
version "3.0.5"
|
||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f"
|
||||
integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==
|
||||
|
||||
slash@^2.0.0:
|
||||
version "2.0.0"
|
||||
@@ -1217,7 +1200,7 @@ slash@^3.0.0:
|
||||
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
||||
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
||||
|
||||
source-map-support@~0.5.19:
|
||||
source-map-support@~0.5.20:
|
||||
version "0.5.20"
|
||||
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9"
|
||||
integrity sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==
|
||||
@@ -1252,13 +1235,6 @@ supports-color@^5.3.0:
|
||||
dependencies:
|
||||
has-flag "^3.0.0"
|
||||
|
||||
supports-color@^7.1.0:
|
||||
version "7.2.0"
|
||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
|
||||
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
|
||||
dependencies:
|
||||
has-flag "^4.0.0"
|
||||
|
||||
supports-color@^8.0.0:
|
||||
version "8.1.1"
|
||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c"
|
||||
@@ -1267,9 +1243,9 @@ supports-color@^8.0.0:
|
||||
has-flag "^4.0.0"
|
||||
|
||||
tapable@^2.1.1, tapable@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.0.tgz#5c373d281d9c672848213d0e037d1c4165ab426b"
|
||||
integrity sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw==
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
|
||||
integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
|
||||
|
||||
terser-webpack-plugin@^5.1.3:
|
||||
version "5.2.4"
|
||||
@@ -1284,13 +1260,13 @@ terser-webpack-plugin@^5.1.3:
|
||||
terser "^5.7.2"
|
||||
|
||||
terser@^5.7.2:
|
||||
version "5.7.2"
|
||||
resolved "https://registry.yarnpkg.com/terser/-/terser-5.7.2.tgz#d4d95ed4f8bf735cb933e802f2a1829abf545e3f"
|
||||
integrity sha512-0Omye+RD4X7X69O0eql3lC4Heh/5iLj3ggxR/B5ketZLOtLiOqukUgjw3q4PDnNQbsrkKr3UMypqStQG3XKRvw==
|
||||
version "5.9.0"
|
||||
resolved "https://registry.yarnpkg.com/terser/-/terser-5.9.0.tgz#47d6e629a522963240f2b55fcaa3c99083d2c351"
|
||||
integrity sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==
|
||||
dependencies:
|
||||
commander "^2.20.0"
|
||||
source-map "~0.7.2"
|
||||
source-map-support "~0.5.19"
|
||||
source-map-support "~0.5.20"
|
||||
|
||||
tmp@^0.0.33:
|
||||
version "0.0.33"
|
||||
@@ -1306,25 +1282,15 @@ to-regex-range@^5.0.1:
|
||||
dependencies:
|
||||
is-number "^7.0.0"
|
||||
|
||||
ts-loader@^9.2.5:
|
||||
version "9.2.5"
|
||||
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.2.5.tgz#127733a5e9243bf6dafcb8aa3b8a266d8041dca9"
|
||||
integrity sha512-al/ATFEffybdRMUIr5zMEWQdVnCGMUA9d3fXJ8dBVvBlzytPvIszoG9kZoR+94k6/i293RnVOXwMaWbXhNy9pQ==
|
||||
dependencies:
|
||||
chalk "^4.1.0"
|
||||
enhanced-resolve "^5.0.0"
|
||||
micromatch "^4.0.0"
|
||||
semver "^7.3.4"
|
||||
|
||||
tslib@^2.0.0:
|
||||
version "2.3.1"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
|
||||
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
||||
|
||||
typescript@^4.4.3:
|
||||
version "4.4.3"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
|
||||
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==
|
||||
version "4.4.4"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c"
|
||||
integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==
|
||||
|
||||
universalify@^0.1.0:
|
||||
version "0.1.2"
|
||||
@@ -1338,11 +1304,6 @@ uri-js@^4.2.2:
|
||||
dependencies:
|
||||
punycode "^2.1.0"
|
||||
|
||||
v8-compile-cache@^2.2.0:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
|
||||
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
|
||||
|
||||
watchpack@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce"
|
||||
@@ -1352,22 +1313,21 @@ watchpack@^2.2.0:
|
||||
graceful-fs "^4.1.2"
|
||||
|
||||
webpack-cli@^4.8.0:
|
||||
version "4.8.0"
|
||||
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.8.0.tgz#5fc3c8b9401d3c8a43e2afceacfa8261962338d1"
|
||||
integrity sha512-+iBSWsX16uVna5aAYN6/wjhJy1q/GKk4KjKvfg90/6hykCTSgozbfz5iRgDTSJt/LgSbYxdBX3KBHeobIs+ZEw==
|
||||
version "4.9.1"
|
||||
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.1.tgz#b64be825e2d1b130f285c314caa3b1ba9a4632b3"
|
||||
integrity sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==
|
||||
dependencies:
|
||||
"@discoveryjs/json-ext" "^0.5.0"
|
||||
"@webpack-cli/configtest" "^1.0.4"
|
||||
"@webpack-cli/info" "^1.3.0"
|
||||
"@webpack-cli/serve" "^1.5.2"
|
||||
colorette "^1.2.1"
|
||||
"@webpack-cli/configtest" "^1.1.0"
|
||||
"@webpack-cli/info" "^1.4.0"
|
||||
"@webpack-cli/serve" "^1.6.0"
|
||||
colorette "^2.0.14"
|
||||
commander "^7.0.0"
|
||||
execa "^5.0.0"
|
||||
fastest-levenshtein "^1.0.12"
|
||||
import-local "^3.0.2"
|
||||
interpret "^2.2.0"
|
||||
rechoir "^0.7.0"
|
||||
v8-compile-cache "^2.2.0"
|
||||
webpack-merge "^5.7.3"
|
||||
|
||||
webpack-merge@^5.7.3:
|
||||
@@ -1379,14 +1339,14 @@ webpack-merge@^5.7.3:
|
||||
wildcard "^2.0.0"
|
||||
|
||||
webpack-sources@^3.2.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.0.tgz#b16973bcf844ebcdb3afde32eda1c04d0b90f89d"
|
||||
integrity sha512-fahN08Et7P9trej8xz/Z7eRu8ltyiygEo/hnRi9KqBUs80KeDcnf96ZJo++ewWd84fEf3xSX9bp4ZS9hbw0OBw==
|
||||
version "3.2.1"
|
||||
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.1.tgz#251a7d9720d75ada1469ca07dbb62f3641a05b6d"
|
||||
integrity sha512-t6BMVLQ0AkjBOoRTZgqrWm7xbXMBzD+XDq2EZ96+vMfn3qKgsvdXZhbPZ4ElUOpdv4u+iiGe+w3+J75iy/bYGA==
|
||||
|
||||
webpack@^5.52.1:
|
||||
version "5.52.1"
|
||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.52.1.tgz#2dc1d9029ecb7acfb80da7bf67baab67baa517a7"
|
||||
integrity sha512-wkGb0hLfrS7ML3n2xIKfUIwHbjB6gxwQHyLmVHoAqEQBw+nWo+G6LoHL098FEXqahqximsntjBLuewStrnJk0g==
|
||||
version "5.58.2"
|
||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.58.2.tgz#6b4af12fc9bd5cbedc00dc0a2fc2b9592db16b44"
|
||||
integrity sha512-3S6e9Vo1W2ijk4F4PPWRIu6D/uGgqaPmqw+av3W3jLDujuNkdxX5h5c+RQ6GkjVR+WwIPOfgY8av+j5j4tMqJw==
|
||||
dependencies:
|
||||
"@types/eslint-scope" "^3.7.0"
|
||||
"@types/estree" "^0.0.50"
|
||||
@@ -1397,8 +1357,8 @@ webpack@^5.52.1:
|
||||
acorn-import-assertions "^1.7.6"
|
||||
browserslist "^4.14.5"
|
||||
chrome-trace-event "^1.0.2"
|
||||
enhanced-resolve "^5.8.0"
|
||||
es-module-lexer "^0.7.1"
|
||||
enhanced-resolve "^5.8.3"
|
||||
es-module-lexer "^0.9.0"
|
||||
eslint-scope "5.1.1"
|
||||
events "^3.2.0"
|
||||
glob-to-regexp "^0.4.1"
|
||||
|
||||
Reference in new issue
Block a user