taon-typeorm 21.0.47 → 21.0.48
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/VERIFIED-BUILD-DATA.jsonc +5 -5
- package/browser/README.md +24 -24
- package/browser/fesm2022/taon-typeorm-browser.mjs +21 -73
- package/browser/fesm2022/taon-typeorm-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser-prod/README.md +24 -24
- package/browser-prod/fesm2022/taon-typeorm-browser-prod.mjs +21 -73
- package/browser-prod/fesm2022/taon-typeorm-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/package.json +1 -1
- package/lib/typeorm/commands/CacheClearCommand.js +4 -4
- package/lib/typeorm/commands/CacheClearCommand.js.map +1 -1
- package/lib/typeorm/commands/CommandUtils.js +9 -9
- package/lib/typeorm/commands/CommandUtils.js.map +1 -1
- package/lib/typeorm/commands/EntityCreateCommand.js +6 -6
- package/lib/typeorm/commands/EntityCreateCommand.js.map +1 -1
- package/lib/typeorm/commands/InitCommand.js +7 -7
- package/lib/typeorm/commands/InitCommand.js.map +1 -1
- package/lib/typeorm/commands/MigrationCreateCommand.js +6 -6
- package/lib/typeorm/commands/MigrationCreateCommand.js.map +1 -1
- package/lib/typeorm/commands/MigrationGenerateCommand.js +14 -14
- package/lib/typeorm/commands/MigrationGenerateCommand.js.map +1 -1
- package/lib/typeorm/commands/MigrationRevertCommand.js +2 -2
- package/lib/typeorm/commands/MigrationRevertCommand.js.map +1 -1
- package/lib/typeorm/commands/MigrationRunCommand.js +2 -2
- package/lib/typeorm/commands/MigrationRunCommand.js.map +1 -1
- package/lib/typeorm/commands/MigrationShowCommand.js +2 -2
- package/lib/typeorm/commands/MigrationShowCommand.js.map +1 -1
- package/lib/typeorm/commands/QueryCommand.js +6 -6
- package/lib/typeorm/commands/QueryCommand.js.map +1 -1
- package/lib/typeorm/commands/SchemaDropCommand.js +4 -4
- package/lib/typeorm/commands/SchemaDropCommand.js.map +1 -1
- package/lib/typeorm/commands/SchemaLogCommand.js +17 -9
- package/lib/typeorm/commands/SchemaLogCommand.js.map +1 -1
- package/lib/typeorm/commands/SchemaLogCommand____ORIGINAL____.d.ts +1 -1
- package/lib/typeorm/commands/SchemaSyncCommand.js +4 -4
- package/lib/typeorm/commands/SchemaSyncCommand.js.map +1 -1
- package/lib/typeorm/commands/SubscriberCreateCommand.js +6 -6
- package/lib/typeorm/commands/SubscriberCreateCommand.js.map +1 -1
- package/lib/typeorm/connection/ConnectionOptionsReader.js +2 -2
- package/lib/typeorm/connection/ConnectionOptionsReader.js.map +1 -1
- package/lib/typeorm/connection/options-reader/ConnectionOptionsXmlReader.d.ts +1 -1
- package/lib/typeorm/connection/options-reader/ConnectionOptionsXmlReader.js +6 -5
- package/lib/typeorm/connection/options-reader/ConnectionOptionsXmlReader.js.map +1 -1
- package/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js +8 -8
- package/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js.map +1 -1
- package/lib/typeorm/driver/sap/SapQueryRunner.js +2 -2
- package/lib/typeorm/driver/sap/SapQueryRunner.js.map +1 -1
- package/lib/typeorm/driver/sqlite/SqliteDriver.js +6 -6
- package/lib/typeorm/driver/sqlite/SqliteDriver.js.map +1 -1
- package/lib/typeorm/logger/DebugLogger.js +17 -9
- package/lib/typeorm/logger/DebugLogger.js.map +1 -1
- package/lib/typeorm/platform/PlatformTools.d.ts +2 -2
- package/lib/typeorm/platform/PlatformTools.js +30 -82
- package/lib/typeorm/platform/PlatformTools.js.map +1 -1
- package/lib/typeorm/platform/PlatformTools____ORIGINAL____.d.ts +2 -2
- package/lib/typeorm/util/DirectoryExportedClassesLoader.js +3 -3
- package/lib/typeorm/util/DirectoryExportedClassesLoader.js.map +1 -1
- package/lib/typeorm/util/ImportUtils.js +6 -6
- package/lib/typeorm/util/ImportUtils.js.map +1 -1
- package/lib/typeorm/util/StringUtils.js +6 -12
- package/lib/typeorm/util/StringUtils.js.map +1 -1
- package/lib-esm/app.electron.js.map +1 -1
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/typeorm/commands/CacheClearCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/CacheClearCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/CommandUtils.js +3 -3
- package/lib-esm/lib/typeorm/commands/CommandUtils.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/EntityCreateCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/EntityCreateCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/InitCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/InitCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationCreateCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/MigrationCreateCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationGenerateCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/MigrationGenerateCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationRevertCommand.js +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationRevertCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationRunCommand.js +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationRunCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationShowCommand.js +1 -1
- package/lib-esm/lib/typeorm/commands/MigrationShowCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/QueryCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/QueryCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/SchemaDropCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/SchemaDropCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/SchemaLogCommand.js +10 -3
- package/lib-esm/lib/typeorm/commands/SchemaLogCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/SchemaSyncCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/SchemaSyncCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/commands/SubscriberCreateCommand.js +2 -2
- package/lib-esm/lib/typeorm/commands/SubscriberCreateCommand.js.map +1 -1
- package/lib-esm/lib/typeorm/connection/ConnectionOptionsReader.js +1 -1
- package/lib-esm/lib/typeorm/connection/ConnectionOptionsReader.js.map +1 -1
- package/lib-esm/lib/typeorm/connection/options-reader/ConnectionOptionsXmlReader.d.ts +1 -1
- package/lib-esm/lib/typeorm/connection/options-reader/ConnectionOptionsXmlReader.js +6 -5
- package/lib-esm/lib/typeorm/connection/options-reader/ConnectionOptionsXmlReader.js.map +1 -1
- package/lib-esm/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js +2 -2
- package/lib-esm/lib/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js.map +1 -1
- package/lib-esm/lib/typeorm/driver/sap/SapQueryRunner.js +1 -1
- package/lib-esm/lib/typeorm/driver/sap/SapQueryRunner.js.map +1 -1
- package/lib-esm/lib/typeorm/driver/sqlite/SqliteDriver.js +2 -2
- package/lib-esm/lib/typeorm/driver/sqlite/SqliteDriver.js.map +1 -1
- package/lib-esm/lib/typeorm/logger/DebugLogger.js +5 -1
- package/lib-esm/lib/typeorm/logger/DebugLogger.js.map +1 -1
- package/lib-esm/lib/typeorm/platform/PlatformTools.d.ts +2 -2
- package/lib-esm/lib/typeorm/platform/PlatformTools.js +7 -62
- package/lib-esm/lib/typeorm/platform/PlatformTools.js.map +1 -1
- package/lib-esm/lib/typeorm/util/DirectoryExportedClassesLoader.js +1 -1
- package/lib-esm/lib/typeorm/util/DirectoryExportedClassesLoader.js.map +1 -1
- package/lib-esm/lib/typeorm/util/ImportUtils.js +2 -2
- package/lib-esm/lib/typeorm/util/ImportUtils.js.map +1 -1
- package/lib-esm/lib/typeorm/util/StringUtils.js +6 -12
- package/lib-esm/lib/typeorm/util/StringUtils.js.map +1 -1
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/typeorm/commands/CacheClearCommand.js +2 -2
- package/lib-prod/typeorm/commands/CacheClearCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/CommandUtils.js +3 -3
- package/lib-prod/typeorm/commands/CommandUtils.js.map +1 -1
- package/lib-prod/typeorm/commands/EntityCreateCommand.js +2 -2
- package/lib-prod/typeorm/commands/EntityCreateCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/InitCommand.js +2 -2
- package/lib-prod/typeorm/commands/InitCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/MigrationCreateCommand.js +2 -2
- package/lib-prod/typeorm/commands/MigrationCreateCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/MigrationGenerateCommand.js +2 -2
- package/lib-prod/typeorm/commands/MigrationGenerateCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/MigrationRevertCommand.js +1 -1
- package/lib-prod/typeorm/commands/MigrationRevertCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/MigrationRunCommand.js +1 -1
- package/lib-prod/typeorm/commands/MigrationRunCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/MigrationShowCommand.js +1 -1
- package/lib-prod/typeorm/commands/MigrationShowCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/QueryCommand.js +2 -2
- package/lib-prod/typeorm/commands/QueryCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/SchemaDropCommand.js +2 -2
- package/lib-prod/typeorm/commands/SchemaDropCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/SchemaLogCommand.js +11 -3
- package/lib-prod/typeorm/commands/SchemaLogCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/SchemaSyncCommand.js +2 -2
- package/lib-prod/typeorm/commands/SchemaSyncCommand.js.map +1 -1
- package/lib-prod/typeorm/commands/SubscriberCreateCommand.js +2 -2
- package/lib-prod/typeorm/commands/SubscriberCreateCommand.js.map +1 -1
- package/lib-prod/typeorm/connection/ConnectionOptionsReader.js +1 -1
- package/lib-prod/typeorm/connection/ConnectionOptionsReader.js.map +1 -1
- package/lib-prod/typeorm/connection/options-reader/ConnectionOptionsXmlReader.d.ts +1 -1
- package/lib-prod/typeorm/connection/options-reader/ConnectionOptionsXmlReader.js +6 -5
- package/lib-prod/typeorm/connection/options-reader/ConnectionOptionsXmlReader.js.map +1 -1
- package/lib-prod/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js +2 -2
- package/lib-prod/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js.map +1 -1
- package/lib-prod/typeorm/driver/sap/SapQueryRunner.js +1 -1
- package/lib-prod/typeorm/driver/sap/SapQueryRunner.js.map +1 -1
- package/lib-prod/typeorm/driver/sqlite/SqliteDriver.js +2 -2
- package/lib-prod/typeorm/driver/sqlite/SqliteDriver.js.map +1 -1
- package/lib-prod/typeorm/logger/DebugLogger.js +9 -1
- package/lib-prod/typeorm/logger/DebugLogger.js.map +1 -1
- package/lib-prod/typeorm/platform/PlatformTools.d.ts +2 -2
- package/lib-prod/typeorm/platform/PlatformTools.js +9 -61
- package/lib-prod/typeorm/platform/PlatformTools.js.map +1 -1
- package/lib-prod/typeorm/util/DirectoryExportedClassesLoader.js +1 -1
- package/lib-prod/typeorm/util/DirectoryExportedClassesLoader.js.map +1 -1
- package/lib-prod/typeorm/util/ImportUtils.js +2 -2
- package/lib-prod/typeorm/util/ImportUtils.js.map +1 -1
- package/lib-prod/typeorm/util/StringUtils.js +6 -12
- package/lib-prod/typeorm/util/StringUtils.js.map +1 -1
- package/package.json +1 -1
- package/websql/README.md +24 -24
- package/websql/fesm2022/taon-typeorm-websql.mjs +21 -72
- package/websql/fesm2022/taon-typeorm-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql-prod/README.md +24 -24
- package/websql-prod/fesm2022/taon-typeorm-websql-prod.mjs +21 -72
- package/websql-prod/fesm2022/taon-typeorm-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"commitHash": "
|
|
3
|
-
"commitName": "
|
|
4
|
-
"commitDate": "
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"commitHash": "bb495ce2f20b40fc9dd1c7e620a875b83c5eab51",
|
|
3
|
+
"commitName": "refactor: esm cloudflare",
|
|
4
|
+
"commitDate": "05-08-2026 16:45:15"
|
|
5
|
+
}
|
package/browser/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { CoreModels, _ } from 'tnp-core/browser';
|
|
2
|
+
import { sha256 } from '@noble/hashes/sha2';
|
|
3
|
+
import { bytesToHex } from '@noble/hashes/utils';
|
|
2
4
|
import { parseISO } from 'date-fns';
|
|
3
5
|
import { __decorate, __metadata } from 'tslib';
|
|
4
6
|
import { CLASS } from 'typescript-class-helpers/browser';
|
|
5
7
|
import { v4 } from 'uuid';
|
|
6
|
-
import
|
|
8
|
+
import debugType from 'debug';
|
|
7
9
|
|
|
8
10
|
const OrignalClassKey = CoreModels.OrignalClassKey;
|
|
9
11
|
|
|
@@ -273,63 +275,7 @@ class MetadataArgsStorage {
|
|
|
273
275
|
/* */
|
|
274
276
|
/* */
|
|
275
277
|
/* */
|
|
276
|
-
|
|
277
|
-
/* */
|
|
278
|
-
/* */
|
|
279
|
-
/* */
|
|
280
|
-
/* */
|
|
281
|
-
let highlight;
|
|
282
|
-
/* */
|
|
283
|
-
/* */
|
|
284
|
-
/* */
|
|
285
|
-
/* */
|
|
286
|
-
let chalk;
|
|
287
|
-
/* */
|
|
288
|
-
/* */
|
|
289
|
-
/* */
|
|
290
|
-
/* */
|
|
291
|
-
/* */
|
|
292
|
-
/* */
|
|
293
|
-
/* */
|
|
294
|
-
/* */
|
|
295
|
-
/* */
|
|
296
|
-
/* */
|
|
297
|
-
/* */
|
|
298
|
-
/* */
|
|
299
|
-
/* */
|
|
300
|
-
/* */
|
|
301
|
-
/* */
|
|
302
|
-
/* */
|
|
303
|
-
/* */
|
|
304
|
-
/* */
|
|
305
|
-
/* */
|
|
306
|
-
/* */
|
|
307
|
-
/* */
|
|
308
|
-
/* */
|
|
309
|
-
/* */
|
|
310
|
-
/* */
|
|
311
|
-
/* */
|
|
312
|
-
/* */
|
|
313
|
-
/* */
|
|
314
|
-
/* */
|
|
315
|
-
/* */
|
|
316
|
-
/* */
|
|
317
|
-
/* */
|
|
318
|
-
/* */
|
|
319
|
-
/* */
|
|
320
|
-
/* */
|
|
321
|
-
/* */
|
|
322
|
-
/* */
|
|
323
|
-
/* */
|
|
324
|
-
/* */
|
|
325
|
-
/* */
|
|
326
|
-
/* */
|
|
327
|
-
/* */
|
|
328
|
-
/* */
|
|
329
|
-
/* */
|
|
330
|
-
/* */
|
|
331
|
-
/* */
|
|
332
|
-
/* */
|
|
278
|
+
let highlight = void 0;
|
|
333
279
|
/* */
|
|
334
280
|
/* */
|
|
335
281
|
/* */
|
|
@@ -337,6 +283,9 @@ let chalk;
|
|
|
337
283
|
/* */
|
|
338
284
|
/* */
|
|
339
285
|
/* */
|
|
286
|
+
//#region @browser
|
|
287
|
+
highlight = args => args;
|
|
288
|
+
//#endregion
|
|
340
289
|
/**
|
|
341
290
|
* Platform-specific tools.
|
|
342
291
|
*/
|
|
@@ -550,6 +499,8 @@ class PlatformTools {
|
|
|
550
499
|
static dotenv(pathStr) {
|
|
551
500
|
/* */
|
|
552
501
|
/* */
|
|
502
|
+
/* */
|
|
503
|
+
/* */
|
|
553
504
|
}
|
|
554
505
|
/**
|
|
555
506
|
* Gets environment variable.
|
|
@@ -1835,8 +1786,6 @@ class RandomGenerator {
|
|
|
1835
1786
|
}
|
|
1836
1787
|
}
|
|
1837
1788
|
|
|
1838
|
-
/* */
|
|
1839
|
-
/* */
|
|
1840
1789
|
/**
|
|
1841
1790
|
* Converts string into camelCase.
|
|
1842
1791
|
*
|
|
@@ -1930,19 +1879,10 @@ function shorten(input, options = {}) {
|
|
|
1930
1879
|
* @param options.length Optionally, shorten the output to desired length.
|
|
1931
1880
|
*/
|
|
1932
1881
|
function hash(input, options = {}) {
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
/* */
|
|
1938
|
-
/* */
|
|
1939
|
-
/* */
|
|
1940
|
-
/* */
|
|
1941
|
-
/* */
|
|
1942
|
-
/* */
|
|
1943
|
-
/* */
|
|
1944
|
-
/* */
|
|
1945
|
-
return (void 0);
|
|
1882
|
+
const hashedInput = bytesToHex(sha256(new TextEncoder().encode(input)));
|
|
1883
|
+
return options.length
|
|
1884
|
+
? hashedInput.slice(0, options.length)
|
|
1885
|
+
: hashedInput;
|
|
1946
1886
|
}
|
|
1947
1887
|
|
|
1948
1888
|
/**
|
|
@@ -26828,6 +26768,14 @@ class AdvancedConsoleLogger {
|
|
|
26828
26768
|
}
|
|
26829
26769
|
}
|
|
26830
26770
|
|
|
26771
|
+
let debug = (namespace) => {
|
|
26772
|
+
return (...args) => {
|
|
26773
|
+
console.debug(`[${namespace}]`, ...args);
|
|
26774
|
+
};
|
|
26775
|
+
};
|
|
26776
|
+
//#region @esmRemove
|
|
26777
|
+
debug = debugType;
|
|
26778
|
+
//#endregion
|
|
26831
26779
|
/**
|
|
26832
26780
|
* Performs logging of the events in TypeORM via debug library.
|
|
26833
26781
|
*/
|