babel-plugin-transform-modules-ui5 7.1.0 → 7.1.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/CHANGELOG.md +11 -0
- package/dist/utils/templates.js +4 -2
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.1.1](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/compare/v7.1.0...v7.1.1) (2023-03-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* catch err for dynamic import to sap.ui.require ([#91](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/issues/91)) ([9c7d26e](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/commit/9c7d26e6aeebc77f5d8faec941fbd994b77de222))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [7.1.0](https://github.com/ui5-community/babel-plugin-transform-modules-ui5/compare/v7.0.6...v7.1.0) (2023-03-13)
|
|
7
18
|
|
|
8
19
|
|
package/dist/utils/templates.js
CHANGED
|
@@ -102,8 +102,10 @@ const buildDynamicImportHelper = (0, _core.template)(`
|
|
|
102
102
|
module.__esModule = true;
|
|
103
103
|
resolve(module);
|
|
104
104
|
}
|
|
105
|
-
})
|
|
106
|
-
|
|
105
|
+
}, (err) => {
|
|
106
|
+
reject(err);
|
|
107
|
+
});
|
|
108
|
+
});
|
|
107
109
|
}
|
|
108
110
|
`);
|
|
109
111
|
exports.buildDynamicImportHelper = buildDynamicImportHelper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-transform-modules-ui5",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "An unofficial babel plugin for SAP UI5.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"lint:staged": "lint-staged",
|
|
21
21
|
"test": "jest __test__ --coverage=no",
|
|
22
22
|
"test:watch": "npm test -- --watch",
|
|
23
|
+
"test:update-snapshot": "jest --updateSnapshot",
|
|
23
24
|
"prepare": "npm test && npm run build",
|
|
24
25
|
"format": "prettier --write 'src/**/*.js'"
|
|
25
26
|
},
|
|
@@ -91,5 +92,5 @@
|
|
|
91
92
|
"prettier": "^2.8.4",
|
|
92
93
|
"rimraf": "^4.1.2"
|
|
93
94
|
},
|
|
94
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "e7dd55f8a73fa37f31267372da5ac3d441e26e3e"
|
|
95
96
|
}
|