diff --git a/CHANGELOG.md b/CHANGELOG.md index af72e64f..a11dc7e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,250 +1,207 @@ -# Changelog +## [2.1.17](https://github.com/salesforcecli/plugin-data/compare/2.1.16...2.1.17) (2022-12-11) -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### Bug Fixes -### [2.1.2](https://github.com/salesforcecli/plugin-data/compare/v2.1.1...v2.1.2) (2022-08-11) +- **deps:** bump @salesforce/command from 5.2.28 to 5.2.30 ([693674f](https://github.com/salesforcecli/plugin-data/commit/693674f4ef56859153e45d57d722ec8ee520fcd0)) -### [2.1.1](https://github.com/salesforcecli/plugin-data/compare/v2.1.0...v2.1.1) (2022-07-27) +## [2.1.16](https://github.com/salesforcecli/plugin-data/compare/2.1.15...2.1.16) (2022-12-11) ### Bug Fixes -- correct test error ([eac62b1](https://github.com/salesforcecli/plugin-data/commit/eac62b1c6ea087aea116f0bbea6c1a6381d8034f)) -- stop lowercasing executed query string ([#330](https://github.com/salesforcecli/plugin-data/issues/330)) ([cfb06b7](https://github.com/salesforcecli/plugin-data/commit/cfb06b7a02f279889f5e94f0b0b546268cb94ca0)) +- **deps:** bump @salesforce/core from 3.32.6 to 3.32.9 ([692848a](https://github.com/salesforcecli/plugin-data/commit/692848abf321e5e6efc6f66d0f3c529fd87becef)) -## [2.1.0](https://github.com/salesforcecli/plugin-data/compare/v2.0.4...v2.1.0) (2022-07-26) +## [2.1.15](https://github.com/salesforcecli/plugin-data/compare/2.1.14...2.1.15) (2022-12-07) -### Features +### Bug Fixes -- add a soqlqueryfile parameter to allow longer queries ([#327](https://github.com/salesforcecli/plugin-data/issues/327)) ([966096d](https://github.com/salesforcecli/plugin-data/commit/966096ddd8338c1a92c02d706cbad46ba5e122ad)) +- allow single quotes in key=value pairs ([#427](https://github.com/salesforcecli/plugin-data/issues/427)) ([bcc48e5](https://github.com/salesforcecli/plugin-data/commit/bcc48e518a2c4d3ddc0963589be7bf1c6614b1ae)) -### [2.0.4](https://github.com/salesforcecli/plugin-data/compare/v2.0.3...v2.0.4) (2022-06-16) +## [2.1.14](https://github.com/salesforcecli/plugin-data/compare/2.1.13...2.1.14) (2022-12-04) ### Bug Fixes -- wait until all records are emitted ([#316](https://github.com/salesforcecli/plugin-data/issues/316)) ([4269d08](https://github.com/salesforcecli/plugin-data/commit/4269d089f716d58ae37e1e416f2ad9eed33b5fb2)) +- **deps:** bump @salesforce/command from 5.2.27 to 5.2.28 ([441f193](https://github.com/salesforcecli/plugin-data/commit/441f193ee799d90d575209f60643c56b11aba48f)) -### [2.0.3](https://github.com/salesforcecli/plugin-data/compare/v2.0.2...v2.0.3) (2022-06-03) +## [2.1.13](https://github.com/salesforcecli/plugin-data/compare/2.1.12...2.1.13) (2022-11-27) ### Bug Fixes -- human output no longer displaying undefined ([#307](https://github.com/salesforcecli/plugin-data/issues/307)) ([d989fad](https://github.com/salesforcecli/plugin-data/commit/d989fad3f7a5b6b0fe4e5da2f24d654b21b76038)) +- **deps:** bump @salesforce/command from 5.2.25 to 5.2.27 ([f533e54](https://github.com/salesforcecli/plugin-data/commit/f533e54539ecbdc9b2b079f16dd0303b33c6feee)) -### [2.0.2](https://github.com/salesforcecli/plugin-data/compare/v2.0.1...v2.0.2) (2022-05-26) +## [2.1.12](https://github.com/salesforcecli/plugin-data/compare/2.1.11...2.1.12) (2022-11-20) ### Bug Fixes -- respect maxQueryLimit config ([#306](https://github.com/salesforcecli/plugin-data/issues/306)) ([e9bf141](https://github.com/salesforcecli/plugin-data/commit/e9bf141f9e175c2def51896844ab876b08baa57a)) +- **deps:** bump @salesforce/command from 5.2.20 to 5.2.25 ([da55cc4](https://github.com/salesforcecli/plugin-data/commit/da55cc4493a1f416c2f97c865386c499da623667)) -### [2.0.1](https://github.com/salesforcecli/plugin-data/compare/v2.0.0...v2.0.1) (2022-05-20) +## [2.1.11](https://github.com/salesforcecli/plugin-data/compare/2.1.10...2.1.11) (2022-11-13) -## [2.0.0](https://github.com/salesforcecli/plugin-data/compare/v0.6.15...v2.0.0) (2022-05-11) +### Bug Fixes -### [0.6.15](https://github.com/salesforcecli/plugin-data/compare/v0.6.14...v0.6.15) (2022-05-04) +- **deps:** bump @salesforce/core from 3.31.17 to 3.31.19 ([1c22459](https://github.com/salesforcecli/plugin-data/commit/1c224592ae92c56d992be2079dc42991e9c47ec5)) -### [0.6.14](https://github.com/salesforcecli/plugin-data/compare/v0.6.13...v0.6.14) (2022-04-26) +## [2.1.10](https://github.com/salesforcecli/plugin-data/compare/2.1.9...2.1.10) (2022-11-07) ### Bug Fixes -- update schema to support AJV ([6fe5f21](https://github.com/salesforcecli/plugin-data/commit/6fe5f2188ceed5b1fa1773634cf1684bc75aa9e1)) +- own keys on a undefined object ([#398](https://github.com/salesforcecli/plugin-data/issues/398)) ([709bf4e](https://github.com/salesforcecli/plugin-data/commit/709bf4e37b37460b806d783751e5032a011f0801)) -### [0.6.13](https://github.com/salesforcecli/plugin-data/compare/v0.6.12...v0.6.13) (2022-04-14) +## [2.1.9](https://github.com/salesforcecli/plugin-data/compare/2.1.8...2.1.9) (2022-11-06) ### Bug Fixes -- bulk batching wide fIles (cli/[#1460](https://github.com/salesforcecli/plugin-data/issues/1460)) ([c8b2855](https://github.com/salesforcecli/plugin-data/commit/c8b2855786fd6e1c13fc879bc4ab7e556cfc0600)) - -### [0.6.12](https://github.com/salesforcecli/plugin-data/compare/v0.6.11...v0.6.12) (2022-03-30) - -### [0.6.11](https://github.com/salesforcecli/plugin-data/compare/v0.6.10...v0.6.11) (2022-03-25) +- **deps:** bump @salesforce/ts-types from 1.7.0 to 1.7.1 ([8b0ddac](https://github.com/salesforcecli/plugin-data/commit/8b0ddac27418588962bfb7577ff6c751e3bb543e)) -### [0.6.10](https://github.com/salesforcecli/plugin-data/compare/v0.6.9...v0.6.10) (2022-03-10) +## [2.1.8](https://github.com/salesforcecli/plugin-data/compare/2.1.7...2.1.8) (2022-11-06) ### Bug Fixes -- bump core and jsforce - versions ([#283](https://github.com/salesforcecli/plugin-data/issues/283)) ([11908be](https://github.com/salesforcecli/plugin-data/commit/11908bedd9538aeddc1631afa99f4ae01150935d)) +- **deps:** bump @salesforce/command from 5.2.18 to 5.2.20 ([d31e9c9](https://github.com/salesforcecli/plugin-data/commit/d31e9c96addbadf10035596323a3e8f10fe62a75)) -### [0.6.9](https://github.com/salesforcecli/plugin-data/compare/v0.6.8...v0.6.9) (2022-02-07) +## [2.1.7](https://github.com/salesforcecli/plugin-data/compare/2.1.6...2.1.7) (2022-10-30) ### Bug Fixes -- fix 3 data - bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17)) +- **deps:** bump @salesforce/command from 5.2.16 to 5.2.18 ([8fab639](https://github.com/salesforcecli/plugin-data/commit/8fab639a300db451fafebfd4ce296013008f604e)) -### [0.6.8](https://github.com/salesforcecli/plugin-data/compare/v0.6.7...v0.6.8) (2022-01-03) +## [2.1.6](https://github.com/salesforcecli/plugin-data/compare/2.1.5...2.1.6) (2022-10-30) -### [0.6.7](https://github.com/salesforcecli/plugin-data/compare/v0.6.6...v0.6.7) (2021-12-28) +### Bug Fixes -### [0.6.6](https://github.com/salesforcecli/plugin-data/compare/v0.6.5...v0.6.6) (2021-12-02) +- **deps:** bump @oclif/core from 1.19.1 to 1.20.0 ([5df9bde](https://github.com/salesforcecli/plugin-data/commit/5df9bde44b0822c1645834f00576069c48ff85af)) -### Features +## [2.1.5](https://github.com/salesforcecli/plugin-data/compare/2.1.4...2.1.5) (2022-10-25) -- bump deps ([20f2598](https://github.com/salesforcecli/plugin-data/commit/20f2598606e14b676653f32f3f88569765ab7801)) +### Bug Fixes -### [0.6.5](https://github.com/salesforcecli/plugin-data/compare/v0.6.4...v0.6.5) (2021-11-18) +- dedup jsforce ([#385](https://github.com/salesforcecli/plugin-data/issues/385)) ([4fec7cc](https://github.com/salesforcecli/plugin-data/commit/4fec7cc524f6762ec385ed65eeb7607c55862997)) + +## [2.1.4](https://github.com/salesforcecli/plugin-data/compare/2.1.3...2.1.4) (2022-09-23) ### Bug Fixes -- adds note about non-inclusive - language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1)) -- remove "master-detail" from long - desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96)) +- **deps:** bump @salesforce/ts-types from 1.5.20 to 1.5.21 ([a781d4e](https://github.com/salesforcecli/plugin-data/commit/a781d4e74302ed5fc1c6bc1ed34f05fc8f78d07a)) -### [0.6.4](https://github.com/salesforcecli/plugin-data/compare/v0.6.3...v0.6.4) (2021-10-21) +## [2.1.3](https://github.com/salesforcecli/plugin-data/compare/v2.1.2...2.1.3) (2022-09-23) ### Bug Fixes -- downgrade eslint jsdoc - dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e)) +- **deps:** bump @salesforce/core from 3.26.1 to 3.30.3 ([ab4f637](https://github.com/salesforcecli/plugin-data/commit/ab4f63744c694c1e6bc858cfe82091287aceec92)) -### [0.6.3](https://github.com/salesforcecli/plugin-data/compare/v0.6.2...v0.6.3) (2021-10-12) +## [2.1.2](https://github.com/salesforcecli/plugin-data/compare/v2.1.1...v2.1.2) (2022-08-11) -### [0.6.2](https://github.com/salesforcecli/plugin-data/compare/v0.6.1...v0.6.2) (2021-10-05) +## [2.1.1](https://github.com/salesforcecli/plugin-data/compare/v2.1.0...v2.1.1) (2022-07-27) ### Bug Fixes -- update deps ([c3b57d4](https://github.com/salesforcecli/plugin-data/commit/c3b57d4aae48a40eee90ba3380b4c650fe9df53e)) +- correct test error ([eac62b1](https://github.com/salesforcecli/plugin-data/commit/eac62b1c6ea087aea116f0bbea6c1a6381d8034f)) +- stop lowercasing executed query string ([#330](https://github.com/salesforcecli/plugin-data/issues/330)) ([cfb06b7](https://github.com/salesforcecli/plugin-data/commit/cfb06b7a02f279889f5e94f0b0b546268cb94ca0)) -### 0.6.1 (2021-08-25) +# [2.1.0](https://github.com/salesforcecli/plugin-data/compare/v2.0.4...v2.1.0) (2022-07-26) ### Features -- @W-8449669@ migrate force:data:soql: - query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9)) -- added new flag for serial - process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2)) -- record - commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c)) - -### Bug Fixes - -- add oclif/dev - dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e)) -- commands ignore - --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce)) -- correct help for data - commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc)) -- depend on - 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3)) -- dependency - pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f)) -- force - release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d)) -- parse csv as utf-8 and enable bom - parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a)) -- Unlerna data #( 184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637)) -- various data:record - bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe)) - -# [0.6.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.2...@salesforce/plugin-data@0.6.0) (2021-07-26) +- add a soqlqueryfile parameter to allow longer queries ([#327](https://github.com/salesforcecli/plugin-data/issues/327)) ([966096d](https://github.com/salesforcecli/plugin-data/commit/966096ddd8338c1a92c02d706cbad46ba5e122ad)) -### Features +## [2.0.4](https://github.com/salesforcecli/plugin-data/compare/v2.0.3...v2.0.4) (2022-06-16) -- added new flag for serial - process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2)) +### Bug Fixes -## [0.5.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.1...@salesforce/plugin-data@0.5.2) (2021-07-08) +- wait until all records are emitted ([#316](https://github.com/salesforcecli/plugin-data/issues/316)) ([4269d08](https://github.com/salesforcecli/plugin-data/commit/4269d089f716d58ae37e1e416f2ad9eed33b5fb2)) -**Note:** Version bump only for package @salesforce/plugin-data +## [2.0.3](https://github.com/salesforcecli/plugin-data/compare/v2.0.2...v2.0.3) (2022-06-03) -## [0.5.1](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.12...@salesforce/plugin-data@0.5.1) (2021-07-01) +### Bug Fixes -**Note:** Version bump only for package @salesforce/plugin-data +- human output no longer displaying undefined ([#307](https://github.com/salesforcecli/plugin-data/issues/307)) ([d989fad](https://github.com/salesforcecli/plugin-data/commit/d989fad3f7a5b6b0fe4e5da2f24d654b21b76038)) -## [0.4.12](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.11...@salesforce/plugin-data@0.4.12) (2021-06-10) +## [2.0.2](https://github.com/salesforcecli/plugin-data/compare/v2.0.1...v2.0.2) (2022-05-26) ### Bug Fixes -- dependency - pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f)) - -## [0.4.11](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.10...@salesforce/plugin-data@0.4.11) (2021-06-04) +- respect maxQueryLimit config ([#306](https://github.com/salesforcecli/plugin-data/issues/306)) ([e9bf141](https://github.com/salesforcecli/plugin-data/commit/e9bf141f9e175c2def51896844ab876b08baa57a)) -**Note:** Version bump only for package @salesforce/plugin-data +## [2.0.1](https://github.com/salesforcecli/plugin-data/compare/v2.0.0...v2.0.1) (2022-05-20) -## [0.4.10](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.9...@salesforce/plugin-data@0.4.10) (2021-06-04) +# [2.0.0](https://github.com/salesforcecli/plugin-data/compare/v0.6.15...v2.0.0) (2022-05-11) -### Bug Fixes +## [0.6.15](https://github.com/salesforcecli/plugin-data/compare/v0.6.14...v0.6.15) (2022-05-04) -- depend on - 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3)) +## [0.6.14](https://github.com/salesforcecli/plugin-data/compare/v0.6.13...v0.6.14) (2022-04-26) -## [0.4.9](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.8...@salesforce/plugin-data@0.4.9) (2021-06-02) +### Bug Fixes -**Note:** Version bump only for package @salesforce/plugin-data +- update schema to support AJV ([6fe5f21](https://github.com/salesforcecli/plugin-data/commit/6fe5f2188ceed5b1fa1773634cf1684bc75aa9e1)) -## [0.4.8](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.6...@salesforce/plugin-data@0.4.8) (2021-05-20) +## [0.6.13](https://github.com/salesforcecli/plugin-data/compare/v0.6.12...v0.6.13) (2022-04-14) ### Bug Fixes -- force release ([9545abe](https://github.com/salesforcecli/data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d)) - -## [0.4.6](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.5...@salesforce/plugin-data@0.4.6) (2021-04-14) +- bulk batching wide fIles (cli/[#1460](https://github.com/salesforcecli/plugin-data/issues/1460)) ([c8b2855](https://github.com/salesforcecli/plugin-data/commit/c8b2855786fd6e1c13fc879bc4ab7e556cfc0600)) -### Bug Fixes +## [0.6.12](https://github.com/salesforcecli/plugin-data/compare/v0.6.11...v0.6.12) (2022-03-30) -- add oclif/dev - dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e)) +## [0.6.11](https://github.com/salesforcecli/plugin-data/compare/v0.6.10...v0.6.11) (2022-03-25) -## [0.4.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.3...@salesforce/plugin-data@0.4.5) (2021-04-09) +## [0.6.10](https://github.com/salesforcecli/plugin-data/compare/v0.6.9...v0.6.10) (2022-03-10) ### Bug Fixes -- correct help for data - commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc)) +- bump core and jsforce versions ([#283](https://github.com/salesforcecli/plugin-data/issues/283)) ([11908be](https://github.com/salesforcecli/plugin-data/commit/11908bedd9538aeddc1631afa99f4ae01150935d)) -## [0.4.3](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.2...@salesforce/plugin-data@0.4.3) (2021-02-24) +## [0.6.9](https://github.com/salesforcecli/plugin-data/compare/v0.6.8...v0.6.9) (2022-02-07) ### Bug Fixes -- commands ignore - --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce)) +- fix 3 data bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17)) -## [0.4.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.1...@salesforce/plugin-data@0.4.2) (2021-02-10) +## [0.6.8](https://github.com/salesforcecli/plugin-data/compare/v0.6.7...v0.6.8) (2022-01-03) -**Note:** Version bump only for package @salesforce/plugin-data +## [0.6.7](https://github.com/salesforcecli/plugin-data/compare/v0.6.6...v0.6.7) (2021-12-28) -## [0.4.1](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.0...@salesforce/plugin-data@0.4.1) (2021-02-02) +## [0.6.6](https://github.com/salesforcecli/plugin-data/compare/v0.6.5...v0.6.6) (2021-12-02) -### Bug Fixes - -- parse csv as utf-8 and enable bom - parsing ([#31](https://github.com/salesforcecli/data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a)) +### Features -# [0.4.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.5...@salesforce/plugin-data@0.4.0) (2021-02-01) +- bump deps ([20f2598](https://github.com/salesforcecli/plugin-data/commit/20f2598606e14b676653f32f3f88569765ab7801)) -### Features +## [0.6.5](https://github.com/salesforcecli/plugin-data/compare/v0.6.4...v0.6.5) (2021-11-18) -- @W-8449669@ migrate force:data:soql: - query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9)) +### Bug Fixes -## [0.2.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.4...@salesforce/plugin-data@0.2.5) (2020-12-15) +- adds note about non-inclusive language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1)) +- remove "master-detail" from long desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96)) -**Note:** Version bump only for package @salesforce/plugin-data +## [0.6.4](https://github.com/salesforcecli/plugin-data/compare/v0.6.3...v0.6.4) (2021-10-21) -## [0.2.4](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.3...@salesforce/plugin-data@0.2.4) (2020-12-15) +### Bug Fixes -**Note:** Version bump only for package @salesforce/plugin-data +- downgrade eslint jsdoc dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e)) -## [0.2.3](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.2...@salesforce/plugin-data@0.2.3) (2020-12-15) +## [0.6.3](https://github.com/salesforcecli/plugin-data/compare/v0.6.2...v0.6.3) (2021-10-12) -**Note:** Version bump only for package @salesforce/plugin-data +## [0.6.2](https://github.com/salesforcecli/plugin-data/compare/v0.6.1...v0.6.2) (2021-10-05) -## [0.2.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.1...@salesforce/plugin-data@0.2.2) (2020-12-10) +### Bug Fixes -**Note:** Version bump only for package @salesforce/plugin-data +- update deps ([c3b57d4](https://github.com/salesforcecli/plugin-data/commit/c3b57d4aae48a40eee90ba3380b4c650fe9df53e)) -## [0.2.1](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.0...@salesforce/plugin-data@0.2.1) (2020-12-03) +## [0.6.1](https://github.com/salesforcecli/plugin-data/compare/37f5d61f65055c76aceac85077fd484c810bd49c...v0.6.1) (2021-08-25) ### Bug Fixes -- various data:record - bugs ([a05ac07](https://github.com/salesforcecli/data/commit/a05ac07e7beb9d73776908beed085b7644d580fe)) - -# 0.2.0 (2020-11-24) +- add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e)) +- commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce)) +- correct help for data commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc)) +- depend on 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3)) +- dependency pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f)) +- force release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d)) +- parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a)) +- Unlerna data #(184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637)) +- various data:record bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe)) ### Features -- record commands ([37f5d61](https://github.com/salesforcecli/data/commit/37f5d61f65055c76aceac85077fd484c810bd49c)) - -# Change Log +- @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9)) +- added new flag for serial process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2)) +- record commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c)) diff --git a/LICENSE.txt b/LICENSE.txt index d1c9164c..f2cee7bb 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2022, Salesforce.com, Inc. +Copyright (c) 2023, Salesforce.com, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/README.md b/README.md index 067183e2..1bd664ac 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,11 @@ yarn install yarn build ``` -To use your plugin, run using the local `./bin/run` or `./bin/run.cmd` file. +To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file. ```bash # Run using local run file. -./bin/run force:data +./bin/dev force:data ``` There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be diff --git a/bin/run b/bin/run index 57cd58c7..9ee5dd54 100755 --- a/bin/run +++ b/bin/run @@ -1,5 +1,3 @@ #!/usr/bin/env node require('@oclif/core').run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')); - - diff --git a/command-snapshot.json b/command-snapshot.json index 48d91ccc..ba08b444 100644 --- a/command-snapshot.json +++ b/command-snapshot.json @@ -108,115 +108,5 @@ "plugin": "@salesforce/plugin-data", "flags": ["api-version", "external-id", "file", "json", "loglevel", "serial", "sobject", "target-org", "wait"], "alias": ["force:data:bulk:upsert"] - }, - { - "command": "force:data:bulk:delete", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "file", "json", "loglevel", "sobject", "target-org", "wait"], - "alias": ["force:data:bulk:delete"] - }, - { - "command": "force:data:bulk:status", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "batch-id", "job-id", "json", "loglevel", "target-org"], - "alias": ["force:data:bulk:status"] - }, - { - "command": "force:data:bulk:upsert", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "external-id", "file", "json", "loglevel", "serial", "sobject", "target-org", "wait"], - "alias": ["force:data:bulk:upsert"] - }, - { - "command": "force:data:record:create", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "json", "loglevel", "perflog", "sobject", "target-org", "use-tooling-api", "values"], - "alias": ["force:data:record:create"] - }, - { - "command": "force:data:record:delete", - "plugin": "@salesforce/plugin-data", - "flags": [ - "api-version", - "json", - "loglevel", - "perflog", - "record-id", - "sobject", - "target-org", - "use-tooling-api", - "where" - ], - "alias": ["force:data:record:delete"] - }, - { - "command": "force:data:record:get", - "plugin": "@salesforce/plugin-data", - "flags": [ - "api-version", - "json", - "loglevel", - "perflog", - "record-id", - "sobject", - "target-org", - "use-tooling-api", - "where" - ], - "alias": ["force:data:record:get"] - }, - { - "command": "force:data:record:update", - "plugin": "@salesforce/plugin-data", - "flags": [ - "api-version", - "json", - "loglevel", - "perflog", - "record-id", - "sobject", - "target-org", - "use-tooling-api", - "values", - "where" - ], - "alias": ["force:data:record:update"] - }, - { - "command": "force:data:soql:bulk:report", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "bulk-query-id", "json", "loglevel", "result-format", "target-org"], - "alias": ["force:data:soql:bulk:report"] - }, - { - "command": "force:data:soql:query", - "plugin": "@salesforce/plugin-data", - "flags": [ - "api-version", - "async", - "bulk", - "file", - "json", - "loglevel", - "perflog", - "query", - "result-format", - "target-org", - "use-tooling-api", - "wait" - ], - "alias": ["force:data:soql:query"] - }, - { - "command": "force:data:tree:export", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "json", "loglevel", "output-dir", "plan", "prefix", "query", "target-org"], - "alias": ["force:data:tree:export"] - }, - { - "command": "force:data:tree:import", - "plugin": "@salesforce/plugin-data", - "flags": ["api-version", "config-help", "content-type", "files", "json", "loglevel", "plan", "target-org"], - "alias": ["force:data:tree:import"] } ] diff --git a/messages/batcher.md b/messages/batcher.md index 47c084df..70a93207 100644 --- a/messages/batcher.md +++ b/messages/batcher.md @@ -2,10 +2,6 @@ Batch #%s -# NoBatchFound - -Unable to find batch %s for job %s. - # BulkError Upsert errors @@ -20,7 +16,7 @@ Batch Status # PollingInfo -Will poll the batch statuses every %s seconds +Will poll the batch statuses every %s seconds. To fetch the status on your own, press CTRL+C and use the command: <%= config.bin %> data resume -i %s -b [] @@ -31,7 +27,7 @@ An External ID is required on %s to perform an upsert. # TimeOut The operation timed out. Check the status with command: -sfdx data:resume -i %s -b %s +<%= config.bin %> data resume -i %s -b %s # CheckStatusCommand diff --git a/messages/bulk.delete.md b/messages/bulk.delete.md index fbf84674..ab16ad36 100644 --- a/messages/bulk.delete.md +++ b/messages/bulk.delete.md @@ -1,28 +1,31 @@ # summary -bulk delete records from a csv file +Bulk delete records from an org using a CSV file. # description -bulk delete records from a csv file -The file must be a CSV file with only one column: "Id". -One job can contain many batches, depending on the length of the CSV file. -Returns a job ID and a batch ID. Use these IDs to check job status with data:resume. +The CSV file must have only one column ("Id") and then the list of record IDs you want to delete, one ID per line. + +When you execute this command, it starts a job and one or more batches, displays their IDs, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the "<%= config.bin %> data resume" command. A single job can contain many batches, depending on the length of the CSV file. # examples -- <%= config.bin %> <%= command.id %> -s Account -f ./path/to/file.csv +- Bulk delete Account records using the list of IDs in the "files/delete.csv" file: + + <%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv + +- Bulk delete records from a custom object and wait 5 minutes for the command to complete: -- <%= config.bin %> <%= command.id %> -s MyObject\_\_c -f ./path/to/file.csv + <%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 # flags.sobjecttype -the sObject type of the records you’re deleting +API name of the Salesforce object, either standard or custom, that you want to delete records from. # flags.csvfile -the path to the CSV file containing the ids of the records to delete +CSV file that contains the IDs of the records to delete. # flags.wait -the number of minutes to wait for the command to complete before displaying the results +Number of minutes to wait for the command to complete before displaying the results. diff --git a/messages/bulk.report.md b/messages/bulk.report.md index 409ad70c..6b3c1fe9 100644 --- a/messages/bulk.report.md +++ b/messages/bulk.report.md @@ -1,16 +1,17 @@ # summary -view the status of a bulk query +View the status of a bulk query. # description -view the status of a bulk query -Run this command using the job ID returned from the data:query --bulk command. +Run this command using the job ID returned from the "<%= config.bin %> data query --bulk" command. # examples -- <%= config.bin %> <%= command.id %> -i 7500x000005BdFzXXX +- View the status of a bulk query with the specified ID: + + <%= config.bin %> <%= command.id %> --bulk-query-id 7500x000005BdFzXXX # flags.bulkQueryId -the job ID of the bulk query +Job ID of the bulk query. diff --git a/messages/bulk.status.md b/messages/bulk.status.md index 14546e18..5f30042c 100644 --- a/messages/bulk.status.md +++ b/messages/bulk.status.md @@ -1,25 +1,28 @@ # summary -view the status of a bulk data load job or batch +View the status of a bulk data load job or batch. # description -view the status of a bulk data load job or batch -Run this command using the job ID or batch ID returned from the data:delete:bulk or data:upsert:bulk commands. +Run this command using the job ID or batch ID returned from the "<%= config.bin %> data delete bulk" or "<%= config.bin %> data upsert bulk" commands. # examples -- <%= config.bin %> <%= command.id %> -i 750xx000000005sAAA +- View the status of a bulk load job: -- <%= config.bin %> <%= command.id %> -i 750xx000000005sAAA -b 751xx000000005nAAA + <%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA + +- View the status of a bulk load job and a specific batches: + + <%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA # flags.jobid -the ID of the job you want to view or of the job whose batch you want to view +ID of the job whose status you want to view. # flags.batchid -the ID of the batch whose status you want to view +ID of the batch whose status you want to view; you must also specify the job ID. # NoBatchFound diff --git a/messages/bulk.upsert.md b/messages/bulk.upsert.md index 2ef55425..fd9b809d 100644 --- a/messages/bulk.upsert.md +++ b/messages/bulk.upsert.md @@ -1,41 +1,43 @@ # summary -bulk upsert records from a CSV file +Bulk upsert records to an org from a CSV file. # description -bulk upsert records from a CSV file -Inserts or updates records from a CSV file. +An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist. -One job can contain many batches, depending on the length of the CSV file. -Returns a job ID and a batch ID. Use these IDs to check job status with data:resume. +When you execute this command, it starts a job and one or more batches, displays their IDs, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the "<%= config.bin %> data resume" command. A single job can contain many batches, depending on the length of the CSV file. -For information about formatting your CSV file, see "Prepare CSV Files" in the Bulk API Developer Guide. +See "Prepare CSV Files" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm) -By default, the job runs the batches in parallel. Specify --serial to run them serially. +By default, the job runs the batches in parallel, which we recommend. You can run jobs serially by specifying the --serial flag. But don't process data in serial mode unless you know this would otherwise result in lock timeouts and you can't reorganize your batches to avoid the locks. # examples -- <%= config.bin %> <%= command.id %> -s MyObject**c -f ./path/to/file.csv -i MyField**c +- Bulk upsert records to the Contact object: -- <%= config.bin %> <%= command.id %> -s MyObject\_\_c -f ./path/to/file.csv -i Id -w 2 + <%= config.bin %> --sobject Contact --file files/contacts.csv --external-id Id + +- Bulk upsert records to a custom object and wait 5 minutes for the command to complete: + + <%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/file.csv --external-id MyField__c --wait 5 # flags.sobjecttype -the sObject type of the records you want to upsert +API name of the Salesforce object, either standard or custom, that you want to upsert records to. # flags.csvfile -the path to the CSV file that defines the records to upsert +CSV file that contains the records to upsert. # flags.externalid -the column name of the external ID +Name of the external ID field, or the Id field. # flags.wait -the number of minutes to wait for the command to complete before displaying the results +Number of minutes to wait for the command to complete before displaying the results. # flags.serial -run batches in serial mode +Run batches in serial mode. diff --git a/messages/exportApi.md b/messages/exportApi.md index df1a489e..5d39e677 100644 --- a/messages/exportApi.md +++ b/messages/exportApi.md @@ -1,6 +1,6 @@ # queryNotProvided -Provide a SOQL query statement or file containing a SOQL statement. +Provide a SOQL query or a file that contains a SOQL query. # soqlInvalid @@ -8,11 +8,11 @@ Invalid SOQL query: %s # soqlMalformed -The provided SOQL is malformed: %s +The provided SOQL query is malformed: %s # soqlMalformedAction -Check the SOQL syntax and try again. +Check the SOQL query syntax and try again. # dataExportRecordCount @@ -20,6 +20,6 @@ Processed %s records from query: %s # dataExportRecordCountWarning -Query returned more than 200 records. Please run the command using the plan option instead. +Query returned more than 200 records. Run the command using the --plan flag instead. Record Count: %s Query: %s diff --git a/messages/importApi.md b/messages/importApi.md index 3caa6608..2f47e9e8 100644 --- a/messages/importApi.md +++ b/messages/importApi.md @@ -4,7 +4,7 @@ Provide a data plan or file(s). # dataFileNotFound -Cannot find data file. Indicate a valid path: %s. +Can't find data file. Indicate a valid path: %s. # unknownContentType @@ -20,15 +20,15 @@ Data file is empty: %s. # dataFileInvalidJson -data file is invalid JSON: %s +Data file is invalid JSON: %s # dataFileNoRefId -Found references in file, but no reference-id content found (%s). Was parent SObjects saved first? +Found references in file, but no reference-id content found (%s). Were parent SObjects saved first? # tooManyFiles -Specify either sobjecttreefiles or a plan, but not both. +Specify either sObject tree files or a plan definition file, but not both. # dataImportFailed @@ -38,18 +38,14 @@ Import failed from file: %s. Results: %s. Data plan file %s did not validate against the schema. -# dataPlanValidationErrorAction1 +# dataPlanValidationErrorActions -Did you run the data:export:tree command with the --plan flag? +- Did you run the "<%= config.bin %> data export tree" command with the --plan flag? -# dataPlanValidationErrorAction2 +- Make sure you're importing a plan definition file. -Make sure you are importing a plan file. - -# dataPlanValidationErrorAction3 - -You can get help with the import plan schema by running <%= config.bin %> data:import:tree --config-help -%s +- Get help with the import plan schema by running "<%= config.bin %> data import tree --config-help". + %s # FlsError diff --git a/messages/messages.md b/messages/messages.md index ad5e8200..4fb6e121 100644 --- a/messages/messages.md +++ b/messages/messages.md @@ -1,26 +1,14 @@ # perfLogLevelOption -get API performance data +Get API performance data. # perfLogLevelOptionLong -Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json - -# NeitherSobjectidNorWhereError - -Either --where or --sobjectid flags must be specified - -# NeitherSobjectidNorWhereErrorActions - -Provide values for either --where or --sobjectid flags - -# BothSobjectidAndWhereError - -Both --where and --sobjectid flags are specified +Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json. # DataRecordGetNoRecord -No matching record found +No matching record found. # DataRecordGetMultipleRecords @@ -29,12 +17,4 @@ Retrieve only one record. # TextUtilMalformedKeyValuePair -Malformed key=value pair for value: %s - -# PathDoesNotExist - -The specified path [%s] does not exist - -# flags.target-org - -username or alias for the target org; overrides default target org +Malformed key=value pair for value: %s. diff --git a/messages/record.create.md b/messages/record.create.md index ef25b0e2..d3f365be 100644 --- a/messages/record.create.md +++ b/messages/record.create.md @@ -1,37 +1,40 @@ # summary -creates and inserts a record +Create and insert a record into a Salesforce or Tooling API object. # description -creates and inserts a record -The format of a field-value pair is =. -Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. -Enclose values that contain spaces in single quotes. +You must specify a value for all required fields of the object. + +When specifying fields, use the format =. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes. + +This command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object. # flags.sobject -the type of the record you’re creating +API name of the Salesforce or Tooling API object that you're inserting a record into. # flags.values -the = pairs you’re creating +Values for the flags in the form =, separate multiple pairs with spaces. # flags.useToolingApi -create the record with tooling api +Use Tooling API so you can insert a record in a Tooling API object. # examples -- <%= config.bin %> <%= command.id %> -s Account -v "Name=Acme" +- Insert a record into the Account object of your default org; only the required Name field has a value: + + <%= config.bin %> <%= command.id %> --sobject Account --values "Name=Acme" -- <%= config.bin %> <%= command.id %> -s Account -v "Name='Universal Containers'" +- Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias "my-scratch": -- <%= config.bin %> <%= command.id %> -s Account -v "Name='Universal Containers' Website=www.example.com" + <%= config.bin %> <%= command.id %> --sobject Account --values "Name='Universal Containers' Website=www.example.com" --target-org my-scratch -- <%= config.bin %> <%= command.id %> -t -s TraceFlag -v "DebugLevelId=7dl170000008U36AAE StartDate=2017-12-01T00:26:04.000+0000 ExpirationDate=2017-12-01T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS" +- Insert a record into the Tooling API object TraceFlag: -- <%= config.bin %> <%= command.id %> -s Account -v "Name=Acme" --perflog --json + <%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values "DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS" # createSuccess diff --git a/messages/record.delete.md b/messages/record.delete.md index 493327c4..acdbc025 100644 --- a/messages/record.delete.md +++ b/messages/record.delete.md @@ -1,42 +1,48 @@ # summary -deletes a single record +Deletes a single record from a Salesforce or Tooling API object. # description -deletes a single record -Specify an sObject type and either an ID or a list of = pairs. -The format of a field-value pair is =. -Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. -Enclose values that contain spaces in single quotes. +Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found. + +When specifying field-value pairs, use the format =. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes. + +This command deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object. # flags.sobject -the type of the record you’re deleting +API name of the Salesforce or Tooling API object that you're deleting a record from. # flags.recordId -the ID of the record you’re deleting +ID of the record you’re deleting. # flags.where -a list of = pairs to search for +List of = pairs that identify the record you want to delete. # flags.useToolingApi -delete the record with Tooling API +Use Tooling API so you can delete a record from a Tooling API object. # examples -- <%= config.bin %> <%= command.id %> -s Account -i 001D000000Kv3dl +- Delete a record from Account with the specified (truncated) ID: + + <%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX + +- Delete a record from Account whose name equals "Acme": + + <%= config.bin %> <%= command.id %> --sobject Account --where "Name=Acme" -- <%= config.bin %> <%= command.id %> -s Account -w "Name=Acme" +- Delete a record from Account identified with two field values, one that contains a space; the command uses the org with alias "my-scratch": -- <%= config.bin %> <%= command.id %> -s Account -w "Name='Universal Containers'" + <%= config.bin %> <%= command.id %> --sobject Account --where "Name='Universal Containers' Phone='(123) 456-7890'" --target-org myscratch -- <%= config.bin %> <%= command.id %> -s Account -w "Name='Universal Containers' Phone='(123) 456-7890'" +- Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID: -- <%= config.bin %> <%= command.id %> -t -s TraceFlag -i 7tf170000009cU6AAI --perflog --json + <%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c # deleteSuccess diff --git a/messages/record.get.md b/messages/record.get.md index ef0716c1..8a34d29e 100644 --- a/messages/record.get.md +++ b/messages/record.get.md @@ -1,39 +1,47 @@ # summary -displays a single record +Retrieve and display a single record of a Salesforce or Tooling API object. # description -displays a single record -Specify an sObject type and either an ID or a list of = pairs. -The format of a field-value pair is =. -Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. -Enclose values that contain spaces in single quotes. +Specify the record you want to retrieve with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the command fails; the error displays how many records were found. + +When specifying field-value pairs, use the format =. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes. + +The command displays all the record's fields and their values, one field per terminal line. Fields with no values are displayed as "null". + +This command retrieves a record from Salesforce objects by default. Use the --use-tooling-api flag to retrieve from a Tooling API object. # flags.sobject -the type of the record you’re retrieving +API name of the Salesforce or Tooling API object that you're retrieving a record from. # flags.recordId -the ID of the record you’re retrieving +ID of the record you’re retrieving. # flags.where -a list of = pairs to search for +List of = pairs that identify the record you want to display. # flags.useToolingApi -retrieve the record with Tooling API +Use Tooling API so you can retrieve a record from a Tooling API object. # examples -- <%= config.bin %> <%= command.id %> -s Account -i 001D000000Kv3dl +- Retrieve and display a record from Account with the specified (truncated) ID: + + <%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX + +- Retrieve a record from Account whose name equals "Acme": + + <%= config.bin %> <%= command.id %> --sobject Account --where "Name=Acme" -- <%= config.bin %> <%= command.id %> -s Account -w "Name=Acme" +- Retriee a record from Account identified with two field values, one that contains a space; the command uses the org with alias "my-scratch": -- <%= config.bin %> <%= command.id %> -s Account -w "Name='Universal Containers'" + <%= config.bin %> <%= command.id %> --sobject Account --where "Name='Universal Containers' Phone='(123) 456-7890'" --target-org myscratch -- <%= config.bin %> <%= command.id %> -s Account -w "Name='Universal Containers' Phone='(123) 456-7890'" +- Retrieve a record from the Tooling API object TraceFlag with the specified (truncated) ID: -- <%= config.bin %> <%= command.id %> -t -s TraceFlag -i 7tf170000009cUBAAY --perflog --json + <%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c diff --git a/messages/record.update.md b/messages/record.update.md index 0215e23c..979f5fdf 100644 --- a/messages/record.update.md +++ b/messages/record.update.md @@ -1,45 +1,52 @@ # summary -updates a single record +Updates a single record of a Salesforce or Tooling API object. # description -updates a single record -The format of a field-value pair is =. -Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. -Enclose values that contain spaces in single quotes. +Specify the record you want to update with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found. + +When using field-value pairs for both identifying the record and specifiyng the new field values, use the format =. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes. + +This command updates a record in Salesforce objects by default. Use the --use-tooling-api flag to update a Tooling API object. # flags.sobject -the sObject type of the record you’re updating +API name of the Salesforce or Tooling API object that contains the record you're updating. # flags.recordId -the ID of the record you’re updating +ID of the record you’re updating. # flags.where -a list of = pairs to search for +List of = pairs that identify the record you want to update. # flags.useToolingApi -update the record with Tooling API +Use Tooling API so you can update a record in a Tooling API object. # flags.values -the = pairs you’re updating +Fields that you're updating, in the format of = pairs. # examples -- <%= config.bin %> <%= command.id %> -s Account -i 001D000000Kv3dl -v "Name=NewAcme" +- Update the Name field of an Account record with the specified (truncated) ID: + + <%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values "Name=NewAcme" + +- Update the Name field of an Account record whose current name is 'Old Acme': + + <%= config.bin %> <%= command.id %> --sobject Account --where "Name='Old Acme'" --values "Name='New Acme'" -- <%= config.bin %> <%= command.id %> -s Account -w "Name='Old Acme'" -v "Name='New Acme'" +- Update the Name and Website fields of an Account record with the specified (truncated) ID: -- <%= config.bin %> <%= command.id %> -s Account -i 001D000000Kv3dl -v "Name='Acme III' Website=www.example.com" + <%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values "Name='Acme III' Website=www.example.com" -- <%= config.bin %> <%= command.id %> -t -s TraceFlag -i 7tf170000009cUBAAY -v "ExpirationDate=2017-12-01T00:58:04.000+0000" +- Update the ExpirationDate field of a record of the Tooling API object TraceFlag using the specified (truncated) ID: -- <%= config.bin %> <%= command.id %> -s Account -i 001D000000Kv3dl -v "Name=NewAcme" --perflog --json + <%= config.bin %> <%= command.id %> -t --sobject TraceFlag --record-id 7tf170000009cUBAAY --values "ExpirationDate=2017-12-01T00:58:04.000+0000" # updateSuccess diff --git a/messages/soql.query.md b/messages/soql.query.md index 36453a7f..17ee7327 100644 --- a/messages/soql.query.md +++ b/messages/soql.query.md @@ -1,85 +1,72 @@ # summary -execute a SOQL query +Execute a SOQL query. # description -execute a SOQL query -When you execute this command in a project, it executes the query against the data in your default scratch org. +Specify the SOQL query at the command line with the --query flag or read the query from a file with the --file flag. + +If your query returns more than 10,000 records, specify the --bulk flag. The command then runs the query using Bulk API 2.0, which has higher limits than the default API used by the command. + +When using --bulk, the command waits 3 minutes by default for the query to complete. Use the --wait parameter to specify a different number of minutes to wait, or set --wait to 0 to immediately return control to the terminal. If you set --wait to 0, or you use the --async flag, or the command simply times out, the command displays an ID. Pass this ID to the the "data query resume" command using the --bulk-query-id flag to get the results; pass the ID to the "data resume" command to get the job status. # examples -- <%= config.bin %> <%= command.id %> -q "SELECT Id, Name, Account.Name FROM Contact" +- Specify a SOQL query at the command line; the command uses your default org: + + <%= config.bin %> <%= command.id %> --query "SELECT Id, Name, Account.Name FROM Contact" + +- Read the SOQL query from a file called "query.txt"; the command uses the org with alias "my-scratch": -- <%= config.bin %> <%= command.id %> -q "SELECT Id, Name FROM Account WHERE ShippingState IN ('CA', 'NY')" + <%= config.bin %> <%= command.id %> --file query.txt --target-org my-scratch -- <%= config.bin %> <%= command.id %> -q "SELECT Id, Name FROM Account WHERE ShippingState IN ('CA', 'NY')" --perflog --json +- Use Tooling API to run a query on the ApexTrigger Tooling API object: -- <%= config.bin %> <%= command.id %> -q "SELECT Name FROM ApexTrigger" -t + <%= config.bin %> <%= command.id %> --query "SELECT Name FROM ApexTrigger" --use-tooling-api -- <%= config.bin %> <%= command.id %> --soqlqueryfile query.txt +- Use Bulk API 2.0 to run a query that returns many rows, and return control to the terminal immediately: -- <%= config.bin %> <%= command.id %> --soqlqueryfile query.txt -t + <%= config.bin %> <%= command.id %> --query "SELECT Id FROM Contact" --bulk --wait 0 # flags.queryToExecute -SOQL query to execute +SOQL query to execute. # flags.useToolingApi -execute query with Tooling API +Use Tooling API so you can run queries on Tooling API objects. # flags.file -A SOQL query stored in a file +File that contains the SOQL query. # flags.bulk -use the bulk 2.0 API to query data +Use Bulk API 2.0 to run the query. # flags.async -use bulk, but do not wait for job to complete +Use Bulk API 2.0, but don't wait for the job to complete. # flags.wait -wait time for command to finish in minutes +Time to wait for the command to finish, in minutes. # flags.resultFormat -result format emitted to stdout; --json flag overrides this parameter - -# flags.resultFormat.description - -Format to use when displaying results. If you also specify the --json flag, --json overrides this parameter. +Format to display the results; the --json flag overrides this flag. # displayQueryRecordsRetrieved Total number of records retrieved: %s. -# queryNoResults - -Your query returned no results. - # queryRunningMessage Querying Data -# queryMoreUpdateMessage - -Result size is %d, current count is %d - -# queryInvalidReporter - -Unknown result format type. Must be one of the following values: %s - # bulkQueryTimeout Query ID: %s Query is in progress. -Run <%= config.bin %> data resume -i %s -o %s to get the latest status/results - -# noResults - -Your query returned no results. +Run "<%= config.bin %> data query resume -i %s -o %s" to get the latest status and results. diff --git a/messages/tree.export.md b/messages/tree.export.md index 4a081c49..24a8567c 100644 --- a/messages/tree.export.md +++ b/messages/tree.export.md @@ -1,31 +1,41 @@ # summary -export data from an org +Export data from an org into one or more JSON files. # description -export data from an org -Exports data from an org into sObject tree format for use with the data:import:tree command. -The query for export can return a maximum of 2,000 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm +Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the "<%= config.bin %> data import tree" command. + +If your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org. + +The SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm). # flags.query -soql query, or filepath of file containing a soql query, to retrieve records +SOQL query, or filepath of a file that contains the query, to retrieve records. # flags.plan -generate multiple sobject tree files and a plan definition file for aggregated import +Generate multiple sObject tree files and a plan definition file for aggregated import. # flags.prefix -prefix of generated files +Prefix of generated files. # flags.outputdir -directory to store files +Directory in which to generate the JSON files; default is current directory. # examples -- <%= config.bin %> <%= command.id %> -q "SELECT Id, Name, (SELECT Name Address**c FROM Properties**r) FROM Broker\_\_c" +- Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org: + + <%= config.bin %> <%= command.id %> --query "SELECT Id, Name, (SELECT Name, Address**c FROM Properties**r) FROM Broker\_\_c" + +- Export data using a SOQL query in the "query.txt" file and generate JSON files for each object and a plan that aggregates them: + + <%= config.bin %> <%= command.id %> --query query.txt --plan + +- Prepend "export-demo" before each generated file and generate the files in the "export-out" directory; run the command on the org with alias "my-scratch": -- <%= config.bin %> <%= command.id %> -q -x export-demo -d /tmp/sfdx-out -p + <%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch diff --git a/messages/tree.import.md b/messages/tree.import.md index 818f7fcd..48b1d903 100644 --- a/messages/tree.import.md +++ b/messages/tree.import.md @@ -1,44 +1,37 @@ # summary -import data into an org +Import data from one or more JSON files into an org. # description -import data into an org -IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations. +The JSON files that contain the data are in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use the "<%= config.bin %> data export tree" command to generate these JSON files. -Imports data into an org using the SObject Tree Save API. This data can include master-detail relationships. -To generate JSON files for use with data:import:tree, run "<%= config.bin %> data:export:tree". -The SObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm +If you used the --plan flag when exporting the data to generate a plan definition file, use the --plan flag to reference the file when you import. If you're not using a plan, use the --files flag to list the files. If you specify multiple JSON files that depend on each other in a parent-child relationship, be sure you list them in the correct order. + +The sObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm) # flags.files -comma-delimited, ordered paths of json files containing collection of record trees to insert +Comma-separated and in-order JSON files that contain the records, in sObject tree format, that you want to insert. # flags.plan -path to plan to insert multiple data files that have master-detail relationships +Plan definition file to insert multiple data files. # flags.contenttype -if data file extension is not .json, provide content type (applies to all files) +Content type of import files if their extention is not .json. # flags.confighelp -display schema information for the --plan configuration file to stdout; if you use this option, all other options except --json are ignored +Display schema information for the --plan configuration file to stdout; if you specify this flag, all other flags except --json are ignored. # examples -- <%= config.bin %> <%= command.id %> -f Contact.json,Account.json -u me@my.org - -- <%= config.bin %> <%= command.id %> -p Account-Contact-plan.json -u me@my.org - -# importFailure +- Import the records contained in two JSON files into the org with alias "my-scratch": -Data plan file %s did not validate against the schema. + <%= config.bin %> <%= command.id %> --files Contact.json,Account.json --target-org my-scratch -# importFailureActions +- Import records using a plan definition file into your default org: -Did you run the data:export:tree command with the --plan flag? -Make sure you are importing a plan file. -You can get help with the import plan schema by running <%= config.bin %> data:import:tree --confighelp + <%= config.bin %> <%= command.id %> --plan Account-Contact-plan.json diff --git a/package.json b/package.json index 1f174d01..1919940b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@salesforce/plugin-data", - "version": "2.1.11", + "version": "2.1.17", "description": "Plugin for salesforce data commands", "author": "Salesforce", "main": "lib/index.js", @@ -95,20 +95,20 @@ "@types/fs-extra": "^9.0.13", "chalk": "^4.1.0", "csv-parse": "^4.16.3", - "csv-stringify": "^6.0.5", + "csv-stringify": "^6.2.3", "fs-extra": "^10.0.1", "jsforce": "^2.0.0-beta.19", "tslib": "^2" }, "devDependencies": { - "@oclif/plugin-command-snapshot": "^3.1.3", - "@salesforce/cli-plugins-testkit": "^3.2.3", + "@oclif/plugin-command-snapshot": "^3.2.11", + "@salesforce/cli-plugins-testkit": "^3.2.15", "@salesforce/dev-config": "^3.0.1", "@salesforce/dev-scripts": "^3.1.0", "@salesforce/plugin-command-reference": "^2.2.8", "@salesforce/prettier-config": "^0.0.2", - "@salesforce/ts-sinon": "^1.4.1", - "@swc/core": "^1.3.16", + "@salesforce/ts-sinon": "^1.4.2", + "@swc/core": "^1.3.23", "@types/chai-as-promised": "^7.1.3", "@types/graceful-fs": "^4.1.5", "@types/shelljs": "^0.8.10", @@ -124,13 +124,13 @@ "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsdoc": "^39.3.6", - "eslint-plugin-sf-plugin": "^1.2.3", + "eslint-plugin-sf-plugin": "^1.3.1", "fast-xml-parser": "^3.20.3", "husky": "^7.0.4", "mocha": "^9.1.3", "nyc": "^15.1.0", - "oclif": "^2.6.3", - "prettier": "^2.7.1", + "oclif": "^3.4.2", + "prettier": "^2.8.0", "pretty-quick": "^3.1.0", "shelljs": "^0.8.3", "shx": "^0.3.3", diff --git a/src/api/data/tree/importApi.ts b/src/api/data/tree/importApi.ts index e713a5b8..c028497f 100644 --- a/src/api/data/tree/importApi.ts +++ b/src/api/data/tree/importApi.ts @@ -292,7 +292,8 @@ export class ImportApi { if (error.name === 'ValidationSchemaFieldErrors') { throw new SfError( messages.getMessage('dataPlanValidationError', [planPath, error.message]), - INVALID_DATA_IMPORT_ERR_NAME + INVALID_DATA_IMPORT_ERR_NAME, + messages.getMessages('dataPlanValidationErrorActions') ); } throw SfError.wrap(error); diff --git a/src/commands/data/create/record.ts b/src/commands/data/create/record.ts index 5d9f6be5..d6860614 100644 --- a/src/commands/data/create/record.ts +++ b/src/commands/data/create/record.ts @@ -20,7 +20,7 @@ export default class Create extends SfCommand { public static readonly examples = messages.getMessages('examples'); public static aliases = ['force:data:record:create']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, sobject: Flags.string({ char: 's', diff --git a/src/commands/data/delete/bulk.ts b/src/commands/data/delete/bulk.ts index eaad49e9..2550ba49 100644 --- a/src/commands/data/delete/bulk.ts +++ b/src/commands/data/delete/bulk.ts @@ -29,7 +29,7 @@ export default class Delete extends SfCommand { public static readonly aliases = ['force:data:bulk:delete']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, file: Flags.file({ char: 'f', diff --git a/src/commands/data/delete/record.ts b/src/commands/data/delete/record.ts index 3fe80a6e..18f6d28e 100644 --- a/src/commands/data/delete/record.ts +++ b/src/commands/data/delete/record.ts @@ -21,7 +21,7 @@ export default class Delete extends SfCommand { public static aliases = ['force:data:record:delete']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, sobject: Flags.string({ char: 's', diff --git a/src/commands/data/export/tree.ts b/src/commands/data/export/tree.ts index 5d0f9805..b7dd1522 100644 --- a/src/commands/data/export/tree.ts +++ b/src/commands/data/export/tree.ts @@ -21,7 +21,7 @@ export default class Export extends SfCommand { public static aliases = ['force:data:record:get']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, sobject: Flags.string({ char: 's', diff --git a/src/commands/data/import/tree.ts b/src/commands/data/import/tree.ts index 185a0bfa..600e9206 100644 --- a/src/commands/data/import/tree.ts +++ b/src/commands/data/import/tree.ts @@ -30,7 +30,7 @@ export default class Import extends SfCommand { public static readonly aliases = ['force:data:tree:import']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, files: arrayWithDeprecation({ char: 'f', diff --git a/src/commands/data/query.ts b/src/commands/data/query.ts index 963a1ae1..b7e37930 100644 --- a/src/commands/data/query.ts +++ b/src/commands/data/query.ts @@ -34,7 +34,7 @@ export class DataSoqlQueryCommand extends SfCommand { public static readonly aliases = ['force:data:soql:query']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, query: Flags.string({ char: 'q', @@ -77,7 +77,6 @@ export class DataSoqlQueryCommand extends SfCommand { 'result-format': Flags.enum({ char: 'r', summary: messages.getMessage('flags.resultFormat'), - description: messages.getMessage('flags.resultFormat.description'), options: ['human', 'json', 'csv'], default: 'human', aliases: ['resultformat'], diff --git a/src/commands/data/query/resume.ts b/src/commands/data/query/resume.ts index a8c883db..330cf27e 100644 --- a/src/commands/data/query/resume.ts +++ b/src/commands/data/query/resume.ts @@ -23,7 +23,7 @@ export class BulkQueryReport extends SfCommand { public static readonly aliases = ['force:data:soql:bulk:report']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, 'result-format': DataSoqlQueryCommand.flags['result-format'], 'bulk-query-id': Flags.salesforceId({ diff --git a/src/commands/data/resume.ts b/src/commands/data/resume.ts index de693c3a..92b2a1b7 100644 --- a/src/commands/data/resume.ts +++ b/src/commands/data/resume.ts @@ -21,7 +21,7 @@ export default class Status extends SfCommand { public static readonly aliases = ['force:data:bulk:status']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, 'batch-id': Flags.salesforceId({ char: 'b', diff --git a/src/commands/data/update/record.ts b/src/commands/data/update/record.ts index f850a159..09097ee2 100644 --- a/src/commands/data/update/record.ts +++ b/src/commands/data/update/record.ts @@ -22,7 +22,7 @@ export default class Update extends SfCommand { public static readonly aliases = ['force:data:record:update']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, sobject: Flags.string({ char: 's', diff --git a/src/commands/data/upsert/bulk.ts b/src/commands/data/upsert/bulk.ts index e5a85749..f478a852 100644 --- a/src/commands/data/upsert/bulk.ts +++ b/src/commands/data/upsert/bulk.ts @@ -21,7 +21,7 @@ export default class Upsert extends SfCommand { public static readonly aliases = ['force:data:bulk:upsert']; public static readonly deprecateAliases = true; - public static flags = { + public static readonly flags = { ...orgFlags, 'external-id': Flags.string({ char: 'i', diff --git a/src/dataCommand.ts b/src/dataCommand.ts index 0016d2b2..c942c6a9 100644 --- a/src/dataCommand.ts +++ b/src/dataCommand.ts @@ -80,13 +80,17 @@ const parseKeyValueSequence = (text: string): string[] => { const keyValuePairs: string[] = []; const trimmedText = text.trim(); + + const singleQuoteCount = (trimmedText.match(/'/g) ?? []).length; + const doubleQuoteCount = (trimmedText.match(/"/g) ?? []).length; + for (const currentChar of trimmedText) { - const isSeparator = separator.exec(currentChar); + const isSeparator = separator.test(currentChar); - if (currentChar === "'" && !inDoubleQuote) { + if (currentChar === "'" && !inDoubleQuote && singleQuoteCount >= 2) { inSingleQuote = !inSingleQuote; continue; - } else if (currentChar === '"' && !inSingleQuote) { + } else if (currentChar === '"' && !inSingleQuote && doubleQuoteCount >= 2) { inDoubleQuote = !inDoubleQuote; continue; } diff --git a/src/flags.ts b/src/flags.ts index 9c02f916..f40ffe9d 100644 --- a/src/flags.ts +++ b/src/flags.ts @@ -13,11 +13,7 @@ import { } from '@salesforce/sf-plugins-core'; Messages.importMessagesDirectory(__dirname); -const messages = Messages.load('@salesforce/plugin-data', 'messages', [ - 'flags.target-org', - 'perfLogLevelOption', - 'perfLogLevelOptionLong', -]); +const messages = Messages.load('@salesforce/plugin-data', 'messages', ['perfLogLevelOption', 'perfLogLevelOptionLong']); export const perflogFlag = Flags.boolean({ summary: messages.getMessage('perfLogLevelOption'), diff --git a/test/api/data/tree/importApi.test.ts b/test/api/data/tree/importApi.test.ts index ec87b744..f24cc1f2 100644 --- a/test/api/data/tree/importApi.test.ts +++ b/test/api/data/tree/importApi.test.ts @@ -292,7 +292,7 @@ describe('ImportApi', () => { } catch (err) { const error = err as Error; expect(error.name).to.equal('InvalidDataImport'); - expect(error.message).to.equal(`Cannot find data file. Indicate a valid path: ${filepath}.`); + expect(error.message).to.equal(messages.getMessage('dataFileNotFound', [filepath])); } }); diff --git a/test/commands/data/dataCommand.test.ts b/test/commands/data/dataCommand.test.ts new file mode 100644 index 00000000..b7172c54 --- /dev/null +++ b/test/commands/data/dataCommand.test.ts @@ -0,0 +1,91 @@ +/* + * Copyright (c) 2022, salesforce.com, inc. + * All rights reserved. + * Licensed under the BSD 3-Clause license. + * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + */ + +import { describe, it } from 'mocha'; +import { expect } from 'chai'; + +import { stringToDictionary } from '../../../src/dataCommand'; + +describe('dataCommand', () => { + it('should transform a "key=value" string into an equivalent object', () => { + const dict = stringToDictionary('key=value'); + + expect(dict).to.deep.equal({ + key: 'value', + }); + }); + + it('should transform a "key=leftvalue rightvalue" string into an equivalent object', () => { + const dict = stringToDictionary('key="leftvalue rightvalue"'); + + expect(dict).to.deep.equal({ + key: 'leftvalue rightvalue', + }); + }); + + it('should transform a "key1=value key2=value" string into an equivalent object', () => { + const dict = stringToDictionary('key1=value key2=value'); + + expect(dict).to.deep.equal({ + key1: 'value', + key2: 'value', + }); + }); + + it('should transform a "key1=value key2=leftvalue rightvalue" string into an equivalent object', () => { + const dict = stringToDictionary('key1=value key2="leftvalue rightvalue"'); + + expect(dict).to.deep.equal({ + key1: 'value', + key2: 'leftvalue rightvalue', + }); + }); + + it('should allow single quotes in key=value pairs', () => { + let dict = stringToDictionary('key="val\'ue"'); + + expect(dict).to.deep.equal({ + key: "val'ue", + }); + + dict = stringToDictionary("key=val'ue"); + + expect(dict).to.deep.equal({ + key: "val'ue", + }); + }); + + it('should allow double quotes in key=value pairs', () => { + let dict = stringToDictionary("key='val\"ue'"); + + expect(dict).to.deep.equal({ + key: 'val"ue', + }); + + dict = stringToDictionary('key=val"ue'); + + expect(dict).to.deep.equal({ + key: 'val"ue', + }); + }); + + it('should allow non alphanumeric characters in key=value pairs', () => { + const dict = stringToDictionary('key=!@#$%^&*()-_=+[{]}\\|;:,<.>/?`~'); + + expect(dict).to.deep.equal({ + key: '!@#$%^&*()-_=+[{]}\\|;:,<.>/?`~', + }); + }); + + it('should allow weird or foreign unicode characters in key=value pairs', () => { + const dict = stringToDictionary('key=♣♦♥♠&£ë╤è☺¼Φ╚↕↓㍿々'); + + expect(dict).to.deep.equal({ + key: '♣♦♥♠&£ë╤è☺¼Φ╚↕↓㍿々', + }); + }); +}); diff --git a/test/commands/data/dataSoqlQuery.nut.ts b/test/commands/data/dataSoqlQuery.nut.ts index 920a9957..1faf3540 100644 --- a/test/commands/data/dataSoqlQuery.nut.ts +++ b/test/commands/data/dataSoqlQuery.nut.ts @@ -322,7 +322,7 @@ describe('data:soql:query command', () => { } ).shellOutput.stdout; - expect(queryResult).to.match(/Run .* data resume -i .* -o .* to get the latest status\/results/g); + expect(queryResult).to.match(/.*Run .* resume -i .* -o .* to get the latest status and results*/g); }); }); }); diff --git a/test/commands/data/get/record.test.ts b/test/commands/data/get/record.test.ts index c605e6c2..966391cf 100644 --- a/test/commands/data/get/record.test.ts +++ b/test/commands/data/get/record.test.ts @@ -5,8 +5,8 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import { resolve } from 'path'; - import { strict as assert } from 'assert'; +import { Messages } from '@salesforce/core'; import { ensureJsonMap, ensureString, AnyJson } from '@salesforce/ts-types'; import { expect } from 'chai'; import { TestContext, MockTestOrgData, shouldThrow } from '@salesforce/core/lib/testSetup'; @@ -15,6 +15,8 @@ import { Config } from '@oclif/core'; import Get from '../../../../src/commands/data/get/record'; const sObjectId = '0011100001zhhyUAAQ'; +Messages.importMessagesDirectory(__dirname); +const messages = Messages.loadMessages('@salesforce/plugin-data', 'messages'); describe('force:data:record:get', () => { const $$ = new TestContext(); @@ -74,7 +76,7 @@ describe('force:data:record:get', () => { await shouldThrow(cmd.run()); } catch (e) { assert(e instanceof Error); - expect(e.name).to.equal('Malformed key=value pair for value: Name'); + expect(e.name).to.equal(messages.getMessage('TextUtilMalformedKeyValuePair', ['Name'])); } }); }); diff --git a/yarn.lock b/yarn.lock index 3125e1e8..5548700b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -695,10 +695,10 @@ node-gyp "^8.2.0" read-package-json-fast "^2.0.1" -"@oclif/color@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@oclif/color/-/color-1.0.1.tgz#20ab9205e0924c6388918a88874e1f4b32df9970" - integrity sha512-qjYr+izgWdIVOroiBKqTzQgc1r5Wd9QB1J7yGM2EeelqhBARiiVLRZL45vhV4zdyTRdDkZS0EBzFwQap+nliLA== +"@oclif/color@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@oclif/color/-/color-1.0.2.tgz#fbb857251454d737033e1dcd6d19fe5ba1d61350" + integrity sha512-HqTFeMjfLOZajxqffSkyDWFUB3YqsSLRcsvnvITGRzhO0Ip4Qwp0VHVwh+qe0TjJYEltmOgzoxsR1LZPQIHNBQ== dependencies: ansi-styles "^4.2.1" chalk "^4.1.0" @@ -742,7 +742,7 @@ is-wsl "^2.1.1" tslib "^2.3.1" -"@oclif/core@^1.0.8", "@oclif/core@^1.2.1", "@oclif/core@^1.21.0", "@oclif/core@^1.22.0", "@oclif/core@^1.3.4", "@oclif/core@^1.3.6", "@oclif/core@^1.6.3", "@oclif/core@^1.6.4": +"@oclif/core@^1.20.3", "@oclif/core@^1.20.4", "@oclif/core@^1.21.0", "@oclif/core@^1.22.0", "@oclif/core@^1.6.3": version "1.22.0" resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.22.0.tgz#dfdd76db6435cc1be2de7bbe25c23302332b9297" integrity sha512-Bvyi6uFbmpkFl9XUATsGMlqEDGfqMKWL0Mu5VQTuPg7/NIyfygYkaburn11uGkOp0a8yG6fPpyVBfGmztjNPGA== @@ -836,18 +836,18 @@ chalk "^4.1.0" tslib "^2.3.1" -"@oclif/plugin-command-snapshot@^3.1.3": - version "3.1.3" - resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-3.1.3.tgz#9adf78dfd2415fc70a5341118f6decc4ebe0aa10" - integrity sha512-zF84uT/hSt4zo+BCURPVpdLdRczXAKYY6X26ImyvLyfTeZp3XfTFNMSYK1eHDvvmc+vlLCGk/eUeXf8yi3C2iA== +"@oclif/plugin-command-snapshot@^3.2.11": + version "3.2.11" + resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-3.2.11.tgz#92bb7d806521b437a10b84098c77a20e43c251a5" + integrity sha512-6ytjcdvMj6Vgfu01JxHiUMqkkelAtGQq6KB96VolZJFgHWvPqL0Pvmedqynp33pgr+epWPs+b2weck2ixKcpqg== dependencies: - "@oclif/core" "^1.3.4" + "@oclif/core" "^1.20.4" chalk "^4.1.2" - just-diff "^3.1.1" - semver "^7.3.5" - sinon "^11.1.2" - ts-json-schema-generator "^0.97.0" - tslib "^2" + just-diff "^5.1.1" + lodash "^4.17.21" + semver "^7.3.8" + ts-json-schema-generator "^1.1.2" + tslib "^2.4.1" "@oclif/plugin-help@3.2.18": version "3.2.18" @@ -866,35 +866,35 @@ widest-line "^3.1.0" wrap-ansi "^6.2.0" -"@oclif/plugin-help@^5.1.11": - version "5.1.12" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.1.12.tgz#24a18631eb9b22cb55e1a3b8e4f6039fd42727e6" - integrity sha512-HvH/RubJxqCinP0vUWQLTOboT+SfjfL8h40s+PymkWaldIcXlpoRaJX50vz+SjZIs7uewZwEk8fzLqpF/BWXlg== +"@oclif/plugin-help@^5.1.19": + version "5.1.20" + resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.1.20.tgz#eba25a93266c271c7bbd08034bf53975f022476e" + integrity sha512-N8xRxE/isFcdBDI8cobixEZA5toxIK5jbxpwALNTr4s8KNAtBA3ORQrSiY0fWGkcv0sCGMwZw7rJ0Izh18JPsw== dependencies: - "@oclif/core" "^1.3.6" + "@oclif/core" "^1.21.0" -"@oclif/plugin-not-found@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-2.3.1.tgz#8fe1019fdeeb77be055314662bb9180808222e80" - integrity sha512-AeNBw+zSkRpePmpXO8xlL072VF2/R2yK3qsVs/JF26Yw1w77TWuRTdFR+hFotJtFCJ4QYqhNtKSjdryCO9AXsA== +"@oclif/plugin-not-found@^2.3.7": + version "2.3.9" + resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-2.3.9.tgz#045277bf04c8fd6ee25e68d5355658985c21404a" + integrity sha512-FJXIa5KmNbCgO8kDVJ23C/SkRRuwMYaRTNs5jejwrwKAm5fPp+TnR1+4pBp64ik7FA806nioqMGlotiyEWfMJA== dependencies: - "@oclif/color" "^1.0.0" - "@oclif/core" "^1.2.1" + "@oclif/color" "^1.0.2" + "@oclif/core" "^1.20.3" fast-levenshtein "^3.0.0" lodash "^4.17.21" -"@oclif/plugin-warn-if-update-available@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.0.4.tgz#3d509ca2394cccf65e6622be812d7be4065a60aa" - integrity sha512-9dprC1CWPjesg0Vf/rDSQH2tzJXhP1ow84cb2My1kj6e6ESulPKpctiCFSZ1WaCQFfq+crKhzlNoP/vRaXNUAg== +"@oclif/plugin-warn-if-update-available@^2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.0.14.tgz#f9142095f13c5e8300705533165ae039daa0c5f8" + integrity sha512-gEgFZuNtFx3yPfSuxhAm9F8nLZ4+UnBJhbjTywY0Cvrqvd+OvKvo6PfwRm0lWmH4EgWwQEq39pfaks1fg+y1gw== dependencies: - "@oclif/core" "^1.0.8" + "@oclif/core" "^1.20.4" chalk "^4.1.0" debug "^4.1.0" fs-extra "^9.0.1" http-call "^5.2.2" lodash "^4.17.21" - semver "^7.3.2" + semver "^7.3.8" "@oclif/screen@^1.0.4": version "1.0.4" @@ -1019,13 +1019,13 @@ mv "~2" safe-json-stringify "~1" -"@salesforce/cli-plugins-testkit@^3.2.3": - version "3.2.3" - resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-3.2.3.tgz#7bcc7ae1b9df807aed9e3f3b97940f4484375b1d" - integrity sha512-DwJQejeSeCSK3VzyyxE5Sshc3tgBB10K7X6aWiNqT5JVf9DmWRBtcPTWXH9Me2S5IS3SKHnlxn4DjPm3D2MG0Q== +"@salesforce/cli-plugins-testkit@^3.2.15": + version "3.2.15" + resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-3.2.15.tgz#77483ab8a9235f76d270bdc133f5a47e72a570ee" + integrity sha512-/XYHPshMIyPk+KkSa4AG9BNMs5pO4pVmWhWV+unY+b8HfMJbHDTSUlnAhLdDUBaIASRoWyEil7kb8YZExeDVGw== dependencies: - "@salesforce/core" "^3.31.10" - "@salesforce/kit" "^1.6.1" + "@salesforce/core" "^3.32.12" + "@salesforce/kit" "^1.8.0" "@salesforce/ts-types" "^1.5.21" "@types/shelljs" "^0.8.11" archiver "^5.2.0" @@ -1034,7 +1034,7 @@ strip-ansi "6.0.1" ts-retry-promise "^0.7.0" -"@salesforce/core@^3.31.10", "@salesforce/core@^3.32.11", "@salesforce/core@^3.32.6", "@salesforce/core@^3.32.9", "@salesforce/core@^3.8.0": +"@salesforce/core@^3.32.11", "@salesforce/core@^3.32.9", "@salesforce/core@^3.8.0": version "3.32.11" resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-3.32.11.tgz#d40740ae4f3d3f835a77395d91b29fd7f6bdc2c6" integrity sha512-fAxDcu2N+hw1IMWsvpp1aRxeczY7C6Yb0idaYY0npNzDmC+4wGdWkZlPoz6FHhidgBfAGnwRKVSr7/UL/o8mDQ== @@ -1057,6 +1057,29 @@ jsonwebtoken "8.5.1" ts-retry-promise "^0.7.0" +"@salesforce/core@^3.32.12": + version "3.32.12" + resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-3.32.12.tgz#853cc5b6a5f95d4896b2d34a40a6042ef9aa6d2c" + integrity sha512-27rqSiQWul7b/OkJs19FYDv2M/S4oI4efiGv+6sR7UWv7D7CG1P+0XpgLS3d9xRYF30h98n6VQr4W2a+BWFRvA== + dependencies: + "@salesforce/bunyan" "^2.0.0" + "@salesforce/kit" "^1.8.0" + "@salesforce/schemas" "^1.4.0" + "@salesforce/ts-types" "^1.5.21" + "@types/graceful-fs" "^4.1.5" + "@types/semver" "^7.3.13" + ajv "^8.11.2" + archiver "^5.3.0" + change-case "^4.1.2" + debug "^3.2.7" + faye "^1.4.0" + form-data "^4.0.0" + graceful-fs "^4.2.9" + js2xmlparser "^4.0.1" + jsforce "^2.0.0-beta.19" + jsonwebtoken "9.0.0" + ts-retry-promise "^0.7.0" + "@salesforce/dev-config@^3.0.0", "@salesforce/dev-config@^3.0.1": version "3.1.0" resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-3.1.0.tgz#8eb5b35860ff60d1c1dc3fd9329b01a28475d5b9" @@ -1101,7 +1124,7 @@ typedoc-plugin-missing-exports "0.23.0" typescript "^4.1.3" -"@salesforce/kit@^1.5.17", "@salesforce/kit@^1.6.1", "@salesforce/kit@^1.7.0", "@salesforce/kit@^1.7.1", "@salesforce/kit@^1.8.0": +"@salesforce/kit@^1.5.17", "@salesforce/kit@^1.7.0", "@salesforce/kit@^1.7.1", "@salesforce/kit@^1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-1.8.0.tgz#d5b8d83d5b0b866cb76840dc7a18e115589d86a0" integrity sha512-Pr9CWAIzVYKZRWvM76lyhEtF3CPmVdIfgbqRD7KT/YZdbLstX3KHYBxCyx3TyWZr5qROv96n+jRIBiIFI9LGGw== @@ -1149,36 +1172,34 @@ chalk "^4" inquirer "^8.2.5" -"@salesforce/ts-sinon@^1.4.1": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@salesforce/ts-sinon/-/ts-sinon-1.4.1.tgz#4abafa0a5b895ea23287fc96d69952862f51875f" - integrity sha512-sXAB+IiOLZL8B3wBT6YviuuhfWp1N59QBLNUgzqslHIP4P38xsLECvC+Lvlhzs0rSv7xKNMdKZeaM6gpCHKoTg== +"@salesforce/ts-sinon@^1.4.2": + version "1.4.2" + resolved "https://registry.yarnpkg.com/@salesforce/ts-sinon/-/ts-sinon-1.4.2.tgz#7b76f80c104c891334b84ad664ab048fd1fbb1ff" + integrity sha512-yoNaHdw+5IYUs8Jg/c30AuPG5jhWGR/zdy0G2XmLSzVhf/8duNTbnSl3AWYplCvU/Cz3CFIs1XnjePG0Resxmw== dependencies: - "@salesforce/ts-types" "^1.7.0" + "@salesforce/ts-types" "^1.7.1" sinon "^5.1.1" tslib "^2.2.0" -"@salesforce/ts-types@^1.5.20", "@salesforce/ts-types@^1.5.21", "@salesforce/ts-types@^1.7.0", "@salesforce/ts-types@^1.7.1": +"@salesforce/ts-types@^1.5.20", "@salesforce/ts-types@^1.5.21", "@salesforce/ts-types@^1.7.1": version "1.7.1" resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-1.7.1.tgz#86b0d0c3bfd5c9b1752662a019a3d2f3bc8ff118" integrity sha512-jwZb8fYxbOmEckoJTxG2+5ZEJNJOFxmRJ/FioPnSu4IMFzpK3QbyujfqpHwLfPKHq0xlKRMx+F8QAVVKI/PA4w== dependencies: tslib "^2.4.1" -"@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1", "@sinonjs/commons@^1.8.3": +"@sindresorhus/is@^4.0.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" + integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== + +"@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1": version "1.8.3" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@>=5": - version "9.1.2" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" - integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== - dependencies: - "@sinonjs/commons" "^1.7.0" - "@sinonjs/fake-timers@^6.0.0", "@sinonjs/fake-timers@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz#293674fccb3262ac782c7aadfdeca86b10c75c40" @@ -1186,13 +1207,6 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@sinonjs/fake-timers@^7.1.2": - version "7.1.2" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz#2524eae70c4910edccf99b2f4e6efc5894aff7b5" - integrity sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg== - dependencies: - "@sinonjs/commons" "^1.7.0" - "@sinonjs/formatio@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-2.0.0.tgz#84db7e9eb5531df18a8c5e0bfb6e449e55e654b2" @@ -1226,85 +1240,83 @@ lodash.get "^4.4.2" type-detect "^4.0.8" -"@sinonjs/samsam@^6.0.2": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-6.1.1.tgz#627f7f4cbdb56e6419fa2c1a3e4751ce4f6a00b1" - integrity sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA== - dependencies: - "@sinonjs/commons" "^1.6.0" - lodash.get "^4.4.2" - type-detect "^4.0.8" - "@sinonjs/text-encoding@^0.7.1": version "0.7.2" resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz#5981a8db18b56ba38ef0efb7d995b12aa7b51918" integrity sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ== -"@swc/core-darwin-arm64@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.16.tgz#5d7d30dde35e2ca87ee67e12cbaf6613757048a7" - integrity sha512-tVhkffyl0UQELkz4tfIcBw4PahRTmeP72Yds1v2bvVpeH35i9SIYCsE9z6nH2uG5CwD+3OqvHZ47PNg3Shq+bw== - -"@swc/core-darwin-x64@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.3.16.tgz#a9e9ccf14be68591dc4e85829e5151f774bc9edf" - integrity sha512-5wFflU0G31TlTpgpGEmUxRvSVgRnMPGdbY/dCaGri8xIlE7jVm5lf9mGhdAAKtG+Y0gxmMtNzi2NLicOAfEKbw== - -"@swc/core-linux-arm-gnueabihf@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.16.tgz#662354d78c3ca7444686b1d177d35dc8bc605eb5" - integrity sha512-KxTs9/Qo45MazfVywsol+OQIUTutGSPY1GbmnfVAhYqrLDt0C21YnpV9+9tjvGNys77F2QdoZGOMJ+fBvr7AJw== - -"@swc/core-linux-arm64-gnu@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.16.tgz#09490c8eecc3e5fc23787d879102cf3c172d3cf7" - integrity sha512-K0F8KVZzHpPsiL3+x3XZBAlECnLn5+BsAa995KUmQ4ALMkOGfkXRVrqkPEpxOTMyjNMyQgIbo261gk7o13+ONg== - -"@swc/core-linux-arm64-musl@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.16.tgz#c80a074e10ef364e231eb1cb909e31fc4c3c86b4" - integrity sha512-tBZtiS2YmAgHNS6TxxUGc1Tn8HqL8XT3EbmyfewmJf8ALE5RcP12tMuXGJJr/9ac+QmwWaFMnXsmfu3hzdDdkQ== - -"@swc/core-linux-x64-gnu@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.16.tgz#541791237e5660730b566cf2ca3fed0bceccce80" - integrity sha512-G/opqijVDalDZ7XfQYFhMRK1o74y5ZMP0SAOAajZQUiYBjAYWphpIbPLGoM3g3sK0CA2khA/P+l9kjV7VSvgyA== - -"@swc/core-linux-x64-musl@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.16.tgz#fcd5706fb7b2e0d013b0dae376d8cd0b85f64560" - integrity sha512-eedKXdDV1SFMZ20lETf4Qz0zc+yYzsQ7pqQzT9qNQwh3fo1u/iPx55Aq9MO0CEN+w579WRwwANtSSsuT3yr0tA== - -"@swc/core-win32-arm64-msvc@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.16.tgz#83fce6117453d2abecf7e1c94f85b51af78c40d3" - integrity sha512-7mBA6aCtBWKQJ5teL+v8wHB4ShNCLQslzu5lso7fUH7mNViMl013X6HPV1umQLIM3f2tC+jMhSmtosxrRNiGDQ== - -"@swc/core-win32-ia32-msvc@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.16.tgz#dd47e4c3f3adb062d55e277ec5d4836d8552e285" - integrity sha512-if3fwUYrwmskEM9QyYdg4edx1dIXrUYvolszAxfMyUq1GqezkK5PmIO5IAazSZOk8QHaUIA0wcTNKkf8sVyLAw== - -"@swc/core-win32-x64-msvc@1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.16.tgz#d4a2b2f11aaeb96026b4f078278ea17f279208b9" - integrity sha512-EaXXW0M4EoodsH1ftEaPzixF5nZYKyXk5Qnzqq6hDSOfYzoUOiJ8nBXTHF6xqDHIPVRS1OUDzBujhHsGhQcuPw== - -"@swc/core@^1.3.16": - version "1.3.16" - resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.3.16.tgz#be9b42fe54f3ba73ba6a580f3ae024abcbd45c54" - integrity sha512-y6xxxampiKWNMGWnEAJktDwk/u9j0SApgJyjgi3LQv+OTtm2LiPS3wtfYnWWXtsuKkL1HCf/H2/NLOwO0WLaPw== +"@swc/core-darwin-arm64@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.23.tgz#5e52f19bf96eef92d2ae0533e1598a717b2ca765" + integrity sha512-IGOEHmE4aBDX7gQWpanI3A0ni47UcvX7rmcy0H8kE6mm/y7mEMWskvNsYhYzJl4GVZgw38v1/lL/A7MRX6g71A== + +"@swc/core-darwin-x64@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.3.23.tgz#3a466b47821284e7fcab6ee7c5b8251dfec0697a" + integrity sha512-eQSN+JJqx/5Dk2C5uet2l7HifGsDBorQHD3PAVnge5jxl+rXU/zbzX9Un56+uuUB0QYeS4Dyr8cN7NHuIKGxBA== + +"@swc/core-linux-arm-gnueabihf@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.23.tgz#42984694b7ffc508188e64bdba6379c37fbf4abf" + integrity sha512-zxYvggbw6R/sTNey0qgsigFMY59DYepm1+JNojxOKjbnvxmgyeIa5sPdu/5gLj0TtJOiWvSGrpMPNUIVreUSGA== + +"@swc/core-linux-arm64-gnu@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.23.tgz#6579f0f715a9646ab0ddcbaec2cd94815788c4af" + integrity sha512-l8UWhcNvZ6RzNZBBToMYuKYijF0h7mbw2RuFV5rpCYF/k/Wh85PaDHPQIQ6qjMHJsIBHYXUt0HLAP+fiAfBiDw== + +"@swc/core-linux-arm64-musl@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.23.tgz#5c377db95ca3ceca3222945ce170398691e57863" + integrity sha512-TZDPp1wUE1ynVyY0vwIToyOULKEQ91H49R+p6Iu/2YY+UQQwUamhX0Gp8O85RT+j72/iHyhbQkz7yRg6v+GB5A== + +"@swc/core-linux-x64-gnu@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.23.tgz#e77b3a63c800418ea234d70c1a0ad5762367b6d5" + integrity sha512-rKqWnOmUyQfoKZuuXs/S0RNobN+kcUyMtwoCdRdCNqOlk1XZRCMpjGc9Aqn73K3xlZ6JXX6oLrXKn375b2dydw== + +"@swc/core-linux-x64-musl@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.23.tgz#f8cac09286f9ffaffe990ef61e759ce3785fd02e" + integrity sha512-1MK9eocIhuIr/+yUKnTNHpYovMQvfKTJQbU4UMfQLg2qyCGKAvO+jOy5JIGR9x04MWqz9U3EHHS/7Id35ekhFQ== + +"@swc/core-win32-arm64-msvc@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.23.tgz#7a723c3e5360573b5c1d21e504e3c11cc3cc024c" + integrity sha512-3nmdugj0SJIGWeCJBhvPWIfnE2Ax8H2KZsJfcaWmWg0SDh19aAt48Ncyd8WHHBandJmVm2fSjaANSjp+cS2S9A== + +"@swc/core-win32-ia32-msvc@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.23.tgz#43a439fc21144682e624d46ba4da5e7bb33b2629" + integrity sha512-2AlGRhys1BsfLjXyWOd+5J/Ko2kkVQVuy3ZR8OBGy7XI54p0PpepabloYI9irr+4bi9vtyxoc5rS21PmJxB83Q== + +"@swc/core-win32-x64-msvc@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.23.tgz#00ad332d847f2e3961d7bba4d1886dd767e1f92e" + integrity sha512-qYKP8sIM7VVLuDb5BkRBoHy28OHZWrUhPTO7WgpErhVVM9wnzmMi/Jgg8SyfMy6oheBjO0QiwWbXONxBwByjnQ== + +"@swc/core@^1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.3.23.tgz#62078fb161fad7edf7c8a8267cceccdeb2ab4a0d" + integrity sha512-Aa7yw5+7ErOxr+G0J1eU2hkb9nEMSdt1Ye3isdAgg9mrsPuttk+cfLp6nP/Lux/VUnu5k4eOxeTy9UhjJhRAFw== optionalDependencies: - "@swc/core-darwin-arm64" "1.3.16" - "@swc/core-darwin-x64" "1.3.16" - "@swc/core-linux-arm-gnueabihf" "1.3.16" - "@swc/core-linux-arm64-gnu" "1.3.16" - "@swc/core-linux-arm64-musl" "1.3.16" - "@swc/core-linux-x64-gnu" "1.3.16" - "@swc/core-linux-x64-musl" "1.3.16" - "@swc/core-win32-arm64-msvc" "1.3.16" - "@swc/core-win32-ia32-msvc" "1.3.16" - "@swc/core-win32-x64-msvc" "1.3.16" + "@swc/core-darwin-arm64" "1.3.23" + "@swc/core-darwin-x64" "1.3.23" + "@swc/core-linux-arm-gnueabihf" "1.3.23" + "@swc/core-linux-arm64-gnu" "1.3.23" + "@swc/core-linux-arm64-musl" "1.3.23" + "@swc/core-linux-x64-gnu" "1.3.23" + "@swc/core-linux-x64-musl" "1.3.23" + "@swc/core-win32-arm64-msvc" "1.3.23" + "@swc/core-win32-ia32-msvc" "1.3.23" + "@swc/core-win32-x64-msvc" "1.3.23" + +"@szmarczak/http-timer@^4.0.5": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" + integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== + dependencies: + defer-to-connect "^2.0.0" "@tootallnate/once@1": version "1.1.2" @@ -1336,6 +1348,16 @@ resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== +"@types/cacheable-request@^6.0.1": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" + integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== + dependencies: + "@types/http-cache-semantics" "*" + "@types/keyv" "^3.1.4" + "@types/node" "*" + "@types/responselike" "^1.0.0" + "@types/chai-as-promised@^7.1.3": version "7.1.5" resolved "https://registry.yarnpkg.com/@types/chai-as-promised/-/chai-as-promised-7.1.5.tgz#6e016811f6c7a64f2eed823191c3a6955094e255" @@ -1375,7 +1397,12 @@ dependencies: "@types/node" "*" -"@types/json-schema@^7.0.9": +"@types/http-cache-semantics@*": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" + integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + +"@types/json-schema@^7.0.11", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== @@ -1385,6 +1412,13 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== +"@types/keyv@^3.1.4": + version "3.1.4" + resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" + integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== + dependencies: + "@types/node" "*" + "@types/minimatch@*", "@types/minimatch@^3.0.3": version "3.0.5" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" @@ -1430,6 +1464,13 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== +"@types/responselike@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" + integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== + dependencies: + "@types/node" "*" + "@types/semver@^7.3.12", "@types/semver@^7.3.13": version "7.3.13" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" @@ -1496,6 +1537,14 @@ "@typescript-eslint/types" "5.47.0" "@typescript-eslint/visitor-keys" "5.47.0" +"@typescript-eslint/scope-manager@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.0.tgz#607731cb0957fbc52fd754fd79507d1b6659cecf" + integrity sha512-0AA4LviDtVtZqlyUQnZMVHydDATpD9SAX/RC5qh6cBd3xmyWvmXYF+WT1oOmxkeMnWDlUVTwdODeucUnjz3gow== + dependencies: + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/visitor-keys" "5.48.0" + "@typescript-eslint/type-utils@5.47.0": version "5.47.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.47.0.tgz#2b440979c574e317d3473225ae781f292c99e55d" @@ -1511,6 +1560,11 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.47.0.tgz#67490def406eaa023dbbd8da42ee0d0c9b5229d3" integrity sha512-eslFG0Qy8wpGzDdYKu58CEr3WLkjwC5Usa6XbuV89ce/yN5RITLe1O8e+WFEuxnfftHiJImkkOBADj58ahRxSg== +"@typescript-eslint/types@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.0.tgz#d725da8dfcff320aab2ac6f65c97b0df30058449" + integrity sha512-UTe67B0Ypius0fnEE518NB2N8gGutIlTojeTg4nt0GQvikReVkurqxd2LvYa9q9M5MQ6rtpNyWTBxdscw40Xhw== + "@typescript-eslint/typescript-estree@5.47.0": version "5.47.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.47.0.tgz#ed971a11c5c928646d6ba7fc9dfdd6e997649aca" @@ -1524,7 +1578,20 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@5.47.0", "@typescript-eslint/utils@^5.46.1": +"@typescript-eslint/typescript-estree@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.0.tgz#a7f04bccb001003405bb5452d43953a382c2fac2" + integrity sha512-7pjd94vvIjI1zTz6aq/5wwE/YrfIyEPLtGJmRfyNR9NYIW+rOvzzUv3Cmq2hRKpvt6e9vpvPUQ7puzX7VSmsEw== + dependencies: + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/visitor-keys" "5.48.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/utils@5.47.0": version "5.47.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.47.0.tgz#b5005f7d2696769a1fdc1e00897005a25b3a0ec7" integrity sha512-U9xcc0N7xINrCdGVPwABjbAKqx4GK67xuMV87toI+HUqgXj26m6RBp9UshEXcTrgCkdGYFzgKLt8kxu49RilDw== @@ -1538,6 +1605,20 @@ eslint-utils "^3.0.0" semver "^7.3.7" +"@typescript-eslint/utils@^5.47.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.0.tgz#eee926af2733f7156ad8d15e51791e42ce300273" + integrity sha512-x2jrMcPaMfsHRRIkL+x96++xdzvrdBCnYRd5QiW5Wgo1OB4kDYPbC1XjWP/TNqlfK93K/lUL92erq5zPLgFScQ== + dependencies: + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.48.0" + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/typescript-estree" "5.48.0" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + semver "^7.3.7" + "@typescript-eslint/visitor-keys@5.47.0": version "5.47.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.47.0.tgz#4aca4efbdf6209c154df1f7599852d571b80bb45" @@ -1546,6 +1627,14 @@ "@typescript-eslint/types" "5.47.0" eslint-visitor-keys "^3.3.0" +"@typescript-eslint/visitor-keys@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.0.tgz#4446d5e7f6cadde7140390c0e284c8702d944904" + integrity sha512-5motVPz5EgxQ0bHjut3chzBkJ3Z3sheYVcSwS5BpHZpLqSptSmELNtGixmgj65+rIfhvtQTz5i9OP2vtzdDH7Q== + dependencies: + "@typescript-eslint/types" "5.48.0" + eslint-visitor-keys "^3.3.0" + "@ungap/promise-all-settled@1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" @@ -1869,10 +1958,10 @@ available-typed-arrays@^1.0.5: resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -aws-sdk@^2.1069.0: - version "2.1191.0" - resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1191.0.tgz#2748567252c68ef37a8ce29f48aa063681083918" - integrity sha512-G8hWvuc+3rxTfHqsnUwGx/fy8zlnVPtlNesXMHlwU/l4oBx3+Weg0Nhng6HvLGzUJifzlnSKDXrOsWVkHtuZ1w== +aws-sdk@^2.1231.0: + version "2.1259.0" + resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1259.0.tgz#4b75c7853dc10320eeaa13dc5f0624fd4e05d80a" + integrity sha512-ku0sXQ0HOpvhMfu9yszqek4T+xvR9pXemxn3ruG3raIv9Hag0bpZoSqxm6rFtlZV9C26bB47ef5A5+HbkPk8PQ== dependencies: buffer "4.9.2" events "1.1.1" @@ -2058,6 +2147,24 @@ cacache@^16.1.0: tar "^6.1.11" unique-filename "^1.1.1" +cacheable-lookup@^5.0.3: + version "5.0.4" + resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" + integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== + +cacheable-request@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" + integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^4.0.0" + lowercase-keys "^2.0.0" + normalize-url "^6.0.1" + responselike "^2.0.0" + caching-transform@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/caching-transform/-/caching-transform-4.0.0.tgz#00d297a4206d71e2163c39eaffa8157ac0651f0f" @@ -2342,6 +2449,13 @@ clone-buffer@^1.0.0: resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" integrity sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g== +clone-response@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== + dependencies: + mimic-response "^1.0.0" + clone-stats@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" @@ -2429,10 +2543,10 @@ commander@^4.0.1: resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== -commander@^8.2.0: - version "8.3.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" - integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== +commander@^9.4.0: + version "9.4.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.4.1.tgz#d1dd8f2ce6faf93147295c0df13c7c21141cfbdd" + integrity sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw== comment-parser@1.1.6-beta.0: version "1.1.6-beta.0" @@ -2477,13 +2591,13 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concurrently@^7.0.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-7.3.0.tgz#eb45cdbc8df43da195f619aba218a980cae49184" - integrity sha512-IiDwm+8DOcFEInca494A8V402tNTQlJaYq78RF2rijOrKEk/AOHTxhN4U1cp7GYKYX5Q6Ymh1dLTBlzIMN0ikA== +concurrently@^7.6.0: + version "7.6.0" + resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-7.6.0.tgz#531a6f5f30cf616f355a4afb8f8fcb2bba65a49a" + integrity sha512-BKtRgvcJGeZ4XttiDiNcFiRlxoAeZOseqUvyYRUp/Vtd+9p1ULmeoSqGsDA+2ivdeDFpqrJvGvmI+StKfKl5hw== dependencies: chalk "^4.1.0" - date-fns "^2.16.1" + date-fns "^2.29.1" lodash "^4.17.21" rxjs "^7.0.0" shell-quote "^1.7.3" @@ -2633,20 +2747,20 @@ csv-stringify@^5.3.4: resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-5.6.5.tgz#c6d74badda4b49a79bf4e72f91cce1e33b94de00" integrity sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A== -csv-stringify@^6.0.5: - version "6.2.0" - resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.2.0.tgz#f89881e8f61293bf5af11f421266b5da7b744030" - integrity sha512-dcUbQLRTTDcgQxgEU8V9IctkaCwHZjZfzUZ5ZB3RY8Y+pXtdtl5iVQHfGzANytFFkRKanYzBXrkfpNdGR7eviA== +csv-stringify@^6.2.3: + version "6.2.3" + resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.2.3.tgz#fefd25e66fd48f8f42f43b85a66a4663a2c3e796" + integrity sha512-4qGjUMwnlaRc00gc2jrIYh2w/h1fo25B0mTuY9K8fBiIgtmCX3LcgUbrEGViL98Ci4Se/F5LFEtu8k+dItJVZQ== dargs@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -date-fns@^2.16.1: - version "2.29.1" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.1.tgz#9667c2615525e552b5135a3116b95b1961456e60" - integrity sha512-dlLD5rKaKxpFdnjrs+5azHDFOPEu4ANy/LTh04A1DTzMM7qoajmKCBc8pkKRFT41CNzw+4gQh79X5C+Jq27HAw== +date-fns@^2.29.1: + version "2.29.3" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" + integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== dateformat@^4.5.0: version "4.6.3" @@ -2714,6 +2828,13 @@ decamelize@^4.0.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + deep-eql@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-4.1.2.tgz#270ceb902f87724077e6f6449aed81463f42fc1c" @@ -2745,6 +2866,11 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" +defer-to-connect@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" + integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== + define-properties@^1.1.3, define-properties@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" @@ -3074,12 +3200,12 @@ eslint-plugin-prefer-arrow@^1.2.1: resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-arrow/-/eslint-plugin-prefer-arrow-1.2.3.tgz#e7fbb3fa4cd84ff1015b9c51ad86550e55041041" integrity sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ== -eslint-plugin-sf-plugin@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.2.3.tgz#c4b23b82c1bbf3550deed9325f224b12cc036656" - integrity sha512-VtNv6ZKbKAVfRD8QBts/wO52etu7hHpQclJyd+nVNhSGevvRKEKwAjVt4eC8kcPpAHDIbXlh2QnZbsaVvQhLRQ== +eslint-plugin-sf-plugin@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.3.1.tgz#c122b74719cdc46bdd27c7d5dd157357c00a110e" + integrity sha512-KqH/XpbkbMR4tPdcjDNBoCpgBZK6YiDSdc03XEM/zr0LrzdZUtos0K1Y76n+A3ZMROHr9xzRu127e1/oLEK0bg== dependencies: - "@typescript-eslint/utils" "^5.46.1" + "@typescript-eslint/utils" "^5.47.0" eslint-scope@^5.1.1: version "5.1.1" @@ -3724,10 +3850,10 @@ git-raw-commits@^2.0.0: split2 "^3.0.0" through2 "^4.0.0" -github-slugger@^1.2.1, github-slugger@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.4.0.tgz#206eb96cdb22ee56fdc53a28d5a302338463444e" - integrity sha512-w0dzqw/nt51xMVmlaV1+JRzN+oCa1KfcgGEWhxUG16wbdA+Xnt/yoFO8Z8x/V82ZcZ0wy6ln9QDup5avbhiDhQ== +github-slugger@^1.2.1, github-slugger@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.5.0.tgz#17891bbc73232051474d68bd867a34625c955f7d" + integrity sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw== github-username@^6.0.0: version "6.0.0" @@ -3773,7 +3899,7 @@ glob@^6.0.1: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: +glob@^7.0.0, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -3841,6 +3967,23 @@ globby@^11.0.1, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" +got@^11: + version "11.8.6" + resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" + integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== + dependencies: + "@sindresorhus/is" "^4.0.0" + "@szmarczak/http-timer" "^4.0.5" + "@types/cacheable-request" "^6.0.1" + "@types/responselike" "^1.0.0" + cacheable-lookup "^5.0.3" + cacheable-request "^7.0.2" + decompress-response "^6.0.0" + http2-wrapper "^1.0.0-beta.5.2" + lowercase-keys "^2.0.0" + p-cancelable "^2.0.0" + responselike "^2.0.0" + graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" @@ -3969,7 +4112,7 @@ html-escaper@^2.0.0: resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== -http-cache-semantics@^4.1.0: +http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== @@ -4009,6 +4152,14 @@ http-proxy-agent@^5.0.0: agent-base "6" debug "4" +http2-wrapper@^1.0.0-beta.5.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" + integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== + dependencies: + quick-lru "^5.1.1" + resolve-alpn "^1.0.0" + https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -4603,6 +4754,11 @@ jsforce@^2.0.0-beta.19: strip-ansi "^6.0.0" xml2js "^0.4.22" +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -4640,7 +4796,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.2.0, json5@^2.2.1: +json5@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== @@ -4687,17 +4843,22 @@ jsonwebtoken@8.5.1: ms "^2.1.1" semver "^5.6.0" +jsonwebtoken@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz#d0faf9ba1cc3a56255fe49c0961a67e520c1926d" + integrity sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw== + dependencies: + jws "^3.2.2" + lodash "^4.17.21" + ms "^2.1.1" + semver "^7.3.8" + just-diff-apply@^5.2.0: version "5.4.1" resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.4.1.tgz#1debed059ad009863b4db0e8d8f333d743cdd83b" integrity sha512-AAV5Jw7tsniWwih8Ly3fXxEZ06y+6p5TwQMsw0dzZ/wPKilzyDgdAnL0Ug4NNIquPUOh1vfFWEHbmXUqM5+o8g== -just-diff@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-3.1.1.tgz#d50c597c6fd4776495308c63bdee1b6839082647" - integrity sha512-sdMWKjRq8qWZEjDcVA6llnUT8RDEBIfOiGpYFPYa9u+2c39JCsejktSP7mj5eRid5EIvTzIpQ2kDOCw1Nq9BjQ== - -just-diff@^5.0.1: +just-diff@^5.0.1, just-diff@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.1.1.tgz#8da6414342a5ed6d02ccd64f5586cbbed3146202" integrity sha512-u8HXJ3HlNrTzY7zrYYKjNEfBlyjqhdBkoyTVdjtn7p02RJD5NvR8rIClzeGA7t+UYP1/7eAkWNLU0+P3QrEqKQ== @@ -4724,6 +4885,13 @@ jws@^3.2.2: jwa "^1.4.1" safe-buffer "^5.0.1" +keyv@^4.0.0: + version "4.5.2" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" + integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== + dependencies: + json-buffer "3.0.1" + kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" @@ -4910,6 +5078,11 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -5076,6 +5249,16 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-response@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + min-indent@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" @@ -5376,17 +5559,6 @@ nise@^4.1.0: just-extend "^4.0.2" path-to-regexp "^1.7.0" -nise@^5.1.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/nise/-/nise-5.1.1.tgz#ac4237e0d785ecfcb83e20f389185975da5c31f3" - integrity sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A== - dependencies: - "@sinonjs/commons" "^1.8.3" - "@sinonjs/fake-timers" ">=5" - "@sinonjs/text-encoding" "^0.7.1" - just-extend "^4.0.2" - path-to-regexp "^1.7.0" - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -5462,6 +5634,11 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== +normalize-url@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + npm-bundled@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" @@ -5633,27 +5810,27 @@ object.values@^1.1.5: define-properties "^1.1.3" es-abstract "^1.19.1" -oclif@^2.6.3: - version "2.7.0" - resolved "https://registry.yarnpkg.com/oclif/-/oclif-2.7.0.tgz#590d866b02f20cff2a21ddfc56e22509c55865f5" - integrity sha512-nmgk/emtEth/0RYTMeovj22zpiT4P7KvIDc3OOT8VeAEDvdbnZfg3tV3YRnHK0zrSKETKqpHWFyNx2PLMl0eKQ== - dependencies: - "@oclif/core" "^1.6.4" - "@oclif/plugin-help" "^5.1.11" - "@oclif/plugin-not-found" "^2.3.1" - "@oclif/plugin-warn-if-update-available" "^2.0.4" - aws-sdk "^2.1069.0" - concurrently "^7.0.0" +oclif@^3.4.2: + version "3.4.2" + resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.4.2.tgz#718d6a52107bdab0ca861cd63acdf73eb049a2bc" + integrity sha512-YF7zqHCEWiRvfuXkqyPuQsC4PiEJuXLQWIMXOtdJgOnIKqBh9Sp3e4xFsSal9QheVsCwO5kM3Nhe+G430hk/mA== + dependencies: + "@oclif/core" "^1.20.4" + "@oclif/plugin-help" "^5.1.19" + "@oclif/plugin-not-found" "^2.3.7" + "@oclif/plugin-warn-if-update-available" "^2.0.14" + aws-sdk "^2.1231.0" + concurrently "^7.6.0" debug "^4.3.3" find-yarn-workspace-root "^2.0.0" fs-extra "^8.1" - github-slugger "^1.4.0" + github-slugger "^1.5.0" + got "^11" lodash "^4.17.21" normalize-package-data "^3.0.3" - qqjs "^0.3.11" - semver "^7.3.5" + semver "^7.3.8" tslib "^2.3.1" - yeoman-environment "^3.9.1" + yeoman-environment "^3.11.1" yeoman-generator "^5.6.1" yosay "^2.0.2" @@ -5711,6 +5888,11 @@ os-tmpdir@~1.0.2: resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== +p-cancelable@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" + integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -6000,10 +6182,10 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" - integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +prettier@^2.7.1, prettier@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.0.tgz#c7df58393c9ba77d6fba3921ae01faf994fb9dc9" + integrity sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA== pretty-bytes@^5.3.0: version "5.6.0" @@ -6095,7 +6277,7 @@ q@^1.5.1: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== -qqjs@^0.3.10, qqjs@^0.3.11: +qqjs@^0.3.10: version "0.3.11" resolved "https://registry.yarnpkg.com/qqjs/-/qqjs-0.3.11.tgz#795b9f7d00807d75c391b1241b5be3077143d9ea" integrity sha512-pB2X5AduTl78J+xRSxQiEmga1jQV0j43jOPs/MTgTLApGFEOn6NgdE2dEjp7nvDtjkIOZbvFIojAiYUx6ep3zg== @@ -6129,6 +6311,11 @@ quick-lru@^4.0.1: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -6292,6 +6479,11 @@ require-main-filename@^2.0.0: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== +resolve-alpn@^1.0.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" + integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== + resolve-from@5.0.0, resolve-from@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" @@ -6318,6 +6510,13 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.20.0, resolve@^1.22.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +responselike@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" + integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== + dependencies: + lowercase-keys "^2.0.0" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -6398,10 +6597,10 @@ safe-json-stringify@~1: resolved "https://registry.yarnpkg.com/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz#356e44bc98f1f93ce45df14bcd7c01cda86e0afd" integrity sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg== -safe-stable-stringify@^2.2.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz#ab67cbe1fe7d40603ca641c5e765cb942d04fc73" - integrity sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg== +safe-stable-stringify@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.1.tgz#34694bd8a30575b7f94792aa51527551bd733d61" + integrity sha512-dVHE6bMtS/bnL2mwualjc6IxEv1F+OCUpA46pKUj6F8uDbUM0jCCulPqRNPSnWwGNKx5etqMjZYdXtrm5KJZGA== "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" @@ -6433,7 +6632,7 @@ scoped-regex@^2.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.3.7, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@7.3.7: version "7.3.7" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== @@ -6445,6 +6644,13 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + sentence-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-3.0.4.tgz#3645a7b8c117c787fde8702056225bb62a45131f" @@ -6552,18 +6758,6 @@ sinon@10.0.0: nise "^4.1.0" supports-color "^7.1.0" -sinon@^11.1.2: - version "11.1.2" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-11.1.2.tgz#9e78850c747241d5c59d1614d8f9cbe8840e8674" - integrity sha512-59237HChms4kg7/sXhiRcUzdSkKuydDeTiamT/jesUVHshBgL8XAmhgFo0GfK6RruMDM/iRSij1EybmMog9cJw== - dependencies: - "@sinonjs/commons" "^1.8.3" - "@sinonjs/fake-timers" "^7.1.2" - "@sinonjs/samsam" "^6.0.2" - diff "^5.0.0" - nise "^5.1.0" - supports-color "^7.2.0" - sinon@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/sinon/-/sinon-5.1.1.tgz#19c59810ffb733ea6e76a28b94a71fc4c2f523b8" @@ -6876,7 +7070,7 @@ supports-color@^5.3.0, supports-color@^5.4.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0, supports-color@^7.1.0, supports-color@^7.2.0: +supports-color@^7.0.0, supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== @@ -7039,17 +7233,18 @@ trim-newlines@^3.0.0: resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-json-schema-generator@^0.97.0: - version "0.97.0" - resolved "https://registry.yarnpkg.com/ts-json-schema-generator/-/ts-json-schema-generator-0.97.0.tgz#ea4f2ddbcba1fb6c0a2f97d242783b7fdc8e203b" - integrity sha512-kPDq4ut8Mu1ZgSN7OeTXz+ueb1juFt2eyGd23lMr3WoN5sq4Xa9m22kDI46OlwapE0aF8e1pUesOFgDcATHcuA== +ts-json-schema-generator@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/ts-json-schema-generator/-/ts-json-schema-generator-1.1.2.tgz#29a0c878733b6a1bb0346fce02b1ebb8b96effa3" + integrity sha512-XMnxvndJFJEYv3NBmW7Po5bGajKdK2qH8Q078eDy60srK9+nEvbT9nLCRKd2IV/RQ7a+oc5FNylvZWveqh7jeQ== dependencies: - "@types/json-schema" "^7.0.9" - commander "^8.2.0" - glob "^7.2.0" - json5 "^2.2.0" - safe-stable-stringify "^2.2.0" - typescript "~4.4.3" + "@types/json-schema" "^7.0.11" + commander "^9.4.0" + glob "^8.0.3" + json5 "^2.2.1" + normalize-path "^3.0.0" + safe-stable-stringify "^2.4.0" + typescript "~4.8.3" ts-node@^10.0.0, ts-node@^10.4.0, ts-node@^10.8.1: version "10.9.1" @@ -7174,10 +7369,10 @@ typescript@^4.1.3, typescript@^4.6.4, typescript@^4.9.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== -typescript@~4.4.3: - version "4.4.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c" - integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA== +typescript@~4.8.3: + version "4.8.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" + integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== uglify-js@^3.1.4: version "3.16.3" @@ -7656,10 +7851,10 @@ yargs@^17.0.0, yargs@^17.3.1: y18n "^5.0.5" yargs-parser "^21.0.0" -yeoman-environment@^3.9.1: - version "3.10.0" - resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-3.10.0.tgz#d8c56571b68d16b4af8abfb950f83acc503eed77" - integrity sha512-sYtSxBK9daq21QjoskJTHKLQ1xEsRPURkmFV/aM8HS8ZlQVzwx57Rz1zCs8EGPhK4vqsmTE8H92Gp1jg1fT3EA== +yeoman-environment@^3.11.1: + version "3.12.1" + resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-3.12.1.tgz#20fc0ab05d76f84c956ad03ed112e3a32e65e862" + integrity sha512-q5nC954SE4BEkWFXOwkifbelEZrza6z7vnXCC9bTWvfHjRiaG45eqzv/M6/u4l6PvB/KMmBPgMrACV2mBHE+PQ== dependencies: "@npmcli/arborist" "^4.0.4" are-we-there-yet "^2.0.0"