@salesforce/plugin-bre-to-cml 1.3.5 → 1.3.7

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/oclif.lock CHANGED
@@ -2074,6 +2074,11 @@ base64url@^3.0.1:
2074
2074
  resolved "https://registry.yarnpkg.com/base64url/-/base64url-3.0.1.tgz#6399d572e2bc3f90a9a8b22d5dbb0a32d33f788d"
2075
2075
  integrity sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==
2076
2076
 
2077
+ baseline-browser-mapping@^2.11.20:
2078
+ version "2.11.21"
2079
+ resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.11.21.tgz#99af73cb8e54007e4f5345e132278e26c2662f2c"
2080
+ integrity sha512-uh8vpY/1/YyFkunIDFH/12p7/7VdPKA1hejMVEbdkEaWnUz0Hesvx5EbiU6XxjyHZIOju+ZMbQJkRh+es3/spQ==
2081
+
2077
2082
  binary-extensions@^2.0.0:
2078
2083
  version "2.3.0"
2079
2084
  resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522"
@@ -2126,14 +2131,15 @@ browser-stdout@^1.3.1:
2126
2131
  integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==
2127
2132
 
2128
2133
  browserslist@^4.24.0, browserslist@^4.25.1:
2129
- version "4.25.1"
2130
- resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.25.1.tgz#ba9e8e6f298a1d86f829c9b975e07948967bb111"
2131
- integrity sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==
2134
+ version "4.28.9"
2135
+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.9.tgz#07ce6b449b90af880eb9bfb7cd39372cc4f71c8c"
2136
+ integrity sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==
2132
2137
  dependencies:
2133
- caniuse-lite "^1.0.30001726"
2134
- electron-to-chromium "^1.5.173"
2135
- node-releases "^2.0.19"
2136
- update-browserslist-db "^1.1.3"
2138
+ baseline-browser-mapping "^2.11.20"
2139
+ caniuse-lite "^1.0.30001810"
2140
+ electron-to-chromium "^1.5.420"
2141
+ node-releases "^2.0.54"
2142
+ update-browserslist-db "^1.3.2"
2137
2143
 
2138
2144
  buffer-equal-constant-time@^1.0.1:
2139
2145
  version "1.0.1"
@@ -2244,10 +2250,10 @@ camelcase@^6.0.0:
2244
2250
  resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
2245
2251
  integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
2246
2252
 
2247
- caniuse-lite@^1.0.30001726:
2248
- version "1.0.30001731"
2249
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001731.tgz#277c07416ea4613ec564e5b0ffb47e7b60f32e2f"
2250
- integrity sha512-lDdp2/wrOmTRWuoB5DpfNkC0rJDU8DqRa6nYL6HK6sytw70QMopt/NIc/9SM7ylItlBWfACXk0tEn37UWM/+mg==
2253
+ caniuse-lite@^1.0.30001810:
2254
+ version "1.0.30001810"
2255
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz#4970b477dea3278374de9bc43aa8f5d39fc3cda2"
2256
+ integrity sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==
2251
2257
 
2252
2258
  capital-case@^1.0.4:
2253
2259
  version "1.0.4"
@@ -2615,11 +2621,16 @@ csstype@^3.0.2:
2615
2621
  resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81"
2616
2622
  integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
2617
2623
 
2618
- csv-parse@^5.5.2, csv-parse@^5.6.0:
2624
+ csv-parse@^5.5.2:
2619
2625
  version "5.6.0"
2620
2626
  resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.6.0.tgz#219beace2a3e9f28929999d2aa417d3fb3071c7f"
2621
2627
  integrity sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q==
2622
2628
 
2629
+ csv-parse@^7.0.2:
2630
+ version "7.0.2"
2631
+ resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-7.0.2.tgz#76ff913d5b07d56170e071ebc788f51a21e4b17f"
2632
+ integrity sha512-uKZghv9UmPkMVLYy//KZ9HFAIJsl7wkhoEdIL0+rhuSY9pZQlhaeGEDPIe+/w7eh81MOql8Q/9+inAGWG6ZHYA==
2633
+
2623
2634
  csv-stringify@^6.6.0:
