@salesforce/plugin-data 2.6.3 → 2.6.4-test.0

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.
Files changed (65) hide show
  1. package/README.md +113 -113
  2. package/lib/BulkBaseCommand.js +26 -26
  3. package/lib/BulkBaseCommand.js.map +1 -1
  4. package/lib/api/data/tree/exportApi.js +31 -30
  5. package/lib/api/data/tree/exportApi.js.map +1 -1
  6. package/lib/api/data/tree/importApi.js +46 -43
  7. package/lib/api/data/tree/importApi.js.map +1 -1
  8. package/lib/batcher.js +24 -17
  9. package/lib/batcher.js.map +1 -1
  10. package/lib/bulkDataRequestCache.js +21 -26
  11. package/lib/bulkDataRequestCache.js.map +1 -1
  12. package/lib/bulkOperationCommand.js +55 -57
  13. package/lib/bulkOperationCommand.js.map +1 -1
  14. package/lib/bulkUtils.js +20 -20
  15. package/lib/bulkUtils.js.map +1 -1
  16. package/lib/commands/data/create/record.js +38 -39
  17. package/lib/commands/data/create/record.js.map +1 -1
  18. package/lib/commands/data/delete/bulk.js +14 -15
  19. package/lib/commands/data/delete/bulk.js.map +1 -1
  20. package/lib/commands/data/delete/record.js +48 -49
  21. package/lib/commands/data/delete/record.js.map +1 -1
  22. package/lib/commands/data/delete/resume.js +16 -17
  23. package/lib/commands/data/delete/resume.js.map +1 -1
  24. package/lib/commands/data/export/tree.js +38 -39
  25. package/lib/commands/data/export/tree.js.map +1 -1
  26. package/lib/commands/data/get/record.js +50 -51
  27. package/lib/commands/data/get/record.js.map +1 -1
  28. package/lib/commands/data/import/tree.js +45 -46
  29. package/lib/commands/data/import/tree.js.map +1 -1
  30. package/lib/commands/data/query/resume.js +40 -42
  31. package/lib/commands/data/query/resume.js.map +1 -1
  32. package/lib/commands/data/query.js +91 -93
  33. package/lib/commands/data/query.js.map +1 -1
  34. package/lib/commands/data/resume.js +45 -40
  35. package/lib/commands/data/resume.js.map +1 -1
  36. package/lib/commands/data/update/record.js +61 -62
  37. package/lib/commands/data/update/record.js.map +1 -1
  38. package/lib/commands/data/upsert/bulk.js +24 -25
  39. package/lib/commands/data/upsert/bulk.js.map +1 -1
  40. package/lib/commands/data/upsert/resume.js +15 -16
  41. package/lib/commands/data/upsert/resume.js.map +1 -1
  42. package/lib/commands/force/data/bulk/delete.js +42 -43
  43. package/lib/commands/force/data/bulk/delete.js.map +1 -1
  44. package/lib/commands/force/data/bulk/status.js +40 -35
  45. package/lib/commands/force/data/bulk/status.js.map +1 -1
  46. package/lib/commands/force/data/bulk/upsert.js +54 -55
  47. package/lib/commands/force/data/bulk/upsert.js.map +1 -1
  48. package/lib/dataCommand.js +16 -21
  49. package/lib/dataCommand.js.map +1 -1
  50. package/lib/dataSoqlQueryTypes.js +4 -9
  51. package/lib/dataSoqlQueryTypes.js.map +1 -1
  52. package/lib/flags.js +12 -13
  53. package/lib/flags.js.map +1 -1
  54. package/lib/index.js +1 -2
  55. package/lib/index.js.map +1 -1
  56. package/lib/queryUtils.js +8 -13
  57. package/lib/queryUtils.js.map +1 -1
  58. package/lib/reporters.js +52 -59
  59. package/lib/reporters.js.map +1 -1
  60. package/lib/resumeBulkCommand.js +37 -39
  61. package/lib/resumeBulkCommand.js.map +1 -1
  62. package/lib/types.js +1 -2
  63. package/oclif.lock +8086 -0
  64. package/oclif.manifest.json +1614 -854
  65. package/package.json +33 -50
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "2.6.3",
3
+ "version": "2.6.4-test.0",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
- "main": "lib/index.js",
7
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
8
7
  "keywords": [
9
8
  "force",
10
9
  "salesforce",
11
- "sfdx",
12
10
  "salesforcedx",
13
- "sfdx-plugin",
14
- "sf-plugin"
11
+ "sf",
12
+ "sf-plugin",
13
+ "sfdx",
14
+ "sfdx-plugin"
15
15
  ],
16
16
  "license": "BSD-3-Clause",
17
17
  "engines": {
18
- "node": ">=16.0.0"
18
+ "node": ">=18.0.0"
19
19
  },
20
20
  "config": {},
21
21
  "oclif": {
@@ -73,13 +73,16 @@
73
73
  }
74
74
  }
75
75
  }
76
- }
76
+ },
77
+ "flexibleTaxonomy": true,
78
+ "topicSeparator": " "
77
79
  },
78
80
  "files": [
79
81
  "/lib",
80
82
  "/messages",
81
83
  "/schema",
82
- "/oclif.manifest.json"
84
+ "/oclif.manifest.json",
85
+ "/oclif.lock"
83
86
  ],
84
87
  "repository": "salesforcecli/plugin-data",
85
88
  "bugs": "https://github.com/forcedotcom/cli/issues",
@@ -90,12 +93,12 @@
90
93
  "build": "wireit",
