@granite-js/mpack 0.1.26 → 0.1.28

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,25 @@
1
1
  # @granite-js/mpack
2
2
 
3
+ ## 0.1.28
4
+
5
+ ### Patch Changes
6
+
7
+ - 1d958cc: ci: provenance
8
+ - Updated dependencies [1d958cc]
9
+ - @granite-js/devtools-frontend@0.1.28
10
+ - @granite-js/plugin-core@0.1.28
11
+ - @granite-js/utils@0.1.28
12
+
13
+ ## 0.1.27
14
+
15
+ ### Patch Changes
16
+
17
+ - e32b020: ci: oidc
18
+ - Updated dependencies [e32b020]
19
+ - @granite-js/devtools-frontend@0.1.27
20
+ - @granite-js/plugin-core@0.1.27
21
+ - @granite-js/utils@0.1.27
22
+
3
23
  ## 0.1.26
4
24
 
5
25
  ### Patch Changes
@@ -73,7 +73,14 @@ function combineWithBaseBuildConfig(config, context) {
73
73
  banner: {
74
74
  js: [
75
75
  globalVariables({ dev: context.dev }),
76
- // symbol-asynciterator polyfill (ES5)
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
+ */
77
84
  `(function(){if(typeof Symbol!=="undefined"&&!Symbol.asyncIterator){Symbol.asyncIterator=Symbol.for("@@asyncIterator")}})();`
78
85
  ].join("\n")
79
86
  }
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@granite-js/mpack",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "A bundler for Granite apps",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/toss/granite.git",
10
+ "directory": "packages/mpack"
11
+ },
7
12
  "exports": {
8
13
  ".": {
9
14
  "types": "./dist/index.d.ts",
@@ -84,9 +89,9 @@
84
89
  "@babel/traverse": "^7.14.0",
85
90
  "@babel/types": "^7.0.0",
86
91
  "@fastify/static": "7.0.1",
87
- "@granite-js/devtools-frontend": "0.1.26",
88
- "@granite-js/plugin-core": "0.1.26",
89
- "@granite-js/utils": "0.1.26",
92
+ "@granite-js/devtools-frontend": "0.1.28",
93
+ "@granite-js/plugin-core": "0.1.28",
94
+ "@granite-js/utils": "0.1.28",
90
95
  "@inquirer/prompts": "^7.2.3",
91
96
  "@react-native-community/cli-plugin-metro": "11.3.7",
92
97
  "@react-native-community/cli-server-api": "11.3.7",