2624
2635
  version "6.6.0"
2625
2636
  resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.6.0.tgz#d384859cfb71d0a4a73c5bcc36a4daf5440cb033"
@@ -2864,10 +2875,10 @@ ejs@^3.1.10:
2864
2875
  dependencies:
2865
2876
  jake "^10.8.5"
2866
2877
 
2867
- electron-to-chromium@^1.5.173:
2868
- version "1.5.195"
2869
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.195.tgz#2fe0d9b644726292189f227be73740868617b6d5"
2870
- integrity sha512-URclP0iIaDUzqcAyV1v2PgduJ9N0IdXmWsnPzPfelvBmjmZzEy6xJcjb1cXj+TbYqXgtLrjHEoaSIdTYhw4ezg==
2878
+ electron-to-chromium@^1.5.420:
2879
+ version "1.5.422"
2880
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.422.tgz#e27fb1ca0e6bef612a647022e1469701fea9ee1f"
2881
+ integrity sha512-UvA/32XqrLDdZSn7Jllo1AYNcWji/G0d5M0GTViE7KoGBiMunw3a34Sb2KO4ZZyrSEhqsxFoVhWWJshdyfKqJA==
2871
2882
 
2872
2883
  emoji-regex-xs@^1.0.0:
2873
2884
  version "1.0.0"
@@ -5348,10 +5359,10 @@ node-preload@^0.2.1:
5348
5359
  dependencies:
5349
5360
  process-on-spawn "^1.0.0"
5350
5361
 
5351
- node-releases@^2.0.19:
5352
- version "2.0.19"
5353
- resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.19.tgz#9e445a52950951ec4d177d843af370b411caf314"
5354
- integrity sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==
5362
+ node-releases@^2.0.54:
5363
+ version "2.0.54"
5364
+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.54.tgz#09af17d5647aa9f221ec5cf2becb95b68a981afe"
5365
+ integrity sha512-YHs7BmmcsdAI5Ozuf8JZo6PT0mv2GIWC9vMfvUC3dp65M8hn7Ux8CPL+2oBI7juNuj9d0ndhTcznq2ODBps9cQ==
5355
5366
 
5356
5367
  normalize-package-data@^2.5.0:
5357
5368
  version "2.5.0"
@@ -7186,10 +7197,10 @@ universalify@^2.0.0:
7186
7197
  resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d"
7187
7198
  integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==
7188
7199
 
7189
- update-browserslist-db@^1.1.3:
7190
- version "1.1.3"
7191
- resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz#348377dd245216f9e7060ff50b15a1b740b75420"
7192
- integrity sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==
7200
+ update-browserslist-db@^1.3.2:
7201
+ version "1.3.2"
7202
+ resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.3.2.tgz#9d99fbff56c50bb11ba5fd35cece5916da595836"
7203
+ integrity sha512-UQ+MSxlhRm1bzjhU+DcuXfjFO1FzNtqhK5+9Yvlp90ItDLk5vT932A0rFu619nf7RVS+Y/VeaUW1jaRDqZ8VJw==
7193
7204
  dependencies:
7194
7205
  escalade "^3.2.0"
7195
7206
  picocolors "^1.1.1"
