@swc/core 1.15.26 → 1.15.28-nightly-20260418.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.
Files changed (2) hide show
  1. package/binding.d.ts +1 -1
  2. package/package.json +13 -13
package/binding.d.ts CHANGED
@@ -46,6 +46,7 @@ export interface TransformOutput {
46
46
  code: string
47
47
  map?: string
48
48
  output?: string
49
+ extractedComments?: Array<string>
49
50
  diagnostics: Array<string>
50
51
  }
51
52
 
@@ -56,4 +57,3 @@ export interface TransformOutput {
56
57
  }
57
58
 
58
59
  export declare function transformSync(s: string, isModule: boolean, opts: Buffer): TransformOutput
59
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.15.26",
3
+ "version": "1.15.28-nightly-20260418.1",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -104,17 +104,17 @@
104
104
  "typescript": "^5.3.3"
105
105
  },
106
106
  "optionalDependencies": {
107
- "@swc/core-darwin-x64": "1.15.26",
108
- "@swc/core-win32-x64-msvc": "1.15.26",
109
- "@swc/core-linux-x64-gnu": "1.15.26",
110
- "@swc/core-linux-ppc64-gnu": "1.15.26",
111
- "@swc/core-linux-s390x-gnu": "1.15.26",
112
- "@swc/core-linux-x64-musl": "1.15.26",
113
- "@swc/core-win32-ia32-msvc": "1.15.26",
114
- "@swc/core-linux-arm-gnueabihf": "1.15.26",
115
- "@swc/core-darwin-arm64": "1.15.26",
116
- "@swc/core-linux-arm64-gnu": "1.15.26",
117
- "@swc/core-linux-arm64-musl": "1.15.26",
118
- "@swc/core-win32-arm64-msvc": "1.15.26"
107
+ "@swc/core-darwin-x64": "1.15.28-nightly-20260418.1",
108
+ "@swc/core-win32-x64-msvc": "1.15.28-nightly-20260418.1",
109
+ "@swc/core-linux-x64-gnu": "1.15.28-nightly-20260418.1",
110
+ "@swc/core-linux-ppc64-gnu": "1.15.28-nightly-20260418.1",
111
+ "@swc/core-linux-s390x-gnu": "1.15.28-nightly-20260418.1",
112
+ "@swc/core-linux-x64-musl": "1.15.28-nightly-20260418.1",
113
+ "@swc/core-win32-ia32-msvc": "1.15.28-nightly-20260418.1",
114
+ "@swc/core-linux-arm-gnueabihf": "1.15.28-nightly-20260418.1",
115
+ "@swc/core-darwin-arm64": "1.15.28-nightly-20260418.1",
116
+ "@swc/core-linux-arm64-gnu": "1.15.28-nightly-20260418.1",
117
+ "@swc/core-linux-arm64-musl": "1.15.28-nightly-20260418.1",
118
+ "@swc/core-win32-arm64-msvc": "1.15.28-nightly-20260418.1"
119
119
  }
120
120
  }