mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
381627266f | ||
|
|
f779ba4228 | ||
|
|
b004ec943d | ||
|
|
647243f1cf | ||
|
|
12e9ccbc8a | ||
|
|
2a9b14ce54 | ||
|
|
f7949db0d3 | ||
|
|
2a14ab1e21 | ||
|
|
9de50f684f | ||
|
|
2c90290c84 | ||
|
|
9fc06c2132 | ||
|
|
def891268b | ||
|
|
8a3fa20408 | ||
|
|
5d6ca06f49 | ||
|
|
4913d6e50a | ||
|
|
ca8cef4e26 | ||
|
|
2a8f4b1ea9 | ||
|
|
1d0a5bcfd9 | ||
|
|
5965442e48 | ||
|
|
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 |
No files matched your search
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Issue checklist
|
||||||
|
> Please put `x` inside of the box that matches your issue.
|
||||||
|
|
||||||
|
- [ ] I am using the latest release
|
||||||
|
- [ ] I have referenced previously reported issues
|
||||||
|
- [ ] I have referenced available documentation and cannot resolve the issue
|
||||||
|
- [ ] I'm certain this is an issue with oxymysql, and not with my resource
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
|
**Screenshots**
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
|
**Code**
|
||||||
|
```lua
|
||||||
|
If applicable, include the query and relevant code
|
||||||
|
```
|
||||||
|
|
||||||
|
**Expected behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
||||||
|
|
||||||
|
**Server details**
|
||||||
|
- FX Server artifact
|
||||||
|
- Operating system
|
||||||
|
- Framework
|
||||||
@@ -32,8 +32,6 @@ jobs:
|
|||||||
- name: Bundle files
|
- name: Bundle files
|
||||||
run: |
|
run: |
|
||||||
mv dist oxmysql
|
mv dist oxmysql
|
||||||
mkdir oxmysql/lib
|
|
||||||
mv lib/MySQL.lua oxmysql/lib/MySQL.lua
|
|
||||||
zip -r oxmysql-${{ env.RELEASE_VERSION }}.zip oxmysql
|
zip -r oxmysql-${{ env.RELEASE_VERSION }}.zip oxmysql
|
||||||
|
|
||||||
- name: Create Release
|
- 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>
|
<p align='center'><a href='https://discord.io/overextended'>Discord</a></p>
|
||||||
|
<hr>
|
||||||
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.
|
|
||||||
-146
@@ -1,146 +0,0 @@
|
|||||||
-- 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 function safeParameters(parameters)
|
|
||||||
if not parameters or next(parameters) == nil then
|
|
||||||
return {[''] = ''}
|
|
||||||
end
|
|
||||||
assert(type(parameters) == 'table', 'Parameters must be a table')
|
|
||||||
return parameters
|
|
||||||
end
|
|
||||||
local Store = {}
|
|
||||||
|
|
||||||
MySQL = {
|
|
||||||
Async = {
|
|
||||||
execute = function(query, parameters, cb)
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
Ox:update(query, safeParameters(parameters), cb)
|
|
||||||
end,
|
|
||||||
|
|
||||||
fetchAll = function(query, parameters, cb)
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
Ox:execute(query, safeParameters(parameters), cb)
|
|
||||||
end,
|
|
||||||
|
|
||||||
fetchScalar = function(query, parameters, cb)
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
Ox:scalar(query, safeParameters(parameters), cb)
|
|
||||||
end,
|
|
||||||
|
|
||||||
fetchSingle = function(query, parameters, cb)
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
Ox:single(query, safeParameters(parameters), cb)
|
|
||||||
end,
|
|
||||||
|
|
||||||
insert = function(query, parameters, cb)
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
Ox:insert(query, safeParameters(parameters), cb)
|
|
||||||
end,
|
|
||||||
|
|
||||||
transaction = function(query, parameters, cb)
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
Ox:transaction(query, safeParameters(parameters), cb)
|
|
||||||
end,
|
|
||||||
|
|
||||||
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,
|
|
||||||
},
|
|
||||||
|
|
||||||
Sync = {
|
|
||||||
execute = function(query, parameters)
|
|
||||||
if type(query) == 'number' then
|
|
||||||
query = Store[query]
|
|
||||||
end
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
local promise = promise.new()
|
|
||||||
Ox:update(query, safeParameters(parameters), function(result)
|
|
||||||
promise:resolve(result)
|
|
||||||
end, Resource)
|
|
||||||
return Citizen.Await(promise)
|
|
||||||
end,
|
|
||||||
|
|
||||||
fetchAll = function(query, parameters)
|
|
||||||
if type(query) == 'number' then
|
|
||||||
query = Store[query]
|
|
||||||
end
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
local promise = promise.new()
|
|
||||||
Ox:execute(query, safeParameters(parameters), function(result)
|
|
||||||
promise:resolve(result)
|
|
||||||
end, Resource)
|
|
||||||
return Citizen.Await(promise)
|
|
||||||
end,
|
|
||||||
|
|
||||||
fetchScalar = function(query, parameters)
|
|
||||||
if type(query) == 'number' then
|
|
||||||
query = Store[query]
|
|
||||||
end
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
local promise = promise.new()
|
|
||||||
Ox:scalar(query, safeParameters(parameters), function(result)
|
|
||||||
promise:resolve(result)
|
|
||||||
end, Resource)
|
|
||||||
return Citizen.Await(promise)
|
|
||||||
end,
|
|
||||||
|
|
||||||
fetchSingle = function(query, parameters)
|
|
||||||
if type(query) == 'number' then
|
|
||||||
query = Store[query]
|
|
||||||
end
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
local promise = promise.new()
|
|
||||||
Ox:scalar(query, safeParameters(parameters), function(result)
|
|
||||||
promise:resolve(result)
|
|
||||||
end, Resource)
|
|
||||||
return Citizen.Await(promise)
|
|
||||||
end,
|
|
||||||
|
|
||||||
insert = function(query, parameters)
|
|
||||||
if type(query) == 'number' then
|
|
||||||
query = Store[query]
|
|
||||||
end
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
local promise = promise.new()
|
|
||||||
Ox:scalar(query, safeParameters(parameters), function(result)
|
|
||||||
promise:resolve(result)
|
|
||||||
end, Resource)
|
|
||||||
return Citizen.Await(promise)
|
|
||||||
end,
|
|
||||||
|
|
||||||
transaction = function(query, parameters)
|
|
||||||
if type(query) == 'number' then
|
|
||||||
query = Store[query]
|
|
||||||
end
|
|
||||||
assert(type(query) == 'string', 'The SQL Query must be a string')
|
|
||||||
local promise = promise.new()
|
|
||||||
Ox:scalar(query, safeParameters(parameters), function(result)
|
|
||||||
promise:resolve(result)
|
|
||||||
end, Resource)
|
|
||||||
return Citizen.Await(promise)
|
|
||||||
end,
|
|
||||||
|
|
||||||
store = function(query, parameters)
|
|
||||||
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
|
|
||||||
}
|
|
||||||
@@ -3,15 +3,15 @@ game 'common'
|
|||||||
|
|
||||||
name 'oxmysql'
|
name 'oxmysql'
|
||||||
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
|
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
|
||||||
version '1.5.0'
|
version '1.8.0'
|
||||||
url 'https://github.com/overextended/oxmysql'
|
url 'https://github.com/overextended/oxmysql'
|
||||||
author 'overextended'
|
author 'overextended'
|
||||||
use_fxv2_oal 'yes'
|
use_fxv2_oal 'yes'
|
||||||
lua54 'yes'
|
lua54 'yes'
|
||||||
|
|
||||||
server_only 'true'
|
|
||||||
|
|
||||||
server_scripts {
|
server_scripts {
|
||||||
'oxmysql.js',
|
'oxmysql.js',
|
||||||
'wrapper.lua'
|
'wrapper.lua'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provide 'mysql-async'
|
||||||
@@ -0,0 +1,187 @@
|
|||||||
|
-- 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 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 = { Async = {}, Sync = {} }
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table|function
|
||||||
|
---@param cb? function
|
||||||
|
---@return integer result
|
||||||
|
---returns number of rows updated by the executed query
|
||||||
|
MySQL.Async.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
|
||||||
|
MySQL.Async.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
|
||||||
|
MySQL.Async.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
|
||||||
|
MySQL.Async.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
|
||||||
|
MySQL.Async.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
|
||||||
|
MySQL.Async.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
|
||||||
|
MySQL.Async.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
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table|function
|
||||||
|
---@return integer result
|
||||||
|
---returns number of rows updated by the executed query
|
||||||
|
MySQL.Sync.execute = function(query, parameters)
|
||||||
|
query, parameters = safeArgs(query, parameters)
|
||||||
|
local promise = promise.new()
|
||||||
|
Ox:update(query, parameters, function(result)
|
||||||
|
promise:resolve(result)
|
||||||
|
end)
|
||||||
|
return Citizen.Await(promise)
|
||||||
|
end
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table|function
|
||||||
|
---@return table result
|
||||||
|
---returns array of matching rows or result data
|
||||||
|
MySQL.Sync.fetchAll = function(query, parameters)
|
||||||
|
query, parameters = safeArgs(query, parameters)
|
||||||
|
local promise = promise.new()
|
||||||
|
Ox:execute(query, parameters, function(result)
|
||||||
|
promise:resolve(result)
|
||||||
|
end)
|
||||||
|
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
|
||||||
|
MySQL.Sync.fetchScalar = function(query, parameters)
|
||||||
|
query, parameters = safeArgs(query, parameters)
|
||||||
|
local promise = promise.new()
|
||||||
|
Ox:scalar(query, parameters, function(result)
|
||||||
|
promise:resolve(result)
|
||||||
|
end)
|
||||||
|
return Citizen.Await(promise)
|
||||||
|
end
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table|function
|
||||||
|
---@return table result
|
||||||
|
---returns table containing key value pairs
|
||||||
|
MySQL.Sync.fetchSingle = function(query, parameters)
|
||||||
|
query, parameters = safeArgs(query, parameters)
|
||||||
|
local promise = promise.new()
|
||||||
|
Ox:single(query, parameters, function(result)
|
||||||
|
promise:resolve(result)
|
||||||
|
end)
|
||||||
|
return Citizen.Await(promise)
|
||||||
|
end
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table|function
|
||||||
|
---@return table result
|
||||||
|
---returns the last inserted id
|
||||||
|
MySQL.Sync.insert = function(query, parameters)
|
||||||
|
query, parameters = safeArgs(query, parameters)
|
||||||
|
local promise = promise.new()
|
||||||
|
Ox:insert(query, parameters, function(result)
|
||||||
|
promise:resolve(result)
|
||||||
|
end)
|
||||||
|
return Citizen.Await(promise)
|
||||||
|
end
|
||||||
|
|
||||||
|
---@param queries table
|
||||||
|
---@param parameters? table|function
|
||||||
|
---@return boolean result
|
||||||
|
---returns true when the transaction has succeeded
|
||||||
|
MySQL.Sync.transaction = function(queries, parameters)
|
||||||
|
queries, parameters = safeArgs(queries, parameters, false, true)
|
||||||
|
local promise = promise.new()
|
||||||
|
Ox:transaction(queries, parameters, function(result)
|
||||||
|
promise:resolve(result)
|
||||||
|
end)
|
||||||
|
return Citizen.Await(promise)
|
||||||
|
end
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@return integer result
|
||||||
|
---returns the id used to reference a stored query string
|
||||||
|
MySQL.Sync.store = function(query)
|
||||||
|
assert(type(query) == 'string', 'The SQL Query must be a string')
|
||||||
|
local store = #Store+1
|
||||||
|
Store[store] = query
|
||||||
|
return store
|
||||||
|
end
|
||||||
|
|
||||||
|
MySQL.ready = function(cb)
|
||||||
|
CreateThread(function()
|
||||||
|
repeat
|
||||||
|
Wait(50)
|
||||||
|
until GetResourceState('oxmysql') == 'started'
|
||||||
|
cb()
|
||||||
|
end)
|
||||||
|
end
|
||||||
+127
@@ -0,0 +1,127 @@
|
|||||||
|
local oxmysql = exports.oxmysql
|
||||||
|
|
||||||
|
CreateThread(function()
|
||||||
|
Wait(1000)
|
||||||
|
local resource = GetCurrentResourceName()
|
||||||
|
local url = GetResourceMetadata(resource, 'url', 0)
|
||||||
|
local version = GetResourceMetadata(resource, 'version', 0)
|
||||||
|
|
||||||
|
PerformHttpRequest(('%s/main/lua/fxmanifest.lua'):format(url:gsub('github.com', 'raw.githubusercontent.com')), function(error, response)
|
||||||
|
if error == 200 then
|
||||||
|
local latest = response:match('%d%.%d+%.%d+')
|
||||||
|
if version ~= latest then
|
||||||
|
local curMajor, curMinor = string.strsplit('.', version)
|
||||||
|
local newMajor, newMinor = string.strsplit('.', response:match('%d%.%d+%.%d+'))
|
||||||
|
local link = ('%s/releases/download/v%s/oxmysql-v%s.zip'):format(url, latest, latest)
|
||||||
|
|
||||||
|
if tonumber(curMajor) < tonumber(newMajor) then
|
||||||
|
latest = 'A major update'
|
||||||
|
elseif tonumber(curMinor) < tonumber(newMinor) then
|
||||||
|
latest = 'An update'
|
||||||
|
else
|
||||||
|
latest = 'A patch'
|
||||||
|
end
|
||||||
|
|
||||||
|
print(('^3%s is available for oxmysql - please update to the latest release (current version: %s)\n ^3- %s^0'):format(latest, version, link))
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end, 'GET')
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table
|
||||||
|
---@return integer result
|
||||||
|
---returns array of matching rows or result data
|
||||||
|
exports('executeSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:execute(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table
|
||||||
|
---@return table result
|
||||||
|
---returns array of matching rows or result data
|
||||||
|
exports('fetchSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:fetch(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table
|
||||||
|
---@return table result
|
||||||
|
---returns table containing key value pairs
|
||||||
|
exports('singleSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:single(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table
|
||||||
|
---@return integer|string
|
||||||
|
---returns value of the first column of a single row
|
||||||
|
exports('scalarSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:scalar(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table
|
||||||
|
---@return table result
|
||||||
|
---returns the last inserted id
|
||||||
|
exports('insertSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:insert(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters? table
|
||||||
|
---@return integer result
|
||||||
|
---returns number of rows updated by the executed query
|
||||||
|
exports('updateSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:update(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param queries table
|
||||||
|
---@param parameters? table
|
||||||
|
---@return boolean result
|
||||||
|
---returns true when the transaction has succeeded
|
||||||
|
exports('transactionSync', function(queries, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:transaction(queries, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
|
|
||||||
|
---@param query string
|
||||||
|
---@param parameters table
|
||||||
|
---@return any result
|
||||||
|
---supports SELECT, INSERT, UPDATE, and DELETE
|
||||||
|
---
|
||||||
|
---return value is based on the number of results and the type of query used
|
||||||
|
exports('prepareSync', function(query, parameters)
|
||||||
|
local p = promise.new()
|
||||||
|
oxmysql:prepare(query, parameters, function(result)
|
||||||
|
p:resolve(result)
|
||||||
|
end, GetInvokingResource())
|
||||||
|
return Citizen.Await(p)
|
||||||
|
end)
|
||||||
+4
-5
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "oxmysql",
|
"name": "oxmysql",
|
||||||
"version": "1.5.0",
|
"version": "1.0.0",
|
||||||
"main": "oxmysql.js",
|
"main": "oxmysql.js",
|
||||||
"description": "FiveM MySQL wrapper using faster mysql2",
|
"description": "node-mysql2 resource for Cfx",
|
||||||
"repository": "[email protected]:overextended/oxmysql.git",
|
"repository": "[email protected]:overextended/oxmysql.git",
|
||||||
"author": "dunak-debug <[email protected]>",
|
"author": "dunak-debug <[email protected]>",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
@@ -12,10 +12,9 @@
|
|||||||
"postinstall": "patch-package"
|
"postinstall": "patch-package"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@citizenfx/server": "^2.0.4376-1",
|
"@citizenfx/server": "^2.0.4793-1",
|
||||||
"connection-string-parser": "^1.0.4",
|
"connection-string-parser": "^1.0.4",
|
||||||
"github-version-checker": "^2.2.0",
|
"mysql2": "https://github.com/overextended/node-mysql2.git",
|
||||||
"mysql2": "^2.3.0",
|
|
||||||
"postinstall-postinstall": "^2.1.0"
|
"postinstall-postinstall": "^2.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
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
|
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
|
--- a/node_modules/named-placeholders/index.js
|
||||||
+++ b/node_modules/named-placeholders/index.js
|
+++ b/node_modules/named-placeholders/index.js
|
||||||
@@ -3,7 +3,7 @@
|
@@ -3,7 +3,7 @@
|
||||||
@@ -7,11 +7,11 @@ index 527d723..f47b591 100644
|
|||||||
// License: https://github.com/mscdex/node-mariasql/blob/master/LICENSE
|
// 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,
|
+const RE_PARAM = /(?:\?)|(?:(?<!["'])[:@](\d+|(?:[a-zA-Z][a-zA-Z0-9_]*)))/g,
|
||||||
DQUOTE = 34,
|
DQUOTE = 34,
|
||||||
SQUOTE = 39,
|
SQUOTE = 39,
|
||||||
BSLASH = 92;
|
BSLASH = 92;
|
||||||
@@ -94,15 +94,24 @@ function createCompiler(config) {
|
@@ -94,15 +94,22 @@ function createCompiler(config) {
|
||||||
if (typeof params == 'undefined')
|
if (typeof params == 'undefined')
|
||||||
throw new Error('Named query contains placeholders, but parameters object is undefined');
|
throw new Error('Named query contains placeholders, but parameters object is undefined');
|
||||||
|
|
||||||
@@ -21,13 +21,12 @@ index 527d723..f47b591 100644
|
|||||||
+ delete params[key];
|
+ delete params[key];
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
const tokens = tree[1];
|
const tokens = tree[1];
|
||||||
for (let i=0; i < tokens.length; ++i) {
|
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];
|
return [tree[0], arr];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,7 +36,7 @@ index 527d723..f47b591 100644
|
|||||||
return s.slice(0, -1);
|
return s.slice(0, -1);
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
@@ -115,7 +124,7 @@ function createCompiler(config) {
|
@@ -115,7 +122,7 @@ function createCompiler(config) {
|
||||||
|
|
||||||
let unnamed = noTailingSemicolon(tree[0][0]);
|
let unnamed = noTailingSemicolon(tree[0][0]);
|
||||||
for (let i=1; i < tree[0].length; ++i) {
|
for (let i=1; i < tree[0].length; ++i) {
|
||||||
@@ -46,7 +45,7 @@ index 527d723..f47b591 100644
|
|||||||
unnamed += config.placeholder;
|
unnamed += config.placeholder;
|
||||||
}
|
}
|
||||||
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];
|
const last = tree[0][tree[0].length -1];
|
||||||
if (tree[0].length == tree[1].length) {
|
if (tree[0].length == tree[1].length) {
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import versionCheck from 'github-version-checker';
|
|
||||||
import currentVersion from '../package.json';
|
|
||||||
|
|
||||||
const slowQueryWarning = GetConvarInt('mysql_slow_query_warning', 150);
|
const slowQueryWarning = GetConvarInt('mysql_slow_query_warning', 150);
|
||||||
const debug = GetConvar('mysql_debug', 'false') === 'true';
|
const debug = GetConvar('mysql_debug', 'false') === 'true';
|
||||||
|
|
||||||
@@ -22,23 +19,3 @@ const isolationLevel = (() => {
|
|||||||
const resourceName = GetCurrentResourceName() || 'oxmysql';
|
const resourceName = GetCurrentResourceName() || 'oxmysql';
|
||||||
|
|
||||||
export { slowQueryWarning, debug, isolationLevel, resourceName };
|
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`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
} catch (e) {
|
|
||||||
console.log(`^3Could not fetch updates for oxmysql!^0\n${e}`);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
+70
-9
@@ -1,17 +1,13 @@
|
|||||||
import { pool } from './pool';
|
import { pool } from './pool';
|
||||||
import { parseParameters } from './parser';
|
import { parseParameters } from './parser';
|
||||||
import { slowQueryWarning, debug, resourceName } from './config';
|
import { slowQueryWarning, debug, resourceName } from './config';
|
||||||
|
import { FormatError } from './errors';
|
||||||
|
|
||||||
const execute = async (query, parameters, resource) => {
|
const execute = async (query, parameters, resource) => {
|
||||||
ScheduleResourceTick(resourceName);
|
|
||||||
try {
|
try {
|
||||||
const time = debug ? process.hrtime.bigint() : Date.now();
|
|
||||||
|
|
||||||
[query, parameters] = parseParameters(query, parameters);
|
[query, parameters] = parseParameters(query, parameters);
|
||||||
|
ScheduleResourceTick(resourceName);
|
||||||
const [result] = await pool.query(query, parameters);
|
const [executionTime, rows] = await pool.query(query, parameters);
|
||||||
|
|
||||||
const executionTime = debug ? Number(process.hrtime.bigint() - time) / 1e6 : Date.now() - time;
|
|
||||||
|
|
||||||
if (executionTime >= slowQueryWarning || debug)
|
if (executionTime >= slowQueryWarning || debug)
|
||||||
console.log(
|
console.log(
|
||||||
@@ -19,7 +15,7 @@ const execute = async (query, parameters, resource) => {
|
|||||||
${query} ${JSON.stringify(parameters)}^0`
|
${query} ${JSON.stringify(parameters)}^0`
|
||||||
);
|
);
|
||||||
|
|
||||||
return result;
|
return rows;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(
|
console.log(
|
||||||
`^1[ERROR] ${resource} was unable to execute a query!
|
`^1[ERROR] ${resource} was unable to execute a query!
|
||||||
@@ -30,4 +26,69 @@ const execute = async (query, parameters, resource) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export { execute };
|
const queryType = (query) => {
|
||||||
|
switch (query.replace(/\s.*/, '')) {
|
||||||
|
case 'SELECT':
|
||||||
|
return 1;
|
||||||
|
case 'INSERT':
|
||||||
|
return 2;
|
||||||
|
case 'UPDATE':
|
||||||
|
return 3;
|
||||||
|
case 'DELETE':
|
||||||
|
return 3;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const preparedStatement = async (query, parameters, resource) => {
|
||||||
|
try {
|
||||||
|
if (!Array.isArray(parameters))
|
||||||
|
throw new FormatError(`Placeholders were defined, but query received no parameters!`, query);
|
||||||
|
|
||||||
|
if (typeof query !== 'string') throw new FormatError(`Prepared statements must utilise a single query`);
|
||||||
|
|
||||||
|
const type = queryType(query);
|
||||||
|
if (!type) throw new FormatError(`Prepared statements only accept SELECT, INSERT, UPDATE, and DELETE methods!`);
|
||||||
|
|
||||||
|
ScheduleResourceTick(resourceName);
|
||||||
|
const results = [];
|
||||||
|
let totalTime = 0;
|
||||||
|
let queryCount = parameters.length;
|
||||||
|
|
||||||
|
for (let i = 0; i < queryCount; i++) {
|
||||||
|
const [executionTime, rows] = await pool.execute(query, parameters[i]);
|
||||||
|
totalTime + executionTime;
|
||||||
|
results[i] = rows && (type === 3 ? rows.affectedRows : type === 2 ? rows.insertId : rows);
|
||||||
|
}
|
||||||
|
|
||||||
|
totalTime = totalTime / queryCount;
|
||||||
|
if (totalTime >= slowQueryWarning || debug)
|
||||||
|
console.log(
|
||||||
|
`^3[${debug ? 'DEBUG' : 'WARNING'}] ${resource} took ${totalTime}ms to execute ${
|
||||||
|
queryCount > 1 ? queryCount + ' queries' : 'a query'
|
||||||
|
}!
|
||||||
|
${query} ${JSON.stringify(parameters)}^0`
|
||||||
|
);
|
||||||
|
|
||||||
|
if (results.length === 1) {
|
||||||
|
if (type === 1) {
|
||||||
|
if (results[0][0] && Object.keys(results[0][0]).length === 1) {
|
||||||
|
return Object.values(results[0][0])[0];
|
||||||
|
}
|
||||||
|
return results[0][0];
|
||||||
|
}
|
||||||
|
return results[0];
|
||||||
|
}
|
||||||
|
return results;
|
||||||
|
} catch (error) {
|
||||||
|
console.log(
|
||||||
|
`^1[ERROR] ${resource} was unable to execute a query!
|
||||||
|
${error.message}
|
||||||
|
${error.sql || `${query} ${JSON.stringify(parameters)}`}^0`
|
||||||
|
);
|
||||||
|
debug && console.trace(error);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export { execute, preparedStatement };
|
||||||
+11
-1
@@ -1,5 +1,5 @@
|
|||||||
import { pool } from './pool';
|
import { pool } from './pool';
|
||||||
import { execute } from './execute';
|
import { execute, preparedStatement } from './execute';
|
||||||
import { transaction } from './transaction';
|
import { transaction } from './transaction';
|
||||||
import { debug, isolationLevel } from './config';
|
import { debug, isolationLevel } from './config';
|
||||||
|
|
||||||
@@ -55,7 +55,17 @@ global.exports('transaction', (queries, parameters, cb, resource = GetInvokingRe
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
global.exports('prepare', (query, parameters, cb, resource = GetInvokingResource()) => {
|
||||||
|
preparedStatement(query, parameters, resource).then((result) =>
|
||||||
|
safeCallback(cb || parameters, result, resource, query))
|
||||||
|
});
|
||||||
|
|
||||||
if (!GetResourceMetadata(GetCurrentResourceName(), 'server_script', 1)) {
|
if (!GetResourceMetadata(GetCurrentResourceName(), 'server_script', 1)) {
|
||||||
|
global.exports('prepareSync', async (query, parameters) => {
|
||||||
|
const result = await preparedStatement(query, parameters, GetInvokingResource());
|
||||||
|
return result;
|
||||||
|
});
|
||||||
|
|
||||||
global.exports('executeSync', async (query, parameters) => {
|
global.exports('executeSync', async (query, parameters) => {
|
||||||
const result = await execute(query, parameters, GetInvokingResource());
|
const result = await execute(query, parameters, GetInvokingResource());
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
+34
-12
@@ -16,7 +16,7 @@ const parseTypes = (field, next) => {
|
|||||||
? new Date(field.string() + ' 00:00:00').getTime()
|
? new Date(field.string() + ' 00:00:00').getTime()
|
||||||
: new Date(field.string()).getTime();
|
: new Date(field.string()).getTime();
|
||||||
case 'TINY':
|
case 'TINY':
|
||||||
if (field.length === 1) return field.string() === '1';
|
if (field.length == 1) return field.string() === '1';
|
||||||
else return next();
|
else return next();
|
||||||
case 'BIT':
|
case 'BIT':
|
||||||
return field.buffer()[0] === 1;
|
return field.buffer()[0] === 1;
|
||||||
@@ -26,27 +26,49 @@ const parseTypes = (field, next) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const parseParameters = (query, parameters) => {
|
const parseParameters = (query, parameters) => {
|
||||||
if (query === undefined) throw new FormatError(`Undefined query passed`);
|
if (typeof query !== 'string')
|
||||||
|
throw new Error(`Non-string query passed. Make sure you use "oxmysql:execute" instead of "oxmysql.execute" when calling exports.`);
|
||||||
|
|
||||||
if (typeof parameters === 'function') return [query, []];
|
if (!parameters || typeof parameters === 'function') return [query, []];
|
||||||
|
|
||||||
if (query.includes('@') || query.includes(':')) return [query, parameters];
|
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);
|
const queryParams = query.match(/\?(?!\?)/g);
|
||||||
|
|
||||||
if (queryParams === null) return [query, []];
|
if (queryParams === null) return [query, []];
|
||||||
|
|
||||||
if (parameters === undefined)
|
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 (!Array.isArray(parameters)) {
|
||||||
if (parameters.length !== queryParams.length)
|
let arr = [];
|
||||||
throw new Error(`Undefined array parameter #${parameters.length + 1}`, query, parameters);
|
Object.entries(parameters).forEach((entry) => {
|
||||||
} else {
|
const [key, value] = entry;
|
||||||
queryParams.forEach((_, i) => {
|
arr[key - 1] = value;
|
||||||
if (parameters[`${i + 1}`] === undefined)
|
|
||||||
throw new FormatError(`Undefined object parameter #${i + 1}`, query, parameters);
|
|
||||||
});
|
});
|
||||||
|
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];
|
return [query, parameters];
|
||||||
|
|||||||
+6
-10
@@ -1,5 +1,4 @@
|
|||||||
import { createPool } from 'mysql2/promise';
|
import { createPool } from 'mysql2/promise';
|
||||||
import { debug } from './config';
|
|
||||||
import { parseTypes } from './parser';
|
import { parseTypes } from './parser';
|
||||||
import { ConnectionStringParser } from 'connection-string-parser';
|
import { ConnectionStringParser } from 'connection-string-parser';
|
||||||
|
|
||||||
@@ -23,20 +22,19 @@ const parseSemiColons = () => {
|
|||||||
}, {});
|
}, {});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// @TODO: refactor acceptable options when using semicolon connection; this or stuff is getting old
|
||||||
const createConnection = () => {
|
const createConnection = () => {
|
||||||
if (connectionString.includes('database=')) {
|
if (connectionString.includes('host=')) {
|
||||||
const options = parseSemiColons();
|
const options = parseSemiColons();
|
||||||
|
|
||||||
return createPool({
|
return createPool({
|
||||||
host: options.host || 'localhost',
|
host: options.host || 'localhost',
|
||||||
port: options.port || 3306,
|
port: options.port || 3306,
|
||||||
user: options.username || options.user || options.userid || 'root',
|
user: options.username || options.user || options.userid || options.uid || 'root',
|
||||||
password: options.password || options.pass || '',
|
password: options.password || options.pass || options.pwd || '',
|
||||||
database: options.endpoint || options.database || 'es_extended',
|
database: options.endpoint || options.database,
|
||||||
charset: 'utf8mb4_unicode_ci',
|
charset: 'utf8mb4_unicode_ci',
|
||||||
connectTimeout: 30000,
|
connectTimeout: 30000,
|
||||||
trace: debug || false,
|
|
||||||
debug: debug || false,
|
|
||||||
...options.options,
|
...options.options,
|
||||||
namedPlaceholders: true,
|
namedPlaceholders: true,
|
||||||
typeCast: parseTypes,
|
typeCast: parseTypes,
|
||||||
@@ -56,11 +54,9 @@ const createConnection = () => {
|
|||||||
port: options.hosts[0].port || 3306,
|
port: options.hosts[0].port || 3306,
|
||||||
user: options.username || 'root',
|
user: options.username || 'root',
|
||||||
password: options.password || '',
|
password: options.password || '',
|
||||||
database: options.endpoint || 'es_extended',
|
database: options.endpoint,
|
||||||
charset: 'utf8mb4_unicode_ci',
|
charset: 'utf8mb4_unicode_ci',
|
||||||
connectTimeout: 30000,
|
connectTimeout: 30000,
|
||||||
trace: debug || false,
|
|
||||||
debug: debug || false,
|
|
||||||
...options.options,
|
...options.options,
|
||||||
namedPlaceholders: true,
|
namedPlaceholders: true,
|
||||||
typeCast: parseTypes,
|
typeCast: parseTypes,
|
||||||
|
|||||||
+4
-1
@@ -15,12 +15,15 @@ module.exports = {
|
|||||||
contextRegExp: /./,
|
contextRegExp: /./,
|
||||||
}),
|
}),
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: ["fxmanifest.lua", "wrapper.lua", "README.md", "LICENSE.md"],
|
patterns: ["./lua", "./lua", "README.md", "LICENSE.md"],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
filename: "oxmysql.js",
|
filename: "oxmysql.js",
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
},
|
},
|
||||||
|
optimization: {
|
||||||
|
minimize: false,
|
||||||
|
},
|
||||||
target: "node",
|
target: "node",
|
||||||
};
|
};
|
||||||
-111
@@ -1,111 +0,0 @@
|
|||||||
---
|
|
||||||
-- Execute unprepared query and fetch result
|
|
||||||
--
|
|
||||||
-- @param query string
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return table with result | false
|
|
||||||
--
|
|
||||||
exports('executeSync', function(query, parameters)
|
|
||||||
local p = promise.new()
|
|
||||||
exports['oxmysql']:execute(query, parameters, function(result)
|
|
||||||
p:resolve(result)
|
|
||||||
end, GetInvokingResource())
|
|
||||||
return Citizen.Await(p)
|
|
||||||
end)
|
|
||||||
|
|
||||||
---
|
|
||||||
-- Execute query and fetch all result
|
|
||||||
--
|
|
||||||
-- @param query string
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return table with result
|
|
||||||
--
|
|
||||||
exports('fetchSync', function(query, parameters)
|
|
||||||
local p = promise.new()
|
|
||||||
exports['oxmysql']:fetch(query, parameters, function(result)
|
|
||||||
p:resolve(result)
|
|
||||||
end, GetInvokingResource())
|
|
||||||
return Citizen.Await(p)
|
|
||||||
end)
|
|
||||||
|
|
||||||
---
|
|
||||||
-- Execute query and fetch first row
|
|
||||||
--
|
|
||||||
-- @param query string
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return table with result row
|
|
||||||
--
|
|
||||||
exports('singleSync', function(query, parameters)
|
|
||||||
local p = promise.new()
|
|
||||||
exports['oxmysql']:single(query, parameters, function(result)
|
|
||||||
p:resolve(result)
|
|
||||||
end, GetInvokingResource())
|
|
||||||
return Citizen.Await(p)
|
|
||||||
end)
|
|
||||||
|
|
||||||
---
|
|
||||||
-- Execute query and fetch first column of first row
|
|
||||||
--
|
|
||||||
-- @param query string
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return result
|
|
||||||
--
|
|
||||||
exports('scalarSync', function(query, parameters)
|
|
||||||
local p = promise.new()
|
|
||||||
exports['oxmysql']:scalar(query, parameters, function(result)
|
|
||||||
p:resolve(result)
|
|
||||||
end, GetInvokingResource())
|
|
||||||
return Citizen.Await(p)
|
|
||||||
end)
|
|
||||||
|
|
||||||
---
|
|
||||||
-- Insert data and return inserted id
|
|
||||||
--
|
|
||||||
-- @param query string
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return insert data result
|
|
||||||
--
|
|
||||||
exports('insertSync', function(query, parameters)
|
|
||||||
local p = promise.new()
|
|
||||||
exports['oxmysql']:insert(query, parameters, function(result)
|
|
||||||
p:resolve(result)
|
|
||||||
end, GetInvokingResource())
|
|
||||||
return Citizen.Await(p)
|
|
||||||
end)
|
|
||||||
|
|
||||||
---
|
|
||||||
-- Update data and return affected rows
|
|
||||||
--
|
|
||||||
-- @param query string
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return number affected rows
|
|
||||||
--
|
|
||||||
exports('updateSync', function(query, parameters)
|
|
||||||
local p = promise.new()
|
|
||||||
exports['oxmysql']:update(query, parameters, function(result)
|
|
||||||
p:resolve(result)
|
|
||||||
end, GetInvokingResource())
|
|
||||||
return Citizen.Await(p)
|
|
||||||
end)
|
|
||||||
|
|
||||||
---
|
|
||||||
-- Execute a transaction and return boolean depending on success
|
|
||||||
--
|
|
||||||
-- @param queries table
|
|
||||||
-- @param parameters table
|
|
||||||
--
|
|
||||||
-- @return boolean
|
|
||||||
--
|
|
||||||
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
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
"@citizenfx/server@^2.0.4376-1":
|
"@citizenfx/server@^2.0.4793-1":
|
||||||
version "2.0.4376-1"
|
version "2.0.4793-1"
|
||||||
resolved "https://registry.yarnpkg.com/@citizenfx/server/-/server-2.0.4376-1.tgz#6cc9e034bc463a031df40532f278b9f309b7f258"
|
resolved "https://registry.yarnpkg.com/@citizenfx/server/-/server-2.0.4793-1.tgz#9a926bab761d56f43d82fd6671cb5d03c5aadeba"
|
||||||
integrity sha512-xIqpuSwbyga3ysSJ3NfiDeJ6+L3cEHI+vRF45IjMP3U0E4bMZLGrjoSXBbndDJjd97uPdak3HPZD4/AC0HBnIw==
|
integrity sha512-YT6waUNNa08O/+Pm4FbulL/I47NdUEaShTJ0FjM0Q8SmRQ+JwvgUyYSksgA3XXWrQzRmTF1ngSHXBLD17VqtPQ==
|
||||||
|
|
||||||
"@discoveryjs/json-ext@^0.5.0":
|
"@discoveryjs/json-ext@^0.5.0":
|
||||||
version "0.5.3"
|
version "0.5.5"
|
||||||
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz#90420f9f9c6d3987f176a19a7d8e764271a2f55d"
|
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.5.tgz#9283c9ce5b289a3c4f61c12757469e59377f81f3"
|
||||||
integrity sha512-Fxt+AfXgjMoin2maPIYzFZnQjAXjAL0PHscM5pRTtatFqB+vZxAM9tLp2Optnuw3QOQC40jTNeGYFOMvyf7v9g==
|
integrity sha512-6nFkfkmSeV/rqSaS4oWHgmpnYw194f6hmWF5is6b0J1naJZoiD0NTc9AiUwPHvWsowkjuHErCZT1wa0jg+BLIA==
|
||||||
|
|
||||||
"@nodelib/[email protected]":
|
"@nodelib/[email protected]":
|
||||||
version "2.1.5"
|
version "2.1.5"
|
||||||
@@ -42,9 +42,9 @@
|
|||||||
"@types/estree" "*"
|
"@types/estree" "*"
|
||||||
|
|
||||||
"@types/eslint@*":
|
"@types/eslint@*":
|
||||||
version "7.28.0"
|
version "7.28.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.28.0.tgz#7e41f2481d301c68e14f483fe10b017753ce8d5a"
|
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.28.2.tgz#0ff2947cdd305897c52d5372294e8c76f351db68"
|
||||||
integrity sha512-07XlgzX0YJUn4iG1ocY4IX9DzKSmMGUs6ESKlxWhZRaa0fatIWaHWUVapcuGa8r5HFnTqzj+4OCjd5f7EZ/i/A==
|
integrity sha512-KubbADPkfoU75KgKeKLsFHXnU4ipH7wYg0TRT33NK3N3yiu7jlFAAoygIWBV+KbuHx/G+AvuGX6DllnK35gfJA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/estree" "*"
|
"@types/estree" "*"
|
||||||
"@types/json-schema" "*"
|
"@types/json-schema" "*"
|
||||||
@@ -60,9 +60,9 @@
|
|||||||
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
|
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "16.9.1"
|
version "16.11.7"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.1.tgz#0611b37db4246c937feef529ddcc018cf8e35708"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.7.tgz#36820945061326978c42a01e56b61cd223dfdc42"
|
||||||
integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==
|
integrity sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==
|
||||||
|
|
||||||
"@webassemblyjs/[email protected]":
|
"@webassemblyjs/[email protected]":
|
||||||
version "1.11.1"
|
version "1.11.1"
|
||||||
@@ -185,22 +185,22 @@
|
|||||||
"@webassemblyjs/ast" "1.11.1"
|
"@webassemblyjs/ast" "1.11.1"
|
||||||
"@xtuc/long" "4.2.2"
|
"@xtuc/long" "4.2.2"
|
||||||
|
|
||||||
"@webpack-cli/configtest@^1.0.4":
|
"@webpack-cli/configtest@^1.1.0":
|
||||||
version "1.0.4"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.0.4.tgz#f03ce6311c0883a83d04569e2c03c6238316d2aa"
|
resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.1.0.tgz#8342bef0badfb7dfd3b576f2574ab80c725be043"
|
||||||
integrity sha512-cs3XLy+UcxiP6bj0A6u7MLLuwdXJ1c3Dtc0RkKg+wiI1g/Ti1om8+/2hc2A2B60NbBNAbMgyBMHvyymWm/j4wQ==
|
integrity sha512-ttOkEkoalEHa7RaFYpM0ErK1xc4twg3Am9hfHhL7MVqlHebnkYd2wuI/ZqTDj0cVzZho6PdinY0phFZV3O0Mzg==
|
||||||
|
|
||||||
"@webpack-cli/info@^1.3.0":
|
"@webpack-cli/info@^1.4.0":
|
||||||
version "1.3.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.3.0.tgz#9d78a31101a960997a4acd41ffd9b9300627fe2b"
|
resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.4.0.tgz#b9179c3227ab09cbbb149aa733475fcf99430223"
|
||||||
integrity sha512-ASiVB3t9LOKHs5DyVUcxpraBXDOKubYu/ihHhU+t1UPpxsivg6Od2E2qU4gJCekfEddzRBzHhzA/Acyw/mlK/w==
|
integrity sha512-F6b+Man0rwE4n0409FyAJHStYA5OIZERxmnUfLVwv0mc0V1wLad3V7jqRlMkgKBeAq07jUvglacNaa6g9lOpuw==
|
||||||
dependencies:
|
dependencies:
|
||||||
envinfo "^7.7.3"
|
envinfo "^7.7.3"
|
||||||
|
|
||||||
"@webpack-cli/serve@^1.5.2":
|
"@webpack-cli/serve@^1.6.0":
|
||||||
version "1.5.2"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec"
|
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.0.tgz#2c275aa05c895eccebbfc34cfb223c6e8bd591a2"
|
||||||
integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw==
|
integrity sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==
|
||||||
|
|
||||||
"@xtuc/ieee754@^1.2.0":
|
"@xtuc/ieee754@^1.2.0":
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
@@ -218,9 +218,9 @@
|
|||||||
integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==
|
integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==
|
||||||
|
|
||||||
acorn-import-assertions@^1.7.6:
|
acorn-import-assertions@^1.7.6:
|
||||||
version "1.7.6"
|
version "1.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.7.6.tgz#580e3ffcae6770eebeec76c3b9723201e9d01f78"
|
resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9"
|
||||||
integrity sha512-FlVvVFA1TX6l3lp8VjDnYYq7R1nyW6x3svAt4nDgrWQ9SBaSh9CnbwgSUTasgfNfOG5HlM1ehugCvM+hjo56LA==
|
integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==
|
||||||
|
|
||||||
acorn@^8.4.1:
|
acorn@^8.4.1:
|
||||||
version "8.5.0"
|
version "8.5.0"
|
||||||
@@ -275,25 +275,25 @@ braces@^3.0.1:
|
|||||||
fill-range "^7.0.1"
|
fill-range "^7.0.1"
|
||||||
|
|
||||||
browserslist@^4.14.5:
|
browserslist@^4.14.5:
|
||||||
version "4.17.0"
|
version "4.18.0"
|
||||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.0.tgz#1fcd81ec75b41d6d4994fb0831b92ac18c01649c"
|
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.18.0.tgz#849944d9bbbbe5ff6f418a8b558e3effca433cae"
|
||||||
integrity sha512-g2BJ2a0nEYvEFQC208q8mVAhfNwpZ5Mu8BwgtCdZKO3qx98HChmeg448fPdUzld8aFmfLgVh7yymqV+q1lJZ5g==
|
integrity sha512-ER2M0g5iAR84fS/zjBDqEgU6iO5fS9JI2EkHr5zxDxYEFk3LjhU9Vpp/INb6RMQphxko7PDV1FH38H/qVP5yCA==
|
||||||
dependencies:
|
dependencies:
|
||||||
caniuse-lite "^1.0.30001254"
|
caniuse-lite "^1.0.30001280"
|
||||||
colorette "^1.3.0"
|
electron-to-chromium "^1.3.896"
|
||||||
electron-to-chromium "^1.3.830"
|
|
||||||
escalade "^3.1.1"
|
escalade "^3.1.1"
|
||||||
node-releases "^1.1.75"
|
node-releases "^2.0.1"
|
||||||
|
picocolors "^1.0.0"
|
||||||
|
|
||||||
buffer-from@^1.0.0:
|
buffer-from@^1.0.0:
|
||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
||||||
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
|
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
|
||||||
|
|
||||||
caniuse-lite@^1.0.30001254:
|
caniuse-lite@^1.0.30001280:
|
||||||
version "1.0.30001256"
|
version "1.0.30001280"
|
||||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001256.tgz#182410b5f024e0ab99c72ec648f234a9986bd548"
|
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001280.tgz#066a506046ba4be34cde5f74a08db7a396718fb7"
|
||||||
integrity sha512-QirrvMLmB4txNnxiaG/xbm6FSzv9LqOZ3Jp9VtCYb3oPIfCHpr/oGn38pFq0udwlkctvXQgPthaXqJ76DaYGnA==
|
integrity sha512-kFXwYvHe5rix25uwueBxC569o53J6TpnGu0BEEn+6Lhl2vsnAumRFWEBhDft1fwyo6m1r4i+RqA4+163FpeFcA==
|
||||||
|
|
||||||
chalk@^2.4.2:
|
chalk@^2.4.2:
|
||||||
version "2.4.2"
|
version "2.4.2"
|
||||||
@@ -335,10 +335,10 @@ [email protected]:
|
|||||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
||||||
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
|
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
|
||||||
|
|
||||||
colorette@^1.2.1, colorette@^1.3.0:
|
colorette@^2.0.14:
|
||||||
version "1.4.0"
|
version "2.0.16"
|
||||||
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40"
|
resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da"
|
||||||
integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==
|
integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==
|
||||||
|
|
||||||
commander@^2.20.0:
|
commander@^2.20.0:
|
||||||
version "2.20.3"
|
version "2.20.3"
|
||||||
@@ -363,16 +363,15 @@ connection-string-parser@^1.0.4:
|
|||||||
tslib "^2.0.0"
|
tslib "^2.0.0"
|
||||||
|
|
||||||
copy-webpack-plugin@^9.0.1:
|
copy-webpack-plugin@^9.0.1:
|
||||||
version "9.0.1"
|
version "9.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-9.0.1.tgz#b71d21991599f61a4ee00ba79087b8ba279bbb59"
|
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-9.1.0.tgz#2d2c460c4c4695ec0a58afb2801a1205256c4e6b"
|
||||||
integrity sha512-14gHKKdYIxF84jCEgPgYXCPpldbwpxxLbCmA7LReY7gvbaT555DgeBWBgBZM116tv/fO6RRJrsivBqRyRlukhw==
|
integrity sha512-rxnR7PaGigJzhqETHGmAcxKnLZSR5u1Y3/bcIv/1FnqXedcL/E2ewK7ZCNrArJKCiSv8yVXhTqetJh8inDvfsA==
|
||||||
dependencies:
|
dependencies:
|
||||||
fast-glob "^3.2.5"
|
fast-glob "^3.2.7"
|
||||||
glob-parent "^6.0.0"
|
glob-parent "^6.0.1"
|
||||||
globby "^11.0.3"
|
globby "^11.0.3"
|
||||||
normalize-path "^3.0.0"
|
normalize-path "^3.0.0"
|
||||||
p-limit "^3.1.0"
|
schema-utils "^3.1.1"
|
||||||
schema-utils "^3.0.0"
|
|
||||||
serialize-javascript "^6.0.0"
|
serialize-javascript "^6.0.0"
|
||||||
|
|
||||||
cross-spawn@^6.0.5:
|
cross-spawn@^6.0.5:
|
||||||
@@ -395,10 +394,10 @@ cross-spawn@^7.0.3:
|
|||||||
shebang-command "^2.0.0"
|
shebang-command "^2.0.0"
|
||||||
which "^2.0.1"
|
which "^2.0.1"
|
||||||
|
|
||||||
denque@^1.4.1:
|
denque@^2.0.1:
|
||||||
version "1.5.0"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/denque/-/denque-1.5.0.tgz#773de0686ff2d8ec2ff92914316a47b73b1c73de"
|
resolved "https://registry.yarnpkg.com/denque/-/denque-2.0.1.tgz#bcef4c1b80dc32efe97515744f21a4229ab8934a"
|
||||||
integrity sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==
|
integrity sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ==
|
||||||
|
|
||||||
dir-glob@^3.0.1:
|
dir-glob@^3.0.1:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
@@ -407,15 +406,15 @@ dir-glob@^3.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
path-type "^4.0.0"
|
path-type "^4.0.0"
|
||||||
|
|
||||||
electron-to-chromium@^1.3.830:
|
electron-to-chromium@^1.3.896:
|
||||||
version "1.3.836"
|
version "1.3.896"
|
||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.836.tgz#823cb9c98f28c64c673920f1c90ea3826596eaf9"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.896.tgz#4a94efe4870b1687eafd5c378198a49da06e8a1b"
|
||||||
integrity sha512-Ney3pHOJBWkG/AqYjrW0hr2AUCsao+2uvq9HUlRP8OlpSdk/zOHOUJP7eu0icDvePC9DlgffuelP4TnOJmMRUg==
|
integrity sha512-NcGkBVXePiuUrPLV8IxP43n1EOtdg+dudVjrfVEUd/bOqpQUFZ2diL5PPYzbgEhZFEltdXV3AcyKwGnEQ5lhMA==
|
||||||
|
|
||||||
enhanced-resolve@^5.8.0:
|
enhanced-resolve@^5.8.3:
|
||||||
version "5.8.2"
|
version "5.8.3"
|
||||||
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz#15ddc779345cbb73e97c611cd00c01c1e7bf4d8b"
|
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz#6d552d465cce0423f5b3d718511ea53826a7b2f0"
|
||||||
integrity sha512-F27oB3WuHDzvR2DOGNTaYy0D5o0cnrv8TeI482VM4kYgQd/FT9lUQwuNsJ0oOHtBUq7eiW5ytqzp7nBFknL+GA==
|
integrity sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==
|
||||||
dependencies:
|
dependencies:
|
||||||
graceful-fs "^4.2.4"
|
graceful-fs "^4.2.4"
|
||||||
tapable "^2.2.0"
|
tapable "^2.2.0"
|
||||||
@@ -425,10 +424,10 @@ envinfo@^7.7.3:
|
|||||||
resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475"
|
resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475"
|
||||||
integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==
|
integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==
|
||||||
|
|
||||||
es-module-lexer@^0.7.1:
|
es-module-lexer@^0.9.0:
|
||||||
version "0.7.1"
|
version "0.9.3"
|
||||||
resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.7.1.tgz#c2c8e0f46f2df06274cdaf0dd3f3b33e0a0b267d"
|
resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19"
|
||||||
integrity sha512-MgtWFl5No+4S3TmhDmCz2ObFGm6lEpTnzbQi+Dd+pw4mlTIZTmM2iAs5gRlmx5zS9luzobCSBSI90JM/1/JgOw==
|
integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==
|
||||||
|
|
||||||
escalade@^3.1.1:
|
escalade@^3.1.1:
|
||||||
version "3.1.1"
|
version "3.1.1"
|
||||||
@@ -461,9 +460,9 @@ estraverse@^4.1.1:
|
|||||||
integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
|
integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
|
||||||
|
|
||||||
estraverse@^5.2.0:
|
estraverse@^5.2.0:
|
||||||
version "5.2.0"
|
version "5.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880"
|
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
|
||||||
integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==
|
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
|
||||||
|
|
||||||
events@^3.2.0:
|
events@^3.2.0:
|
||||||
version "3.3.0"
|
version "3.3.0"
|
||||||
@@ -490,7 +489,7 @@ fast-deep-equal@^3.1.1:
|
|||||||
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
||||||
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
||||||
|
|
||||||
fast-glob@^3.1.1, fast-glob@^3.2.5:
|
fast-glob@^3.1.1, fast-glob@^3.2.7:
|
||||||
version "3.2.7"
|
version "3.2.7"
|
||||||
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1"
|
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1"
|
||||||
integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==
|
integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==
|
||||||
@@ -571,19 +570,6 @@ get-stream@^6.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
||||||
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
|
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:
|
glob-parent@^5.1.2:
|
||||||
version "5.1.2"
|
version "5.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
||||||
@@ -591,12 +577,12 @@ glob-parent@^5.1.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-glob "^4.0.1"
|
is-glob "^4.0.1"
|
||||||
|
|
||||||
glob-parent@^6.0.0:
|
glob-parent@^6.0.1:
|
||||||
version "6.0.1"
|
version "6.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.1.tgz#42054f685eb6a44e7a7d189a96efa40a54971aa7"
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
|
||||||
integrity sha512-kEVjS71mQazDBHKcsq4E9u/vUzaLcw1A8EtUeydawvIWQCJM0qQ08G1H7/XTjFUulla6XQiDOG6MXSaG0HDKog==
|
integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
|
||||||
dependencies:
|
dependencies:
|
||||||
is-glob "^4.0.1"
|
is-glob "^4.0.3"
|
||||||
|
|
||||||
glob-to-regexp@^0.4.1:
|
glob-to-regexp@^0.4.1:
|
||||||
version "0.4.1"
|
version "0.4.1"
|
||||||
@@ -604,9 +590,9 @@ glob-to-regexp@^0.4.1:
|
|||||||
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
|
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
|
||||||
|
|
||||||
glob@^7.1.3:
|
glob@^7.1.3:
|
||||||
version "7.1.7"
|
version "7.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
|
||||||
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
|
integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
fs.realpath "^1.0.0"
|
fs.realpath "^1.0.0"
|
||||||
inflight "^1.0.4"
|
inflight "^1.0.4"
|
||||||
@@ -654,7 +640,7 @@ human-signals@^2.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
|
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
|
||||||
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
||||||
|
|
||||||
iconv-lite@^0.6.2:
|
iconv-lite@^0.6.3:
|
||||||
version "0.6.3"
|
version "0.6.3"
|
||||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
|
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
|
||||||
integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
|
integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
|
||||||
@@ -662,14 +648,14 @@ iconv-lite@^0.6.2:
|
|||||||
safer-buffer ">= 2.1.2 < 3.0.0"
|
safer-buffer ">= 2.1.2 < 3.0.0"
|
||||||
|
|
||||||
ignore@^5.1.4:
|
ignore@^5.1.4:
|
||||||
version "5.1.8"
|
version "5.1.9"
|
||||||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57"
|
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.9.tgz#9ec1a5cbe8e1446ec60d4420060d43aa6e7382fb"
|
||||||
integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==
|
integrity sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==
|
||||||
|
|
||||||
import-local@^3.0.2:
|
import-local@^3.0.2:
|
||||||
version "3.0.2"
|
version "3.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6"
|
resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.3.tgz#4d51c2c495ca9393da259ec66b62e022920211e0"
|
||||||
integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==
|
integrity sha512-bE9iaUY3CXH8Cwfan/abDKAxe1KGT9kyGsBPqf6DMK/z0a2OzAsrukeYNgIH6cH5Xr452jb1TUL8rSfCLjZ9uA==
|
||||||
dependencies:
|
dependencies:
|
||||||
pkg-dir "^4.2.0"
|
pkg-dir "^4.2.0"
|
||||||
resolve-cwd "^3.0.0"
|
resolve-cwd "^3.0.0"
|
||||||
@@ -700,9 +686,9 @@ is-ci@^2.0.0:
|
|||||||
ci-info "^2.0.0"
|
ci-info "^2.0.0"
|
||||||
|
|
||||||
is-core-module@^2.2.0:
|
is-core-module@^2.2.0:
|
||||||
version "2.6.0"
|
version "2.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.6.0.tgz#d7553b2526fe59b92ba3e40c8df757ec8a709e19"
|
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548"
|
||||||
integrity sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==
|
integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==
|
||||||
dependencies:
|
dependencies:
|
||||||
has "^1.0.3"
|
has "^1.0.3"
|
||||||
|
|
||||||
@@ -716,10 +702,10 @@ is-extglob@^2.1.1:
|
|||||||
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||||
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
||||||
|
|
||||||
is-glob@^4.0.1:
|
is-glob@^4.0.1, is-glob@^4.0.3:
|
||||||
version "4.0.1"
|
version "4.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
||||||
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
|
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
||||||
dependencies:
|
dependencies:
|
||||||
is-extglob "^2.1.1"
|
is-extglob "^2.1.1"
|
||||||
|
|
||||||
@@ -763,9 +749,9 @@ isobject@^3.0.1:
|
|||||||
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
|
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
|
||||||
|
|
||||||
jest-worker@^27.0.6:
|
jest-worker@^27.0.6:
|
||||||
version "27.1.1"
|
version "27.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.1.1.tgz#eb5f05c4657fdcb702c36c48b20d785bd4599378"
|
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.3.1.tgz#0def7feae5b8042be38479799aeb7b5facac24b2"
|
||||||
integrity sha512-XJKCL7tu+362IUYTWvw8+3S75U7qMiYiRU6u5yqscB48bTvzwN6i8L/7wVTXiFLwkRsxARNM7TISnTvcgv9hxA==
|
integrity sha512-ks3WCzsiZaOPJl/oMsDjaf0TRiSv7ctNgs0FqRr2nARsovz6AWWy4oLElwcquGSz692DzgZQrCLScPNs5YlC4g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
merge-stream "^2.0.0"
|
merge-stream "^2.0.0"
|
||||||
@@ -850,17 +836,17 @@ micromatch@^4.0.2, micromatch@^4.0.4:
|
|||||||
braces "^3.0.1"
|
braces "^3.0.1"
|
||||||
picomatch "^2.2.3"
|
picomatch "^2.2.3"
|
||||||
|
|
||||||
mime-db@1.49.0:
|
mime-db@1.51.0:
|
||||||
version "1.49.0"
|
version "1.51.0"
|
||||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.49.0.tgz#f3dfde60c99e9cf3bc9701d687778f537001cbed"
|
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c"
|
||||||
integrity sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==
|
integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==
|
||||||
|
|
||||||
mime-types@^2.1.27:
|
mime-types@^2.1.27:
|
||||||
version "2.1.32"
|
version "2.1.34"
|
||||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.32.tgz#1d00e89e7de7fe02008db61001d9e02852670fd5"
|
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24"
|
||||||
integrity sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==
|
integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==
|
||||||
dependencies:
|
dependencies:
|
||||||
mime-db "1.49.0"
|
mime-db "1.51.0"
|
||||||
|
|
||||||
mimic-fn@^2.1.0:
|
mimic-fn@^2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
@@ -879,14 +865,13 @@ minimist@^1.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||||
|
|
||||||
mysql2@^2.3.0:
|
"mysql2@https://github.com/overextended/node-mysql2.git":
|
||||||
version "2.3.0"
|
version "2.3.3"
|
||||||
resolved "https://registry.yarnpkg.com/mysql2/-/mysql2-2.3.0.tgz#600f5cc27e397dfb77b59eac93666434f88e8079"
|
resolved "https://github.com/overextended/node-mysql2.git#3cdd1ef6027275e095f6c5fbe5bd65c4075102e3"
|
||||||
integrity sha512-0t5Ivps5Tdy5YHk5NdKwQhe/4Qyn2pload+S+UooDBvsqngtzujG1BaTWBihQLfeKO3t3122/GtusBtmHEHqww==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
denque "^1.4.1"
|
denque "^2.0.1"
|
||||||
generate-function "^2.3.1"
|
generate-function "^2.3.1"
|
||||||
iconv-lite "^0.6.2"
|
iconv-lite "^0.6.3"
|
||||||
long "^4.0.0"
|
long "^4.0.0"
|
||||||
lru-cache "^6.0.0"
|
lru-cache "^6.0.0"
|
||||||
named-placeholders "^1.1.2"
|
named-placeholders "^1.1.2"
|
||||||
@@ -910,10 +895,10 @@ nice-try@^1.0.4:
|
|||||||
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
|
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
|
||||||
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
|
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
|
||||||
|
|
||||||
node-releases@^1.1.75:
|
node-releases@^2.0.1:
|
||||||
version "1.1.75"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.75.tgz#6dd8c876b9897a1b8e5a02de26afa79bb54ebbfe"
|
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.1.tgz#3d1d395f204f1f2f29a54358b9fb678765ad2fc5"
|
||||||
integrity sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==
|
integrity sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==
|
||||||
|
|
||||||
normalize-path@^3.0.0:
|
normalize-path@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
@@ -961,13 +946,6 @@ p-limit@^2.2.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
p-try "^2.0.0"
|
p-try "^2.0.0"
|
||||||
|
|
||||||
p-limit@^3.1.0:
|
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"
|
|
||||||
integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==
|
|
||||||
dependencies:
|
|
||||||
yocto-queue "^0.1.0"
|
|
||||||
|
|
||||||
p-locate@^4.1.0:
|
p-locate@^4.1.0:
|
||||||
version "4.1.0"
|
version "4.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
|
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
|
||||||
@@ -1029,6 +1007,11 @@ path-type@^4.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
|
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
|
||||||
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
|
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:
|
picomatch@^2.2.3:
|
||||||
version "2.3.0"
|
version "2.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
||||||
@@ -1124,7 +1107,7 @@ safe-buffer@^5.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
|
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
|
||||||
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
|
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
|
||||||
|
|
||||||
schema-utils@^3.0.0, schema-utils@^3.1.0, schema-utils@^3.1.1:
|
schema-utils@^3.1.0, schema-utils@^3.1.1:
|
||||||
version "3.1.1"
|
version "3.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281"
|
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281"
|
||||||
integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==
|
integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==
|
||||||
@@ -1133,7 +1116,7 @@ schema-utils@^3.0.0, schema-utils@^3.1.0, schema-utils@^3.1.1:
|
|||||||
ajv "^6.12.5"
|
ajv "^6.12.5"
|
||||||
ajv-keywords "^3.5.2"
|
ajv-keywords "^3.5.2"
|
||||||
|
|
||||||
semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
|
semver@^5.5.0, semver@^5.6.0:
|
||||||
version "5.7.1"
|
version "5.7.1"
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||||
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||||
@@ -1182,9 +1165,9 @@ shebang-regex@^3.0.0:
|
|||||||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
||||||
|
|
||||||
signal-exit@^3.0.3:
|
signal-exit@^3.0.3:
|
||||||
version "3.0.3"
|
version "3.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f"
|
||||||
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
|
integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==
|
||||||
|
|
||||||
slash@^2.0.0:
|
slash@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
@@ -1196,7 +1179,7 @@ slash@^3.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
||||||
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
||||||
|
|
||||||
source-map-support@~0.5.19:
|
source-map-support@~0.5.20:
|
||||||
version "0.5.20"
|
version "0.5.20"
|
||||||
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9"
|
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9"
|
||||||
integrity sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==
|
integrity sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==
|
||||||
@@ -1239,30 +1222,29 @@ supports-color@^8.0.0:
|
|||||||
has-flag "^4.0.0"
|
has-flag "^4.0.0"
|
||||||
|
|
||||||
tapable@^2.1.1, tapable@^2.2.0:
|
tapable@^2.1.1, tapable@^2.2.0:
|
||||||
version "2.2.0"
|
version "2.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.0.tgz#5c373d281d9c672848213d0e037d1c4165ab426b"
|
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
|
||||||
integrity sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw==
|
integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
|
||||||
|
|
||||||
terser-webpack-plugin@^5.1.3:
|
terser-webpack-plugin@^5.1.3:
|
||||||
version "5.2.4"
|
version "5.2.5"
|
||||||
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.2.4.tgz#ad1be7639b1cbe3ea49fab995cbe7224b31747a1"
|
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.2.5.tgz#ce65b9880a0c36872555c4874f45bbdb02ee32c9"
|
||||||
integrity sha512-E2CkNMN+1cho04YpdANyRrn8CyN4yMy+WdFKZIySFZrGXZxJwJP6PMNGGc/Mcr6qygQHUUqRxnAPmi0M9f00XA==
|
integrity sha512-3luOVHku5l0QBeYS8r4CdHYWEGMmIj3H1U64jgkdZzECcSOJAyJ9TjuqcQZvw1Y+4AOBN9SeYJPJmFn2cM4/2g==
|
||||||
dependencies:
|
dependencies:
|
||||||
jest-worker "^27.0.6"
|
jest-worker "^27.0.6"
|
||||||
p-limit "^3.1.0"
|
|
||||||
schema-utils "^3.1.1"
|
schema-utils "^3.1.1"
|
||||||
serialize-javascript "^6.0.0"
|
serialize-javascript "^6.0.0"
|
||||||
source-map "^0.6.1"
|
source-map "^0.6.1"
|
||||||
terser "^5.7.2"
|
terser "^5.7.2"
|
||||||
|
|
||||||
terser@^5.7.2:
|
terser@^5.7.2:
|
||||||
version "5.7.2"
|
version "5.9.0"
|
||||||
resolved "https://registry.yarnpkg.com/terser/-/terser-5.7.2.tgz#d4d95ed4f8bf735cb933e802f2a1829abf545e3f"
|
resolved "https://registry.yarnpkg.com/terser/-/terser-5.9.0.tgz#47d6e629a522963240f2b55fcaa3c99083d2c351"
|
||||||
integrity sha512-0Omye+RD4X7X69O0eql3lC4Heh/5iLj3ggxR/B5ketZLOtLiOqukUgjw3q4PDnNQbsrkKr3UMypqStQG3XKRvw==
|
integrity sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
commander "^2.20.0"
|
commander "^2.20.0"
|
||||||
source-map "~0.7.2"
|
source-map "~0.7.2"
|
||||||
source-map-support "~0.5.19"
|
source-map-support "~0.5.20"
|
||||||
|
|
||||||
tmp@^0.0.33:
|
tmp@^0.0.33:
|
||||||
version "0.0.33"
|
version "0.0.33"
|
||||||
@@ -1284,9 +1266,9 @@ tslib@^2.0.0:
|
|||||||
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
||||||
|
|
||||||
typescript@^4.4.3:
|
typescript@^4.4.3:
|
||||||
version "4.4.3"
|
version "4.4.4"
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c"
|
||||||
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==
|
integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==
|
||||||
|
|
||||||
universalify@^0.1.0:
|
universalify@^0.1.0:
|
||||||
version "0.1.2"
|
version "0.1.2"
|
||||||
@@ -1300,11 +1282,6 @@ uri-js@^4.2.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
punycode "^2.1.0"
|
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:
|
watchpack@^2.2.0:
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce"
|
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce"
|
||||||
@@ -1314,22 +1291,21 @@ watchpack@^2.2.0:
|
|||||||
graceful-fs "^4.1.2"
|
graceful-fs "^4.1.2"
|
||||||
|
|
||||||
webpack-cli@^4.8.0:
|
webpack-cli@^4.8.0:
|
||||||
version "4.8.0"
|
version "4.9.1"
|
||||||
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.8.0.tgz#5fc3c8b9401d3c8a43e2afceacfa8261962338d1"
|
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.1.tgz#b64be825e2d1b130f285c314caa3b1ba9a4632b3"
|
||||||
integrity sha512-+iBSWsX16uVna5aAYN6/wjhJy1q/GKk4KjKvfg90/6hykCTSgozbfz5iRgDTSJt/LgSbYxdBX3KBHeobIs+ZEw==
|
integrity sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@discoveryjs/json-ext" "^0.5.0"
|
"@discoveryjs/json-ext" "^0.5.0"
|
||||||
"@webpack-cli/configtest" "^1.0.4"
|
"@webpack-cli/configtest" "^1.1.0"
|
||||||
"@webpack-cli/info" "^1.3.0"
|
"@webpack-cli/info" "^1.4.0"
|
||||||
"@webpack-cli/serve" "^1.5.2"
|
"@webpack-cli/serve" "^1.6.0"
|
||||||
colorette "^1.2.1"
|
colorette "^2.0.14"
|
||||||
commander "^7.0.0"
|
commander "^7.0.0"
|
||||||
execa "^5.0.0"
|
execa "^5.0.0"
|
||||||
fastest-levenshtein "^1.0.12"
|
fastest-levenshtein "^1.0.12"
|
||||||
import-local "^3.0.2"
|
import-local "^3.0.2"
|
||||||
interpret "^2.2.0"
|
interpret "^2.2.0"
|
||||||
rechoir "^0.7.0"
|
rechoir "^0.7.0"
|
||||||
v8-compile-cache "^2.2.0"
|
|
||||||
webpack-merge "^5.7.3"
|
webpack-merge "^5.7.3"
|
||||||
|
|
||||||
webpack-merge@^5.7.3:
|
webpack-merge@^5.7.3:
|
||||||
@@ -1341,14 +1317,14 @@ webpack-merge@^5.7.3:
|
|||||||
wildcard "^2.0.0"
|
wildcard "^2.0.0"
|
||||||
|
|
||||||
webpack-sources@^3.2.0:
|
webpack-sources@^3.2.0:
|
||||||
version "3.2.0"
|
version "3.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.0.tgz#b16973bcf844ebcdb3afde32eda1c04d0b90f89d"
|
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.1.tgz#251a7d9720d75ada1469ca07dbb62f3641a05b6d"
|
||||||
integrity sha512-fahN08Et7P9trej8xz/Z7eRu8ltyiygEo/hnRi9KqBUs80KeDcnf96ZJo++ewWd84fEf3xSX9bp4ZS9hbw0OBw==
|
integrity sha512-t6BMVLQ0AkjBOoRTZgqrWm7xbXMBzD+XDq2EZ96+vMfn3qKgsvdXZhbPZ4ElUOpdv4u+iiGe+w3+J75iy/bYGA==
|
||||||
|
|
||||||
webpack@^5.52.1:
|
webpack@^5.52.1:
|
||||||
version "5.52.1"
|
version "5.64.0"
|
||||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.52.1.tgz#2dc1d9029ecb7acfb80da7bf67baab67baa517a7"
|
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.64.0.tgz#db3e12546f755930ccc9e0e21ba660871940c615"
|
||||||
integrity sha512-wkGb0hLfrS7ML3n2xIKfUIwHbjB6gxwQHyLmVHoAqEQBw+nWo+G6LoHL098FEXqahqximsntjBLuewStrnJk0g==
|
integrity sha512-UclnN24m054HaPC45nmDEosX6yXWD+UGC12YtUs5i356DleAUGMDC9LBAw37xRRfgPKYIdCYjGA7RZ1AA+ZnGg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/eslint-scope" "^3.7.0"
|
"@types/eslint-scope" "^3.7.0"
|
||||||
"@types/estree" "^0.0.50"
|
"@types/estree" "^0.0.50"
|
||||||
@@ -1359,8 +1335,8 @@ webpack@^5.52.1:
|
|||||||
acorn-import-assertions "^1.7.6"
|
acorn-import-assertions "^1.7.6"
|
||||||
browserslist "^4.14.5"
|
browserslist "^4.14.5"
|
||||||
chrome-trace-event "^1.0.2"
|
chrome-trace-event "^1.0.2"
|
||||||
enhanced-resolve "^5.8.0"
|
enhanced-resolve "^5.8.3"
|
||||||
es-module-lexer "^0.7.1"
|
es-module-lexer "^0.9.0"
|
||||||
eslint-scope "5.1.1"
|
eslint-scope "5.1.1"
|
||||||
events "^3.2.0"
|
events "^3.2.0"
|
||||||
glob-to-regexp "^0.4.1"
|
glob-to-regexp "^0.4.1"
|
||||||
@@ -1408,8 +1384,3 @@ yallist@^4.0.0:
|
|||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
||||||
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
||||||
|
|
||||||
yocto-queue@^0.1.0:
|
|
||||||
version "0.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
|
|
||||||
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
|
|
||||||
Reference in new issue
Block a user