@@ -1,99 +1,5 @@
1
1
  {
2
2
  "commands": {
3
- "cml:import:as-expression-set": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Review CM created by conversion command before doing import. \nThis command executes following logic:\n- Import one CML at a time\n- Upsert the Expression Set using the `cml-api` name\n- Read and upsert `ExpressionSetConstraintObj` rows from the `cml-api_associations.csv` file (resolving FKs)\n- Upload the CML blob",
7
- "examples": [
8
- "<%= config.bin %> <%= command.id %> --cml-api MY_TEST --context-definition PricingTransactionCD2 --workspace-dir data --target-org tgtOrg"
9
- ],
10
- "flags": {
11
- "json": {
12
- "description": "Format output as json.",
13
- "helpGroup": "GLOBAL",
14
- "name": "json",
15
- "allowNo": false,
16
- "type": "boolean"
17
- },
18
- "flags-dir": {
19
- "helpGroup": "GLOBAL",
20
- "name": "flags-dir",
21
- "summary": "Import flag values from a directory.",
22
- "hasDynamicHelp": false,
23
- "multiple": false,
24
- "type": "option"
25
- },
26
- "target-org": {
27
- "char": "o",
28
- "name": "target-org",
29
- "noCacheDefault": true,
30
- "required": true,
31
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
32
- "hasDynamicHelp": true,
33
- "multiple": false,
34
- "type": "option"
35
- },
36
- "api-version": {
37
- "description": "Override the api version used for api requests made by this command",
38
- "name": "api-version",
39
- "hasDynamicHelp": false,
40
- "multiple": false,
41
- "type": "option"
42
- },
43
- "context-definition": {
44
- "char": "x",
45
- "name": "context-definition",
46
- "required": true,
47
- "summary": "Context Definition name to be assocciated with the CML.",
48
- "hasDynamicHelp": false,
49
- "multiple": false,
50
- "type": "option"
51
- },
52
- "cml-api": {
53
- "char": "c",
54
- "name": "cml-api",
55
- "required": true,
56
- "summary": "Unique CML API Name to be created.",
57
- "hasDynamicHelp": false,
58
- "multiple": false,
59
- "type": "option"
60
- },
61
- "workspace-dir": {
62
- "char": "d",
63
- "name": "workspace-dir",
64
- "summary": "Directory where converted CML and assocciations csv files are located.",
65
- "hasDynamicHelp": false,
66
- "multiple": false,
67
- "type": "option"
68
- }
69
- },
70
- "hasDynamicHelp": true,
71
- "hiddenAliases": [],
72
- "id": "cml:import:as-expression-set",
73
- "pluginAlias": "@salesforce/plugin-bre-to-cml",
74
- "pluginName": "@salesforce/plugin-bre-to-cml",
75
- "pluginType": "core",
76
- "strict": true,
77
- "summary": "Imports CML and associations to the target org",
78
- "enableJsonFlag": true,
79
- "isESM": true,
80
- "relativePath": [
81
- "lib",
82
- "commands",
83
- "cml",
84
- "import",
85
- "as-expression-set.js"
86
- ],
87
- "aliasPermutations": [],
88
- "permutations": [
89
- "cml:import:as-expression-set",
90
- "import:cml:as-expression-set",
91
- "import:as-expression-set:cml",
92
- "cml:as-expression-set:import",
93
- "as-expression-set:cml:import",
94
- "as-expression-set:import:cml"
95
- ]
96
- },
97
3
  "cml:convert:prod-cfg-rules": {
98
4
  "aliases": [],
99
5
  "args": {},
@@ -402,6 +308,100 @@
402
308
  "underwriting-rules:convert:cml"
403
309
  ]
404
310
  },
