5htp 0.3.0-3 → 0.3.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp",
|
|
3
3
|
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1-1",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -142,13 +142,14 @@ function Plugin(babel, { app, side, debug }: TOptions) {
|
|
|
142
142
|
)
|
|
143
143
|
);
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
// NOTE: Update 20/07: services should be accessed through current service instance
|
|
146
|
+
/*if (this.bySource.application > 0)
|
|
146
147
|
replaceWith.push(
|
|
147
148
|
t.importDeclaration(
|
|
148
149
|
[t.importDefaultSpecifier( t.identifier('application') )],
|
|
149
150
|
t.stringLiteral( cli.paths.core.src + '/server/app/instance')
|
|
150
151
|
)
|
|
151
|
-
)
|
|
152
|
+
);*/
|
|
152
153
|
|
|
153
154
|
path.replaceWithMultiple(replaceWith);
|
|
154
155
|
},
|
|
@@ -191,8 +192,8 @@ function Plugin(babel, { app, side, debug }: TOptions) {
|
|
|
191
192
|
? t.identifier( service.source )
|
|
192
193
|
// application.services.Disks
|
|
193
194
|
: t.memberExpression(
|
|
194
|
-
t.identifier(
|
|
195
|
-
t.identifier('
|
|
195
|
+
t.identifier('this'),
|
|
196
|
+
t.identifier('app'),
|
|
196
197
|
),
|
|
197
198
|
path.node
|
|
198
199
|
)
|