@salesforce/plugin-custom-metadata 3.0.3 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -148,7 +148,7 @@ FLAG DESCRIPTIONS
148
148
  The value must be greater than or equal to zero. Default value is 0.
149
149
  ```
150
150
 
151
- _See code: [src/commands/cmdt/generate/field.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.3/src/commands/cmdt/generate/field.ts)_
151
+ _See code: [src/commands/cmdt/generate/field.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.5/src/commands/cmdt/generate/field.ts)_
152
152
 
153
153
  ## `sf cmdt generate fromorg`
154
154
 
@@ -165,7 +165,8 @@ FLAGS
165
165
  -i, --ignore-unsupported Ignore unsupported field types.
166
166
  -l, --label=<value> Label for the custom metadata type.
167
167
  -n, --dev-name=<value> (required) Name of the custom metadata type.
168
- -o, --target-org=<value> (required) Username or alias of the target org.
168
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
169
+ configuration variable is already set.
169
170
  -p, --plural-label=<value> Plural version of the label value; if blank, uses label.
170
171
  -r, --records-output-dir=<value> [default: force-app/main/default/customMetadata] Directory to store newly-created
171
172
  custom metadata record files.
@@ -235,7 +236,7 @@ FLAG DESCRIPTIONS
235
236
  https://help.salesforce.com/s/articleView?id=sf.custommetadatatypes_ui_create.htm&type=5.
236
237
  ```
237
238
 
238
- _See code: [src/commands/cmdt/generate/fromorg.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.3/src/commands/cmdt/generate/fromorg.ts)_
239
+ _See code: [src/commands/cmdt/generate/fromorg.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.5/src/commands/cmdt/generate/fromorg.ts)_
239
240
 
240
241
  ## `sf cmdt generate object`
241
242
 
@@ -296,7 +297,7 @@ FLAG DESCRIPTIONS
296
297
  https://help.salesforce.com/s/articleView?id=sf.custommetadatatypes_ui_create.htm&type=5.
297
298
  ```
298
299
 
299
- _See code: [src/commands/cmdt/generate/object.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.3/src/commands/cmdt/generate/object.ts)_
300
+ _See code: [src/commands/cmdt/generate/object.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.5/src/commands/cmdt/generate/object.ts)_
300
301
 
301
302
  ## `sf cmdt generate record`
302
303
 
@@ -349,7 +350,7 @@ FLAG DESCRIPTIONS
349
350
  Protected records can only be accessed by code in the same managed package namespace.
350
351
  ```
351
352
 
352
- _See code: [src/commands/cmdt/generate/record.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.3/src/commands/cmdt/generate/record.ts)_
353
+ _See code: [src/commands/cmdt/generate/record.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.5/src/commands/cmdt/generate/record.ts)_
353
354
 
354
355
  ## `sf cmdt generate records`
355
356
 
@@ -399,7 +400,7 @@ FLAG DESCRIPTIONS
399
400
  The '__mdt' suffix is appended to the end of the name if it's omitted.
