@salesforce/core 8.21.0 → 8.21.1

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
@@ -32,7 +32,7 @@ See the [Test Setup documentation](TEST_SETUP.md).
32
32
 
33
33
  The Messages class, by default, loads message text during run time. It's optimized to do this only per file.
34
34
 
35
- If you're using @salesforce/core or other code that uses its Messages class in a bundler (webpack, esbuild, etc) it may struggle with these runtime references.
35
+ If you're using @salesforce/core or other code that uses its Messages class in a bundler (webpack, esbuild, etc) it may struggle with these runtime references. Bundle from the compiled code (post-messageTranssformer)
36
36
 
37
37
  src/messageTransformer will "inline" the messages into the js files during TS compile using `https://github.com/nonara/ts-patch`.
38
38
 
@@ -145,7 +145,6 @@ class Logger {
145
145
  transport: {
146
146
  pipeline: [
147
147
  {
148
- // WARNING: Please make sure to bundle transformStream by referencing the correct path. Reach out to IDEx Foundations Team.
149
148
  target: path.join('..', '..', 'lib', 'logger', 'transformStream'),
150
149
  },
151
150
  getWriteStream(level),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core",
3
- "version": "8.21.0",
3
+ "version": "8.21.1",
4
4
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
5
  "main": "lib/index",
6
6
  "types": "lib/index.d.ts",
@@ -62,7 +62,7 @@
62
62
  "ajv": "^8.17.1",
63
63
  "change-case": "^4.1.2",
64
64
  "fast-levenshtein": "^3.0.0",
65
- "faye": "^1.4.0",
65
+ "faye": "^1.4.1",
66
66
  "form-data": "^4.0.4",
67
67
  "js2xmlparser": "^4.0.1",
68
68
  "jsonwebtoken": "9.0.2",
@@ -85,10 +85,6 @@
85
85
  "@types/semver": "^7.5.8",
86
86
  "benchmark": "^2.1.4",
87
87
  "esbuild": "^0.25.9",
88
- "esbuild-plugin-pino": "^2.3.1",
89
- "esbuild-plugin-tsc": "^0.4.0",
90
- "npm-dts": "1.3.12",
91
- "ts-morph": "^23.0.0",
92
88
  "ts-node": "^10.9.2",
93
89
  "ts-patch": "^3.2.1",
94
90
  "typescript": "^5.5.4"
@@ -176,6 +172,19 @@
176
172
  "link-check"
177
173
  ]
178
174
  },
175
+ "bundle-check": {
176
+ "command": "node scripts/build.mjs",
177
+ "dependencies": [
178
+ "compile"
179
+ ],
180
+ "files": [
181
+ "lib/**/*",
182
+ "scripts/build.mjs"
183
+ ],
184
+ "output": [
185
+ "dist/**/*"
186
+ ]
187
+ },
179
188
  "link-check": {
180
189
  "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"./*.md\" --skip \"examples/README.md|CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
181
190
  "files": [