@gravity-ui/app-builder 0.6.8 → 0.6.9
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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.9](https://github.com/gravity-ui/app-builder/compare/v0.6.8...v0.6.9) (2023-09-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* pass correct version to semver ([#77](https://github.com/gravity-ui/app-builder/issues/77)) ([d3f8ed8](https://github.com/gravity-ui/app-builder/commit/d3f8ed8d210995d9d7325f6fd16f0e7e57193105))
|
|
9
|
+
|
|
3
10
|
## [0.6.8](https://github.com/gravity-ui/app-builder/compare/v0.6.7...v0.6.8) (2023-09-18)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -114,8 +114,8 @@ function createTransformPathsToLocalModules(ts) {
|
|
|
114
114
|
}
|
|
115
115
|
exports.createTransformPathsToLocalModules = createTransformPathsToLocalModules;
|
|
116
116
|
function updateImportDeclaration(ts, node, context, resolvedPath) {
|
|
117
|
-
if (semver.lt(ts.version, '5.0')) {
|
|
118
|
-
// for versions before 5.0
|
|
117
|
+
if (semver.lt(ts.version, '5.0.0')) {
|
|
118
|
+
// for versions before 5.0.0
|
|
119
119
|
return context.factory.updateImportDeclaration(node,
|
|
120
120
|
// @ts-expect-error
|
|
121
121
|
node.decorators, node.modifiers, node.importClause, context.factory.createStringLiteral(resolvedPath),
|
|
@@ -125,8 +125,8 @@ function updateImportDeclaration(ts, node, context, resolvedPath) {
|
|
|
125
125
|
return context.factory.updateImportDeclaration(node, node.modifiers, node.importClause, context.factory.createStringLiteral(resolvedPath), node.assertClause);
|
|
126
126
|
}
|
|
127
127
|
function updateExportDeclaration(ts, node, context, resolvedPath) {
|
|
128
|
-
if (semver.lt(ts.version, '5.0')) {
|
|
129
|
-
// for versions before 5.0
|
|
128
|
+
if (semver.lt(ts.version, '5.0.0')) {
|
|
129
|
+
// for versions before 5.0.0
|
|
130
130
|
return context.factory.updateExportDeclaration(node,
|
|
131
131
|
// @ts-expect-error
|
|
132
132
|
node.decorators, node.modifiers, node.isTypeOnly, node.exportClause, context.factory.createStringLiteral(resolvedPath),
|
|
@@ -136,8 +136,8 @@ function updateExportDeclaration(ts, node, context, resolvedPath) {
|
|
|
136
136
|
return context.factory.updateExportDeclaration(node, node.modifiers, node.isTypeOnly, node.exportClause, context.factory.createStringLiteral(resolvedPath), node.assertClause);
|
|
137
137
|
}
|
|
138
138
|
function updateImportTypeNode(ts, node, context, resolvedPath) {
|
|
139
|
-
if (semver.lt(ts.version, '5.0')) {
|
|
140
|
-
// for versions before 5.0
|
|
139
|
+
if (semver.lt(ts.version, '5.0.0')) {
|
|
140
|
+
// for versions before 5.0.0
|
|
141
141
|
return context.factory.updateImportTypeNode(node, context.factory.createLiteralTypeNode(context.factory.createStringLiteral(resolvedPath)),
|
|
142
142
|
// @ts-expect-error
|
|
143
143
|
node.qualifier, node.typeArguments, node.isTypeOf);
|