@mondomob/gae-node-nestjs 12.0.0-alpha-3 → 12.0.0-alpha1
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/.claude/settings.local.json +5 -1
- package/CHANGELOG.md +51 -0
- package/dist/mail/mail-whitelist.sender.js +2 -2
- package/dist/mail/mail-whitelist.sender.js.map +1 -1
- package/dist/mail/mail.diverter.js +2 -5
- package/dist/mail/mail.diverter.js.map +1 -1
- package/package.json +8 -6
- package/server-start.js +1 -72
- package/bitbucket-pipelines.yml +0 -15
- package/gae-node-nestjs.code-workspace +0 -7
- package/gae-node-nestjs.iml +0 -9
- package/mondomob-gae-node-nestjs-12.0.0-alpha-1.tgz +0 -0
- package/mondomob-gae-node-nestjs-12.0.0-alpha-2.tgz +0 -0
- package/mondomob-gae-node-nestjs-12.0.0-alpha-3.tgz +0 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"permissions": {
|
|
3
3
|
"allow": [
|
|
4
|
-
"Bash(npm ls:*)"
|
|
4
|
+
"Bash(npm ls:*)",
|
|
5
|
+
"Bash(tar -tzf mondomob-gae-node-nestjs-12.0.0-alpha-3.tgz)",
|
|
6
|
+
"Bash(mkdir -p /tmp/alpha3-check)",
|
|
7
|
+
"Bash(tar -xzf mondomob-gae-node-nestjs-12.0.0-alpha-3.tgz -C /tmp/alpha3-check)",
|
|
8
|
+
"Bash(grep -E '\\\\.ts$')"
|
|
5
9
|
]
|
|
6
10
|
}
|
|
7
11
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,54 @@
|
|
|
1
|
+
## 12.0.0-alpha1 (2026-10-17)
|
|
2
|
+
|
|
3
|
+
Security release: clears the critical and several high `npm audit` findings from this lib's dependencies.
|
|
4
|
+
|
|
5
|
+
Node.js 22 or newer is now required (`engines.node >= 22`).
|
|
6
|
+
|
|
7
|
+
Updating major versions of internal packages including:
|
|
8
|
+
- nodemailer 6.9.15 -> 10.1.1
|
|
9
|
+
- TLS certificates are now validated by default for HTTPS fetches (Gmail OAuth token endpoint,
|
|
10
|
+
attachment URLs, proxy CONNECT). Hosts with self-signed or mismatched certificates will fail
|
|
11
|
+
unless `tls.rejectUnauthorized=false` is set.
|
|
12
|
+
- The SMTP error code `NoAuth` is now `ENOAUTH`.
|
|
13
|
+
- nodemailer now ships its own types. `@types/nodemailer` has been removed, and address fields
|
|
14
|
+
(`to`, `cc`, `bcc`) on `Options` now accept nested arrays and group addresses. Custom `MailSender`
|
|
15
|
+
implementations may need type updates.
|
|
16
|
+
- @google-cloud/trace-agent 7.1.2 -> 8.0.0
|
|
17
|
+
- removes `node-forge` (no upstream fix) from the dependency tree.
|
|
18
|
+
- trace-agent is deprecated upstream in favour of OpenTelemetry; this is a minimal bump only.
|
|
19
|
+
|
|
20
|
+
Updating minor versions of internal packages including:
|
|
21
|
+
- lodash 4.17.21 -> 4.18.1
|
|
22
|
+
|
|
23
|
+
Refreshed the lockfile for `protobufjs`, `proxy-addr` and `sha.js`, which were flagged critical.
|
|
24
|
+
Consumers should refresh their own lockfiles to pick these up.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## 11.1.0 (2026-05-27)
|
|
28
|
+
|
|
29
|
+
Updated wildcard route matching from `'*'` to `'{*path}'` to align with Express v5 route syntax.
|
|
30
|
+
|
|
31
|
+
Updating minor versions of internal packages including:
|
|
32
|
+
- @apollo/server
|
|
33
|
+
- @google-cloud/datastore
|
|
34
|
+
- @google-cloud/storage
|
|
35
|
+
- @nestjs/common, @nestjs/core, @nestjs/platform-express
|
|
36
|
+
- express
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## 11.0.2 (2025-08-06)
|
|
40
|
+
|
|
41
|
+
Updating @node-saml/passport-saml from v4 to v5
|
|
42
|
+
- not a breaking change.
|
|
43
|
+
|
|
44
|
+
Updating various libs with minor version bumps only.
|
|
45
|
+
|
|
46
|
+
Removal of `dsui`
|
|
47
|
+
- dsui is an outdated Datastore UI for local development only
|
|
48
|
+
- removed code that attempts to start and stop dsui
|
|
49
|
+
- developers who still want to use this should handle the start/stop in their own projects
|
|
50
|
+
|
|
51
|
+
|
|
1
52
|
## 11.0.1 (2025-02-02)
|
|
2
53
|
|
|
3
54
|
Updating minor versions for nestjs, express, express-session.
|
|
@@ -21,10 +21,10 @@ class MailWhitelistSender {
|
|
|
21
21
|
.filter(address => this.filterAddress(address))
|
|
22
22
|
.join(',');
|
|
23
23
|
}
|
|
24
|
-
return (0, lodash_1.
|
|
24
|
+
return (0, lodash_1.flattenDeep)([actualAddresses]).filter(address => this.filterAddress(address));
|
|
25
25
|
};
|
|
26
26
|
this.filterAddress = (address) => {
|
|
27
|
-
const email = typeof address === 'string' ? address.trim() : address.address.trim();
|
|
27
|
+
const email = typeof address === 'string' ? address.trim() : (address.address || '').trim();
|
|
28
28
|
if (this.emailWhitelist.includes(email)) {
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-whitelist.sender.js","sourceRoot":"","sources":["../../src/mail/mail-whitelist.sender.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"mail-whitelist.sender.js","sourceRoot":"","sources":["../../src/mail/mail-whitelist.sender.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAKrC,wCAAkD;AAElD,2CAAyC;AACzC,+DAA0D;AAE1D,MAAa,mBAAmB;IAI9B,YAA6B,UAAsB,EAAmB,qBAAoC;QAA7E,eAAU,GAAV,UAAU,CAAY;QAAmB,0BAAqB,GAArB,qBAAqB,CAAe;QAHzF,WAAM,GAAW,IAAA,sBAAY,EAAC,uBAAuB,CAAC,CAAC;QA6BhE,oBAAe,GAAG,CAAC,eAA8B,EAAE,EAAE;YAC3D,IAAI,IAAA,gBAAO,EAAC,eAAe,CAAC,EAAE,CAAC;gBAC7B,OAAO,EAAE,CAAC;YACZ,CAAC;YAED,IAAI,OAAO,eAAe,KAAK,QAAQ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AAI,CAAC,+BAA+B,QAAQ,CAAC,cAAc,EAAE,CAAC,CAAC;QAC3E,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;IAChD,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAAgB,EAAE,WAAoB;QAC/C,MAAM,iBAAiB,GAAG;YACxB,EAAE,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;YACxC,EAAE,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;YACxC,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,GAAG,CAAC;SAC3C,CAAC;QAEF,IAAI,IAAA,gBAAO,EAAC,iBAAiB,CAAC,EAAE,CAAC,IAAI,IAAA,gBAAO,EAAC,iBAAiB,CAAC,EAAE,CAAC,IAAI,IAAA,gBAAO,EAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC;YACrG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC;YACxE,OAAO,IAAI,uCAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAC5D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,6CAA6C,EAAE,iBAAiB,CAAC,CAAC;YACnF,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,kCAAO,WAAW,GAAK,iBAAiB,EAAG,CAAC;QACjF,CAAC;IACH,CAAC;CA8BF;AA1DD,kDA0DC"}
|
|
@@ -24,16 +24,13 @@ let MailDiverter = class MailDiverter {
|
|
|
24
24
|
return [];
|
|
25
25
|
};
|
|
26
26
|
this.getDivertedFromAddressesAsString = (actualAddress) => {
|
|
27
|
-
|
|
28
|
-
if (actualAddress instanceof Array) {
|
|
29
|
-
addressList = actualAddress;
|
|
30
|
-
}
|
|
27
|
+
const addressList = (0, lodash_1.flattenDeep)([actualAddress]);
|
|
31
28
|
const justAddresses = addressList
|
|
32
29
|
.map(address => {
|
|
33
30
|
if (typeof address === 'string') {
|
|
34
31
|
return address.trim();
|
|
35
32
|
}
|
|
36
|
-
return address.address.trim();
|
|
33
|
+
return (address.address || '').trim();
|
|
37
34
|
})
|
|
38
35
|
.join(', ');
|
|
39
36
|
const deAttedAddresses = (0, lodash_1.replace)(justAddresses, /@/g, '.at.');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail.diverter.js","sourceRoot":"","sources":["../../src/mail/mail.diverter.ts"],"names":[],"mappings":";;;;AAAA,2CAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"mail.diverter.js","sourceRoot":"","sources":["../../src/mail/mail.diverter.ts"],"names":[],"mappings":";;;;AAAA,2CAAoD;AACpD,mCAAuD;AAGvD,oDAAgE;AAEhE,wCAAkD;AAI3C,IAAM,YAAY,GAAlB,MAAM,YAAY;IAGvB,YACmB,UAAsB,EAChB,qBAAqD;QAD3D,eAAU,GAAV,UAAU,CAAY;QACC,0BAAqB,GAArB,qBAAqB,CAAe;QAJ7D,WAAM,GAAW,IAAA,sBAAY,EAAC,eAAe,CAAC,CAAC;QAwBxD,oBAAe,GAAG,CAAC,eAA8B,EAAE,EAAE;YAC3D,IAAI,CAAC,IAAA,gBAAO,EAAC,eAAe,CAAC,EAAE,CAAC;gBAE9B,MAAM,qBAAqB,GAAG,IAAI,CAAC,gCAAgC,CAAC,eAAe,CAAC,CAAC;gBAErF,OAAO,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE;oBAC7E,OAAO;wBACL,IAAI,EAAE,qBAAqB;wBAC3B,OAAO,EAAE,eAAe;qBACzB,CAAC;gBACJ,CAAC,CAAC,CAAC;YACL,CAAC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC;QAEM,qCAAgC,GAAG,CAAC,aAAyC,EAAE,EAAE;YAEvF,MAAM,WAAW,GAAG,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BAAkB,CAAC,CAAC;QACxE,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,kCAAO,WAAW,GAAK,kBAAkB,EAAG,CAAC;IAClF,CAAC;CAkCF,CAAA;AAzDY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,mBAAU,GAAE;IAMR,mBAAA,IAAA,eAAM,EAAC,6BAAa,CAAC,CAAA;;GALb,YAAY,CAyDxB"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mondomob/gae-node-nestjs",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-alpha1",
|
|
4
4
|
"description": "Google App Engine datastore repositories and graphql setup with nestjs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22"
|
|
9
|
+
},
|
|
7
10
|
"scripts": {
|
|
8
11
|
"prepublish": "npx tsc && npm run verify",
|
|
9
12
|
"test": "jest",
|
|
@@ -28,7 +31,7 @@
|
|
|
28
31
|
"@google-cloud/logging-bunyan": "5.1.0",
|
|
29
32
|
"@google-cloud/storage": "7.19.0",
|
|
30
33
|
"@google-cloud/tasks": "4.1.0",
|
|
31
|
-
"@google-cloud/trace-agent": "
|
|
34
|
+
"@google-cloud/trace-agent": "8.0.0",
|
|
32
35
|
"@node-saml/passport-saml": "5.1.0",
|
|
33
36
|
"@types/node-fetch": "2.6.11",
|
|
34
37
|
"bcryptjs": "2.4.3",
|
|
@@ -47,9 +50,9 @@
|
|
|
47
50
|
"io-ts": "2.2.21",
|
|
48
51
|
"io-ts-reporters": "2.0.1",
|
|
49
52
|
"jsonwebtoken": "9.0.2",
|
|
50
|
-
"lodash": "4.
|
|
53
|
+
"lodash": "4.18.1",
|
|
51
54
|
"node-fetch": "2.7.0",
|
|
52
|
-
"nodemailer": "
|
|
55
|
+
"nodemailer": "10.1.1",
|
|
53
56
|
"passport": "0.6.0",
|
|
54
57
|
"passport-auth0": "1.4.4",
|
|
55
58
|
"passport-google-oauth": "2.0.0",
|
|
@@ -83,14 +86,13 @@
|
|
|
83
86
|
"@types/jest": "^29.5.12",
|
|
84
87
|
"@types/jsonwebtoken": "9.0.6",
|
|
85
88
|
"@types/lodash": "4.17.7",
|
|
86
|
-
"@types/nodemailer": "6.4.15",
|
|
87
89
|
"@types/passport": "1.0.16",
|
|
88
90
|
"@types/passport-auth0": "1.0.9",
|
|
89
91
|
"@types/passport-google-oauth": "1.0.45",
|
|
90
92
|
"@types/passport-local": "1.0.38",
|
|
91
93
|
"@types/uuid": "8.3.4",
|
|
92
94
|
"chokidar": "3.6.0",
|
|
93
|
-
"express": "4.22.
|
|
95
|
+
"express": "4.22.2",
|
|
94
96
|
"jest": "29.7.0",
|
|
95
97
|
"prettier": "2.8.8",
|
|
96
98
|
"rxjs": "7.8.1",
|
package/server-start.js
CHANGED
|
@@ -21,7 +21,6 @@ const componentColors = {
|
|
|
21
21
|
server: colors.blue,
|
|
22
22
|
webpack: colors.magenta,
|
|
23
23
|
datastore: colors.cyan,
|
|
24
|
-
dsui: colors.green,
|
|
25
24
|
};
|
|
26
25
|
|
|
27
26
|
class BunyanStream {
|
|
@@ -46,17 +45,15 @@ const { buildEvents, stopWebpack } = setupWebpack(logger);
|
|
|
46
45
|
const { stopServer, startServer } = setupServer(logger, loggingStream, buildEvents);
|
|
47
46
|
|
|
48
47
|
const { stopDatastore, startDatastore } = setupDatastore(logger, buildEvents);
|
|
49
|
-
const { startDsui, stopDsui } = setupDsui(logger);
|
|
50
48
|
|
|
51
49
|
buildEvents.once('reload', startServer);
|
|
52
50
|
startDatastore();
|
|
53
|
-
startDsui();
|
|
54
51
|
|
|
55
52
|
// Handle process stop
|
|
56
53
|
process.on('SIGINT', async function () {
|
|
57
54
|
logger.info('Caught interrupt signal');
|
|
58
55
|
|
|
59
|
-
await Promise.all([stopWebpack(), stopDatastore(),
|
|
56
|
+
await Promise.all([stopWebpack(), stopDatastore(), stopServer()]);
|
|
60
57
|
|
|
61
58
|
logger.info('Shutting down');
|
|
62
59
|
process.exit();
|
|
@@ -232,74 +229,6 @@ function setupServer(logger, loggingStream, buildEvents) {
|
|
|
232
229
|
};
|
|
233
230
|
}
|
|
234
231
|
|
|
235
|
-
function setupDsui(logger) {
|
|
236
|
-
const dsuiLogger = logger.child({ component: 'dsui' });
|
|
237
|
-
let dsui;
|
|
238
|
-
const startDsui = () => {
|
|
239
|
-
// poll the status URL until the datastore emulator is ready
|
|
240
|
-
dsuiLogger.info('Waiting for Datastore emulator to start');
|
|
241
|
-
const timeout = setInterval(() => {
|
|
242
|
-
let body = '';
|
|
243
|
-
http.get(
|
|
244
|
-
{
|
|
245
|
-
hostname: '127.0.0.1',
|
|
246
|
-
port: DATASTORE_PORT,
|
|
247
|
-
path: '/',
|
|
248
|
-
agent: false,
|
|
249
|
-
},
|
|
250
|
-
res => {
|
|
251
|
-
res.on('data', data => {
|
|
252
|
-
body += data;
|
|
253
|
-
});
|
|
254
|
-
res.on('end', () => {
|
|
255
|
-
if (res.statusCode == 200) {
|
|
256
|
-
dsuiLogger.info('Datastore emulator is ready, starting DSUI');
|
|
257
|
-
clearInterval(timeout);
|
|
258
|
-
const gcloud = spawn('gcloud', ['beta', 'emulators', 'datastore', 'env-init', '--format=json']);
|
|
259
|
-
gcloud.stdout.on('data', data => {
|
|
260
|
-
const datastoreConfig = JSON.parse(data);
|
|
261
|
-
_.forEach(datastoreConfig, (value, key) => {
|
|
262
|
-
process.env[key] = value;
|
|
263
|
-
});
|
|
264
|
-
});
|
|
265
|
-
|
|
266
|
-
gcloud.once('close', () => {
|
|
267
|
-
dsui = spawn('npm', ['run', 'dsui']);
|
|
268
|
-
dsui.stdout.on('data', dsuiData => {
|
|
269
|
-
const string = dsuiData.toString('utf8');
|
|
270
|
-
dsuiLogger.info(string);
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
dsui.stderr.on('data', dsuiData => {
|
|
274
|
-
const string = dsuiData.toString('utf8');
|
|
275
|
-
dsuiLogger.error(string);
|
|
276
|
-
});
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
},
|
|
281
|
-
);
|
|
282
|
-
}, 2000);
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
const stopDsui = () => {
|
|
286
|
-
return new Promise(resolve => {
|
|
287
|
-
if (dsui) {
|
|
288
|
-
dsuiLogger.info('Killing DSUI');
|
|
289
|
-
dsui.kill('SIGINT');
|
|
290
|
-
dsui.once('close', () => {
|
|
291
|
-
logger.info('DSUI successfully shutdown');
|
|
292
|
-
resolve();
|
|
293
|
-
});
|
|
294
|
-
} else {
|
|
295
|
-
resolve();
|
|
296
|
-
}
|
|
297
|
-
});
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
return { startDsui, stopDsui };
|
|
301
|
-
}
|
|
302
|
-
|
|
303
232
|
function setupDatastore(logger, buildEvents) {
|
|
304
233
|
const datastoreLogger = logger.child({
|
|
305
234
|
component: 'datastore',
|
package/bitbucket-pipelines.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# This is a sample build configuration for JavaScript.
|
|
2
|
-
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
|
|
3
|
-
# Only use spaces to indent your .yml configuration.
|
|
4
|
-
# -----
|
|
5
|
-
# You can specify a custom docker image from Docker Hub as your build environment.
|
|
6
|
-
image: node:6.9.4
|
|
7
|
-
|
|
8
|
-
pipelines:
|
|
9
|
-
default:
|
|
10
|
-
- step:
|
|
11
|
-
caches:
|
|
12
|
-
- node
|
|
13
|
-
script: # Modify the commands below to build your repository.
|
|
14
|
-
- npm install
|
|
15
|
-
- npx tsc
|
package/gae-node-nestjs.iml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|