311
+ "cml:import:as-expression-set": {
312
+ "aliases": [],
313
+ "args": {},
314
+ "description": "Review CM created by conversion command before doing import. \nThis command executes following logic:\n- Import one CML at a time\n- Upsert the Expression Set using the `cml-api` name\n- Read and upsert `ExpressionSetConstraintObj` rows from the `cml-api_associations.csv` file (resolving FKs)\n- Upload the CML blob",
315
+ "examples": [
316
+ "<%= config.bin %> <%= command.id %> --cml-api MY_TEST --context-definition PricingTransactionCD2 --workspace-dir data --target-org tgtOrg"
317
+ ],
318
+ "flags": {
319
+ "json": {
320
+ "description": "Format output as json.",
321
+ "helpGroup": "GLOBAL",
322
+ "name": "json",
323
+ "allowNo": false,
324
+ "type": "boolean"
325
+ },
326
+ "flags-dir": {
327
+ "helpGroup": "GLOBAL",
328
+ "name": "flags-dir",
329
+ "summary": "Import flag values from a directory.",
330
+ "hasDynamicHelp": false,
331
+ "multiple": false,
332
+ "type": "option"
333
+ },
334
+ "target-org": {
335
+ "char": "o",
336
+ "name": "target-org",
337
+ "noCacheDefault": true,
338
+ "required": true,
339
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
340
+ "hasDynamicHelp": true,
341
+ "multiple": false,
342
+ "type": "option"
343
+ },
344
+ "api-version": {
345
+ "description": "Override the api version used for api requests made by this command",
346
+ "name": "api-version",
347
+ "hasDynamicHelp": false,
348
+ "multiple": false,
349
+ "type": "option"
350
+ },
351
+ "context-definition": {
352
+ "char": "x",
353
+ "name": "context-definition",
354
+ "required": true,
355
+ "summary": "Context Definition name to be assocciated with the CML.",
356
+ "hasDynamicHelp": false,
357
+ "multiple": false,
358
+ "type": "option"
359
+ },
360
+ "cml-api": {
361
+ "char": "c",
362
+ "name": "cml-api",
363
+ "required": true,
364
+ "summary": "Unique CML API Name to be created.",
365
+ "hasDynamicHelp": false,
366
+ "multiple": false,
367
+ "type": "option"
368
+ },
369
+ "workspace-dir": {
370
+ "char": "d",
371
+ "name": "workspace-dir",
372
+ "summary": "Directory where converted CML and assocciations csv files are located.",
373
+ "hasDynamicHelp": false,
374
+ "multiple": false,
375
+ "type": "option"
376
+ }
377
+ },
378
+ "hasDynamicHelp": true,
379
+ "hiddenAliases": [],
380
+ "id": "cml:import:as-expression-set",
381
+ "pluginAlias": "@salesforce/plugin-bre-to-cml",
382
+ "pluginName": "@salesforce/plugin-bre-to-cml",
383
+ "pluginType": "core",
384
+ "strict": true,
385
+ "summary": "Imports CML and associations to the target org",
386
+ "enableJsonFlag": true,
387
+ "isESM": true,
388
+ "relativePath": [
389
+ "lib",
390
+ "commands",
391
+ "cml",
392
+ "import",
393
+ "as-expression-set.js"
394
+ ],
395
+ "aliasPermutations": [],
396
+ "permutations": [
397
+ "cml:import:as-expression-set",
398
+ "import:cml:as-expression-set",
399
+ "import:as-expression-set:cml",
400
+ "cml:as-expression-set:import",
401
+ "as-expression-set:cml:import",
402
+ "as-expression-set:import:cml"
403
+ ]
404
+ },
405
405
  "insurance:import:record-updates": {
406
406
  "aliases": [],
407
407
  "args": {},
@@ -495,5 +495,5 @@
495
495
  ]
496
496
  }
497
497
  },
498
- "version": "1.3.5"
498
+ "version": "1.3.7"
499
499
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-bre-to-cml",
3
3
  "description": "Plugin for migrating BRE based configurator rules to CML.",
4
- "version": "1.3.5",
4
+ "version": "1.3.7",
5
5
  "salesforceRelease": "256.11",
6
6
  "dependencies": {
7
7
  "@oclif/core": "^4",
8
8
  "@salesforce/core": "^8.32.6",
9
9
  "@salesforce/sf-plugins-core": "^12",
10
- "csv-parse": "^5.6.0",
10
+ "csv-parse": "^7.0.2",
11
11
  "got": "12"
12
12
  },
13
13
  "devDependencies": {
@@ -229,7 +229,7 @@
229
229
  "type": "module",
230
230
  "author": "George Kibilov",
231
231
  "sfdx": {
232
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.5.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.5.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.7.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.7.sig"
234
234
  }
235
235
  }