400
401
  ```
401
402
 
402
- _See code: [src/commands/cmdt/generate/records.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.3/src/commands/cmdt/generate/records.ts)_
403
+ _See code: [src/commands/cmdt/generate/records.ts](https://github.com/salesforcecli/plugin-custom-metadata/blob/3.0.5/src/commands/cmdt/generate/records.ts)_
403
404
 
404
405
  <!-- commandsstop -->
405
406
 
package/oclif.lock CHANGED
@@ -715,10 +715,10 @@
715
715
  wordwrap "^1.0.0"
716
716
  wrap-ansi "^7.0.0"
717
717
 
718
- "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.3.1":
719
- version "3.11.0"
720
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.11.0.tgz#dadfac39238af3b717e33b910dde1f1f0fd2105e"
721
- integrity sha512-9A2LhDQATf1vrRqPoO0gGuBrey0jt3kDafC+eazxTNWV2EvlEpgY2587iyrxPK/fL2xg7f+0mtxYaSHdO2k8eg==
718
+ "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.12.0", "@oclif/core@^3.3.1":
719
+ version "3.12.0"
720
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.12.0.tgz#4b38b1b5dab2f7585f89c3927a8a157b258b4bd6"
721
+ integrity sha512-mT1Vpd1E20IJ7P6GDYOivylPdTHq/xVgFjeCDjitFW86UAklFM8BEFyFB7KpsTvpmjRbCoda3yU10lSI1224lw==
722
722
  dependencies:
723
723
  ansi-escapes "^4.3.2"
724
724
  ansi-styles "^4.3.0"
@@ -726,6 +726,7 @@
726
726
  chalk "^4.1.2"
727
727
  clean-stack "^3.0.1"
728
728
  cli-progress "^3.12.0"
729
+ color "^4.2.3"
729
730
  debug "^4.3.4"
730
731
  ejs "^3.1.9"
731
732
  get-package-type "^0.1.0"
@@ -890,14 +891,14 @@
890
891
  dependencies:
891
892
  "@octokit/openapi-types" "^12.11.0"
892
893
 
893
- "@salesforce/cli-plugins-testkit@^5.0.4":
894
- version "5.0.4"
895
- resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.0.4.tgz#523c459f43822d7b24bff5117aeda7f77ed5e26c"
896
- integrity sha512-8pquViVBCd5sF6nBXgLgwymEBE6pSAS376R9qq7rxuV+PSFCC5bnzQaKm2ugY+s5vXKNcV6WcmBHNCQnGv+M7Q==
894
+ "@salesforce/cli-plugins-testkit@^5.0.5":
895
+ version "5.0.5"
896
+ resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.0.5.tgz#54a4ec57a10b10b3e3040cfb754972666a3ec100"
897
+ integrity sha512-TketFUfimWg7T0LJGaXtfelvp6Zy3i2sYwuULSBYiyPceqUTZJXPXNzbHC987b6E3OcT4K6mIxLiVbF//kzvMQ==
897
898
  dependencies:
898
- "@salesforce/core" "^5.3.20"
899
+ "@salesforce/core" "^6.2.0"
899
900
  "@salesforce/kit" "^3.0.15"
900
- "@salesforce/ts-types" "^2.0.6"
901
+ "@salesforce/ts-types" "^2.0.9"
901
902
  "@types/shelljs" "^0.8.15"
902
903
  debug "^4.3.1"
903
904
  jszip "^3.10.1"
@@ -929,10 +930,10 @@
929
930
  semver "^7.5.4"
930
931
  ts-retry-promise "^0.7.1"
931
932
 
932
- "@salesforce/core@^6.1.0", "@salesforce/core@^6.1.3":
933
- version "6.1.3"
934
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.1.3.tgz#32e71846cad033e0d2b369ecf0fafb4f76d63ad7"
935
- integrity sha512-M7EQ4+LSXU4ZqD4R5ttY4RqSaYNaNBGDG0KC51IdDfpGtL4kJXeQHdr5HfMfgyCyYNM9LqqfBS7zQTBY1rf+Yg==
933
+ "@salesforce/core@^6.1.3", "@salesforce/core@^6.2.0":
934
+ version "6.2.0"
935
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.2.0.tgz#9bac72c0b48c733cf1d32d19f9775c34d895f207"
936
+ integrity sha512-HuggjBCLA18yXYHChnsrPDGbM+fAPx+9NeS7Dkx3/o1VhJ2hok5BUkvdaeoAVex/0Oc2J+KcvX/gqrjY51iOhQ==
936
937
  dependencies:
937
938
  "@salesforce/kit" "^3.0.15"
938
939
  "@salesforce/schemas" "^1.6.1"
@@ -946,7 +947,7 @@
946
947
  jsforce "^2.0.0-beta.28"
947
948
  jsonwebtoken "9.0.2"
948
949
  jszip "3.10.1"
949
- pino "^8.16.1"
950
+ pino "^8.16.2"
950
951
  pino-abstract-transport "^1.1.0"
951
952
  pino-pretty "^10.2.3"
952
953
  proper-lockfile "^4.1.2"
@@ -1033,20 +1034,20 @@
1033
1034
  chalk "^4"
1034
1035
  inquirer "^8.2.5"
1035
1036
 
1036
- "@salesforce/sf-plugins-core@^5.0.1":
1037
- version "5.0.1"
1038
- resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.1.tgz#16b085eda99e28f2607957954d6ac957a8d0a0eb"
1039
- integrity sha512-gKUhAP9DDUlB4bjr0a6bsWiM16hn/n1cW8BglhYHAow8UJ0OQBxx+dfvAO0ftXmfzg82IZdMViiDmQXt0Z+e6A==
1037
+ "@salesforce/sf-plugins-core@^5.0.3":
1038
+ version "5.0.3"
1039
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.3.tgz#a771dc887c0a13ac23a5b1c16a6965791914f3aa"
1040
+ integrity sha512-D+RCUzrYIWpJakNfxtHXJd6LZr6bK4gA4e7jLPR1G1FmDFss13PT7hOdFRxmAqTPbcp1jf65vwYZzu5nbqzmvQ==
1040
1041
  dependencies:
1041
1042
  "@oclif/core" "^3.11.0"
1042
- "@salesforce/core" "^6.1.0"
1043
+ "@salesforce/core" "^6.1.3"
1043
1044
  "@salesforce/kit" "^3.0.15"
1044
1045
  "@salesforce/ts-types" "^2.0.9"
1045
1046
  "@types/inquirer" "^8.2.3"
1046
1047
  chalk "^4"
1047
1048
  inquirer "^8.2.5"
1048
1049
 
1049
- "@salesforce/ts-types@^2.0.6", "@salesforce/ts-types@^2.0.7", "@salesforce/ts-types@^2.0.9":
1050
+ "@salesforce/ts-types@^2.0.7", "@salesforce/ts-types@^2.0.9":
1050
1051
  version "2.0.9"
1051
1052
  resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-2.0.9.tgz#66bff7b41720065d6b01631b6f6a3ccca02857c5"
1052
1053
  integrity sha512-boUD9jw5vQpTCPCCmK/NFTWjSuuW+lsaxOynkyNXLW+zxOc4GDjhtKc4j0vWZJQvolpafbyS8ZLFHZJvs12gYA==
@@ -2275,16 +2276,32 @@ color-name@1.1.3:
2275
2276
  resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
2276
2277
  integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==
2277
2278
 
2278
- color-name@~1.1.4:
2279
+ color-name@^1.0.0, color-name@~1.1.4:
2279
2280
  version "1.1.4"
2280
2281
  resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
2281
2282
  integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
2282
2283
 
2284
+ color-string@^1.9.0:
2285
+ version "1.9.1"
2286
+ resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4"
2287
+ integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==
2288
+ dependencies:
2289
+ color-name "^1.0.0"
2290
+ simple-swizzle "^0.2.2"
2291
+
2283
2292
  color-support@^1.1.2, color-support@^1.1.3:
2284
2293
  version "1.1.3"
2285
2294
  resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
2286
2295
  integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==
2287
2296
 
2297
+ color@^4.2.3:
2298
+ version "4.2.3"
2299
+ resolved "https://registry.yarnpkg.com/color/-/color-4.2.3.tgz#d781ecb5e57224ee43ea9627560107c0e0c6463a"
2300
+ integrity sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==
2301
+ dependencies:
2302
+ color-convert "^2.0.1"
2303
+ color-string "^1.9.0"
2304
+
2288
2305
  colorette@^2.0.7:
2289
2306
  version "2.0.20"
2290
2307
  resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a"
@@ -3979,6 +3996,11 @@ is-arrayish@^0.2.1:
3979
3996
  resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
3980
3997
  integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==
3981
3998
 
3999
+ is-arrayish@^0.3.1:
4000
+ version "0.3.2"
4001
+ resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"
4002
+ integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==
4003
+
3982
4004
  is-bigint@^1.0.1:
3983
4005
  version "1.0.4"
3984
4006
  resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3"
@@ -5810,7 +5832,7 @@ pino-std-serializers@^6.0.0:
5810
5832
  resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz#d9a9b5f2b9a402486a5fc4db0a737570a860aab3"
5811
5833
  integrity sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==
5812
5834
 
5813
- pino@^8.16.0, pino@^8.16.1:
5835
+ pino@^8.16.0, pino@^8.16.2:
5814
5836
  version "8.16.2"
5815
5837
  resolved "https://registry.yarnpkg.com/pino/-/pino-8.16.2.tgz#7a906f2d9a8c5b4c57412c9ca95d6820bd2090cd"
5816
5838
  integrity sha512-2advCDGVEvkKu9TTVSa/kWW7Z3htI/sBKEZpqiHk6ive0i/7f5b1rsU8jn0aimxqfnSz5bj/nOYkwhBUn5xxvg==
@@ -6474,6 +6496,13 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:
6474
6496
  resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
6475
6497
  integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
6476
6498
 
6499
+ simple-swizzle@^0.2.2:
6500
+ version "0.2.2"
6501
+ resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
6502
+ integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==
6503
+ dependencies:
6504
+ is-arrayish "^0.3.1"
6505
+
6477
6506
  sinon@10.0.0:
6478
6507
  version "10.0.0"
6479
6508
  resolved "https://registry.yarnpkg.com/sinon/-/sinon-10.0.0.tgz#52279f97e35646ff73d23207d0307977c9b81430"
@@ -209,7 +209,7 @@
209
209
  "name": "target-org",
210
210
  "noCacheDefault": true,
211
211
  "required": true,
212
- "summary": "Username or alias of the target org.",
212
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
213
213
  "hasDynamicHelp": true,
214
214
  "multiple": false,
215
215
  "type": "option"
@@ -810,5 +810,5 @@
810
810
  ]
811
811
  }
812
812
  },
813
- "version": "3.0.3"
813
+ "version": "3.0.5"
814
814
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-custom-metadata",
3
3
  "description": "Tools for working with custom metadata types and their records.",
4
- "version": "3.0.3",
4
+ "version": "3.0.5",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Carolyn Grabill",
@@ -42,15 +42,15 @@
42
42
  ],
43
43
  "bugs": "https://github.com/salesforcecli/plugin-custom-metadata/issues",
44
44
  "dependencies": {
45
- "@oclif/core": "^3.11.0",
45
+ "@oclif/core": "^3.12.0",
46
46
  "@salesforce/core": "^6.1.3",
47
- "@salesforce/sf-plugins-core": "^5.0.1",
47
+ "@salesforce/sf-plugins-core": "^5.0.3",
48
48
  "csv-parse": "^5.5.2",
49
49
  "fast-xml-parser": "^4.3.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@oclif/plugin-command-snapshot": "^5.0.2",
53
- "@salesforce/cli-plugins-testkit": "^5.0.4",
53
+ "@salesforce/cli-plugins-testkit": "^5.0.5",
54
54
  "@salesforce/dev-scripts": "^7.1.1",
55
55
  "@salesforce/plugin-command-reference": "^3.0.46",
56
56
  "eslint-plugin-sf-plugin": "^1.16.15",
@@ -232,7 +232,7 @@
232
232
  "type": "module",
233
233
  "author": "Salesforce",
234
234
  "sfdx": {
235
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/3.0.3.crt",
236
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/3.0.3.sig"
235
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/3.0.5.crt",
236
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/3.0.5.sig"
237
237
  }
238
238
  }