91
94
  "clean": "sf-clean",
92
95
  "clean-all": "sf-clean all",
93
- "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
96
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
94
97
  "compile": "wireit",
95
98
  "docs": "sf-docs",
96
99
  "format": "wireit",
97
100
  "lint": "wireit",
98
- "postpack": "shx rm -f oclif.manifest.json",
101
+ "postpack": "shx rm -f oclif.manifest.json oclif.lock",
99
102
  "prepack": "sf-prepack",
100
103
  "prepare": "sf-install",
101
104
  "test": "wireit",
@@ -105,54 +108,32 @@
105
108
  "version": "oclif readme"
106
109
  },
107
110
  "dependencies": {
108
- "@oclif/core": "^2.15.0",
111
+ "@oclif/core": "^3.10.6",
109
112
  "@salesforce/core": "^5.3.10",
110
113
  "@salesforce/kit": "^3.0.15",
111
- "@salesforce/sf-plugins-core": "^3.1.23",
114
+ "@salesforce/sf-plugins-core": "^4.0.0",
112
115
  "@salesforce/ts-types": "^2.0.8",
113
- "chalk": "^4.1.0",
116
+ "chalk": "^5.3.0",
114
117
  "csv-parse": "^4.16.3",
115
118
  "csv-stringify": "^6.4.4",
116
- "jsforce": "^2.0.0-beta.27",
117
- "tslib": "^2"
119
+ "jsforce": "^2.0.0-beta.28"
118
120
  },
119
121
  "devDependencies": {
120
- "@oclif/plugin-command-snapshot": "^4.0.16",
121
- "@salesforce/cli-plugins-testkit": "^4.4.10",
122
- "@salesforce/dev-config": "^4.1.0",
123
- "@salesforce/dev-scripts": "^5.12.2",
124
- "@salesforce/plugin-command-reference": "^3.0.44",
122
+ "@oclif/plugin-command-snapshot": "^5.0.1",
123
+ "@salesforce/cli-plugins-testkit": "^5.0.4",
124
+ "@salesforce/dev-scripts": "^6.0.3",
125
+ "@salesforce/plugin-command-reference": "^3.0.46",
125
126
  "@salesforce/plugin-settings": "^1.4.37",
126
- "@salesforce/prettier-config": "^0.0.3",
127
127
  "@salesforce/ts-sinon": "^1.4.19",
128
- "@swc/core": "1.3.31",
129
- "@types/chai-as-promised": "^7.1.7",
130
- "@types/shelljs": "^0.8.13",
131
- "@typescript-eslint/eslint-plugin": "^5.62.0",
132
- "@typescript-eslint/parser": "^5.62.0",
133
- "chai": "^4.3.10",
128
+ "@types/chai-as-promised": "^7.1.8",
129
+ "@types/shelljs": "^0.8.15",
134
130
  "chai-as-promised": "^7.1.1",
135
- "eslint": "^8.52.0",
136
- "eslint-config-prettier": "^8.9.0",
137
- "eslint-config-salesforce": "^2.0.2",
138
- "eslint-config-salesforce-license": "^0.2.0",
139
- "eslint-config-salesforce-typescript": "^2.0.0",
140
- "eslint-plugin-header": "^3.1.1",
141
- "eslint-plugin-import": "^2.29.0",
142
- "eslint-plugin-jsdoc": "^46.8.2",
143
131
  "eslint-plugin-sf-plugin": "^1.16.14",
144
- "husky": "^7.0.4",
145
- "mocha": "^9.1.3",
146
- "nyc": "^15.1.0",
147
- "oclif": "^3.17.2",
148
- "prettier": "^2.8.8",
149
- "pretty-quick": "^3.1.0",
132
+ "oclif": "^4.0.3",
150
133
  "shelljs": "~0.8.4",
151
134
  "shx": "^0.3.3",
152
- "sinon": "10.0.0",
153
- "ts-node": "^10.4.0",
154
- "typescript": "^5.2.2",
155
- "wireit": "^0.14.1"
135
+ "ts-node": "^10.9.1",
136
+ "typescript": "^5.2.2"
156
137
  },
157
138
  "wireit": {
158
139
  "build": {
@@ -230,7 +211,7 @@
230
211
  "output": []
231
212
  },
232
213
  "test:command-reference": {
233
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
214
+ "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
234
215
  "files": [
235
216
  "src/**/*.ts",
236
217
  "messages/**",
@@ -241,7 +222,7 @@
241
222
  ]
242
223
  },
243
224
  "test:deprecation-policy": {
244
- "command": "\"./bin/dev\" snapshot:compare",
225
+ "command": "ts-node \"./bin/dev.js\" snapshot:compare",
245
226
  "files": [
246
227
  "src/**/*.ts"
247
228
  ],
@@ -251,7 +232,7 @@
251
232
  ]
252
233
  },
253
234
  "test:json-schema": {
254
- "command": "\"./bin/dev\" schema:compare",
235
+ "command": "ts-node \"./bin/dev.js\" schema:compare",
255
236
  "files": [
256
237
  "src/**/*.ts",
257
238
  "schemas"
@@ -259,8 +240,10 @@
259
240
  "output": []
260
241
  }
261
242
  },
243
+ "exports": "./lib/index.js",
244
+ "type": "module",
262
245
  "sfdx": {
263
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.6.3.crt",
264
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.6.3.sig"
246
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.6.4-test.0.crt",
247
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.6.4-test.0.sig"
265
248
  }
266
249
  }