@opensumi/ide-express-file-server 2.15.1 → 2.15.3
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/lib/browser/file-server.contribution.js +3 -3
- package/lib/browser/index.js +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/node/express-file-server.contribution.js +6 -6
- package/lib/node/express-file-server.contribution.js.map +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +6 -6
|
@@ -24,11 +24,11 @@ let ExpressFileServerContribution = class ExpressFileServerContribution {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
tslib_1.__decorate([
|
|
28
28
|
(0, di_1.Autowired)(ide_core_browser_1.AppConfig),
|
|
29
|
-
|
|
29
|
+
tslib_1.__metadata("design:type", Object)
|
|
30
30
|
], ExpressFileServerContribution.prototype, "appConfig", void 0);
|
|
31
|
-
ExpressFileServerContribution =
|
|
31
|
+
ExpressFileServerContribution = tslib_1.__decorate([
|
|
32
32
|
(0, ide_core_browser_1.Domain)(static_definition_1.StaticResourceContribution)
|
|
33
33
|
], ExpressFileServerContribution);
|
|
34
34
|
exports.ExpressFileServerContribution = ExpressFileServerContribution;
|
package/lib/browser/index.js
CHANGED
|
@@ -11,7 +11,7 @@ let ExpressFileServerModule = class ExpressFileServerModule extends ide_core_bro
|
|
|
11
11
|
this.providers = [file_server_contribution_1.ExpressFileServerContribution];
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
ExpressFileServerModule =
|
|
14
|
+
ExpressFileServerModule = tslib_1.__decorate([
|
|
15
15
|
(0, di_1.Injectable)()
|
|
16
16
|
], ExpressFileServerModule);
|
|
17
17
|
exports.ExpressFileServerModule = ExpressFileServerModule;
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./common"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./node"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,iDAAuB"}
|
|
@@ -5,9 +5,9 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const ide_core_node_1 = require("@opensumi/ide-core-node");
|
|
6
6
|
const di_1 = require("@opensumi/di");
|
|
7
7
|
const common_1 = require("../common");
|
|
8
|
-
const koa_mount_1 =
|
|
9
|
-
const fs_1 =
|
|
10
|
-
const path_1 =
|
|
8
|
+
const koa_mount_1 = tslib_1.__importDefault(require("koa-mount"));
|
|
9
|
+
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
10
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
11
11
|
let ExpressFileServerContribution = class ExpressFileServerContribution {
|
|
12
12
|
getWhiteList() {
|
|
13
13
|
return [
|
|
@@ -45,11 +45,11 @@ let ExpressFileServerContribution = class ExpressFileServerContribution {
|
|
|
45
45
|
}));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
tslib_1.__decorate([
|
|
49
49
|
(0, di_1.Autowired)(ide_core_node_1.AppConfig),
|
|
50
|
-
|
|
50
|
+
tslib_1.__metadata("design:type", Object)
|
|
51
51
|
], ExpressFileServerContribution.prototype, "appConfig", void 0);
|
|
52
|
-
ExpressFileServerContribution =
|
|
52
|
+
ExpressFileServerContribution = tslib_1.__decorate([
|
|
53
53
|
(0, ide_core_node_1.Domain)(ide_core_node_1.ServerAppContribution)
|
|
54
54
|
], ExpressFileServerContribution);
|
|
55
55
|
exports.ExpressFileServerContribution = ExpressFileServerContribution;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"express-file-server.contribution.js","sourceRoot":"","sources":["../../src/node/express-file-server.contribution.ts"],"names":[],"mappings":";;;;AAAA,2DAA+F;AAC/F,qCAAyC;AACzC,sCAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"express-file-server.contribution.js","sourceRoot":"","sources":["../../src/node/express-file-server.contribution.ts"],"names":[],"mappings":";;;;AAAA,2DAA+F;AAC/F,qCAAyC;AACzC,sCAAuC;AACvC,kEAA8B;AAC9B,oDAAoB;AACpB,wDAAwB;AAGxB,IAAa,6BAA6B,GAA1C,MAAa,6BAA6B;IAIxC,YAAY;QACV,OAAO;YACL,WAAW;YACX,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,YAAY;YACvC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,eAAe,IAAI,EAAE,CAAC;SAC1C,CAAC;IACJ,CAAC;IAED,UAAU,CAAC,GAAe;QACxB,GAAG,CAAC,GAAG,CACL,IAAA,mBAAK,EAAC,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;YAC7B,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC;YAC9D,IAAI,CAAC,QAAQ,EAAE;gBACb,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;gBACjB,OAAO;aACR;YAED,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;YACtC,MAAM,WAAW,GAAG,mBAAU,CAAC,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAChE;YACE;;;eAGG;YACH,SAAS,CAAC,IAAI,CACZ,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,IAAI,QAAQ,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC,CACnG;gBACD,mBAAmB;gBACnB,WAAW,EACX;gBACA,GAAG,CAAC,GAAG,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;gBACrC,IAAI,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE;oBACpC,GAAG,CAAC,GAAG,CAAC,6BAA6B,EAAE,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;iBAC1E;gBACD,GAAG,CAAC,IAAI,GAAG,YAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;aAC1C;iBAAM;gBACL,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;aAClB;QACH,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF,CAAA;AA3CC;IADC,IAAA,cAAS,EAAC,yBAAS,CAAC;;gEACQ;AAFlB,6BAA6B;IADzC,IAAA,sBAAM,EAAC,qCAAqB,CAAC;GACjB,6BAA6B,CA6CzC;AA7CY,sEAA6B"}
|
package/lib/node/index.js
CHANGED
|
@@ -11,7 +11,7 @@ let ExpressFileServerModule = class ExpressFileServerModule extends ide_core_nod
|
|
|
11
11
|
this.providers = [express_file_server_contribution_1.ExpressFileServerContribution];
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
ExpressFileServerModule =
|
|
14
|
+
ExpressFileServerModule = tslib_1.__decorate([
|
|
15
15
|
(0, di_1.Injectable)()
|
|
16
16
|
], ExpressFileServerModule);
|
|
17
17
|
exports.ExpressFileServerModule = ExpressFileServerModule;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-express-file-server",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.3",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib"
|
|
6
6
|
],
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"url": "git@github.com:opensumi/core.git"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@opensumi/ide-core-common": "2.15.
|
|
20
|
-
"@opensumi/ide-core-node": "2.15.
|
|
21
|
-
"@opensumi/ide-static-resource": "2.15.
|
|
19
|
+
"@opensumi/ide-core-common": "2.15.3",
|
|
20
|
+
"@opensumi/ide-core-node": "2.15.3",
|
|
21
|
+
"@opensumi/ide-static-resource": "2.15.3",
|
|
22
22
|
"koa-mount": "^4.0.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@opensumi/ide-core-browser": "2.15.
|
|
25
|
+
"@opensumi/ide-core-browser": "2.15.3",
|
|
26
26
|
"@opensumi/ide-dev-tool": "^1.3.1",
|
|
27
27
|
"superagent": "^5.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "d4297082ad721a2350e80a650c0875c4adc83cf4"
|
|
30
30
|
}
|