Changements dans les modules (nouvelle version Express, mysql, ..)

This commit is contained in:
2023-11-23 13:21:05 +01:00
parent 6af45b3ee2
commit bdab795506
820 changed files with 82281 additions and 35986 deletions

10
node_modules/sqlstring/HISTORY.md generated vendored
View File

@@ -1,3 +1,13 @@
2.3.3 / 2022-03-06
==================
* Fix escaping `Date` objects from foreign isolates
2.3.2 / 2020-04-15
==================
* perf: remove outdated array pattern
2.3.1 / 2018-02-24
==================

7
node_modules/sqlstring/README.md generated vendored
View File

@@ -3,7 +3,7 @@
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-image]][node-url]
[![Build Status][travis-image]][travis-url]
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
[![Coverage Status][coveralls-image]][coveralls-url]
Simple SQL escape and format for MySQL
@@ -16,7 +16,6 @@ $ npm install sqlstring
## Usage
<!-- eslint-disable no-unused-vars -->
```js
var SqlString = require('sqlstring');
@@ -198,9 +197,9 @@ console.log(sql); // UPDATE `users` SET `email` = 'foobar@example.com', `modifie
[npm-version-image]: https://img.shields.io/npm/v/sqlstring.svg
[npm-downloads-image]: https://img.shields.io/npm/dm/sqlstring.svg
[npm-url]: https://npmjs.org/package/sqlstring
[travis-image]: https://img.shields.io/travis/mysqljs/sqlstring/master.svg
[travis-url]: https://travis-ci.org/mysqljs/sqlstring
[coveralls-image]: https://img.shields.io/coveralls/mysqljs/sqlstring/master.svg
[coveralls-url]: https://coveralls.io/r/mysqljs/sqlstring?branch=master
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/mysqljs/sqlstring/ci/master?label=build
[github-actions-ci-url]: https://github.com/mysqljs/sqlstring/actions/workflows/ci.yml
[node-image]: https://img.shields.io/node/v/sqlstring.svg
[node-url]: https://nodejs.org/en/download

View File

@@ -40,7 +40,7 @@ SqlString.escape = function escape(val, stringifyObjects, timeZone) {
case 'boolean': return (val) ? 'true' : 'false';
case 'number': return val + '';
case 'object':
if (val instanceof Date) {
if (Object.prototype.toString.call(val) === '[object Date]') {
return SqlString.dateToString(val, timeZone || 'local');
} else if (Array.isArray(val)) {
return SqlString.arrayToList(val, timeZone);
@@ -78,7 +78,7 @@ SqlString.format = function format(sql, values, stringifyObjects, timeZone) {
return sql;
}
if (!(values instanceof Array || Array.isArray(values))) {
if (!Array.isArray(values)) {
values = [values];
}

12
node_modules/sqlstring/package.json generated vendored
View File

@@ -1,7 +1,7 @@
{
"name": "sqlstring",
"description": "Simple SQL escape and format for MySQL",
"version": "2.3.1",
"version": "2.3.3",
"contributors": [
"Adri Van Houdt <adri.van.houdt@gmail.com>",
"Douglas Christopher Wilson <doug@somethingdoug.com>",
@@ -21,9 +21,9 @@
"devDependencies": {
"beautify-benchmark": "0.2.4",
"benchmark": "2.1.4",
"eslint": "4.18.1",
"eslint-plugin-markdown": "1.0.0-beta.6",
"nyc": "10.3.2",
"eslint": "7.32.0",
"eslint-plugin-markdown": "2.2.1",
"nyc": "15.1.0",
"urun": "0.0.8",
"utest": "0.0.8"
},
@@ -39,9 +39,9 @@
},
"scripts": {
"bench": "node benchmark/index.js",
"lint": "eslint --plugin markdown --ext js,md .",
"lint": "eslint .",
"test": "node test/run.js",
"test-ci": "nyc --reporter=text npm test",
"test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test"
}
}