@proteinjs/server 1.0.2 → 1.0.4
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 +16 -0
- package/dist/generated/index.d.ts +13 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +13 -1
- package/dist/generated/index.js.map +1 -1
- package/generated/index.ts +13 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [1.0.4](https://github.com/brentbahry/server/compare/@proteinjs/server@1.0.3...@proteinjs/server@1.0.4) (2024-04-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @proteinjs/server
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.3](https://github.com/brentbahry/server/compare/@proteinjs/server@1.0.2...@proteinjs/server@1.0.3) (2024-04-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @proteinjs/server
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.0.2](https://github.com/brentbahry/server/compare/@proteinjs/server@1.0.1...@proteinjs/server@1.0.2) (2024-04-19)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** Load Dependency Source Graphs */
|
|
2
|
+
import '@pmmmwh/react-refresh-webpack-plugin';
|
|
2
3
|
import '@proteinjs/db';
|
|
3
4
|
import '@proteinjs/reflection';
|
|
4
5
|
import '@proteinjs/server-api';
|
|
5
6
|
import '@proteinjs/util';
|
|
6
|
-
import '@pmmmwh/react-refresh-webpack-plugin';
|
|
7
7
|
import 'body-parser';
|
|
8
8
|
import 'compression';
|
|
9
9
|
import 'cookie-parser';
|
|
@@ -13,8 +13,20 @@ import 'passport';
|
|
|
13
13
|
import 'passport-local';
|
|
14
14
|
import 'react';
|
|
15
15
|
import 'react-helmet';
|
|
16
|
+
import 'react-refresh';
|
|
17
|
+
import 'react-refresh-typescript';
|
|
16
18
|
import 'webpack';
|
|
17
19
|
import 'webpack-dev-middleware';
|
|
18
20
|
import 'webpack-hot-middleware';
|
|
21
|
+
import 'buffer';
|
|
22
|
+
import 'crypto-browserify';
|
|
23
|
+
import 'events';
|
|
24
|
+
import 'file-loader';
|
|
25
|
+
import 'process';
|
|
26
|
+
import 'stream-browserify';
|
|
27
|
+
import 'ts-loader';
|
|
28
|
+
import 'typescript';
|
|
29
|
+
import 'url';
|
|
30
|
+
import 'util';
|
|
19
31
|
export * from '../index';
|
|
20
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../generated/index.ts"],"names":[],"mappings":"AAAA,oCAAoC;AAEpC,OAAO,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,iBAAiB,CAAC;AACzB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../generated/index.ts"],"names":[],"mappings":"AAAA,oCAAoC;AAEpC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,iBAAiB,CAAC;AACzB,OAAO,aAAa,CAAC;AACrB,OAAO,aAAa,CAAC;AACrB,OAAO,eAAe,CAAC;AACvB,OAAO,SAAS,CAAC;AACjB,OAAO,iBAAiB,CAAC;AACzB,OAAO,UAAU,CAAC;AAClB,OAAO,gBAAgB,CAAC;AACxB,OAAO,OAAO,CAAC;AACf,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,0BAA0B,CAAC;AAClC,OAAO,SAAS,CAAC;AACjB,OAAO,wBAAwB,CAAC;AAChC,OAAO,wBAAwB,CAAC;AAChC,OAAO,QAAQ,CAAC;AAChB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,QAAQ,CAAC;AAChB,OAAO,aAAa,CAAC;AACrB,OAAO,SAAS,CAAC;AACjB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,WAAW,CAAC;AACnB,OAAO,YAAY,CAAC;AACpB,OAAO,KAAK,CAAC;AACb,OAAO,MAAM,CAAC;AAyBd,cAAc,UAAU,CAAC"}
|
package/dist/generated/index.js
CHANGED
|
@@ -15,11 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
16
|
};
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
require("@pmmmwh/react-refresh-webpack-plugin");
|
|
18
19
|
require("@proteinjs/db");
|
|
19
20
|
require("@proteinjs/reflection");
|
|
20
21
|
require("@proteinjs/server-api");
|
|
21
22
|
require("@proteinjs/util");
|
|
22
|
-
require("@pmmmwh/react-refresh-webpack-plugin");
|
|
23
23
|
require("body-parser");
|
|
24
24
|
require("compression");
|
|
25
25
|
require("cookie-parser");
|
|
@@ -29,9 +29,21 @@ require("passport");
|
|
|
29
29
|
require("passport-local");
|
|
30
30
|
require("react");
|
|
31
31
|
require("react-helmet");
|
|
32
|
+
require("react-refresh");
|
|
33
|
+
require("react-refresh-typescript");
|
|
32
34
|
require("webpack");
|
|
33
35
|
require("webpack-dev-middleware");
|
|
34
36
|
require("webpack-hot-middleware");
|
|
37
|
+
require("buffer");
|
|
38
|
+
require("crypto-browserify");
|
|
39
|
+
require("events");
|
|
40
|
+
require("file-loader");
|
|
41
|
+
require("process");
|
|
42
|
+
require("stream-browserify");
|
|
43
|
+
require("ts-loader");
|
|
44
|
+
require("typescript");
|
|
45
|
+
require("url");
|
|
46
|
+
require("util");
|
|
35
47
|
/** Generate Source Graph */
|
|
36
48
|
var sourceGraph = "{\"options\":{\"directed\":true,\"multigraph\":false,\"compound\":false},\"nodes\":[{\"v\":\"@proteinjs/server/NodeSessionDataStorage\",\"value\":{\"packageName\":\"@proteinjs/server\",\"name\":\"NodeSessionDataStorage\",\"filePath\":\"/home/runner/work/server/server/packages/server/src/NodeSessionDataStorage.ts\",\"qualifiedName\":\"@proteinjs/server/NodeSessionDataStorage\",\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"public\",\"properties\":[{\"name\":\"HOOK_INITIALIZED\",\"type\":null,\"isOptional\":false,\"isAbstract\":false,\"isStatic\":true,\"visibility\":\"private\"},{\"name\":\"SESSION_DATA\",\"type\":{\"packageName\":\"@proteinjs/server\",\"name\":\"{[id: string]: SessionData}\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/server/{[id: string]: SessionData}\",\"typeParameters\":null,\"directParents\":null},\"isOptional\":false,\"isAbstract\":false,\"isStatic\":true,\"visibility\":\"private\"},{\"name\":\"environment\",\"type\":null,\"isOptional\":false,\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"public\"}],\"methods\":[{\"name\":\"setData\",\"returnType\":null,\"isAsync\":false,\"isOptional\":false,\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"public\",\"parameters\":[{\"name\":\"data\",\"type\":{\"packageName\":\"@proteinjs/server-api\",\"name\":\"SessionData\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/server-api/SessionData\",\"typeParameters\":null,\"directParents\":null}}]},{\"name\":\"getData\",\"returnType\":{\"packageName\":\"@proteinjs/server-api\",\"name\":\"SessionData\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/server-api/SessionData\",\"typeParameters\":null,\"directParents\":null},\"isAsync\":false,\"isOptional\":false,\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"public\",\"parameters\":[]},{\"name\":\"initHook\",\"returnType\":null,\"isAsync\":false,\"isOptional\":false,\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"private\",\"parameters\":[]}],\"typeParameters\":[],\"directParentInterfaces\":[{\"packageName\":\"@proteinjs/server-api\",\"name\":\"SessionDataStorage\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/server-api/SessionDataStorage\",\"properties\":[],\"methods\":[],\"typeParameters\":[],\"directParents\":[]}],\"directParentClasses\":[],\"sourceType\":2}},{\"v\":\"@proteinjs/server-api/SessionDataStorage\"},{\"v\":\"@proteinjs/server/healthCheck\",\"value\":{\"packageName\":\"@proteinjs/server\",\"name\":\"healthCheck\",\"filePath\":\"/home/runner/work/server/server/packages/server/src/routes/healthCheck.ts\",\"qualifiedName\":\"@proteinjs/server/healthCheck\",\"type\":{\"packageName\":\"@proteinjs/server-api\",\"name\":\"Route\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/server-api/Route\",\"typeParameters\":[],\"directParents\":[{\"packageName\":\"@proteinjs/server-api\",\"name\":\"Route\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/server-api/Route\",\"typeParameters\":[],\"directParents\":null}]},\"isExported\":true,\"isConst\":true,\"sourceType\":0}},{\"v\":\"@proteinjs/server-api/Route\"}],\"edges\":[{\"v\":\"@proteinjs/server/NodeSessionDataStorage\",\"w\":\"@proteinjs/server-api/SessionDataStorage\",\"value\":\"implements interface\"},{\"v\":\"@proteinjs/server/healthCheck\",\"w\":\"@proteinjs/server-api/Route\",\"value\":\"has type\"}]}";
|
|
37
49
|
/** Generate Source Links */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../generated/index.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;;;;;;;;;;;;;;AAEpC,yBAAuB;AACvB,iCAA+B;AAC/B,iCAA+B;AAC/B,2BAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../generated/index.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;;;;;;;;;;;;;;AAEpC,gDAA8C;AAC9C,yBAAuB;AACvB,iCAA+B;AAC/B,iCAA+B;AAC/B,2BAAyB;AACzB,uBAAqB;AACrB,uBAAqB;AACrB,yBAAuB;AACvB,mBAAiB;AACjB,2BAAyB;AACzB,oBAAkB;AAClB,0BAAwB;AACxB,iBAAe;AACf,wBAAsB;AACtB,yBAAuB;AACvB,oCAAkC;AAClC,mBAAiB;AACjB,kCAAgC;AAChC,kCAAgC;AAChC,kBAAgB;AAChB,6BAA2B;AAC3B,kBAAgB;AAChB,uBAAqB;AACrB,mBAAiB;AACjB,6BAA2B;AAC3B,qBAAmB;AACnB,sBAAoB;AACpB,eAAa;AACb,gBAAc;AAGd,4BAA4B;AAE5B,IAAM,WAAW,GAAG,kwGAAkwG,CAAC;AAGvxG,4BAA4B;AAE5B,wEAAuE;AACvE,yDAAwD;AAExD,IAAM,WAAW,GAAG;IACnB,0CAA0C,EAAE,+CAAsB;IAClE,+BAA+B,EAAE,yBAAW;CAC5C,CAAC;AAGF,kCAAkC;AAElC,oDAAyD;AACzD,6BAAgB,CAAC,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAGjD,2CAAyB"}
|
package/generated/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** Load Dependency Source Graphs */
|
|
2
2
|
|
|
3
|
+
import '@pmmmwh/react-refresh-webpack-plugin';
|
|
3
4
|
import '@proteinjs/db';
|
|
4
5
|
import '@proteinjs/reflection';
|
|
5
6
|
import '@proteinjs/server-api';
|
|
6
7
|
import '@proteinjs/util';
|
|
7
|
-
import '@pmmmwh/react-refresh-webpack-plugin';
|
|
8
8
|
import 'body-parser';
|
|
9
9
|
import 'compression';
|
|
10
10
|
import 'cookie-parser';
|
|
@@ -14,9 +14,21 @@ import 'passport';
|
|
|
14
14
|
import 'passport-local';
|
|
15
15
|
import 'react';
|
|
16
16
|
import 'react-helmet';
|
|
17
|
+
import 'react-refresh';
|
|
18
|
+
import 'react-refresh-typescript';
|
|
17
19
|
import 'webpack';
|
|
18
20
|
import 'webpack-dev-middleware';
|
|
19
21
|
import 'webpack-hot-middleware';
|
|
22
|
+
import 'buffer';
|
|
23
|
+
import 'crypto-browserify';
|
|
24
|
+
import 'events';
|
|
25
|
+
import 'file-loader';
|
|
26
|
+
import 'process';
|
|
27
|
+
import 'stream-browserify';
|
|
28
|
+
import 'ts-loader';
|
|
29
|
+
import 'typescript';
|
|
30
|
+
import 'url';
|
|
31
|
+
import 'util';
|
|
20
32
|
|
|
21
33
|
|
|
22
34
|
/** Generate Source Graph */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proteinjs/server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A server impl",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -28,14 +28,26 @@
|
|
|
28
28
|
"@proteinjs/server-api": "1.0.2",
|
|
29
29
|
"@proteinjs/util": "1.0.18",
|
|
30
30
|
"body-parser": "1.19.0",
|
|
31
|
+
"buffer": "6.0.3",
|
|
31
32
|
"compression": "1.7.4",
|
|
32
33
|
"cookie-parser": "1.4.5",
|
|
34
|
+
"crypto-browserify": "3.12.0",
|
|
35
|
+
"events": "3.3.0",
|
|
33
36
|
"express": "4.17.1",
|
|
34
37
|
"express-session": "1.17.1",
|
|
38
|
+
"file-loader": "6.2.0",
|
|
35
39
|
"passport": "0.4.1",
|
|
36
40
|
"passport-local": "1.0.0",
|
|
41
|
+
"process": "0.11.10",
|
|
37
42
|
"react": "18.2.0",
|
|
38
43
|
"react-helmet": "6.1.0",
|
|
44
|
+
"react-refresh": "0.14.0",
|
|
45
|
+
"react-refresh-typescript": "2.0.9",
|
|
46
|
+
"stream-browserify": "3.0.0",
|
|
47
|
+
"ts-loader": "8.0.3",
|
|
48
|
+
"typescript": "5.2.2",
|
|
49
|
+
"url": "0.11.3",
|
|
50
|
+
"util": "0.12.5",
|
|
39
51
|
"webpack": "5.88.2",
|
|
40
52
|
"webpack-dev-middleware": "7.0.0",
|
|
41
53
|
"webpack-hot-middleware": "2.26.0"
|
|
@@ -57,21 +69,9 @@
|
|
|
57
69
|
"@types/passport-local": "1.0.33",
|
|
58
70
|
"@types/react": "18.2.23",
|
|
59
71
|
"@types/react-helmet": "6.1.0",
|
|
60
|
-
"@types/webpack-hot-middleware": "2.25.9"
|
|
61
|
-
"buffer": "6.0.3",
|
|
62
|
-
"crypto-browserify": "3.12.0",
|
|
63
|
-
"events": "3.3.0",
|
|
64
|
-
"file-loader": "6.2.0",
|
|
65
|
-
"process": "0.11.10",
|
|
66
|
-
"react-refresh": "0.14.0",
|
|
67
|
-
"react-refresh-typescript": "2.0.9",
|
|
68
|
-
"stream-browserify": "3.0.0",
|
|
69
|
-
"ts-loader": "8.0.3",
|
|
70
|
-
"typescript": "5.2.2",
|
|
71
|
-
"url": "0.11.3",
|
|
72
|
-
"util": "0.12.5"
|
|
72
|
+
"@types/webpack-hot-middleware": "2.25.9"
|
|
73
73
|
},
|
|
74
74
|
"main": "./dist/generated/index.js",
|
|
75
75
|
"types": "./dist/generated/index.d.ts",
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "7c0c933ddfbe73fc5a2977bcc3db1feb603072cc"
|
|
77
77
|
}
|