Upgrade/remove outdated dependencies
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
parent
d177b2a8a0
commit
f68756084a
21 changed files with 3511 additions and 8360 deletions
|
@ -782,7 +782,7 @@ Signal Desktop makes use of the following open source projects.
|
|||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Jed Watson
|
||||
Copyright (c) 2018 Jed Watson
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -1054,7 +1054,7 @@ Signal Desktop makes use of the following open source projects.
|
|||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Alessandro Zanardi
|
||||
Copyright (c) 2018 Alessandro Zanardi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -1346,30 +1346,6 @@ Signal Desktop makes use of the following open source projects.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
## glob
|
||||
|
||||
The ISC License
|
||||
|
||||
Copyright (c) Isaac Z. Schlueter and Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
## Glob Logo
|
||||
|
||||
Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
|
||||
under a Creative Commons Attribution-ShareAlike 4.0 International License
|
||||
https://creativecommons.org/licenses/by-sa/4.0/
|
||||
|
||||
## google-libphonenumber
|
||||
|
||||
This package is licensed under MIT:
|
||||
|
@ -1974,7 +1950,7 @@ Signal Desktop makes use of the following open source projects.
|
|||
|
||||
ISC License
|
||||
|
||||
Copyright (c) 2012-2018, Mariusz Nowak, @medikoo, medikoo.com
|
||||
Copyright (c) 2012-2024, Mariusz Nowak, @medikoo, medikoo.com
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -3111,30 +3087,6 @@ Signal Desktop makes use of the following open source projects.
|
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
## redux-ts-utils
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018-2019 Kenneth Powers <ken@kenpowers.net> (https://knpw.rs)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
## reselect
|
||||
|
||||
The MIT License (MIT)
|
||||
|
@ -3159,24 +3111,6 @@ Signal Desktop makes use of the following open source projects.
|
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
## rimraf
|
||||
|
||||
The ISC License
|
||||
|
||||
Copyright (c) Isaac Z. Schlueter and Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
## sanitize.css
|
||||
|
||||
# CC0 1.0 Universal
|
||||
|
@ -3360,30 +3294,6 @@ Signal Desktop makes use of the following open source projects.
|
|||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
## uuid-browser
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 Heiko Mathes
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
## websocket
|
||||
|
||||
Apache License
|
||||
|
|
|
@ -1,62 +1,61 @@
|
|||
// Copyright 2018 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { DefaultStorage, RangeFinder } from '@indutny/range-finder';
|
||||
import {
|
||||
DigestingPassThrough,
|
||||
ValidatingPassThrough,
|
||||
inferChunkSize,
|
||||
} from '@signalapp/libsignal-client/dist/incremental_mac';
|
||||
import { ipcMain, protocol } from 'electron';
|
||||
import { createReadStream } from 'node:fs';
|
||||
import LRU from 'lru-cache';
|
||||
import { randomBytes } from 'node:crypto';
|
||||
import { once } from 'node:events';
|
||||
import { createReadStream, rmSync } from 'node:fs';
|
||||
import { join, normalize } from 'node:path';
|
||||
import { PassThrough, type Writable } from 'node:stream';
|
||||
import { pipeline } from 'node:stream/promises';
|
||||
import { randomBytes } from 'node:crypto';
|
||||
import { once } from 'node:events';
|
||||
import z from 'zod';
|
||||
import * as rimraf from 'rimraf';
|
||||
import LRU from 'lru-cache';
|
||||
import {
|
||||
DigestingPassThrough,
|
||||
inferChunkSize,
|
||||
ValidatingPassThrough,
|
||||
} from '@signalapp/libsignal-client/dist/incremental_mac';
|
||||
import { RangeFinder, DefaultStorage } from '@indutny/range-finder';
|
||||
import {
|
||||
getAllAttachments,
|
||||
getAllDownloads,
|
||||
getAvatarsPath,
|
||||
getPath,
|
||||
getStickersPath,
|
||||
getTempPath,
|
||||
getDraftPath,
|
||||
getDownloadsPath,
|
||||
deleteAll as deleteAllAttachments,
|
||||
deleteAllBadges,
|
||||
deleteAllDownloads,
|
||||
deleteStaleDownloads,
|
||||
getAllStickers,
|
||||
deleteAllStickers,
|
||||
getAllDraftAttachments,
|
||||
deleteAllDraftAttachments,
|
||||
} from './attachments';
|
||||
import type { MainSQL } from '../ts/sql/main';
|
||||
import { decryptAttachmentV2ToSink } from '../ts/AttachmentCrypto';
|
||||
import type { MessageAttachmentsCursorType } from '../ts/sql/Interface';
|
||||
import * as Errors from '../ts/types/errors';
|
||||
import type { MainSQL } from '../ts/sql/main';
|
||||
import {
|
||||
APPLICATION_OCTET_STREAM,
|
||||
MIMETypeToString,
|
||||
stringToMIMEType,
|
||||
} from '../ts/types/MIME';
|
||||
import { sleep } from '../ts/util/sleep';
|
||||
import { isPathInside } from '../ts/util/isPathInside';
|
||||
import { missingCaseError } from '../ts/util/missingCaseError';
|
||||
import { safeParseInteger } from '../ts/util/numbers';
|
||||
import { SECOND } from '../ts/util/durations';
|
||||
import { drop } from '../ts/util/drop';
|
||||
import { strictAssert } from '../ts/util/assert';
|
||||
import { toWebStream } from '../ts/util/toWebStream';
|
||||
import * as Errors from '../ts/types/errors';
|
||||
import {
|
||||
isImageTypeSupported,
|
||||
isVideoTypeSupported,
|
||||
} from '../ts/util/GoogleChrome';
|
||||
import { decryptAttachmentV2ToSink } from '../ts/AttachmentCrypto';
|
||||
import { strictAssert } from '../ts/util/assert';
|
||||
import { drop } from '../ts/util/drop';
|
||||
import { SECOND } from '../ts/util/durations';
|
||||
import { isPathInside } from '../ts/util/isPathInside';
|
||||
import { missingCaseError } from '../ts/util/missingCaseError';
|
||||
import { safeParseInteger } from '../ts/util/numbers';
|
||||
import { parseLoose } from '../ts/util/schemas';
|
||||
import { sleep } from '../ts/util/sleep';
|
||||
import { toWebStream } from '../ts/util/toWebStream';
|
||||
import {
|
||||
deleteAll as deleteAllAttachments,
|
||||
deleteAllBadges,
|
||||
deleteAllDownloads,
|
||||
deleteAllDraftAttachments,
|
||||
deleteAllStickers,
|
||||
deleteStaleDownloads,
|
||||
getAllAttachments,
|
||||
getAllDownloads,
|
||||
getAllDraftAttachments,
|
||||
getAllStickers,
|
||||
getAvatarsPath,
|
||||
getDownloadsPath,
|
||||
getDraftPath,
|
||||
getPath,
|
||||
getStickersPath,
|
||||
getTempPath,
|
||||
} from './attachments';
|
||||
|
||||
let initialized = false;
|
||||
|
||||
|
@ -429,23 +428,23 @@ export function initialize({
|
|||
|
||||
ipcMain.handle(ERASE_TEMP_KEY, () => {
|
||||
strictAssert(tempDir != null, 'not initialized');
|
||||
rimraf.sync(tempDir);
|
||||
rmSync(tempDir);
|
||||
});
|
||||
ipcMain.handle(ERASE_ATTACHMENTS_KEY, () => {
|
||||
strictAssert(attachmentsDir != null, 'not initialized');
|
||||
rimraf.sync(attachmentsDir);
|
||||
rmSync(attachmentsDir, { recursive: true, force: true });
|
||||
});
|
||||
ipcMain.handle(ERASE_STICKERS_KEY, () => {
|
||||
strictAssert(stickersDir != null, 'not initialized');
|
||||
rimraf.sync(stickersDir);
|
||||
rmSync(stickersDir, { recursive: true, force: true });
|
||||
});
|
||||
ipcMain.handle(ERASE_DRAFTS_KEY, () => {
|
||||
strictAssert(draftDir != null, 'not initialized');
|
||||
rimraf.sync(draftDir);
|
||||
rmSync(draftDir, { recursive: true, force: true });
|
||||
});
|
||||
ipcMain.handle(ERASE_DOWNLOADS_KEY, () => {
|
||||
strictAssert(downloadsDir != null, 'not initialized');
|
||||
rimraf.sync(downloadsDir);
|
||||
rmSync(downloadsDir, { recursive: true, force: true });
|
||||
});
|
||||
|
||||
ipcMain.handle(CLEANUP_ORPHANED_ATTACHMENTS_KEY, async () => {
|
||||
|
|
604
danger/package-lock.json
generated
604
danger/package-lock.json
generated
|
@ -5,7 +5,7 @@
|
|||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"danger": "11.1.2",
|
||||
"danger": "12.3.3",
|
||||
"endanger": "7.0.4",
|
||||
"typescript": "4.6.2"
|
||||
}
|
||||
|
@ -54,6 +54,46 @@
|
|||
"tslib": "^2.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@gitbeaker/core": {
|
||||
"version": "38.12.1",
|
||||
"resolved": "https://registry.npmjs.org/@gitbeaker/core/-/core-38.12.1.tgz",
|
||||
"integrity": "sha512-8XMVcBIdVAAoxn7JtqmZ2Ee8f+AZLcCPmqEmPFOXY2jPS84y/DERISg/+sbhhb18iRy+ZsZhpWgQ/r3CkYNJOQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@gitbeaker/requester-utils": "^38.12.1",
|
||||
"qs": "^6.11.1",
|
||||
"xcase": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@gitbeaker/requester-utils": {
|
||||
"version": "38.12.1",
|
||||
"resolved": "https://registry.npmjs.org/@gitbeaker/requester-utils/-/requester-utils-38.12.1.tgz",
|
||||
"integrity": "sha512-Rc/DgngS0YPN+AY1s9UnexKSy4Lh0bkQVAq9p7PRbRpXb33SlTeCg8eg/8+A/mrMcHgYmP0XhH8lkizyA5tBUQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"qs": "^6.11.1",
|
||||
"xcase": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@gitbeaker/rest": {
|
||||
"version": "38.12.1",
|
||||
"resolved": "https://registry.npmjs.org/@gitbeaker/rest/-/rest-38.12.1.tgz",
|
||||
"integrity": "sha512-9KMSDtJ/sIov+5pcH+CAfiJXSiuYgN0KLKQFg0HHWR2DwcjGYkcbmhoZcWsaOWOqq4kihN1l7wX91UoRxxKKTQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@gitbeaker/core": "^38.12.1",
|
||||
"@gitbeaker/requester-utils": "^38.12.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/auth-token": {
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz",
|
||||
|
@ -174,6 +214,15 @@
|
|||
"@octokit/openapi-types": "^12.11.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@tootallnate/once": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz",
|
||||
"integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/mdast": {
|
||||
"version": "3.0.10",
|
||||
"resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.10.tgz",
|
||||
|
@ -187,26 +236,16 @@
|
|||
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz",
|
||||
"integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ=="
|
||||
},
|
||||
"node_modules/abort-controller": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
|
||||
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
|
||||
"dependencies": {
|
||||
"event-target-shim": "^5.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.5"
|
||||
}
|
||||
},
|
||||
"node_modules/agent-base": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
|
||||
"integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==",
|
||||
"version": "6.0.2",
|
||||
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
|
||||
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es6-promisify": "^5.0.0"
|
||||
"debug": "4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4.0.0"
|
||||
"node": ">= 6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ansi-styles": {
|
||||
|
@ -228,11 +267,6 @@
|
|||
"retry": "0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/asynckit": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
|
||||
},
|
||||
"node_modules/bail": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz",
|
||||
|
@ -261,7 +295,27 @@
|
|||
"node_modules/buffer-equal-constant-time": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
|
||||
"integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="
|
||||
"integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==",
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"node_modules/call-bind": {
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
|
||||
"integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es-define-property": "^1.0.0",
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"get-intrinsic": "^1.2.4",
|
||||
"set-function-length": "^1.2.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/callsites": {
|
||||
"version": "3.1.0",
|
||||
|
@ -341,17 +395,6 @@
|
|||
"node": ">=0.1.90"
|
||||
}
|
||||
},
|
||||
"node_modules/combined-stream": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
||||
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
||||
"dependencies": {
|
||||
"delayed-stream": "~1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/commander": {
|
||||
"version": "2.20.3",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
||||
|
@ -381,10 +424,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/danger": {
|
||||
"version": "11.1.2",
|
||||
"resolved": "https://registry.npmjs.org/danger/-/danger-11.1.2.tgz",
|
||||
"integrity": "sha512-tlAyADE7BRHbnoAA7BB7RzcO/ZLvXMpnWms7dBT/Tm4ntxdbrTT6wCPO1qFcd5Jc9LfM0Iez3hKUSINtnPLH+g==",
|
||||
"version": "12.3.3",
|
||||
"resolved": "https://registry.npmjs.org/danger/-/danger-12.3.3.tgz",
|
||||
"integrity": "sha512-nZKzpgXN21rr4dwa6bFhM7G2JEa79dZRJiT3RVRSyi4yk1/hgZ2f8HDGoa7tMladTmu8WjJFyE3LpBIihh+aDw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@gitbeaker/rest": "^38.0.0",
|
||||
"@octokit/rest": "^18.12.0",
|
||||
"async-retry": "1.2.3",
|
||||
"chalk": "^2.3.0",
|
||||
|
@ -393,13 +438,12 @@
|
|||
"debug": "^4.1.1",
|
||||
"fast-json-patch": "^3.0.0-1",
|
||||
"get-stdin": "^6.0.0",
|
||||
"gitlab": "^10.0.1",
|
||||
"http-proxy-agent": "^2.1.0",
|
||||
"https-proxy-agent": "^2.2.1",
|
||||
"http-proxy-agent": "^5.0.0",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"hyperlinker": "^1.0.0",
|
||||
"json5": "^2.1.0",
|
||||
"json5": "^2.2.3",
|
||||
"jsonpointer": "^5.0.0",
|
||||
"jsonwebtoken": "^8.4.0",
|
||||
"jsonwebtoken": "^9.0.0",
|
||||
"lodash.find": "^4.6.0",
|
||||
"lodash.includes": "^4.3.0",
|
||||
"lodash.isobject": "^3.0.2",
|
||||
|
@ -435,7 +479,7 @@
|
|||
"danger-runner": "distribution/commands/danger-runner.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.13.1"
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/debug": {
|
||||
|
@ -459,20 +503,21 @@
|
|||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||
},
|
||||
"node_modules/decode-uri-component": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
|
||||
"integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
|
||||
"node_modules/define-data-property": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
|
||||
"integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es-define-property": "^1.0.0",
|
||||
"es-errors": "^1.3.0",
|
||||
"gopd": "^1.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/delayed-stream": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
||||
"engines": {
|
||||
"node": ">=0.4.0"
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/deprecation": {
|
||||
|
@ -484,6 +529,7 @@
|
|||
"version": "1.0.11",
|
||||
"resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
|
||||
"integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"safe-buffer": "^5.0.1"
|
||||
}
|
||||
|
@ -510,17 +556,25 @@
|
|||
"danger": "^10.5.3"
|
||||
}
|
||||
},
|
||||
"node_modules/es6-promise": {
|
||||
"version": "4.2.8",
|
||||
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
|
||||
"integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
|
||||
},
|
||||
"node_modules/es6-promisify": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
|
||||
"integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==",
|
||||
"node_modules/es-define-property": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
|
||||
"integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es6-promise": "^4.0.3"
|
||||
"get-intrinsic": "^1.2.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/es-errors": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
||||
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/escape-string-regexp": {
|
||||
|
@ -531,14 +585,6 @@
|
|||
"node": ">=0.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/event-target-shim": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
||||
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/execa": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
|
||||
|
@ -604,27 +650,6 @@
|
|||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/filter-obj": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz",
|
||||
"integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/form-data": {
|
||||
"version": "2.5.1",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
|
||||
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
|
||||
"dependencies": {
|
||||
"asynckit": "^0.4.0",
|
||||
"combined-stream": "^1.0.6",
|
||||
"mime-types": "^2.1.12"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.12"
|
||||
}
|
||||
},
|
||||
"node_modules/fs-exists-sync": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz",
|
||||
|
@ -633,6 +658,34 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/function-bind": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/get-intrinsic": {
|
||||
"version": "1.2.4",
|
||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
|
||||
"integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"has-proto": "^1.0.1",
|
||||
"has-symbols": "^1.0.3",
|
||||
"hasown": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/get-stdin": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz",
|
||||
|
@ -665,22 +718,16 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/gitlab": {
|
||||
"version": "10.2.1",
|
||||
"resolved": "https://registry.npmjs.org/gitlab/-/gitlab-10.2.1.tgz",
|
||||
"integrity": "sha512-z+DxRF1C9uayVbocs9aJkJz+kGy14TSm1noB/rAIEBbXOkOYbjKxyuqJzt+0zeFpXFdgA0yq6DVVbvM7HIfGwg==",
|
||||
"deprecated": "This package has found a new home in the @gitbeaker organization. For the latest GitLab API library for node, browser, and deno usage, check out @gitbeaker/rest. A full list of the features can be found here: https://github.com/jdalrymple/gitbeaker#readme",
|
||||
"node_modules/gopd": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
|
||||
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"form-data": "^2.5.0",
|
||||
"humps": "^2.0.1",
|
||||
"ky": "^0.12.0",
|
||||
"ky-universal": "^0.3.0",
|
||||
"li": "^1.3.0",
|
||||
"query-string": "^6.8.2",
|
||||
"universal-url": "^2.0.0"
|
||||
"get-intrinsic": "^1.1.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/has-flag": {
|
||||
|
@ -691,12 +738,52 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/hasurl": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/hasurl/-/hasurl-1.0.0.tgz",
|
||||
"integrity": "sha512-43ypUd3DbwyCT01UYpA99AEZxZ4aKtRxWGBHEIbjcOsUghd9YUON0C+JF6isNjaiwC/UF5neaUudy6JS9jZPZQ==",
|
||||
"node_modules/has-property-descriptors": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
|
||||
"integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es-define-property": "^1.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/has-proto": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
|
||||
"integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 4"
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/has-symbols": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
||||
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/hasown": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
||||
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"function-bind": "^1.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/homedir-polyfill": {
|
||||
|
@ -711,48 +798,30 @@
|
|||
}
|
||||
},
|
||||
"node_modules/http-proxy-agent": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz",
|
||||
"integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
|
||||
"integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"agent-base": "4",
|
||||
"debug": "3.1.0"
|
||||
"@tootallnate/once": "2",
|
||||
"agent-base": "6",
|
||||
"debug": "4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4.5.0"
|
||||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/http-proxy-agent/node_modules/debug": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
|
||||
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
|
||||
"dependencies": {
|
||||
"ms": "2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/http-proxy-agent/node_modules/ms": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
||||
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
|
||||
},
|
||||
"node_modules/https-proxy-agent": {
|
||||
"version": "2.2.4",
|
||||
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz",
|
||||
"integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==",
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
||||
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"agent-base": "^4.3.0",
|
||||
"debug": "^3.1.0"
|
||||
"agent-base": "6",
|
||||
"debug": "4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/https-proxy-agent/node_modules/debug": {
|
||||
"version": "3.2.7",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
|
||||
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
|
||||
"dependencies": {
|
||||
"ms": "^2.1.1"
|
||||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/human-signals": {
|
||||
|
@ -763,11 +832,6 @@
|
|||
"node": ">=10.17.0"
|
||||
}
|
||||
},
|
||||
"node_modules/humps": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/humps/-/humps-2.0.1.tgz",
|
||||
"integrity": "sha512-E0eIbrFWUhwfXJmsbdjRQFQPrl5pTEoKlz163j1mTqqUnU9PgR4AgB8AIITzuB3vLBdxZXyZ9TDIrwB2OASz4g=="
|
||||
},
|
||||
"node_modules/hyperlinker": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/hyperlinker/-/hyperlinker-1.0.0.tgz",
|
||||
|
@ -922,9 +986,10 @@
|
|||
}
|
||||
},
|
||||
"node_modules/jsonwebtoken": {
|
||||
"version": "8.5.1",
|
||||
"resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz",
|
||||
"integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==",
|
||||
"version": "9.0.2",
|
||||
"resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz",
|
||||
"integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jws": "^3.2.2",
|
||||
"lodash.includes": "^4.3.0",
|
||||
|
@ -935,17 +1000,18 @@
|
|||
"lodash.isstring": "^4.0.1",
|
||||
"lodash.once": "^4.0.0",
|
||||
"ms": "^2.1.1",
|
||||
"semver": "^5.6.0"
|
||||
"semver": "^7.5.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4",
|
||||
"npm": ">=1.4.28"
|
||||
"node": ">=12",
|
||||
"npm": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/jwa": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
|
||||
"integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"buffer-equal-constant-time": "1.0.1",
|
||||
"ecdsa-sig-formatter": "1.0.11",
|
||||
|
@ -956,39 +1022,12 @@
|
|||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
|
||||
"integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jwa": "^1.4.1",
|
||||
"safe-buffer": "^5.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/ky": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/ky/-/ky-0.12.0.tgz",
|
||||
"integrity": "sha512-t9b7v3V2fGwAcQnnDDQwKQGF55eWrf4pwi1RN08Fy8b/9GEwV7Ea0xQiaSW6ZbeghBHIwl8kgnla4vVo9seepQ==",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/ky-universal": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ky-universal/-/ky-universal-0.3.0.tgz",
|
||||
"integrity": "sha512-CM4Bgb2zZZpsprcjI6DNYTaH3oGHXL2u7BU4DK+lfCuC4snkt9/WRpMYeKbBbXscvKkeqBwzzjFX2WwmKY5K/A==",
|
||||
"dependencies": {
|
||||
"abort-controller": "^3.0.0",
|
||||
"node-fetch": "^2.6.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"ky": ">=0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/li": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/li/-/li-1.3.0.tgz",
|
||||
"integrity": "sha512-z34TU6GlMram52Tss5mt1m//ifRIpKH5Dqm7yUVOdHI+BQCs9qGPHFaCUTIzsWX7edN30aa2WrPwR7IO10FHaw=="
|
||||
},
|
||||
"node_modules/lodash.find": {
|
||||
"version": "4.6.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.find/-/lodash.find-4.6.0.tgz",
|
||||
|
@ -997,22 +1036,26 @@
|
|||
"node_modules/lodash.includes": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
|
||||
"integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w=="
|
||||
"integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.isboolean": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
|
||||
"integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg=="
|
||||
"integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.isinteger": {
|
||||
"version": "4.0.4",
|
||||
"resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz",
|
||||
"integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA=="
|
||||
"integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.isnumber": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz",
|
||||
"integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw=="
|
||||
"integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.isobject": {
|
||||
"version": "3.0.2",
|
||||
|
@ -1022,12 +1065,14 @@
|
|||
"node_modules/lodash.isplainobject": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
|
||||
"integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="
|
||||
"integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.isstring": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
|
||||
"integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw=="
|
||||
"integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.keys": {
|
||||
"version": "4.2.0",
|
||||
|
@ -1047,12 +1092,8 @@
|
|||
"node_modules/lodash.once": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
|
||||
"integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg=="
|
||||
},
|
||||
"node_modules/lodash.sortby": {
|
||||
"version": "4.7.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
|
||||
"integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA=="
|
||||
"integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/longest-streak": {
|
||||
"version": "2.0.4",
|
||||
|
@ -1332,25 +1373,6 @@
|
|||
"node": ">=8.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-db": {
|
||||
"version": "1.52.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
||||
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-types": {
|
||||
"version": "2.1.35",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
||||
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
||||
"dependencies": {
|
||||
"mime-db": "1.52.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mimic-fn": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
|
||||
|
@ -1375,7 +1397,8 @@
|
|||
"node_modules/ms": {
|
||||
"version": "2.1.3",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
||||
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
||||
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/node-cleanup": {
|
||||
"version": "2.1.2",
|
||||
|
@ -1412,6 +1435,18 @@
|
|||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/object-inspect": {
|
||||
"version": "1.13.2",
|
||||
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
|
||||
"integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/once": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||
|
@ -1559,29 +1594,19 @@
|
|||
"prettyjson": "bin/prettyjson"
|
||||
}
|
||||
},
|
||||
"node_modules/punycode": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
||||
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/query-string": {
|
||||
"version": "6.14.1",
|
||||
"resolved": "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz",
|
||||
"integrity": "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==",
|
||||
"node_modules/qs": {
|
||||
"version": "6.13.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
|
||||
"integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"decode-uri-component": "^0.2.0",
|
||||
"filter-obj": "^1.1.0",
|
||||
"split-on-first": "^1.0.0",
|
||||
"strict-uri-encode": "^2.0.0"
|
||||
"side-channel": "^1.0.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
"node": ">=0.6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/readline-sync": {
|
||||
|
@ -1675,14 +1700,36 @@
|
|||
"type": "consulting",
|
||||
"url": "https://feross.org/support"
|
||||
}
|
||||
]
|
||||
],
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/semver": {
|
||||
"version": "5.7.2",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
|
||||
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
|
||||
"version": "7.6.3",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
|
||||
"integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
"semver": "bin/semver"
|
||||
"semver": "bin/semver.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/set-function-length": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
|
||||
"integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"define-data-property": "^1.1.4",
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"get-intrinsic": "^1.2.4",
|
||||
"gopd": "^1.0.1",
|
||||
"has-property-descriptors": "^1.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/shebang-command": {
|
||||
|
@ -1704,27 +1751,29 @@
|
|||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/side-channel": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
|
||||
"integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.7",
|
||||
"es-errors": "^1.3.0",
|
||||
"get-intrinsic": "^1.2.4",
|
||||
"object-inspect": "^1.13.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/signal-exit": {
|
||||
"version": "3.0.7",
|
||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
||||
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
||||
},
|
||||
"node_modules/split-on-first": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz",
|
||||
"integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/strict-uri-encode": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
|
||||
"integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/strip-final-newline": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
|
||||
|
@ -1882,41 +1931,6 @@
|
|||
"url": "https://opencollective.com/unified"
|
||||
}
|
||||
},
|
||||
"node_modules/universal-url": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/universal-url/-/universal-url-2.0.0.tgz",
|
||||
"integrity": "sha512-3DLtXdm/G1LQMCnPj+Aw7uDoleQttNHp2g5FnNQKR6cP6taNWS1b/Ehjjx4PVyvejKi3TJyu8iBraKM4q3JQPg==",
|
||||
"dependencies": {
|
||||
"hasurl": "^1.0.0",
|
||||
"whatwg-url": "^7.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/universal-url/node_modules/tr46": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz",
|
||||
"integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==",
|
||||
"dependencies": {
|
||||
"punycode": "^2.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/universal-url/node_modules/webidl-conversions": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",
|
||||
"integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="
|
||||
},
|
||||
"node_modules/universal-url/node_modules/whatwg-url": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
|
||||
"integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
|
||||
"dependencies": {
|
||||
"lodash.sortby": "^4.7.0",
|
||||
"tr46": "^1.0.1",
|
||||
"webidl-conversions": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/universal-user-agent": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
||||
|
@ -1983,6 +1997,12 @@
|
|||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
||||
},
|
||||
"node_modules/xcase": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/xcase/-/xcase-2.0.1.tgz",
|
||||
"integrity": "sha512-UmFXIPU+9Eg3E9m/728Bii0lAIuoc+6nbrNUKaRPJOFp91ih44qqGlWtxMB6kXFrRD6po+86ksHM5XHCfk6iPw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/xtend": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"danger": "11.1.2",
|
||||
"danger": "12.3.3",
|
||||
"endanger": "7.0.4",
|
||||
"typescript": "4.6.2"
|
||||
}
|
||||
|
|
9386
package-lock.json
generated
9386
package-lock.json
generated
File diff suppressed because it is too large
Load diff
158
package.json
158
package.json
|
@ -11,9 +11,6 @@
|
|||
"email": "support@signal.org"
|
||||
},
|
||||
"browserslist": "last 1 chrome versions",
|
||||
"browser": {
|
||||
"uuid": "uuid-browser"
|
||||
},
|
||||
"main": "app/main.js",
|
||||
"scripts": {
|
||||
"postinstall": "npm run build:acknowledgments && patch-package --error-on-fail --error-on-warn && npm run electron:install-app-deps",
|
||||
|
@ -61,8 +58,7 @@
|
|||
"svgo": "svgo --multipass images/**/*.svg",
|
||||
"transpile": "run-p check:types build:esbuild",
|
||||
"check:types": "tsc --noEmit",
|
||||
"clean-transpile-once": "rimraf sticker-creator/dist app/**/*.js app/*.js ts/**/*.js ts/*.js bundles tsconfig.tsbuildinfo preload.bundle.js preload.bundle.cache",
|
||||
"clean-transpile": "run-s clean-transpile-once clean-transpile-once",
|
||||
"clean-transpile": "node ./scripts/clean-transpile.js",
|
||||
"ready": "npm-run-all --print-label clean-transpile generate --parallel lint lint-deps lint-intl test-node test-electron",
|
||||
"dev": "npm run build-protobuf && cross-env SIGNAL_ENV=storybook storybook dev --port 6006",
|
||||
"dev:transpile": "run-p \"check:types -- --watch\" dev:esbuild dev:icu-types dev:protobuf",
|
||||
|
@ -91,7 +87,8 @@
|
|||
"build:preload-cache": "node ts/scripts/generate-preload-cache.js",
|
||||
"verify": "run-p --print-label verify:*",
|
||||
"verify:ts": "tsc --noEmit",
|
||||
"electron:install-app-deps": "electron-builder install-app-deps"
|
||||
"electron:install-app-deps": "electron-builder install-app-deps",
|
||||
"check-upgradeable-deps": "ts-node ts/scripts/check-upgradeable-deps.ts"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fs-xattr": "0.3.0"
|
||||
|
@ -105,7 +102,7 @@
|
|||
"@indutny/range-finder": "1.3.4",
|
||||
"@indutny/simple-windows-notifications": "2.0.7",
|
||||
"@indutny/sneequals": "4.0.0",
|
||||
"@popperjs/core": "2.11.6",
|
||||
"@popperjs/core": "2.11.8",
|
||||
"@react-aria/utils": "3.16.0",
|
||||
"@react-spring/web": "9.5.5",
|
||||
"@signalapp/better-sqlite3": "9.0.8",
|
||||
|
@ -118,8 +115,8 @@
|
|||
"blurhash": "1.1.3",
|
||||
"buffer": "6.0.3",
|
||||
"changedpi": "1.0.4",
|
||||
"cirbuf": "1.0.1",
|
||||
"classnames": "2.2.5",
|
||||
"cirbuf": "1.0.2",
|
||||
"classnames": "2.5.1",
|
||||
"config": "1.31.0",
|
||||
"copy-text-to-clipboard": "2.1.0",
|
||||
"dashdash": "1.14.1",
|
||||
|
@ -129,15 +126,14 @@
|
|||
"emoji-regex": "10.3.0",
|
||||
"encoding": "0.1.13",
|
||||
"fabric": "4.6.0",
|
||||
"fast-glob": "3.2.1",
|
||||
"fast-glob": "3.3.2",
|
||||
"filesize": "3.6.1",
|
||||
"firstline": "1.2.1",
|
||||
"firstline": "2.0.2",
|
||||
"focus-trap-react": "8.8.1",
|
||||
"form-data": "4.0.0",
|
||||
"form-data": "4.0.1",
|
||||
"fs-extra": "5.0.0",
|
||||
"fuse.js": "6.5.3",
|
||||
"glob": "7.1.6",
|
||||
"google-libphonenumber": "3.2.36",
|
||||
"google-libphonenumber": "3.2.38",
|
||||
"got": "11.8.5",
|
||||
"heic-convert": "2.1.0",
|
||||
"humanize-duration": "3.27.1",
|
||||
|
@ -148,9 +144,9 @@
|
|||
"long": "4.0.0",
|
||||
"lru-cache": "6.0.0",
|
||||
"mac-screen-capture-permissions": "2.0.0",
|
||||
"memoizee": "0.4.14",
|
||||
"memoizee": "0.4.17",
|
||||
"moment": "2.29.4",
|
||||
"mp4box": "0.5.2",
|
||||
"mp4box": "0.5.3",
|
||||
"node-fetch": "2.6.7",
|
||||
"nop": "1.0.0",
|
||||
"normalize-path": "3.0.0",
|
||||
|
@ -171,72 +167,70 @@
|
|||
"react-blurhash": "0.1.2",
|
||||
"react-contextmenu": "2.11.0",
|
||||
"react-dom": "17.0.2",
|
||||
"react-hot-loader": "4.13.0",
|
||||
"react-hot-loader": "4.13.1",
|
||||
"react-intl": "6.1.1",
|
||||
"react-popper": "2.3.0",
|
||||
"react-quill": "2.0.0-beta.4",
|
||||
"react-redux": "7.2.8",
|
||||
"react-router-dom": "5.0.1",
|
||||
"react-textarea-autosize": "8.3.4",
|
||||
"react-virtualized": "9.22.3",
|
||||
"react-virtualized": "9.22.5",
|
||||
"read-last-lines": "1.8.0",
|
||||
"redux": "4.1.2",
|
||||
"redux-logger": "3.0.6",
|
||||
"redux-promise-middleware": "6.1.0",
|
||||
"redux-thunk": "2.3.0",
|
||||
"redux-ts-utils": "3.2.2",
|
||||
"reselect": "4.1.2",
|
||||
"rimraf": "2.6.2",
|
||||
"sanitize.css": "11.0.0",
|
||||
"semver": "5.7.2",
|
||||
"split2": "4.0.0",
|
||||
"type-fest": "4.23.0",
|
||||
"urlpattern-polyfill": "9.0.0",
|
||||
"uuid": "10.0.0",
|
||||
"uuid-browser": "3.1.0",
|
||||
"split2": "4.2.0",
|
||||
"type-fest": "4.26.1",
|
||||
"urlpattern-polyfill": "10.0.0",
|
||||
"uuid": "11.0.2",
|
||||
"websocket": "1.0.34",
|
||||
"write-file-atomic": "5.0.1",
|
||||
"zod": "3.22.3"
|
||||
"zod": "3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.23.0",
|
||||
"@babel/core": "7.26.0",
|
||||
"@babel/plugin-proposal-class-properties": "7.18.6",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.21.0",
|
||||
"@babel/plugin-transform-runtime": "7.22.15",
|
||||
"@babel/plugin-transform-typescript": "7.22.15",
|
||||
"@babel/preset-react": "7.22.15",
|
||||
"@babel/preset-typescript": "7.23.0",
|
||||
"@babel/plugin-transform-runtime": "7.25.9",
|
||||
"@babel/plugin-transform-typescript": "7.25.9",
|
||||
"@babel/preset-react": "7.25.9",
|
||||
"@babel/preset-typescript": "7.26.0",
|
||||
"@electron/asar": "3.2.17",
|
||||
"@electron/fuses": "1.5.0",
|
||||
"@electron/notarize": "2.1.0",
|
||||
"@formatjs/intl": "2.6.7",
|
||||
"@indutny/parallel-prettier": "3.0.0",
|
||||
"@indutny/rezip-electron": "1.3.2",
|
||||
"@indutny/symbolicate-mac": "2.3.0",
|
||||
"@napi-rs/canvas": "0.1.58",
|
||||
"@napi-rs/canvas": "0.1.61",
|
||||
"@signalapp/mock-server": "10.0.0",
|
||||
"@storybook/addon-a11y": "8.1.11",
|
||||
"@storybook/addon-actions": "8.1.11",
|
||||
"@storybook/addon-controls": "8.1.11",
|
||||
"@storybook/addon-interactions": "8.1.11",
|
||||
"@storybook/addon-jest": "8.1.11",
|
||||
"@storybook/addon-measure": "8.1.11",
|
||||
"@storybook/addon-toolbars": "8.1.11",
|
||||
"@storybook/addon-viewport": "8.1.11",
|
||||
"@storybook/addon-a11y": "8.4.3",
|
||||
"@storybook/addon-actions": "8.4.3",
|
||||
"@storybook/addon-controls": "8.4.3",
|
||||
"@storybook/addon-interactions": "8.4.3",
|
||||
"@storybook/addon-jest": "8.4.3",
|
||||
"@storybook/addon-measure": "8.4.3",
|
||||
"@storybook/addon-toolbars": "8.4.3",
|
||||
"@storybook/addon-viewport": "8.4.3",
|
||||
"@storybook/addon-webpack5-compiler-swc": "1.0.4",
|
||||
"@storybook/preview-api": "8.1.11",
|
||||
"@storybook/react": "8.1.11",
|
||||
"@storybook/react-webpack5": "8.1.11",
|
||||
"@storybook/test": "8.1.11",
|
||||
"@storybook/test-runner": "0.19.0",
|
||||
"@types/backbone": "1.4.16",
|
||||
"@storybook/preview-api": "8.4.3",
|
||||
"@storybook/react": "8.4.3",
|
||||
"@storybook/react-webpack5": "8.4.3",
|
||||
"@storybook/test": "8.4.3",
|
||||
"@storybook/test-runner": "0.19.1",
|
||||
"@types/backbone": "1.4.22",
|
||||
"@types/blueimp-load-image": "5.14.1",
|
||||
"@types/chai": "4.3.16",
|
||||
"@types/chai-as-promised": "7.1.4",
|
||||
"@types/classnames": "2.2.3",
|
||||
"@types/classnames": "2.3.4",
|
||||
"@types/config": "0.0.39",
|
||||
"@types/dashdash": "1.14.0",
|
||||
"@types/debug": "4.1.7",
|
||||
"@types/dashdash": "1.14.3",
|
||||
"@types/debug": "4.1.12",
|
||||
"@types/direction": "1.0.0",
|
||||
"@types/filesize": "3.6.0",
|
||||
"@types/fs-extra": "5.0.5",
|
||||
|
@ -245,58 +239,57 @@
|
|||
"@types/humanize-duration": "3.18.1",
|
||||
"@types/intl-tel-input": "17.0.4",
|
||||
"@types/js-yaml": "3.12.0",
|
||||
"@types/json-to-ast": "2.1.2",
|
||||
"@types/json-to-ast": "2.1.4",
|
||||
"@types/linkify-it": "2.1.0",
|
||||
"@types/lodash": "4.14.106",
|
||||
"@types/long": "4.0.1",
|
||||
"@types/lru-cache": "5.1.0",
|
||||
"@types/memoizee": "0.4.2",
|
||||
"@types/memoizee": "0.4.11",
|
||||
"@types/mocha": "9.0.0",
|
||||
"@types/node": "20.14.10",
|
||||
"@types/node-fetch": "2.6.2",
|
||||
"@types/normalize-path": "3.0.0",
|
||||
"@types/node-fetch": "2.6.12",
|
||||
"@types/normalize-path": "3.0.2",
|
||||
"@types/pify": "3.0.2",
|
||||
"@types/pixelmatch": "5.2.6",
|
||||
"@types/pngjs": "6.0.4",
|
||||
"@types/pngjs": "6.0.5",
|
||||
"@types/prettier": "2.7.3",
|
||||
"@types/quill": "1.3.10",
|
||||
"@types/react": "17.0.45",
|
||||
"@types/react-dom": "17.0.17",
|
||||
"@types/react-redux": "7.1.24",
|
||||
"@types/react-redux": "7.1.34",
|
||||
"@types/react-router-dom": "4.3.4",
|
||||
"@types/react-virtualized": "9.18.12",
|
||||
"@types/redux-logger": "3.0.7",
|
||||
"@types/rimraf": "2.0.2",
|
||||
"@types/semver": "5.5.0",
|
||||
"@types/sinon": "10.0.2",
|
||||
"@types/split2": "3.2.1",
|
||||
"@types/terser-webpack-plugin": "5.0.3",
|
||||
"@types/unzipper": "0.10.9",
|
||||
"@types/split2": "4.2.3",
|
||||
"@types/terser-webpack-plugin": "5.2.0",
|
||||
"@types/unzipper": "0.10.10",
|
||||
"@types/uuid": "10.0.0",
|
||||
"@types/websocket": "1.0.0",
|
||||
"@types/write-file-atomic": "4.0.3",
|
||||
"@types/yargs": "17.0.7",
|
||||
"@types/yargs": "17.0.33",
|
||||
"@typescript-eslint/eslint-plugin": "6.18.1",
|
||||
"@typescript-eslint/parser": "6.18.1",
|
||||
"asar": "3.1.0",
|
||||
"axe-core": "4.1.4",
|
||||
"axe-core": "4.10.2",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-loader": "9.1.3",
|
||||
"babel-loader": "9.2.1",
|
||||
"babel-plugin-lodash": "3.3.4",
|
||||
"casual": "1.6.2",
|
||||
"chai": "4.4.1",
|
||||
"chai-as-promised": "7.1.1",
|
||||
"chalk": "4.1.2",
|
||||
"chokidar-cli": "3.0.0",
|
||||
"cross-env": "5.2.0",
|
||||
"css-loader": "3.2.0",
|
||||
"csv-parse": "5.5.2",
|
||||
"danger": "11.3.1",
|
||||
"debug": "4.3.3",
|
||||
"cross-env": "7.0.3",
|
||||
"css-loader": "7.1.2",
|
||||
"csv-parse": "5.5.6",
|
||||
"danger": "12.3.3",
|
||||
"debug": "4.3.7",
|
||||
"electron": "33.1.0",
|
||||
"electron-builder": "24.13.3",
|
||||
"electron-mocha": "12.2.0",
|
||||
"endanger": "7.0.4",
|
||||
"enquirer": "2.4.1",
|
||||
"esbuild": "0.23.1",
|
||||
"eslint": "8.56.0",
|
||||
"eslint-config-airbnb-typescript-prettier": "5.0.0",
|
||||
|
@ -307,14 +300,14 @@
|
|||
"eslint-plugin-more": "1.0.5",
|
||||
"eslint-plugin-react": "7.31.10",
|
||||
"execa": "5.1.1",
|
||||
"html-webpack-plugin": "5.3.1",
|
||||
"html-webpack-plugin": "5.6.3",
|
||||
"http-server": "14.1.1",
|
||||
"json-to-ast": "2.1.0",
|
||||
"log-symbols": "4.1.0",
|
||||
"mini-css-extract-plugin": "2.7.6",
|
||||
"mini-css-extract-plugin": "2.9.2",
|
||||
"mocha": "9.2.2",
|
||||
"node-gyp": "10.0.1",
|
||||
"node-gyp-build": "4.8.1",
|
||||
"node-gyp-build": "4.8.3",
|
||||
"npm-run-all": "4.1.5",
|
||||
"p-limit": "3.1.0",
|
||||
"patch-package": "8.0.0",
|
||||
|
@ -326,24 +319,24 @@
|
|||
"resedit": "2.0.2",
|
||||
"resolve-url-loader": "5.0.0",
|
||||
"sass": "1.49.7",
|
||||
"sass-loader": "10.2.0",
|
||||
"sass-loader": "16.0.3",
|
||||
"sinon": "11.1.1",
|
||||
"storybook": "8.1.11",
|
||||
"style-loader": "1.0.0",
|
||||
"storybook": "8.4.3",
|
||||
"style-loader": "4.0.0",
|
||||
"stylelint": "15.4.0",
|
||||
"stylelint-config-css-modules": "4.2.0",
|
||||
"stylelint-config-recommended-scss": "10.0.0",
|
||||
"stylelint-use-logical-spec": "5.0.0",
|
||||
"svgo": "3.0.2",
|
||||
"terser-webpack-plugin": "5.1.1",
|
||||
"stylelint-use-logical-spec": "5.0.1",
|
||||
"svgo": "3.3.2",
|
||||
"terser-webpack-plugin": "5.3.10",
|
||||
"ts-node": "10.9.2",
|
||||
"typed-scss-modules": "4.1.1",
|
||||
"typescript": "5.3.3",
|
||||
"unzipper": "0.10.14",
|
||||
"wait-on": "7.2.0",
|
||||
"webpack": "5.88.2",
|
||||
"webpack-cli": "4.9.2",
|
||||
"webpack-dev-server": "4.11.1"
|
||||
"wait-on": "8.0.1",
|
||||
"webpack": "5.96.1",
|
||||
"webpack-cli": "5.1.4",
|
||||
"webpack-dev-server": "5.1.0"
|
||||
},
|
||||
"overrides": {
|
||||
"@storybook/react": {
|
||||
|
@ -360,9 +353,6 @@
|
|||
"canvas": "$nop",
|
||||
"jsdom": "$nop"
|
||||
},
|
||||
"fast-glob": {
|
||||
"glob-parent": "5.1.2"
|
||||
},
|
||||
"read-last-lines": {
|
||||
"mz": {
|
||||
"thenify-all": {
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
diff --git a/node_modules/@types/backbone/index.d.ts b/node_modules/@types/backbone/index.d.ts
|
||||
index 3935075..22a4c2e 100644
|
||||
index 15d9d4b..a431841 100644
|
||||
--- a/node_modules/@types/backbone/index.d.ts
|
||||
+++ b/node_modules/@types/backbone/index.d.ts
|
||||
@@ -81,7 +81,7 @@ declare namespace Backbone {
|
||||
@@ -66,7 +66,7 @@ declare namespace Backbone {
|
||||
collection?: Collection<TModel> | undefined;
|
||||
}
|
||||
|
||||
|
||||
- type CombinedModelConstructorOptions<E, M extends Model<any, any, E> = Model> = ModelConstructorOptions<M> & E;
|
||||
+ type CombinedModelConstructorOptions<E, M extends Model<any, any, E> = Model<any, any, E>> = ModelConstructorOptions<M> & E;
|
||||
|
||||
|
||||
interface ModelSetOptions extends Silenceable, Validable {}
|
||||
|
||||
@@ -219,7 +219,7 @@ declare namespace Backbone {
|
||||
|
||||
@@ -204,7 +204,7 @@ declare namespace Backbone {
|
||||
*/
|
||||
static extend(properties: any, classProperties?: any): any;
|
||||
|
||||
|
||||
- attributes: Partial<T>;
|
||||
+ attributes: T;
|
||||
changed: Partial<T>;
|
||||
cidPrefix: string;
|
||||
cid: string;
|
||||
@@ -235,7 +235,7 @@ declare namespace Backbone {
|
||||
@@ -220,7 +220,7 @@ declare namespace Backbone {
|
||||
* That works only if you set it in the constructor or the initialize method.
|
||||
*/
|
||||
defaults(): Partial<T>;
|
||||
|
@ -28,22 +28,22 @@ index 3935075..22a4c2e 100644
|
|||
+ id: string;
|
||||
idAttribute: string;
|
||||
validationError: any;
|
||||
|
||||
@@ -266,7 +266,7 @@ declare namespace Backbone {
|
||||
|
||||
@@ -251,7 +251,7 @@ declare namespace Backbone {
|
||||
* return super.get("name");
|
||||
* }
|
||||
*/
|
||||
- get<A extends _StringKey<T>>(attributeName: A): T[A] | undefined;
|
||||
+ get<A extends _StringKey<T>>(attributeName: A): T[A];
|
||||
|
||||
|
||||
/**
|
||||
* For strongly-typed assignment of attributes, use the `set` method only privately in public setter properties.
|
||||
@@ -300,7 +300,7 @@ declare namespace Backbone {
|
||||
@@ -285,7 +285,7 @@ declare namespace Backbone {
|
||||
previousAttributes(): Partial<T>;
|
||||
save(attributes?: Partial<T> | null, options?: ModelSaveOptions): JQueryXHR;
|
||||
unset(attribute: _StringKey<T>, options?: Silenceable): this;
|
||||
- validate(attributes: Partial<T>, options?: any): any;
|
||||
+ validate(attributes: T, options?: any): any;
|
||||
private _validate(attributes: Partial<T>, options: any): boolean;
|
||||
|
||||
|
||||
// mixins from underscore
|
|
@ -1,8 +1,8 @@
|
|||
diff --git a/node_modules/@types/express/index.d.ts b/node_modules/@types/express/index.d.ts
|
||||
index 8427f02..2b4698f 100755
|
||||
index b92b15c..6536d9f 100644
|
||||
--- a/node_modules/@types/express/index.d.ts
|
||||
+++ b/node_modules/@types/express/index.d.ts
|
||||
@@ -55,7 +55,7 @@ declare namespace e {
|
||||
@@ -47,7 +47,7 @@ declare namespace e {
|
||||
/**
|
||||
* This is a built-in middleware function in Express. It serves static files and is based on serve-static.
|
||||
*/
|
|
@ -1,14 +1,14 @@
|
|||
diff --git a/node_modules/@types/node-fetch/index.d.ts b/node_modules/@types/node-fetch/index.d.ts
|
||||
index 346d0b2..8b3efdd 100755
|
||||
index f95f9c1..72b3814 100644
|
||||
--- a/node_modules/@types/node-fetch/index.d.ts
|
||||
+++ b/node_modules/@types/node-fetch/index.d.ts
|
||||
@@ -19,7 +19,8 @@
|
||||
import FormData = require('form-data');
|
||||
@@ -3,7 +3,8 @@
|
||||
import FormData = require("form-data");
|
||||
import { RequestOptions } from "http";
|
||||
import { URLSearchParams, URL } from "url";
|
||||
import { URL, URLSearchParams } from "url";
|
||||
-import { AbortSignal } from "./externals";
|
||||
+// Avoid type conflicts!
|
||||
+// import { AbortSignal } from "./externals";
|
||||
+// Avoid type conflicts!
|
||||
|
||||
export class Request extends Body {
|
||||
declare class Request extends Body {
|
||||
constructor(input: RequestInfo, init?: RequestInit);
|
|
@ -1,8 +1,8 @@
|
|||
diff --git a/node_modules/zod/lib/types.d.ts b/node_modules/zod/lib/types.d.ts
|
||||
index 0ece6e8..57bbe86 100644
|
||||
index e5314e6..4c54da2 100644
|
||||
--- a/node_modules/zod/lib/types.d.ts
|
||||
+++ b/node_modules/zod/lib/types.d.ts
|
||||
@@ -56,7 +56,9 @@ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = Zod
|
||||
@@ -59,7 +59,9 @@ export declare abstract class ZodType<Output = any, Def extends ZodTypeDef = Zod
|
||||
};
|
||||
_parseSync(input: ParseInput): SyncParseReturnType<Output>;
|
||||
_parseAsync(input: ParseInput): AsyncParseReturnType<Output>;
|
36
scripts/clean-transpile.js
Normal file
36
scripts/clean-transpile.js
Normal file
|
@ -0,0 +1,36 @@
|
|||
// Copyright 2024 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
const fastGlob = require('fast-glob');
|
||||
const { rm } = require('node:fs/promises');
|
||||
const { join } = require('node:path');
|
||||
|
||||
const repoRoot = join(__dirname, '..');
|
||||
|
||||
const PATTERNS = [
|
||||
'sticker-creator/dist',
|
||||
'app/**/*.js',
|
||||
'app/*.js',
|
||||
'ts/**/*.js',
|
||||
'bundles',
|
||||
'tsconfig.tsbuildinfo',
|
||||
'preload.bundle.js',
|
||||
'preload.bundle.cache',
|
||||
];
|
||||
|
||||
async function main() {
|
||||
const readable = fastGlob.stream(PATTERNS, {
|
||||
cwd: repoRoot,
|
||||
});
|
||||
|
||||
const promises = [];
|
||||
for await (const entry of readable) {
|
||||
promises.push(rm(entry, { recursive: true, force: true }));
|
||||
}
|
||||
await Promise.all(promises);
|
||||
}
|
||||
|
||||
main().catch(error => {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
});
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
const esbuild = require('esbuild');
|
||||
const path = require('path');
|
||||
const glob = require('glob');
|
||||
const fastGlob = require('fast-glob');
|
||||
|
||||
const ROOT_DIR = path.join(__dirname, '..');
|
||||
const BUNDLES_DIR = 'bundles';
|
||||
|
@ -106,10 +106,10 @@ async function main() {
|
|||
mainFields: ['browser', 'main'],
|
||||
entryPoints: [
|
||||
'preload.wrapper.ts',
|
||||
...glob
|
||||
...fastGlob
|
||||
.sync('{app,ts}/**/*.{ts,tsx}', {
|
||||
nodir: true,
|
||||
root: ROOT_DIR,
|
||||
onlyFiles: true,
|
||||
cwd: ROOT_DIR,
|
||||
})
|
||||
.filter(file => !file.endsWith('.d.ts')),
|
||||
],
|
||||
|
|
|
@ -5,31 +5,31 @@
|
|||
/* eslint-disable more/no-then */
|
||||
/* eslint-disable no-console */
|
||||
|
||||
import { join } from 'path';
|
||||
import split2 from 'split2';
|
||||
import {
|
||||
mkdirSync,
|
||||
readdirSync,
|
||||
createReadStream,
|
||||
unlinkSync,
|
||||
writeFileSync,
|
||||
} from 'fs';
|
||||
import { CircularBuffer } from 'cirbuf';
|
||||
import type { BrowserWindow } from 'electron';
|
||||
import { app, ipcMain as ipc } from 'electron';
|
||||
import pino from 'pino';
|
||||
import type { StreamEntry } from 'pino';
|
||||
import { filter, flatten, map, pick, sortBy } from 'lodash';
|
||||
import readFirstLine from 'firstline';
|
||||
import { filter, flatten, map, pick, sortBy } from 'lodash';
|
||||
import {
|
||||
createReadStream,
|
||||
mkdirSync,
|
||||
readdirSync,
|
||||
unlinkSync,
|
||||
writeFileSync,
|
||||
} from 'node:fs';
|
||||
import { rm } from 'node:fs/promises';
|
||||
import { join } from 'path';
|
||||
import type { StreamEntry } from 'pino';
|
||||
import pino from 'pino';
|
||||
import { read as readLastLines } from 'read-last-lines';
|
||||
import rimraf from 'rimraf';
|
||||
import { CircularBuffer } from 'cirbuf';
|
||||
import split2 from 'split2';
|
||||
|
||||
import type { LoggerType } from '../types/Logging';
|
||||
import * as Errors from '../types/errors';
|
||||
import { createRotatingPinoDest } from '../util/rotatingPinoDest';
|
||||
|
||||
import * as log from './log';
|
||||
import { Environment, getEnvironment } from '../environment';
|
||||
import * as log from './log';
|
||||
|
||||
import type { FetchLogIpcData, LogEntryType } from './shared';
|
||||
import { LogLevel, cleanArgs, getLogLevelString, isLogEntry } from './shared';
|
||||
|
@ -161,21 +161,7 @@ export async function initialize(
|
|||
}
|
||||
|
||||
async function deleteAllLogs(logPath: string): Promise<void> {
|
||||
return new Promise((resolve, reject) => {
|
||||
rimraf(
|
||||
logPath,
|
||||
{
|
||||
disableGlob: true,
|
||||
},
|
||||
error => {
|
||||
if (error) {
|
||||
return reject(error);
|
||||
}
|
||||
|
||||
return resolve();
|
||||
}
|
||||
);
|
||||
});
|
||||
await rm(logPath, { recursive: true, force: true });
|
||||
}
|
||||
|
||||
async function cleanupLogs(logPath: string) {
|
||||
|
|
336
ts/scripts/check-upgradeable-deps.ts
Normal file
336
ts/scripts/check-upgradeable-deps.ts
Normal file
|
@ -0,0 +1,336 @@
|
|||
// Copyright 2024 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
/* eslint-disable no-await-in-loop */
|
||||
|
||||
import { join } from 'path';
|
||||
import { readFile } from 'fs/promises';
|
||||
import chalk from 'chalk';
|
||||
import semver from 'semver';
|
||||
import got from 'got';
|
||||
import enquirer from 'enquirer';
|
||||
import execa from 'execa';
|
||||
|
||||
const rootDir = join(__dirname, '..', '..');
|
||||
|
||||
function assert(condition: unknown, message: string): asserts condition {
|
||||
if (!condition) {
|
||||
throw new Error(message);
|
||||
}
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
async function readJsonFile(path: string): Promise<any> {
|
||||
return JSON.parse(await readFile(path, 'utf-8'));
|
||||
}
|
||||
|
||||
function parseNumberField(value: string | number | null | void): number | null {
|
||||
if (value == null) {
|
||||
return null;
|
||||
}
|
||||
if (typeof value === 'number') {
|
||||
return value;
|
||||
}
|
||||
const trimmed = value.trim();
|
||||
if (trimmed === '') {
|
||||
return null;
|
||||
}
|
||||
const parsed = Number(value);
|
||||
if (!Number.isFinite(parsed)) {
|
||||
return null;
|
||||
}
|
||||
return parsed;
|
||||
}
|
||||
|
||||
const npm = got.extend({
|
||||
prefixUrl: 'https://registry.npmjs.org/',
|
||||
responseType: 'json',
|
||||
retry: {
|
||||
calculateDelay: retry => {
|
||||
if (
|
||||
retry.error instanceof got.HTTPError &&
|
||||
retry.error.response.statusCode === 429
|
||||
) {
|
||||
const retryAfter = parseNumberField(
|
||||
retry.error.response.headers['retry-after']
|
||||
);
|
||||
if (retryAfter != null) {
|
||||
console.log(
|
||||
chalk.gray(`Rate limited, retrying after ${retryAfter} seconds`)
|
||||
);
|
||||
return retryAfter * 1000;
|
||||
}
|
||||
}
|
||||
|
||||
return retry.computedValue;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const DependencyTypes = [
|
||||
'dependencies',
|
||||
'devDependencies',
|
||||
'optionalDependencies',
|
||||
'peerDependencies',
|
||||
] as const;
|
||||
|
||||
type LocalDependency = Readonly<{
|
||||
name: string;
|
||||
depType: (typeof DependencyTypes)[number];
|
||||
requestedVersion: string;
|
||||
resolvedVersion: string;
|
||||
}>;
|
||||
|
||||
type FetchedDependency = LocalDependency &
|
||||
Readonly<{
|
||||
latestVersion: string;
|
||||
moduleType: 'commonjs' | 'esm';
|
||||
diff: semver.ReleaseType | null;
|
||||
}>;
|
||||
|
||||
async function main() {
|
||||
const packageJson = await readJsonFile(join(rootDir, 'package.json'));
|
||||
const packageLock = await readJsonFile(join(rootDir, 'package-lock.json'));
|
||||
|
||||
const localDeps: ReadonlyArray<LocalDependency> = DependencyTypes.flatMap(
|
||||
depType => {
|
||||
return Object.keys(packageJson[depType] ?? {}).map(name => {
|
||||
const requestedVersion = packageJson[depType][name];
|
||||
const resolvedVersion =
|
||||
packageLock.packages[`node_modules/${name}`]?.version;
|
||||
assert(resolvedVersion, `Could not find resolved version for ${name}`);
|
||||
|
||||
return { name, depType, requestedVersion, resolvedVersion };
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
console.log(chalk`Found {cyan ${localDeps.length}} local dependencies`);
|
||||
|
||||
const fetchedDeps: ReadonlyArray<FetchedDependency> = await Promise.all(
|
||||
localDeps.map(async dep => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const info: any = await npm(`${dep.name}/latest`).json();
|
||||
const latestVersion = info.version;
|
||||
const moduleType = info.type ?? 'commonjs';
|
||||
assert(
|
||||
moduleType === 'commonjs' || moduleType === 'module',
|
||||
`Unexpected module type for ${dep.name}: ${moduleType}`
|
||||
);
|
||||
const diff = semver.lt(dep.resolvedVersion, latestVersion)
|
||||
? semver.diff(dep.resolvedVersion, latestVersion)
|
||||
: null;
|
||||
return { ...dep, latestVersion, moduleType, diff };
|
||||
})
|
||||
);
|
||||
|
||||
const outdatedDeps = fetchedDeps.filter(dep => dep.diff != null);
|
||||
console.log(chalk`Found {cyan ${outdatedDeps.length}} outdated dependencies`);
|
||||
|
||||
const upgradeableDeps = outdatedDeps.filter(dep => {
|
||||
return dep.moduleType === 'commonjs';
|
||||
});
|
||||
|
||||
console.log(
|
||||
chalk`Found {cyan ${upgradeableDeps.length}} upgradeable dependencies`
|
||||
);
|
||||
|
||||
const upgradeableDepsByDiff = new Map<string, Set<string>>();
|
||||
|
||||
for (const dep of upgradeableDeps) {
|
||||
assert(dep.diff != null, 'Expected diff to be non-null');
|
||||
|
||||
let group = upgradeableDepsByDiff.get(dep.diff);
|
||||
if (group == null) {
|
||||
group = new Set();
|
||||
upgradeableDepsByDiff.set(dep.diff, group);
|
||||
}
|
||||
|
||||
group.add(dep.name);
|
||||
}
|
||||
|
||||
for (const [diff, deps] of upgradeableDepsByDiff) {
|
||||
console.log(chalk` - ${diff}: {cyan ${deps.size}}`);
|
||||
}
|
||||
|
||||
let longestNameLength = 0;
|
||||
for (const dep of upgradeableDeps) {
|
||||
longestNameLength = Math.max(longestNameLength, dep.name.length);
|
||||
}
|
||||
|
||||
const { approvedDeps } = await enquirer.prompt<{
|
||||
approvedDeps: ReadonlyArray<string>;
|
||||
}>({
|
||||
type: 'multiselect',
|
||||
name: 'approvedDeps',
|
||||
message: 'Select which dependencies to upgrade',
|
||||
choices: upgradeableDeps.map(deps => {
|
||||
let color = chalk.red;
|
||||
if (deps.diff === 'patch') {
|
||||
color = chalk.green;
|
||||
} else if (deps.diff === 'minor') {
|
||||
color = chalk.yellow;
|
||||
}
|
||||
|
||||
return {
|
||||
name: deps.name,
|
||||
message: `${deps.name.padEnd(longestNameLength)}`,
|
||||
hint: `(${color(deps.diff)}: ${deps.resolvedVersion} -> ${color(deps.latestVersion)})`,
|
||||
};
|
||||
}),
|
||||
});
|
||||
|
||||
console.log(
|
||||
chalk`Starting upgrade of {cyan ${approvedDeps.length}} dependencies`
|
||||
);
|
||||
|
||||
// eslint-disable no-await-in-loop
|
||||
for (const dep of upgradeableDeps) {
|
||||
try {
|
||||
if (!approvedDeps.includes(dep.name)) {
|
||||
console.log(chalk`Skipping ${dep.name}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
const gitStatusBefore = await execa('git', ['status', '--porcelain']);
|
||||
if (gitStatusBefore.stdout.trim() !== '') {
|
||||
console.error(chalk`{red Found uncommitted changes, exiting}`);
|
||||
console.error(chalk.red(gitStatusBefore.stdout));
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
console.log(
|
||||
chalk`Upgrading {cyan ${dep.name}} from {yellow ${dep.resolvedVersion}} to {magenta ${dep.latestVersion}}`
|
||||
);
|
||||
await execa(
|
||||
'npm',
|
||||
['install', '--save-exact', `${dep.name}@${dep.latestVersion}`],
|
||||
{ stdio: 'inherit' }
|
||||
);
|
||||
|
||||
// eslint-disable-next-line no-constant-condition
|
||||
while (true) {
|
||||
try {
|
||||
await execa(
|
||||
'npx',
|
||||
['patch-package', '--error-on-fail', '--error-on-warn'],
|
||||
{ stdio: 'inherit' }
|
||||
);
|
||||
break;
|
||||
} catch {
|
||||
const { retry } = await enquirer.prompt<{ retry: boolean }>({
|
||||
type: 'confirm',
|
||||
name: 'retry',
|
||||
message: 'Retry patch-package?',
|
||||
initial: true,
|
||||
});
|
||||
|
||||
if (!retry) {
|
||||
throw new Error('Failed to apply patch-package');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const { npmScriptsToRun } = await enquirer.prompt<{
|
||||
npmScriptsToRun: Array<string>;
|
||||
}>({
|
||||
type: 'multiselect',
|
||||
name: 'npmScriptsToRun',
|
||||
message: 'Select which scripts to run',
|
||||
choices: [
|
||||
// Fast and common
|
||||
{ name: 'eslint' },
|
||||
{ name: 'test-node' },
|
||||
{ name: 'test-electron' },
|
||||
// Long
|
||||
{ name: 'test-mock' },
|
||||
// Uncommon
|
||||
{ name: 'test-eslint' },
|
||||
{ name: 'test-lint-intl' },
|
||||
],
|
||||
});
|
||||
|
||||
const allNpmScriptToRun = [
|
||||
// Mandatory
|
||||
'generate',
|
||||
'check:types',
|
||||
'lint-deps',
|
||||
// Optional
|
||||
...npmScriptsToRun,
|
||||
];
|
||||
|
||||
for (const script of allNpmScriptToRun) {
|
||||
console.log(chalk`Running {cyan npm run ${script}}`);
|
||||
|
||||
// eslint-disable-next-line no-constant-condition
|
||||
while (true) {
|
||||
try {
|
||||
await execa('npm', ['run', script], { stdio: 'inherit' });
|
||||
break;
|
||||
} catch (error) {
|
||||
console.log(
|
||||
chalk.red(
|
||||
`Failed to run ${script}, you could go make changes and try again`
|
||||
)
|
||||
);
|
||||
|
||||
const { retry } = await enquirer.prompt<{
|
||||
retry: boolean;
|
||||
}>({
|
||||
type: 'confirm',
|
||||
name: 'retry',
|
||||
message: 'Retry running script?',
|
||||
initial: true,
|
||||
});
|
||||
|
||||
if (!retry) {
|
||||
throw error;
|
||||
} else {
|
||||
console.log(chalk`Retrying {cyan npm run ${script}}`);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
console.log('Changes after upgrade:');
|
||||
await execa('git', ['status', '--porcelain'], { stdio: 'inherit' });
|
||||
|
||||
const { commitChanges } = await enquirer.prompt<{
|
||||
commitChanges: boolean;
|
||||
}>({
|
||||
type: 'select',
|
||||
name: 'commitChanges',
|
||||
message: 'Commit these changes?',
|
||||
choices: [
|
||||
{ name: 'commit', message: 'Commit and continue', value: true },
|
||||
{ name: 'revert', message: 'Revert and skip', value: false },
|
||||
],
|
||||
});
|
||||
|
||||
if (!commitChanges) {
|
||||
console.log('Reverting changes, and skipping');
|
||||
await execa('git', ['checkout', '.']);
|
||||
continue;
|
||||
}
|
||||
|
||||
console.log('Committing changes');
|
||||
await execa('git', ['add', '.']);
|
||||
await execa('git', [
|
||||
'commit',
|
||||
'-m',
|
||||
`Upgrade ${dep.name} ${dep.depType} from ${dep.requestedVersion} to ${dep.latestVersion}`,
|
||||
]);
|
||||
} catch (error) {
|
||||
console.error(chalk.red(error));
|
||||
console.log(
|
||||
chalk.red(`Failed to upgrade ${dep.name}, reverting and skipping`)
|
||||
);
|
||||
await execa('git', ['checkout', '.']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main().catch(error => {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
});
|
|
@ -1,11 +1,20 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import fs from 'fs/promises';
|
||||
import { pathExists } from 'fs-extra';
|
||||
import path from 'path';
|
||||
import rimraf from 'rimraf';
|
||||
import type { AfterPackContext } from 'electron-builder';
|
||||
import fs, { readdir, rm } from 'node:fs/promises';
|
||||
import path from 'path';
|
||||
|
||||
async function safeReaddir(dir: string): Promise<Array<string> | null> {
|
||||
try {
|
||||
return await readdir(dir);
|
||||
} catch (error) {
|
||||
if (error.code === 'ENOENT') {
|
||||
return null;
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
export async function afterPack({
|
||||
appOutDir,
|
||||
|
@ -29,10 +38,8 @@ export async function afterPack({
|
|||
const versionsDir = path.join(frameworkDir, 'Versions');
|
||||
const currentVersion = path.join(versionsDir, 'Current');
|
||||
|
||||
let subFolders: Array<string>;
|
||||
if (await pathExists(currentVersion)) {
|
||||
subFolders = await fs.readdir(currentVersion);
|
||||
} else {
|
||||
let subFolders = await safeReaddir(currentVersion);
|
||||
if (subFolders == null) {
|
||||
console.error(`${currentVersion} not found`);
|
||||
subFolders = [];
|
||||
}
|
||||
|
@ -44,12 +51,13 @@ export async function afterPack({
|
|||
'Replacing electron framework symlink with real folder',
|
||||
sourcePath
|
||||
);
|
||||
rimraf.sync(targetPath);
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await rm(targetPath, { recursive: true, force: true });
|
||||
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await fs.rename(sourcePath, targetPath);
|
||||
}
|
||||
|
||||
console.log('Removing duplicate electron framework', versionsDir);
|
||||
rimraf.sync(versionsDir);
|
||||
await rm(versionsDir, { recursive: true, force: true });
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import asar from 'asar';
|
||||
import asar from '@electron/asar';
|
||||
import assert from 'assert';
|
||||
import { join } from 'path';
|
||||
import { _electron as electron } from 'playwright';
|
||||
|
|
199
ts/sql/Server.ts
199
ts/sql/Server.ts
|
@ -3,14 +3,13 @@
|
|||
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
import { mkdirSync } from 'fs';
|
||||
import { join } from 'path';
|
||||
import rimraf from 'rimraf';
|
||||
import { randomBytes } from 'crypto';
|
||||
import type { Database, Statement } from '@signalapp/better-sqlite3';
|
||||
import SQL from '@signalapp/better-sqlite3';
|
||||
import { z } from 'zod';
|
||||
import { randomBytes } from 'crypto';
|
||||
import { mkdirSync, rmSync } from 'node:fs';
|
||||
import { join } from 'path';
|
||||
import type { ReadonlyDeep } from 'type-fest';
|
||||
import { z } from 'zod';
|
||||
|
||||
import type { Dictionary } from 'lodash';
|
||||
import {
|
||||
|
@ -30,64 +29,101 @@ import {
|
|||
pick,
|
||||
} from 'lodash';
|
||||
|
||||
import * as Errors from '../types/errors';
|
||||
import { parseBadgeCategory } from '../badges/BadgeCategory';
|
||||
import { parseBadgeImageTheme } from '../badges/BadgeImageTheme';
|
||||
import type { BadgeImageType, BadgeType } from '../badges/types';
|
||||
import type { StoredJob } from '../jobs/types';
|
||||
import { formatCountForLogging } from '../logging/formatCountForLogging';
|
||||
import { ReadStatus } from '../messages/MessageReadStatus';
|
||||
import type { GroupV2MemberType } from '../model-types.d';
|
||||
import type { ConversationColorType, CustomColorType } from '../types/Colors';
|
||||
import type { LoggerType } from '../types/Logging';
|
||||
import type { ReactionType } from '../types/Reactions';
|
||||
import { ReactionReadStatus } from '../types/Reactions';
|
||||
import type { AciString, ServiceIdString } from '../types/ServiceId';
|
||||
import { isServiceIdString } from '../types/ServiceId';
|
||||
import { STORAGE_UI_KEYS } from '../types/StorageUIKeys';
|
||||
import type { StoryDistributionIdString } from '../types/StoryDistributionId';
|
||||
import type { ServiceIdString, AciString } from '../types/ServiceId';
|
||||
import { isServiceIdString } from '../types/ServiceId';
|
||||
import type { StoredJob } from '../jobs/types';
|
||||
import * as Errors from '../types/errors';
|
||||
import { assertDev, strictAssert } from '../util/assert';
|
||||
import { combineNames } from '../util/combineNames';
|
||||
import { consoleLogger } from '../util/consoleLogger';
|
||||
import { dropNull } from '../util/dropNull';
|
||||
import * as durations from '../util/durations';
|
||||
import { generateMessageId } from '../util/generateMessageId';
|
||||
import { isNormalNumber } from '../util/isNormalNumber';
|
||||
import { isNotNil } from '../util/isNotNil';
|
||||
import { parseIntOrThrow } from '../util/parseIntOrThrow';
|
||||
import * as durations from '../util/durations';
|
||||
import { generateMessageId } from '../util/generateMessageId';
|
||||
import { formatCountForLogging } from '../logging/formatCountForLogging';
|
||||
import type { ConversationColorType, CustomColorType } from '../types/Colors';
|
||||
import type { BadgeType, BadgeImageType } from '../badges/types';
|
||||
import { parseBadgeCategory } from '../badges/BadgeCategory';
|
||||
import { parseBadgeImageTheme } from '../badges/BadgeImageTheme';
|
||||
import type { LoggerType } from '../types/Logging';
|
||||
import { updateSchema } from './migrations';
|
||||
import type {
|
||||
EmptyQuery,
|
||||
ArrayQuery,
|
||||
Query,
|
||||
EmptyQuery,
|
||||
JSONRows,
|
||||
Query,
|
||||
QueryFragment,
|
||||
} from './util';
|
||||
import {
|
||||
sqlConstant,
|
||||
sqlJoin,
|
||||
sqlFragment,
|
||||
sql,
|
||||
jsonToObject,
|
||||
objectToJSON,
|
||||
batchMultiVarQuery,
|
||||
getCountFromTable,
|
||||
removeById,
|
||||
removeAllFromTable,
|
||||
getAllFromTable,
|
||||
getById,
|
||||
bulkAdd,
|
||||
createOrUpdate,
|
||||
setUserVersion,
|
||||
getUserVersion,
|
||||
getAllFromTable,
|
||||
getById,
|
||||
getCountFromTable,
|
||||
getSchemaVersion,
|
||||
getUserVersion,
|
||||
jsonToObject,
|
||||
objectToJSON,
|
||||
removeAllFromTable,
|
||||
removeById,
|
||||
setUserVersion,
|
||||
sql,
|
||||
sqlConstant,
|
||||
sqlFragment,
|
||||
sqlJoin,
|
||||
} from './util';
|
||||
import { updateSchema } from './migrations';
|
||||
|
||||
import { getAttachmentCiphertextLength } from '../AttachmentCrypto';
|
||||
import { SeenStatus } from '../MessageSeenStatus';
|
||||
import {
|
||||
attachmentBackupJobSchema,
|
||||
type AttachmentBackupJobType,
|
||||
} from '../types/AttachmentBackup';
|
||||
import {
|
||||
attachmentDownloadJobSchema,
|
||||
type AttachmentDownloadJobType,
|
||||
} from '../types/AttachmentDownload';
|
||||
import type {
|
||||
CallHistoryDetails,
|
||||
CallHistoryFilter,
|
||||
CallHistoryGroup,
|
||||
CallHistoryPagination,
|
||||
CallLogEventTarget,
|
||||
} from '../types/CallDisposition';
|
||||
import {
|
||||
CallDirection,
|
||||
CallHistoryFilterStatus,
|
||||
CallMode,
|
||||
CallStatusValue,
|
||||
CallType,
|
||||
DirectCallStatus,
|
||||
GroupCallStatus,
|
||||
callHistoryDetailsSchema,
|
||||
callHistoryGroupSchema,
|
||||
} from '../types/CallDisposition';
|
||||
import { redactGenericText } from '../util/privacy';
|
||||
import { parseStrict, parseUnknown, safeParseUnknown } from '../util/schemas';
|
||||
import {
|
||||
SNIPPET_LEFT_PLACEHOLDER,
|
||||
SNIPPET_RIGHT_PLACEHOLDER,
|
||||
SNIPPET_TRUNCATION_PLACEHOLDER,
|
||||
} from '../util/search';
|
||||
import type { SyncTaskType } from '../util/syncTasks';
|
||||
import { MAX_SYNC_TASK_ATTEMPTS } from '../util/syncTasks.types';
|
||||
import { isMoreRecentThan } from '../util/timestamp';
|
||||
import type {
|
||||
ReadableDB,
|
||||
WritableDB,
|
||||
AdjacentMessagesByConversationOptionsType,
|
||||
StoredAllItemsType,
|
||||
BackupCdnMediaObjectType,
|
||||
ConversationMessageStatsType,
|
||||
ConversationMetricsType,
|
||||
ConversationType,
|
||||
DeleteSentProtoRecipientOptionsType,
|
||||
|
@ -97,14 +133,12 @@ import type {
|
|||
GetAllStoriesResultType,
|
||||
GetConversationRangeCenteredOnMessageResultType,
|
||||
GetKnownMessageAttachmentsResultType,
|
||||
GetNearbyMessageFromDeletedSetOptionsType,
|
||||
GetRecentStoryRepliesOptionsType,
|
||||
GetUnreadByConversationAndMarkReadResultType,
|
||||
IdentityKeyIdType,
|
||||
StoredIdentityKeyType,
|
||||
InstalledStickerPackType,
|
||||
ItemKeyType,
|
||||
StoredItemType,
|
||||
ConversationMessageStatsType,
|
||||
MessageAttachmentsCursorType,
|
||||
MessageCursorType,
|
||||
MessageMetricsType,
|
||||
|
@ -114,8 +148,7 @@ import type {
|
|||
PageMessagesResultType,
|
||||
PreKeyIdType,
|
||||
ReactionResultType,
|
||||
StoredPreKeyType,
|
||||
ServerSearchResultMessageType,
|
||||
ReadableDB,
|
||||
SenderKeyIdType,
|
||||
SenderKeyType,
|
||||
SentMessageDBType,
|
||||
|
@ -125,15 +158,21 @@ import type {
|
|||
SentRecipientsDBType,
|
||||
SentRecipientsType,
|
||||
ServerReadableInterface,
|
||||
ServerSearchResultMessageType,
|
||||
ServerWritableInterface,
|
||||
SessionIdType,
|
||||
SessionType,
|
||||
SignedPreKeyIdType,
|
||||
StoredSignedPreKeyType,
|
||||
StickerPackInfoType,
|
||||
StickerPackStatusType,
|
||||
StickerPackType,
|
||||
StickerType,
|
||||
StoredAllItemsType,
|
||||
StoredIdentityKeyType,
|
||||
StoredItemType,
|
||||
StoredKyberPreKeyType,
|
||||
StoredPreKeyType,
|
||||
StoredSignedPreKeyType,
|
||||
StoryDistributionMemberType,
|
||||
StoryDistributionType,
|
||||
StoryDistributionWithMembersType,
|
||||
|
@ -141,80 +180,40 @@ import type {
|
|||
UninstalledStickerPackType,
|
||||
UnprocessedType,
|
||||
UnprocessedUpdateType,
|
||||
GetNearbyMessageFromDeletedSetOptionsType,
|
||||
StoredKyberPreKeyType,
|
||||
BackupCdnMediaObjectType,
|
||||
WritableDB,
|
||||
} from './Interface';
|
||||
import { AttachmentDownloadSource } from './Interface';
|
||||
import { SeenStatus } from '../MessageSeenStatus';
|
||||
import {
|
||||
SNIPPET_LEFT_PLACEHOLDER,
|
||||
SNIPPET_RIGHT_PLACEHOLDER,
|
||||
SNIPPET_TRUNCATION_PLACEHOLDER,
|
||||
} from '../util/search';
|
||||
import type {
|
||||
CallHistoryDetails,
|
||||
CallHistoryFilter,
|
||||
CallHistoryGroup,
|
||||
CallHistoryPagination,
|
||||
CallLogEventTarget,
|
||||
} from '../types/CallDisposition';
|
||||
import {
|
||||
DirectCallStatus,
|
||||
callHistoryGroupSchema,
|
||||
CallHistoryFilterStatus,
|
||||
callHistoryDetailsSchema,
|
||||
CallDirection,
|
||||
GroupCallStatus,
|
||||
CallType,
|
||||
CallStatusValue,
|
||||
CallMode,
|
||||
} from '../types/CallDisposition';
|
||||
import {
|
||||
_removeAllCallLinks,
|
||||
beginDeleteAllCallLinks,
|
||||
beginDeleteCallLink,
|
||||
callLinkExists,
|
||||
defunctCallLinkExists,
|
||||
deleteCallHistoryByRoomId,
|
||||
deleteCallLinkAndHistory,
|
||||
deleteCallLinkFromSync,
|
||||
finalizeDeleteCallLink,
|
||||
getAllAdminCallLinks,
|
||||
getAllCallLinkRecordsWithAdminKey,
|
||||
getAllCallLinks,
|
||||
getAllDefunctCallLinksWithAdminKey,
|
||||
getAllMarkedDeletedCallLinkRoomIds,
|
||||
getCallLinkByRoomId,
|
||||
getCallLinkRecordByRoomId,
|
||||
insertCallLink,
|
||||
insertDefunctCallLink,
|
||||
updateCallLink,
|
||||
updateCallLinkAdminKeyByRoomId,
|
||||
updateCallLinkState,
|
||||
beginDeleteAllCallLinks,
|
||||
deleteCallHistoryByRoomId,
|
||||
deleteCallLinkAndHistory,
|
||||
getAllAdminCallLinks,
|
||||
getAllCallLinkRecordsWithAdminKey,
|
||||
getAllDefunctCallLinksWithAdminKey,
|
||||
getAllMarkedDeletedCallLinkRoomIds,
|
||||
finalizeDeleteCallLink,
|
||||
beginDeleteCallLink,
|
||||
deleteCallLinkFromSync,
|
||||
_removeAllCallLinks,
|
||||
insertDefunctCallLink,
|
||||
updateDefunctCallLink,
|
||||
} from './server/callLinks';
|
||||
import {
|
||||
replaceAllEndorsementsForGroup,
|
||||
deleteAllEndorsementsForGroup,
|
||||
getGroupSendCombinedEndorsementExpiration,
|
||||
getGroupSendEndorsementsData,
|
||||
getGroupSendMemberEndorsement,
|
||||
replaceAllEndorsementsForGroup,
|
||||
} from './server/groupSendEndorsements';
|
||||
import {
|
||||
attachmentDownloadJobSchema,
|
||||
type AttachmentDownloadJobType,
|
||||
} from '../types/AttachmentDownload';
|
||||
import { MAX_SYNC_TASK_ATTEMPTS } from '../util/syncTasks.types';
|
||||
import type { SyncTaskType } from '../util/syncTasks';
|
||||
import { isMoreRecentThan } from '../util/timestamp';
|
||||
import {
|
||||
type AttachmentBackupJobType,
|
||||
attachmentBackupJobSchema,
|
||||
} from '../types/AttachmentBackup';
|
||||
import { redactGenericText } from '../util/privacy';
|
||||
import { getAttachmentCiphertextLength } from '../AttachmentCrypto';
|
||||
import { parseStrict, parseUnknown, safeParseUnknown } from '../util/schemas';
|
||||
|
||||
type ConversationRow = Readonly<{
|
||||
json: string;
|
||||
|
@ -825,9 +824,9 @@ export function removeDB(): void {
|
|||
}
|
||||
|
||||
logger.warn('removeDB: Removing all database files');
|
||||
rimraf.sync(databaseFilePath);
|
||||
rimraf.sync(`${databaseFilePath}-shm`);
|
||||
rimraf.sync(`${databaseFilePath}-wal`);
|
||||
rmSync(databaseFilePath, { recursive: true, force: true });
|
||||
rmSync(`${databaseFilePath}-shm`, { recursive: true, force: true });
|
||||
rmSync(`${databaseFilePath}-wal`, { recursive: true, force: true });
|
||||
}
|
||||
|
||||
function removeIndexedDBFiles(_db: WritableDB): void {
|
||||
|
@ -838,7 +837,7 @@ function removeIndexedDBFiles(_db: WritableDB): void {
|
|||
}
|
||||
|
||||
const pattern = join(indexedDBPath, '*.leveldb');
|
||||
rimraf.sync(pattern);
|
||||
rmSync(pattern, { recursive: true, force: true });
|
||||
indexedDBPath = undefined;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,50 +4,50 @@
|
|||
/* eslint-disable no-console */
|
||||
import { createWriteStream } from 'fs';
|
||||
import { pathExists } from 'fs-extra';
|
||||
import { readdir, stat, writeFile, mkdir } from 'fs/promises';
|
||||
import { join, normalize, extname } from 'path';
|
||||
import { tmpdir, release as osRelease } from 'os';
|
||||
import { mkdir, readdir, stat, writeFile } from 'fs/promises';
|
||||
import { throttle } from 'lodash';
|
||||
import { release as osRelease, tmpdir } from 'os';
|
||||
import { extname, join, normalize } from 'path';
|
||||
|
||||
import config from 'config';
|
||||
import type { ParserConfiguration } from 'dashdash';
|
||||
import { createParser } from 'dashdash';
|
||||
import { FAILSAFE_SCHEMA, safeLoad } from 'js-yaml';
|
||||
import { gt, gte, lt } from 'semver';
|
||||
import config from 'config';
|
||||
import got from 'got';
|
||||
import { v4 as getGuid } from 'uuid';
|
||||
import type { BrowserWindow } from 'electron';
|
||||
import { app, ipcMain } from 'electron';
|
||||
|
||||
import * as durations from '../util/durations';
|
||||
import { missingCaseError } from '../util/missingCaseError';
|
||||
import { getTempPath, getUpdateCachePath } from '../../app/attachments';
|
||||
import { markShouldNotQuit, markShouldQuit } from '../../app/window_state';
|
||||
import { DialogType } from '../types/Dialogs';
|
||||
import * as Errors from '../types/errors';
|
||||
import { isAlpha, isBeta, isStaging } from '../util/version';
|
||||
import { strictAssert } from '../util/assert';
|
||||
import { drop } from '../util/drop';
|
||||
import * as durations from '../util/durations';
|
||||
import { isAlpha, isBeta, isStaging } from '../util/version';
|
||||
|
||||
import * as packageJson from '../../package.json';
|
||||
import type { SettingsChannel } from '../main/settingsChannel';
|
||||
import { isPathInside } from '../util/isPathInside';
|
||||
import {
|
||||
getSignatureFileName,
|
||||
hexToBinary,
|
||||
verifySignature,
|
||||
getSignatureFileName,
|
||||
} from './signature';
|
||||
import { isPathInside } from '../util/isPathInside';
|
||||
import type { SettingsChannel } from '../main/settingsChannel';
|
||||
|
||||
import type { LoggerType } from '../types/Logging';
|
||||
import { getGotOptions } from './got';
|
||||
import { checkIntegrity, gracefulRename, gracefulRimraf } from './util';
|
||||
import type { PrepareDownloadResultType as DifferentialDownloadDataType } from './differential';
|
||||
import {
|
||||
prepareDownload as prepareDifferentialDownload,
|
||||
download as downloadDifferentialData,
|
||||
getBlockMapFileName,
|
||||
isValidPreparedData as isValidDifferentialData,
|
||||
prepareDownload as prepareDifferentialDownload,
|
||||
} from './differential';
|
||||
import { getGotOptions } from './got';
|
||||
import { checkIntegrity, gracefulRename, gracefulRmRecursive } from './util';
|
||||
|
||||
const POLL_INTERVAL = 30 * durations.MINUTE;
|
||||
|
||||
|
@ -732,7 +732,7 @@ export abstract class Updater {
|
|||
// We could have failed to update differentially due to low free disk
|
||||
// space. Remove all cached updates since we are doing a full download
|
||||
// anyway.
|
||||
await gracefulRimraf(this.logger, cacheDir);
|
||||
await gracefulRmRecursive(this.logger, cacheDir);
|
||||
cacheDir = await createUpdateCacheDirIfNeeded();
|
||||
|
||||
await this.downloadAndReport(
|
||||
|
@ -1067,7 +1067,7 @@ export async function deleteTempDir(
|
|||
);
|
||||
}
|
||||
|
||||
await gracefulRimraf(logger, targetDir);
|
||||
await gracefulRmRecursive(logger, targetDir);
|
||||
}
|
||||
|
||||
export function getCliOptions<T>(options: ParserConfiguration['options']): T {
|
||||
|
|
|
@ -1,20 +1,16 @@
|
|||
// Copyright 2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { createReadStream } from 'fs';
|
||||
import { rename } from 'fs/promises';
|
||||
import { pipeline } from 'stream/promises';
|
||||
import { createHash } from 'crypto';
|
||||
import rimraf from 'rimraf';
|
||||
import { promisify } from 'util';
|
||||
import { createReadStream } from 'fs';
|
||||
import { rename, rm } from 'fs/promises';
|
||||
import { pipeline } from 'stream/promises';
|
||||
|
||||
import * as Errors from '../types/errors';
|
||||
import type { LoggerType } from '../types/Logging';
|
||||
import * as Errors from '../types/errors';
|
||||
import * as durations from '../util/durations';
|
||||
import { isOlderThan } from '../util/timestamp';
|
||||
import { sleep } from '../util/sleep';
|
||||
|
||||
const rimrafPromise = promisify(rimraf);
|
||||
import { isOlderThan } from '../util/timestamp';
|
||||
|
||||
export type CheckIntegrityResultType = Readonly<
|
||||
| {
|
||||
|
@ -125,13 +121,17 @@ export async function gracefulRename(
|
|||
});
|
||||
}
|
||||
|
||||
export async function gracefulRimraf(
|
||||
function rmRecursive(path: string): Promise<void> {
|
||||
return rm(path, { recursive: true, force: true });
|
||||
}
|
||||
|
||||
export async function gracefulRmRecursive(
|
||||
logger: LoggerType,
|
||||
path: string
|
||||
): Promise<void> {
|
||||
return doGracefulFSOperation({
|
||||
name: 'rimraf',
|
||||
operation: rimrafPromise,
|
||||
name: 'rmRecursive',
|
||||
operation: rmRecursive,
|
||||
args: [path],
|
||||
logger,
|
||||
startedAt: Date.now(),
|
||||
|
|
|
@ -51,11 +51,11 @@
|
|||
"updated": "2024-06-25T17:33:38.376Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@ndelangen/get-tarball/dist/index.js",
|
||||
"line": " \"innerHTML\",",
|
||||
"rule": "eval",
|
||||
"path": "node_modules/@jsonjoy.com/util/lib/codegen/compile.js",
|
||||
"line": "const compile = (js) => eval(js);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
"updated": "2024-11-13T23:42:33.044Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
|
@ -65,125 +65,6 @@
|
|||
"updated": "2018-09-18T19:19:27.699Z",
|
||||
"reasonDetail": "What's being eval'd is a static string"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dialog/dist/index.js",
|
||||
"line": " const triggerRef = React.useRef(null);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dialog/dist/index.js",
|
||||
"line": " const contentRef = React.useRef(null);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dialog/dist/index.js",
|
||||
"line": " const contentRef = React.useRef(null);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dialog/dist/index.js",
|
||||
"line": " const hasInteractedOutsideRef = React.useRef(false);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dialog/dist/index.js",
|
||||
"line": " const hasPointerDownOutsideRef = React.useRef(false);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dialog/dist/index.js",
|
||||
"line": " const contentRef = React.useRef(null);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dismissable-layer/dist/index.js",
|
||||
"line": " const ref = React.useRef(null);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dismissable-layer/dist/index.js",
|
||||
"line": " const isPointerInsideReactTreeRef = React.useRef(false);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dismissable-layer/dist/index.js",
|
||||
"line": " const handleClickRef = React.useRef(() => {",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-dismissable-layer/dist/index.js",
|
||||
"line": " const isFocusInsideReactTreeRef = React.useRef(false);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-focus-scope/dist/index.js",
|
||||
"line": " const lastFocusedElementRef = React.useRef(null);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-focus-scope/dist/index.js",
|
||||
"line": " const focusScope = React.useRef({",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-presence/dist/index.js",
|
||||
"line": " const stylesRef = React2.useRef({});",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-presence/dist/index.js",
|
||||
"line": " const prevPresentRef = React2.useRef(present);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-presence/dist/index.js",
|
||||
"line": " const prevAnimationNameRef = React2.useRef(\"none\");",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-use-callback-ref/dist/index.js",
|
||||
"line": " const callbackRef = React.useRef(callback);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@radix-ui/react-use-controllable-state/dist/index.js",
|
||||
"line": " const prevValueRef = React.useRef(value);",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/@react-spring/animated/dist/react-spring-animated.cjs.dev.js",
|
||||
|
@ -410,45 +291,225 @@
|
|||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-342a062d.js",
|
||||
"line": " pass: element.innerHTML === '',",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
|
||||
"line": " if (!element || !('innerHTML' in element)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-342a062d.js",
|
||||
"line": " ` ${this.utils.printReceived(element.innerHTML)}`,",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
|
||||
"line": " if (!element.innerHTML) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-342a062d.js",
|
||||
"line": " ` ${this.utils.printReceived(element.innerHTML)}`,",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-342a062d.js",
|
||||
"line": " div.innerHTML = htmlText;",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-342a062d.js",
|
||||
"line": " return div.innerHTML",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
|
||||
"line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-342a062d.js",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
|
||||
"line": " if (!('outerHTML' in dom)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
|
||||
"line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
|
||||
"line": " if (!element || !('innerHTML' in element)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
|
||||
"line": " if (!element.innerHTML) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
|
||||
"line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
|
||||
"line": " if (!('outerHTML' in dom)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
|
||||
"line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
|
||||
"line": "\t if (!element || !('innerHTML' in element)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
|
||||
"line": "\t if (!element.innerHTML) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
|
||||
"line": "\t const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
|
||||
"line": "\t if (!('outerHTML' in dom)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
|
||||
"line": "\t return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/pretty-dom.js",
|
||||
"line": " if (!('outerHTML' in dom)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/pretty-dom.js",
|
||||
"line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? `${debugContent.slice(0, maxLength)}...` : debugContent;",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/screen.js",
|
||||
"line": " if (!element || !('innerHTML' in element)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/screen.js",
|
||||
"line": " if (!element.innerHTML) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/dom/dist/screen.js",
|
||||
"line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
|
||||
"line": " pass: element.innerHTML === '',",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
|
||||
"line": " ` ${this.utils.printReceived(element.innerHTML)}`,",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
|
||||
"line": " ` ${this.utils.printReceived(element.innerHTML)}`,",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
|
||||
"line": " div.innerHTML = htmlText;",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
|
||||
"line": " return div.innerHTML",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
|
||||
"line": " pass: container.outerHTML.includes(getNormalizedHtml(container, htmlText)),",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:31:32.324Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
|
@ -478,6 +539,30 @@
|
|||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-13T00:52:21.453Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/axe-core/axe.js",
|
||||
"line": " if (!(element !== null && element !== void 0 && element.outerHTML)) {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:33:49.776Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/axe-core/axe.js",
|
||||
"line": " var outerHTML = node.outerHTML;",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:33:49.776Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/axe-core/axe.js",
|
||||
"line": " node = cache_default.get(outerHTML, function() {",
|
||||
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
|
||||
"updated": "2024-11-13T23:33:49.776Z",
|
||||
"reasonDetail": "<optional>"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/axe-core/axe.js",
|
||||
|
@ -497,41 +582,6 @@
|
|||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-13T17:31:15.352Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/axe-core/doc/examples/jest_react/test-helpers.js",
|
||||
"line": "\twrapper.innerHTML = '';",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-06-24T19:19:28.335Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/axe-core/lib/core/utils/dq-element.js",
|
||||
"line": "\tvar source = element.outerHTML;",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-13T00:52:21.453Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/axe-core/lib/core/utils/dq-element.js",
|
||||
"line": " * grab the source (outerHTML) and offer an array for storing frame paths",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-13T00:52:21.453Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/axe-core/lib/core/utils/pollyfills.js",
|
||||
"line": "\tstyle.innerHTML = usePointer",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-13T17:31:15.352Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/axe-core/lib/core/utils/valid-langs.js",
|
||||
"line": "const str = document.querySelector('pre').innerHTML;",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2021-04-13T17:31:15.352Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/config/lib/config.js",
|
||||
|
@ -553,34 +603,6 @@
|
|||
"reasonCategory": "falseMatch",
|
||||
"updated": "2023-01-11T23:51:00.603Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/es5-ext/node_modules/type/test/_lib/arrow-function-if-supported.js",
|
||||
"line": "try { module.exports = eval(\"(() => {})\"); }",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-06-24T19:19:28.335Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/es5-ext/node_modules/type/test/_lib/class-if-supported.js",
|
||||
"line": "try { module.exports = eval(\"(class {})\"); }",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-06-24T19:19:28.335Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/esniff/node_modules/d/node_modules/type/test/_lib/arrow-function-if-supported.js",
|
||||
"line": "try { module.exports = eval(\"(() => {})\"); }",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-06-24T19:19:28.335Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/esniff/node_modules/d/node_modules/type/test/_lib/class-if-supported.js",
|
||||
"line": "try { module.exports = eval(\"(class {})\"); }",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-06-24T19:19:28.335Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-ref",
|
||||
"path": "node_modules/esquery/dist/esquery.esm.min.js",
|
||||
|
@ -666,36 +688,6 @@
|
|||
"updated": "2021-02-16T19:08:17.452Z",
|
||||
"reasonDetail": "Hard-coded string used for testing capabilities."
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2022-07-26T23:41:36.800Z",
|
||||
"reasonDetail": "Part of keyword list for preservation in final minified build"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/html-minifier-terser/node_modules/terser/dist/bundle.min.js",
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2022-07-26T23:41:36.800Z",
|
||||
"reasonDetail": "Part of keyword list for preservation in final minified build"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/html-minifier-terser/node_modules/terser/tools/domprops.js",
|
||||
"line": " \"innerHTML\",",
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2022-07-26T23:41:36.800Z",
|
||||
"reasonDetail": "Part of keyword list for preservation in final minified build"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-outerHTML",
|
||||
"path": "node_modules/html-minifier-terser/node_modules/terser/tools/domprops.js",
|
||||
"line": " \"outerHTML\",",
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2022-07-26T23:41:36.800Z",
|
||||
"reasonDetail": "Part of keyword list for preservation in final minified build"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/intl-tel-input/build/js/intlTelInput-jquery.js",
|
||||
|
@ -1379,42 +1371,6 @@
|
|||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/react-colorful/dist/index.esmodule.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/react-colorful/dist/index.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-colorful/dist/index.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/react-colorful/dist/index.module.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/react-colorful/dist/index.umd.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-colorful/dist/index.umd.js",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-04T00:50:49.405Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/react-quill/dist/react-quill.js",
|
||||
|
@ -1460,118 +1416,6 @@
|
|||
"updated": "2020-10-13T18:36:57.012Z",
|
||||
"reasonDetail": "necessary for react-quill"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2015/SideEffect.js",
|
||||
"line": " var shouldPreventQueue = React.useRef([]);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2015/SideEffect.js",
|
||||
"line": " var touchStartRef = React.useRef([0, 0]);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2015/SideEffect.js",
|
||||
"line": " var activeAxis = React.useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2015/SideEffect.js",
|
||||
"line": " var lastProps = React.useRef(props);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2015/UI.js",
|
||||
"line": " var ref = React.useRef(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2019/SideEffect.js",
|
||||
"line": " const shouldPreventQueue = React.useRef([]);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2019/SideEffect.js",
|
||||
"line": " const touchStartRef = React.useRef([0, 0]);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2019/SideEffect.js",
|
||||
"line": " const activeAxis = React.useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2019/SideEffect.js",
|
||||
"line": " const lastProps = React.useRef(props);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es2019/UI.js",
|
||||
"line": " const ref = React.useRef(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es5/SideEffect.js",
|
||||
"line": " var shouldPreventQueue = React.useRef([]);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es5/SideEffect.js",
|
||||
"line": " var touchStartRef = React.useRef([0, 0]);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es5/SideEffect.js",
|
||||
"line": " var activeAxis = React.useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es5/SideEffect.js",
|
||||
"line": " var lastProps = React.useRef(props);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/es5/UI.js",
|
||||
"line": " var ref = React.useRef(null);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-remove-scroll/dist/index.js",
|
||||
"line": " var t = n.useRef(null), c = n.useState({onScrollCapture: l, onWheelCapture: l, onTouchMoveCapture: l}), u = c[0],",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.cjs.js",
|
||||
|
@ -1705,117 +1549,6 @@
|
|||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-04-30T22:35:27.860Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/tocbot/dist/tocbot.js",
|
||||
"line": " tocElement.innerHTML = ''",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/tocbot/dist/tocbot.min.js",
|
||||
"reasonCategory": "notExercisedByOurApp",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/tocbot/src/js/index-esm.js",
|
||||
"line": " tocElement.innerHTML = ''",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "node_modules/tocbot/src/js/server-render.js",
|
||||
"line": " return toc && toc.innerHTML",
|
||||
"reasonCategory": "testCode",
|
||||
"updated": "2024-07-03T21:07:45.309Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2015/assignRef.js",
|
||||
"line": " * const refObject = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2015/mergeRef.js",
|
||||
"line": " * const ownRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2015/refToCallback.js",
|
||||
"line": " * const ref = useRef(0);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2015/useMergeRef.js",
|
||||
"line": " * const ownRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2019/assignRef.js",
|
||||
"line": " * const refObject = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2019/mergeRef.js",
|
||||
"line": " * const ownRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2019/refToCallback.js",
|
||||
"line": " * const ref = useRef(0);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es2019/useMergeRef.js",
|
||||
"line": " * const ownRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es5/assignRef.js",
|
||||
"line": " * const refObject = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es5/mergeRef.js",
|
||||
"line": " * const ownRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es5/refToCallback.js",
|
||||
"line": " * const ref = useRef(0);",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-callback-ref/dist/es5/useMergeRef.js",
|
||||
"line": " * const ownRef = useRef();",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-composed-ref/dist/use-composed-ref.cjs.js",
|
||||
|
@ -1851,48 +1584,6 @@
|
|||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2022-06-16T23:23:32.306Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-sidecar/dist/es2015/renderProp.js",
|
||||
"line": " var defaultState = React.useRef(defaults(props));",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-sidecar/dist/es2015/renderProp.js",
|
||||
"line": " var ref = React.useRef(function (state) { return (defaultState.current = state); });",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-sidecar/dist/es2019/renderProp.js",
|
||||
"line": " const defaultState = React.useRef(defaults(props));",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-sidecar/dist/es2019/renderProp.js",
|
||||
"line": " const ref = React.useRef((state) => (defaultState.current = state));",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-sidecar/dist/es5/renderProp.js",
|
||||
"line": " var defaultState = React.useRef(defaults(props));",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "React-useRef",
|
||||
"path": "node_modules/use-sidecar/dist/es5/renderProp.js",
|
||||
"line": " var ref = React.useRef(function (state) { return (defaultState.current = state); });",
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2023-10-03T18:55:06.301Z"
|
||||
},
|
||||
{
|
||||
"rule": "eval",
|
||||
"path": "node_modules/workerpool/dist/worker.js",
|
||||
|
|
Loading…
Reference in a new issue