@granite-js/mpack 0.1.33 → 0.1.34

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @granite-js/mpack
2
2
 
3
+ ## 0.1.34
4
+
5
+ ### Patch Changes
6
+
7
+ - b546c17: move `asyncIterator` polyfill to runtime
8
+ - 9c39997: bump version up `@swc/core`
9
+ - Updated dependencies [9c39997]
10
+ - @granite-js/plugin-core@0.1.34
11
+ - @granite-js/devtools-frontend@0.1.34
12
+ - @granite-js/utils@0.1.34
13
+
3
14
  ## 0.1.33
4
15
 
5
16
  ### Patch Changes
@@ -71,18 +71,7 @@ function combineWithBaseBuildConfig(config, context) {
71
71
  define: defineGlobalVariables({ dev: context.dev }),
72
72
  prelude: getReactNativeSetupScripts({ rootDir: context.rootDir }),
73
73
  banner: {
74
- js: [
75
- globalVariables({ dev: context.dev }),
76
- /**
77
- * Polyfill for `@swc/helpers` build compatibility
78
- *
79
- * @see https://github.com/swc-project/swc/blob/v1.4.15/packages/helpers/esm/_async_iterator.js#L3
80
- *
81
- * - babel: No runtime issues after build as there is a fallback for `Symbol.asyncIterator`
82
- * - swc: No fallback for `Symbol.asyncIterator`, so it needs to be defined in advance
83
- */
84
- `(function(){if(typeof Symbol!=="undefined"&&!Symbol.asyncIterator){Symbol.asyncIterator=Symbol.for("@@asyncIterator")}})();`
85
- ].join("\n")
74
+ js: globalVariables({ dev: context.dev })
86
75
  }
87
76
  },
88
77
  babel: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granite-js/mpack",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "A bundler for Granite apps",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -89,17 +89,17 @@
89
89
  "@babel/traverse": "7.28.5",
90
90
  "@babel/types": "7.28.5",
91
91
  "@fastify/static": "7.0.1",
92
- "@granite-js/devtools-frontend": "0.1.33",
93
- "@granite-js/plugin-core": "0.1.33",
94
- "@granite-js/utils": "0.1.33",
92
+ "@granite-js/devtools-frontend": "0.1.34",
93
+ "@granite-js/plugin-core": "0.1.34",
94
+ "@granite-js/utils": "0.1.34",
95
95
  "@inquirer/prompts": "^7.2.3",
96
96
  "@react-native-community/cli-plugin-metro": "11.3.7",
97
97
  "@react-native-community/cli-server-api": "11.3.7",
98
98
  "@react-native-community/cli-tools": "11.3.7",
99
99
  "@react-native/dev-middleware": "0.73.8",
100
100
  "@shopify/semaphore": "^3.1.0",
101
- "@swc/core": "1.5.24",
102
- "@swc/helpers": "0.5.13",
101
+ "@swc/core": "^1.15.8",
102
+ "@swc/helpers": "0.5.17",
103
103
  "absolute-path": "^0.0.0",
104
104
  "accepts": "^1.3.7",
105
105
  "assert": "2.1.0",