diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 263d3e9..d21d6c2 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -1,7 +1,7 @@ root: true extends: - - 'plugin:@typescript-eslint/recommended' + - plugin:@typescript-eslint/recommended - plugin:node/recommended - plugin:github/recommended - plugin:promise/recommended @@ -14,7 +14,7 @@ extends: #- plugin:sonarjs/recommended - plugin:ava/recommended - xo - #- prettier + - plugin:prettier/recommended plugins: - '@typescript-eslint' @@ -37,7 +37,7 @@ parser: '@typescript-eslint/parser' parserOptions: ecmaVersion: 2020 - project: './**/tsconfig*.json' + project: ./**/tsconfig*.json overrides: - files: '*.{c,m,}ts' @@ -45,10 +45,10 @@ overrides: - plugin:github/typescript - plugin:import/typescript - xo-typescript - #- prettier + - plugin:prettier/recommended parserOptions: ecmaVersion: 2020 - project: './**/tsconfig*.json' + project: ./**/tsconfig*.json rules: '@typescript-eslint/naming-convention': [ @@ -86,8 +86,8 @@ overrides: { args: after-used, ignoreRestSiblings: true, - varsIgnorePattern: '^_', - argsIgnorePattern: '^_', + varsIgnorePattern: ^_, + argsIgnorePattern: ^_, }, ] '@typescript-eslint/consistent-type-definitions': [warn, interface] @@ -137,5 +137,3 @@ rules: ava/no-import-test-files: off ava/no-skip-test: warn ava/no-skip-assert: warn - # broken - prettier/prettier: off diff --git a/package.json b/package.json index 4364a03..60459fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@qlever-llc/unfisk", - "version": "2.1.0", + "version": "2.2.0", "description": "OADA uservice to \"unflatten\" a list into a list of links", "author": "Alex Layton ", "license": "Apache-2.0", @@ -61,10 +61,10 @@ "@tsconfig/node16": "^16.1.3", "@types/convict": "^6.1.6", "@types/debug": "^4.1.12", - "@types/node": "^20.12.11", + "@types/node": "^20.12.12", "@types/prettier": "^3.0.0", - "@typescript-eslint/eslint-plugin": "^7.8.0", - "@typescript-eslint/parser": "^7.8.0", + "@typescript-eslint/eslint-plugin": "^7.10.0", + "@typescript-eslint/parser": "^7.10.0", "@yarnpkg/sdks": "^3.1.2", "ava": "6.1.3", "c8": "^9.1.0", @@ -75,16 +75,16 @@ "eslint-formatter-pretty": "^6.0.1", "eslint-import-resolver-node": "^0.3.9", "eslint-plugin-array-func": "^5.0.1", - "eslint-plugin-ava": "^15.0.0", + "eslint-plugin-ava": "^15.0.1", "eslint-plugin-escompat": "^3.4.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^4.10.2", + "eslint-plugin-github": "^5.0.0-2", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-no-constructor-bind": "^2.0.4", "eslint-plugin-no-only-tests": "^3.1.0", - "eslint-plugin-no-secrets": "^0.9.1", + "eslint-plugin-no-secrets": "^1.0.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-notice": "^0.9.10", "eslint-plugin-optimize-regex": "^1.2.1", diff --git a/src/index.ts b/src/index.ts index 504b47d..92ab1e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -81,7 +81,7 @@ async function unfisk(token: string) { body: data as any, path: '', resource_id: data._id as string, - }; + } as const; trace({ change: fakeChange }, 'Processing fake change on startup'); await flatHandler(conn, fakeChange); @@ -105,7 +105,7 @@ async function ensureAllPathsExist(conn: OADAClient) { }, }, }, - }; + } as const; await Promise.all( ['/bookmarks/trellisfw/asns', '/bookmarks/trellisfw/asn-staging'].map( async (path) => { diff --git a/test/external.test.ts b/test/external.test.ts index 0cb92ac..67bce54 100644 --- a/test/external.test.ts +++ b/test/external.test.ts @@ -25,7 +25,7 @@ import moment from 'moment'; import { type OADAClient, connect } from '@oada/client'; -import testasn from './testasn.js'; +import testAsn from './testAsn.js'; // DO NOT include ../ because we are testing externally. @@ -33,7 +33,7 @@ const domain = config.get('oada.domain'); const token = config.get('oada.token')[0]; const asnKey = 'UNFISK_TEST_ASN1'; -const asnID = `resources/${asnKey}`; +const asnID = `resources/${asnKey}` as const; let conn: OADAClient; test.before(async () => { @@ -53,7 +53,7 @@ test('Should move the ASN when put into staging to same key in asns', async (t) await conn.put({ path: `/bookmarks/trellisfw/asn-staging/${asnKey}`, contentType: 'application/vnd.trellisfw.asn-staging.sf.1+json', - data: testasn, + data: testAsn, }); const postedkey = /^.*\/([^/]+)$/.exec(stagingLocation!)![1]; // Last thing on the content-location const now = moment().format('YYYY-MM-DD'); diff --git a/test/testasn.ts b/test/testasn.ts deleted file mode 100644 index eb70444..0000000 --- a/test/testasn.ts +++ /dev/null @@ -1,589 +0,0 @@ -/** - * @license - * Copyright 2021 Qlever LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* eslint-disable sonarjs/no-duplicate-string */ - -export default { - _type: 'application/vnd.trellisfw.asn.sf.1+json', - ZSHPMNT05: { - IDOC: { - EDI_DC40: { - TEST_ASN: true, - TABNAM: 'EDI_DC40', - MANDT: '240', - DOCNUM: '0000000034125709', - DOCREL: '740', - STATUS: '30', - DIRECT: '1', - OUTMOD: '2', - IDOCTYP: 'SHPMNT05', - CIMTYP: 'ZSHPMNT05', - MESTYP: 'SHPMNT', - MESFCT: 'CHG', - SNDPOR: 'SAPEQA', - SNDPRT: 'LS', - SNDPRN: 'EQACLNT240', - RCVPOR: 'RCVPOR', - RCVPRT: 'XX', - RCVPFC: 'XX', - RCVPRN: '0020001863', - CREDAT: '20200318', - CRETIM: '111902', - SERIAL: '00000000000000', - _SEGMENT: '1', - }, - E1EDT20: { - TKNUM: '0000000000', - SHTYP: 'ZTRK', - ABFER: '1', - ABWST: '1', - BFART: '3', - VSART: '01', - LAUFK: '4', - ROUTE: 'S00002', - STTRG: '0', - DTMEG: 'LB', - DTMEV: 'DMQ', - DISTZ: '0.000', - FAHZT: '0.00', - GESZT: '0.00', - STERM_DONE: 'X', - GESZTD: '480000', - FAHZTD: '0', - GESZTDA: '0', - FAHZTDA: '0', - WARZTD: ' 0', - WARZTDA: ' 0', - E1EDT22: { - SHTYP_BEZ: 'ABC TM Truck Shipmnt', - BFART_BEZ: 'Groupage', - VSART_BEZ: 'ROAD', - LAUFK_BEZ: 'Direct leg', - ROUTE_BEZ: '02 Days Transit', - STTRG_BEZ: 'Shipment start', - }, - E1EDT18: [ - { - QUALF: 'CHA', - }, - ], - E1ADRM4: [ - { - PARTNER_Q: 'OTP', - PARTNER_ID: 'ZTMS', - JURISDIC: '000008155', - LANGUAGE: 'EN', - NAME1: 'Fake Food Co Trans Plg', - COUNTRY1: 'US', - E1ADRE4: [ - { - EXTEND_Q: '305', - EXTEND_D: 'ZTMS', - }, - ], - }, - ], - E1EDT10: [ - { - QUALF: '001', - NTANF: '00000000', - NTANZ: '000000', - NTEND: '00000000', - NTENZ: '000000', - ISDD: '20200318', - ISDZ: '104400', - IEDD: '20200318', - IEDZ: '104400', - _SEGMENT: '1', - }, - { - QUALF: '002', - NTANF: '00000000', - NTANZ: '000000', - NTEND: '00000000', - NTENZ: '000000', - ISDD: '20200318', - ISDZ: '104400', - IEDD: '20200318', - IEDZ: '104400', - _SEGMENT: '1', - }, - { - QUALF: '003', - NTANF: '00000000', - NTANZ: '000000', - NTEND: '00000000', - NTENZ: '000000', - ISDD: '20200318', - ISDZ: '111800', - IEDD: '20200318', - IEDZ: '111800', - _SEGMENT: '1', - }, - { - QUALF: '004', - NTANF: '00000000', - NTANZ: '000000', - NTEND: '00000000', - NTENZ: '000000', - ISDD: '20200318', - ISDZ: '111800', - IEDD: '20200318', - IEDZ: '111800', - _SEGMENT: '1', - }, - { - QUALF: '005', - NTANF: '00000000', - NTANZ: '000000', - NTEND: '00000000', - NTENZ: '000000', - ISDD: '20200318', - ISDZ: '111800', - IEDD: '00000000', - IEDZ: '000000', - _SEGMENT: '1', - }, - ], - E1EDT57: { - TNDRDAT: '00000000', - TNDRZET: '000000', - TNDR_MAXP: ' 0.00', - TNDR_EXPD: '00000000', - TNDR_EXPT: '000000', - TNDR_ERPD: '00000000', - TNDR_ERPT: '000000', - TNDR_LTPD: '00000000', - TNDR_LTPT: '000000', - TNDR_ERDD: '00000000', - TNDR_ERDT: '000000', - TNDR_LTDD: '00000000', - TNDR_LTDT: '000000', - TNDR_LDLG: ' 0.000', - }, - E1EDL20: [ - { - VBELN: '0000000000', - VSTEL: '5315', - VKORG: '2000', - INCO1: 'DAP', - INCO2: 'Delivered At Place(named pla', - ROUTE: 'S00002', - VSBED: 'LT', - BTGEW: '107.055', - NTGEW: '102.105', - GEWEI: 'LB', - VOLUM: '0.425', - VOLEH: 'FTQ', - ANZPK: '00000', - TRAID: 'ZOR', - PODAT: '20200318', - POTIM: '121902', - Z1GLN: { - SHIP_FROM: '0000', - GLN_FROM: '0000000000000', - }, - Z1E1EDL2A: { - NTANF: '20200318', - NTANZ: '111859', - LOADPOSITION: '0001', - TOTLOADPOS: '0001', - RTSTOPNUM: '0001', - }, - E1EDT13: [ - { - QUALF: '006', - NTANF: '20200321', - NTANZ: '000000', - NTEND: '20200321', - NTENZ: '000000', - TZONE_BEG: 'EST', - ISDD: '20200318', - ISDZ: '000000', - IEDD: '20200318', - IEDZ: '000000', - TZONE_END: 'EST', - }, - { - QUALF: '003', - NTANF: '20200321', - NTANZ: '000000', - NTEND: '20200321', - NTENZ: '000000', - TZONE_BEG: 'EST', - ISDD: '00000000', - ISDZ: '000000', - IEDD: '00000000', - IEDZ: '000000', - }, - { - QUALF: '001', - NTANF: '20200321', - NTANZ: '000000', - NTEND: '20200321', - NTENZ: '000000', - TZONE_BEG: 'EST', - ISDD: '00000000', - ISDZ: '000000', - IEDD: '00000000', - IEDZ: '000000', - }, - { - QUALF: '007', - NTANF: '20200324', - NTANZ: '000000', - NTEND: '20200324', - NTENZ: '000000', - TZONE_BEG: 'EST', - ISDD: '00000000', - ISDZ: '000000', - IEDD: '00000000', - IEDZ: '000000', - }, - { - QUALF: '010', - NTANF: '20200321', - NTANZ: '000000', - NTEND: '20200321', - NTENZ: '000000', - TZONE_BEG: 'EST', - ISDD: '00000000', - ISDZ: '000000', - IEDD: '00000000', - IEDZ: '000000', - }, - { - QUALF: '015', - NTANF: '20200318', - NTANZ: '000000', - NTEND: '20200318', - NTENZ: '000000', - ISDD: '00000000', - ISDZ: '000000', - IEDD: '00000000', - IEDZ: '000000', - }, - ], - E1ADRM1: [ - { - PARTNER_Q: 'AG', - PARTNER_ID: '0000000000', - JURISDIC: '000000000', - LANGUAGE: 'EN', - NAME1: 'Fake Store', - STREET1: '100 E 1ST ST', - POSTL_COD1: '99999-9999', - CITY1: 'NOWHERE', - CITY2: 'NOWHERE', - TELEPHONE1: '999-999-9999', - COUNTRY1: 'US', - REGION: 'FL', - }, - { - PARTNER_Q: 'RE', - PARTNER_ID: '0000000000', - JURISDIC: '000000000', - LANGUAGE: 'EN', - NAME1: 'Fake Food Store', - STREET1: '100 E 1ST ST', - POSTL_COD1: '99999-9999', - CITY1: 'NOWHERE', - CITY2: 'NOWHERE', - TELEPHONE1: '999-999-9999', - COUNTRY1: 'US', - REGION: 'FL', - }, - { - PARTNER_Q: 'WE', - PARTNER_ID: '0000000000', - JURISDIC: '000000000', - LANGUAGE: 'EN', - NAME1: 'Fake DC 1', - NAME4: '00000', - STREET1: '100 E 1ST ST', - POSTL_COD1: '99999-9999', - CITY1: 'NOWHERE', - CITY2: 'NOWHERE', - TELEPHONE1: '999-999-9999', - COUNTRY1: 'US', - REGION: 'FL', - E1ADRE1: [ - { - EXTEND_Q: '200', - EXTEND_D: '0000000000000', - }, - ], - }, - { - PARTNER_Q: 'OSP', - PARTNER_ID: '0000', - JURISDIC: '000000000', - LANGUAGE: 'EN', - NAME1: 'Fake Food DC', - STREET1: '100 E 1ST ST', - POSTL_COD1: '99999', - CITY1: 'NOWHERE', - COUNTRY1: 'US', - REGION: 'FL', - E1ADRE1: [ - { - EXTEND_Q: '302', - }, - ], - }, - { - PARTNER_Q: 'OSO', - PARTNER_ID: '0000', - JURISDIC: '000000000', - LANGUAGE: 'EN', - NAME1: 'Fake Food Co', - STREET1: '100 E 1ST ST', - HOUSE_SUPL: '9', - POSTL_COD1: '99999', - CITY1: 'NOWHERE', - COUNTRY1: 'US', - REGION: 'FL', - }, - ], - E1EDL22: { - VSTEL_BEZ: 'Fake Food DC', - VKORG_BEZ: 'Fake Food Co', - INCO1_BEZ: 'Delivered At Place(named place', - ROUTE_BEZ: '02 Days Transit', - VSBED_BEZ: 'Truck - LTL', - }, - E1EDL21: { - LFART: 'ZLF', - LPRIO: '01', - KDGRP: '99', - E1EDL23: { - LFART_BEZ: 'FF - Std Delivery', - LPRIO_BEZ: 'High', - KDGRP_BEZ: 'To Be Assigned', - }, - }, - E1EDL28: { - ROUTE: 'S00002', - DISTZ: '0.000', - E1EDL29: { - ROUTE_BEZ: '02 Days Transit', - }, - }, - E1EDL24: [ - { - POSNR: '000000', - MATNR: '000000000000000000', - MATWA: '000000000000000000', - ARKTX: 'BKRIB,PK,(GHP),VP,PRE/WM,4-1PC', - MATKL: 'F0601', - WERKS: '5315', - LGORT: '7001', - CHARG: '0000000000', - KDMAT: '000000000', - LFIMG: '3.000', - VRKME: 'CA', - LGMNG: '3.000', - MEINS: 'CA', - NTGEW: '32.105', - BRGEW: '37.055', - GEWEI: 'LB', - VOLUM: '1.425', - VOLEH: 'FTQ', - LADGR: '0001', - TRAGR: 'ZREF', - VKBUR: 'HSSE', - VKGRP: '500', - VTWEG: '20', - SPART: '00', - GRKOR: '000', - EAN11: '00000000000000', - KDMAT35: '557244917', - KANNR: '20190823', - POSEX: '000000', - VFDAT: '20190914', - EXPIRY_DATE_EXT: '0', - VGBEL: '0000879492', - VGPOS: '000010', - ORMNG: ' 3.000', - EXPIRY_DATE_EXT_B: '0', - E1EDL41: [ - { - QUALI: '001', - BSTNR: 'CHG0041275-a', - BSTDT: '20200318', - BSARK: 'ZMAN', - E1EDL42: { - BSARK_BEZ: 'Manual Order', - }, - }, - ], - E1EDL43: [ - { - QUALF: 'C', - BELNR: '0000879492', - POSNR: '000010', - DATUM: '20200318', - }, - { - QUALF: 'C', - BELNR: '0000879088', - POSNR: '000010', - }, - ], - E1EDL15: [ - { - ATINN: '0000000005', - ATNAM: 'Z_THEORPROD', - ATBEZ: 'Theoritical Production Date', - ATWRT: '08/23/2019', - ATWTB: '08/23/2019', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '0000000006', - ATNAM: 'Z_SHIPEXPIRY', - ATBEZ: 'Ship Expiry Date', - ATWRT: '09/01/2019', - ATWTB: '09/01/2019', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '0000000007', - ATNAM: 'Z_PLANTOFORIGIN', - ATBEZ: 'Plant Of Origin', - ATWRT: '1211', - ATWTB: '1211', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '0000000008', - ATNAM: 'Z_ADJ_SHELFLIFE', - ATBEZ: 'Adjusted Shelf Life (Days)', - ATWRT: '0', - ATWTB: '0', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '9999999400', - ATNAM: 'LOBM_VFDAT', - ATBEZ: 'Expiration date, shelf life', - ATWRT: '09/14/2019', - ATWTB: '09/14/2019', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '9999999422', - ATNAM: 'LOBM_HSDAT', - ATBEZ: 'Date when Batch Was Produced', - ATWRT: '08/23/2019', - ATWTB: '08/23/2019', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '9999999401', - ATNAM: 'LOBM_VERAB', - ATBEZ: 'Availability Date', - ATWRT: '00/00/0000', - ATWTB: '00/00/0000', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '9999999406', - ATNAM: 'LOBM_LVORM', - ATBEZ: 'Deletion Ind. for Batches', - ATWTB: 'Not Set', - EWAHR: '0.0000000000000000E+00', - }, - { - ATINN: '9999999405', - ATNAM: 'LOBM_ZUSTD', - ATBEZ: 'Status of Batch', - ATWTB: 'Released', - EWAHR: '0.0000000000000000E+00', - }, - ], - E1EDL35: { - HERKL: 'US', - HERKR: 'FL', - E1EDL36: { - HERKL_BEZ: 'USA', - HERKR_BEZ: 'FLORIDA', - }, - }, - E1EDL25: { - LGORT_BEZ: 'Saleable (FIN)', - LADGR_BEZ: 'Crane', - TRAGR_BEZ: 'Refrigerated', - VKBUR_BEZ: 'House', - VKGRP_BEZ: 'House', - VTWEG_BEZ: 'Retail', - SPART_BEZ: 'Common', - }, - Z1E1EDL24: { - CUSTEACONFACT: ' 0.250', - NUMCUSTEACH: ' 4', - SHELFLIFEREQ: '13', - }, - E1EDL26: { - PSTYV: 'TAN', - MATKL: 'F0601', - PRODH: '100102043002500975', - UMVKZ: '1', - UMVKN: '1', - KZTLF: 'B', - UEBTO: '0.0', - UNTTO: '0.0', - XCHBW: '1', - KVGR1: '01', - KVGR2: 'Z01', - KVGR3: 'AAL', - MVGR1: 'Z01', - MVGR2: 'A12', - MVGR3: '000', - E1EDL27: { - PSTYV_BEZ: 'FF-Standard Item', - MATKL_BEZ: 'All Natural', - PRODH_BEZ: 'VP', - WERKS_BEZ: 'Fake Food DC, FL', - KVGR1_BEZ: 'PCHEP relevant cust', - KVGR2_BEZ: 'Sub per cust approve', - KVGR3_BEZ: 'Auto Apply Leakers', - MVGR1_BEZ: 'Core Branded', - MVGR2_BEZ: 'Fake Food Co', - MVGR3_BEZ: 'Unassigned', - Z1E1EDL27: { - QUALF: '01', - DATE: '20200324', - MHDHB: '22', - TEMPB: '05', - }, - }, - }, - }, - ], - E1EDL37: [ - { - EXIDV: 'END', - }, - ], - }, - ], - }, - _BEGIN: '1', - }, - }, -}; diff --git a/yarn.lock b/yarn.lock index 4aafa14..0bad7ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -347,10 +347,10 @@ __metadata: "@tsconfig/node16": "npm:^16.1.3" "@types/convict": "npm:^6.1.6" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^20.12.11" + "@types/node": "npm:^20.12.12" "@types/prettier": "npm:^3.0.0" - "@typescript-eslint/eslint-plugin": "npm:^7.8.0" - "@typescript-eslint/parser": "npm:^7.8.0" + "@typescript-eslint/eslint-plugin": "npm:^7.10.0" + "@typescript-eslint/parser": "npm:^7.10.0" "@yarnpkg/sdks": "npm:^3.1.2" ava: "npm:6.1.3" c8: "npm:^9.1.0" @@ -364,16 +364,16 @@ __metadata: eslint-formatter-pretty: "npm:^6.0.1" eslint-import-resolver-node: "npm:^0.3.9" eslint-plugin-array-func: "npm:^5.0.1" - eslint-plugin-ava: "npm:^15.0.0" + eslint-plugin-ava: "npm:^15.0.1" eslint-plugin-escompat: "npm:^3.4.0" eslint-plugin-eslint-comments: "npm:^3.2.0" eslint-plugin-filenames: "npm:^1.3.2" - eslint-plugin-github: "npm:^4.10.2" + eslint-plugin-github: "npm:^5.0.0-2" eslint-plugin-i18n-text: "npm:^1.0.1" eslint-plugin-import: "npm:^2.29.1" eslint-plugin-no-constructor-bind: "npm:^2.0.4" eslint-plugin-no-only-tests: "npm:^3.1.0" - eslint-plugin-no-secrets: "npm:^0.9.1" + eslint-plugin-no-secrets: "npm:^1.0.2" eslint-plugin-node: "npm:^11.1.0" eslint-plugin-notice: "npm:^0.9.10" eslint-plugin-optimize-regex: "npm:^1.2.1" @@ -505,7 +505,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15": +"@types/json-schema@npm:*": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 @@ -535,12 +535,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^20.12.11": - version: 20.12.11 - resolution: "@types/node@npm:20.12.11" +"@types/node@npm:*, @types/node@npm:^20.12.12": + version: 20.12.12 + resolution: "@types/node@npm:20.12.12" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/c6afe7c2c4504a4f488814d7b306ebad16bf42cbb43bf9db9fe1aed8c5fb99235593c3be5088979a64526b106cf022256688e2f002811be8273d87dc2e0d484f + checksum: 10/e3945da0a3017bdc1f88f15bdfb823f526b2a717bd58d4640082d6eb0bd2794b5c99bfb914b9e9324ec116dce36066990353ed1c777e8a7b0641f772575793c4 languageName: node linkType: hard @@ -569,7 +569,7 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.1.0, @types/semver@npm:^7.5.8": +"@types/semver@npm:^7.1.0": version: 7.5.8 resolution: "@types/semver@npm:7.5.8" checksum: 10/3496808818ddb36deabfe4974fd343a78101fa242c4690044ccdc3b95dcf8785b494f5d628f2f47f38a702f8db9c53c67f47d7818f2be1b79f2efb09692e1178 @@ -583,20 +583,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^7.0.1, @typescript-eslint/eslint-plugin@npm:^7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.8.0" +"@typescript-eslint/eslint-plugin@npm:^7.0.1, @typescript-eslint/eslint-plugin@npm:^7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/eslint-plugin@npm:7.10.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:7.8.0" - "@typescript-eslint/type-utils": "npm:7.8.0" - "@typescript-eslint/utils": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" - debug: "npm:^4.3.4" + "@typescript-eslint/scope-manager": "npm:7.10.0" + "@typescript-eslint/type-utils": "npm:7.10.0" + "@typescript-eslint/utils": "npm:7.10.0" + "@typescript-eslint/visitor-keys": "npm:7.10.0" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" - semver: "npm:^7.6.0" ts-api-utils: "npm:^1.3.0" peerDependencies: "@typescript-eslint/parser": ^7.0.0 @@ -604,44 +602,44 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/0dc5f0933e1f1196bfc3d2545758d53981c9cd1b501f9795ebc82e471d88b008da3fa33712b60398c5ada7e0853805b3bcffe2ef8b94a25d0502b187663a0b6c + checksum: 10/dfe505cdf718dd29e8637b902e4c544c6b7d246d2051fd1936090423eb3dadfe2bd757de51e565e6fd80e74cf1918e191c26fee6df515100484ec3efd9b8d111 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^7.0.1, @typescript-eslint/parser@npm:^7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/parser@npm:7.8.0" +"@typescript-eslint/parser@npm:^7.0.1, @typescript-eslint/parser@npm:^7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/parser@npm:7.10.0" dependencies: - "@typescript-eslint/scope-manager": "npm:7.8.0" - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/typescript-estree": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" + "@typescript-eslint/scope-manager": "npm:7.10.0" + "@typescript-eslint/types": "npm:7.10.0" + "@typescript-eslint/typescript-estree": "npm:7.10.0" + "@typescript-eslint/visitor-keys": "npm:7.10.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/57b7918ec80484903e43e6877aabc37e7e1735fefc730c161777333b38d92cffb562fca9c91e622c0e58fe2fb0f7e47e5237bd0666189a70b3abc62e5c13eb7c + checksum: 10/1fa71049b2debf2f7f5366fb433e3d4c8e1591c2061a15fa8797d14623a2b6984340a59e7717acc013ce8c6a2ed32c5c0e811fe948b5936d41c2a5a09b61d130 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/scope-manager@npm:7.8.0" +"@typescript-eslint/scope-manager@npm:7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/scope-manager@npm:7.10.0" dependencies: - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" - checksum: 10/4ebb16bb2aa9b9c7c38326405b97b037849b45a241ebdd6d2b8dfdbc4dbe73b3f4ea34888b2469244303037505d2f263b8bcf260f59fa7a8527d95e8989d260e + "@typescript-eslint/types": "npm:7.10.0" + "@typescript-eslint/visitor-keys": "npm:7.10.0" + checksum: 10/838a7a9573577d830b2f65801ce045abe6fad08ac7e04bac4cc9b2e5b7cbac07e645de9c79b9485f4cc361fe25da5319025aa0336fad618023fff62e4e980638 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/type-utils@npm:7.8.0" +"@typescript-eslint/type-utils@npm:7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/type-utils@npm:7.10.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:7.8.0" - "@typescript-eslint/utils": "npm:7.8.0" + "@typescript-eslint/typescript-estree": "npm:7.10.0" + "@typescript-eslint/utils": "npm:7.10.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependencies: @@ -649,23 +647,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/3c2df3fda8200d04101e438d490ea8025f988774a62af4858bee2764f4bf26f676b2119a83af08a5b0b928634d489d77d783c3deebfe6c48da883f86c7260c41 + checksum: 10/e62db9ffbfbccce60258108f7ed025005e04df18da897ff1b30049e3c10a47150e94c2fb5ac0ab9711ebb60517521213dcccbea6d08125107a87a67088a79042 languageName: node linkType: hard -"@typescript-eslint/types@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/types@npm:7.8.0" - checksum: 10/3c7100ecd251c54126c8e4cf00f353cd421a88bf23ac3dc48ff40b1b530596467b4b4fd7e1c91e61a561fe03a6f53eb11acd043fd9f30388d995f32399f43bee +"@typescript-eslint/types@npm:7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/types@npm:7.10.0" + checksum: 10/76075a7b87ddfff8e7e4aebf3d225e67bf79ead12a7709999d4d5c31611d9c0813ca69a9298f320efb018fe493ce3763c964a0e670a4c953d8eff000f10672c0 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.8.0" +"@typescript-eslint/typescript-estree@npm:7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.10.0" dependencies: - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" + "@typescript-eslint/types": "npm:7.10.0" + "@typescript-eslint/visitor-keys": "npm:7.10.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -675,34 +673,31 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/099a0cae4f6ddf07ccfa881f4c775013f6b2ba8aa5173df6c0a7051e1aa982b82672a21b2bdedd4c35b4e62f44c7db6bac98ed3122ddb0bbe5f62134d8462842 + checksum: 10/d11d0c45749c9bd4a187b6dfdf5600e36ba8c87667cd2020d9158667c47c32ec0bcb1ef3b7eee5577b667def5f7f33d8131092a0f221b3d3e8105078800f923f languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/utils@npm:7.8.0" +"@typescript-eslint/utils@npm:7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/utils@npm:7.10.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@types/json-schema": "npm:^7.0.15" - "@types/semver": "npm:^7.5.8" - "@typescript-eslint/scope-manager": "npm:7.8.0" - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/typescript-estree": "npm:7.8.0" - semver: "npm:^7.6.0" + "@typescript-eslint/scope-manager": "npm:7.10.0" + "@typescript-eslint/types": "npm:7.10.0" + "@typescript-eslint/typescript-estree": "npm:7.10.0" peerDependencies: eslint: ^8.56.0 - checksum: 10/49b7077e22e4456d41cd8fa71126ffd37b0eb325ba49af5495a6fddf3d8529960dd3aaa8d73a7a35f0c42ee4da0849b6cbc00ebefff50f2e3cb8330bbb788d91 + checksum: 10/62327b585295f9c3aa2508aefac639d562b6f7f270a229aa3a2af8dbd055f4a4d230a8facae75a8a53bb8222b0041162072d259add56b541f8bdfda8da36ea5f languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.8.0" +"@typescript-eslint/visitor-keys@npm:7.10.0": + version: 7.10.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.10.0" dependencies: - "@typescript-eslint/types": "npm:7.8.0" + "@typescript-eslint/types": "npm:7.10.0" eslint-visitor-keys: "npm:^3.4.3" - checksum: 10/1616a7d88ed91958f5fe97468b4c3d3b97119cfd8c9965dfc50140bb189d474d01b4a6dd608669db818380c05e15e4020ba55b8662ed3eda80963d74cdc70038 + checksum: 10/44b555a075bdff38e3e13c454ceaac50aa2546635e81f907d1ea84822c8887487d1d6bb4ff690f627da9585dc19ad07e228847c162c30bb06c46fb119899d8cc languageName: node linkType: hard @@ -2312,9 +2307,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-ava@npm:^15.0.0": - version: 15.0.0 - resolution: "eslint-plugin-ava@npm:15.0.0" +"eslint-plugin-ava@npm:^15.0.1": + version: 15.0.1 + resolution: "eslint-plugin-ava@npm:15.0.1" dependencies: enhance-visitors: "npm:^1.0.0" eslint-utils: "npm:^3.0.0" @@ -2326,7 +2321,7 @@ __metadata: resolve-from: "npm:^5.0.0" peerDependencies: eslint: ">=9" - checksum: 10/125dfaa39208e2f484949ea23b237e111d188f6f5c30954c559cb74fe9793537de259d9764637f534d19ec01e431edc49a07f6c13ab35abd0eab66ff78ffed94 + checksum: 10/dc6b75b4517a283e078edd8b66241f29e8d4a9581800fd7bc8efd5b2048c46faa58cefb184f5c9fbc78421fcafb8f7721a3e482b01f17ca377501f344844cfbe languageName: node linkType: hard @@ -2379,9 +2374,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-github@npm:^4.10.2": - version: 4.10.2 - resolution: "eslint-plugin-github@npm:4.10.2" +"eslint-plugin-github@npm:^5.0.0-2": + version: 5.0.0-2 + resolution: "eslint-plugin-github@npm:5.0.0-2" dependencies: "@github/browserslist-config": "npm:^1.0.0" "@typescript-eslint/eslint-plugin": "npm:^7.0.1" @@ -2404,7 +2399,7 @@ __metadata: eslint: ^8.0.1 bin: eslint-ignore-errors: bin/eslint-ignore-errors.js - checksum: 10/ec6413c41ba638d3b893e5dcfb6eb2e4a071de85b921e0bbba55b23283a53ca3ac44c4c28e4e7bb2a22f64ed2a4a5bebf5dc383368040b19e6ed3b06e2f24ad7 + checksum: 10/67a574ba60859fe436d937aa933f0308b3cef85838fdbe28bb0ba640e4853119326f8749c8041d26e536d78c35c01280e46179a1903a761f66afcb595ddae2ce languageName: node linkType: hard @@ -2486,12 +2481,12 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-no-secrets@npm:^0.9.1": - version: 0.9.1 - resolution: "eslint-plugin-no-secrets@npm:0.9.1" +"eslint-plugin-no-secrets@npm:^1.0.2": + version: 1.0.2 + resolution: "eslint-plugin-no-secrets@npm:1.0.2" peerDependencies: eslint: ">=3.0.0" - checksum: 10/5d47aa7ce23a7d4137d206de9b01082a92390f2fff2468f1279b0ec977dae44ba750bc9cba2e499a603ca9a4e987121752645ddf7af37fa1425a36123509a735 + checksum: 10/21826bb2eadeb066c6704503f09a77180a47e3a1feff6aaf6764f5199bb2b32fc47c748273e8804601a6b887b4433563e7e21e0b557501113dfb6ad36744e622 languageName: node linkType: hard @@ -4332,12 +4327,10 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^4.0.0": - version: 4.0.0 - resolution: "minipass@npm:4.0.0" - dependencies: - yallist: "npm:^4.0.0" - checksum: 10/6656c87ea19e06faa7c1ae3b3125af544d7f563688f9353c6474cc2f53af94eb1d2b8344dfc0cf9bc0a962b51573163c857a2dd67a9a62c4d16390657981e07a +"minipass@npm:^5.0.0": + version: 5.0.0 + resolution: "minipass@npm:5.0.0" + checksum: 10/61682162d29f45d3152b78b08bab7fb32ca10899bc5991ffe98afc18c9e9543bd1e3be94f8b8373ba6262497db63607079dc242ea62e43e7b2270837b7347c93 languageName: node linkType: hard @@ -5442,11 +5435,11 @@ __metadata: linkType: hard "semver@npm:2 || 3 || 4 || 5": - version: 5.7.1 - resolution: "semver@npm:5.7.1" + version: 5.7.2 + resolution: "semver@npm:5.7.2" bin: - semver: ./bin/semver - checksum: 10/fbc71cf00736480ca0dd67f2527cda6e0fde5447af00bd2ce06cb522d510216603a63ed0c6c87d8904507c1a4e8113e628a71424ebd9e0fd7d345ee8ed249690 + semver: bin/semver + checksum: 10/fca14418a174d4b4ef1fecb32c5941e3412d52a4d3d85165924ce3a47fbc7073372c26faf7484ceb4bbc2bde25880c6b97e492473dc7e9708fdfb1c6a02d546e languageName: node linkType: hard @@ -5883,16 +5876,16 @@ __metadata: linkType: hard "tar@npm:^6.0.5, tar@npm:^6.1.11": - version: 6.1.13 - resolution: "tar@npm:6.1.13" + version: 6.2.1 + resolution: "tar@npm:6.2.1" dependencies: chownr: "npm:^2.0.0" fs-minipass: "npm:^2.0.0" - minipass: "npm:^4.0.0" + minipass: "npm:^5.0.0" minizlib: "npm:^2.1.1" mkdirp: "npm:^1.0.3" yallist: "npm:^4.0.0" - checksum: 10/add2c3c6d0d71192186ec118d265b92d94be5cd57a0b8fdf0d29ee46dc846574925a5fc57170eefffd78201eda4c45d7604070b5a4b0648e4d6e1d65918b5a82 + checksum: 10/bfbfbb2861888077fc1130b84029cdc2721efb93d1d1fb80f22a7ac3a98ec6f8972f29e564103bbebf5e97be67ebc356d37fa48dbc4960600a1eb7230fbd1ea0 languageName: node linkType: hard