tnp-helpers 19.0.47 → 19.0.49

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.
Files changed (44) hide show
  1. package/browser/README.md +24 -24
  2. package/browser/fesm2022/tnp-helpers.mjs +77 -9
  3. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  4. package/browser/lib/base/classes/base-git.d.ts +1 -1
  5. package/browser/lib/base/linked-project.d.ts +1 -1
  6. package/browser/lib/build-info._auto-generated_.d.ts +1 -1
  7. package/browser/lib/utils.d.ts +4 -0
  8. package/browser/package.json +1 -1
  9. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js +0 -2
  10. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
  11. package/lib/base/classes/base-git.d.ts +1 -1
  12. package/lib/base/classes/base-git.js.map +1 -1
  13. package/lib/base/classes/base-global-command-line.backend.d.ts +6 -0
  14. package/lib/base/classes/base-global-command-line.backend.js +71 -0
  15. package/lib/base/classes/base-global-command-line.backend.js.map +1 -1
  16. package/lib/base/classes/base-linked-projects.js +3 -1
  17. package/lib/base/classes/base-linked-projects.js.map +1 -1
  18. package/lib/base/linked-project.js +9 -2
  19. package/lib/base/linked-project.js.map +1 -1
  20. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
  21. package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
  22. package/lib/build-info._auto-generated_.d.ts +1 -1
  23. package/lib/build-info._auto-generated_.js +1 -1
  24. package/lib/helpers/for-backend/helpers-git.backend.js +5 -4
  25. package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
  26. package/lib/helpers/for-browser/angular.helper.js +2 -2
  27. package/lib/helpers/helpers-numbers.js.map +1 -1
  28. package/lib/old/base-component.js +2 -2
  29. package/lib/old/base-formly-component.js +2 -2
  30. package/lib/old/dual-component-ctrl.js +2 -2
  31. package/lib/utils.d.ts +4 -0
  32. package/lib/utils.js +56 -2
  33. package/lib/utils.js.map +1 -1
  34. package/package.json +1 -1
  35. package/scss/vars.scss +6 -6
  36. package/tmp-environment.json +7 -3
  37. package/websql/README.md +24 -24
  38. package/websql/fesm2022/tnp-helpers.mjs +77 -9
  39. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  40. package/websql/lib/base/classes/base-git.d.ts +1 -1
  41. package/websql/lib/base/linked-project.d.ts +1 -1
  42. package/websql/lib/build-info._auto-generated_.d.ts +1 -1
  43. package/websql/lib/utils.d.ts +4 -0
  44. package/websql/package.json +1 -1
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.
@@ -96,6 +96,8 @@ var HelpersAngular;
96
96
  })(HelpersAngular || (HelpersAngular = {}));
97
97
  //#endregion
98
98
 
99
+ //#region imports
100
+ /* */
99
101
  //#endregion
100
102
  //#region utils npm
101
103
  var UtilsNpm;
@@ -794,6 +796,15 @@ var UtilsTypescript;
794
796
  /* */
795
797
  /* */
796
798
  /* */
799
+ /* */
800
+ /* */
801
+ /* */
802
+ /* */
803
+ /* */
804
+ /* */
805
+ /* */
806
+ /* */
807
+ /* */
797
808
  return (void 0);
798
809
  };
799
810
  //#endregion
@@ -2498,6 +2509,48 @@ var UtilsJava;
2498
2509
  //#endregion
2499
2510
  })(UtilsJava || (UtilsJava = {}));
2500
2511
  //#endregion
2512
+ //#region utils passwords
2513
+ var UtilsPasswords;
2514
+ (function (UtilsPasswords) {
2515
+ //#region hash password
2516
+ UtilsPasswords.hashPassword = (password) => {
2517
+ /* */
2518
+ /* */
2519
+ /* */
2520
+ /* */
2521
+ /* */
2522
+ /* */
2523
+ /* */
2524
+ /* */
2525
+ /* */
2526
+ return (void 0);
2527
+ };
2528
+ //#endregion
2529
+ //#region verify password
2530
+ UtilsPasswords.verifyPassword = (password, stored) => {
2531
+ /* */
2532
+ /* */
2533
+ /* */
2534
+ /* */
2535
+ /* */
2536
+ /* */
2537
+ /* */
2538
+ /* */
2539
+ /* */
2540
+ /* */
2541
+ /* */
2542
+ return (void 0);
2543
+ };
2544
+ //#endregion
2545
+ // Example
2546
+ // (async () => {
2547
+ // const hash = await hashPassword('super-secret');
2548
+ // console.log('stored:', hash);
2549
+ // const ok = await verifyPassword('super-secret', hash);
2550
+ // console.log('valid?', ok);
2551
+ // })();
2552
+ })(UtilsPasswords || (UtilsPasswords = {}));
2553
+ //#endregion
2501
2554
 
2502
2555
  class HelpersArrayObj {
2503
2556
  from(s) {
@@ -5297,8 +5350,6 @@ class BaseCliWorkerTerminalUI {
5297
5350
  /* */
5298
5351
  /* */
5299
5352
  /* */
5300
- /* */
5301
- /* */
5302
5353
  return (void 0);
5303
5354
  }
5304
5355
  //#endregion
@@ -6913,7 +6964,7 @@ const PROJECT_NPM_NAME = 'tnp-helpers';
6913
6964
  /**
6914
6965
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
6915
6966
  */
6916
- const CURRENT_PACKAGE_VERSION = '19.0.47';
6967
+ const CURRENT_PACKAGE_VERSION = '19.0.49';
6917
6968
  // THIS FILE IS GENERATED - DO NOT MODIFY
6918
6969
 
6919
6970
  //#endregion
@@ -10505,6 +10556,10 @@ class BaseLinkedProjects extends BaseFeatureForProject {
10505
10556
  /* */
10506
10557
  /* */
10507
10558
  /* */
10559
+ /* */
10560
+ /* */
10561
+ /* */
10562
+ /* */
10508
10563
  return (void 0);
10509
10564
  }
10510
10565
  //#endregion
@@ -15036,11 +15091,23 @@ class LinkedProject {
15036
15091
  //#endregion
15037
15092
  //#region static / from name
15038
15093
  static fromName(projectName, currentRemoteUrl, currentBranch) {
15039
- return LinkedProject.from({
15040
- repoUrl: currentRemoteUrl?.replace(path.basename(currentRemoteUrl), `${projectName}.git`),
15041
- defaultBranch: currentBranch,
15042
- relativeClonePath: projectName,
15043
- });
15094
+ /* */
15095
+ /* */
15096
+ /* */
15097
+ /* */
15098
+ /* */
15099
+ /* */
15100
+ /* */
15101
+ /* */
15102
+ /* */
15103
+ /* */
15104
+ /* */
15105
+ /* */
15106
+ /* */
15107
+ /* */
15108
+ /* */
15109
+ /* */
15110
+ return (void 0);
15044
15111
  }
15045
15112
  //#endregion
15046
15113
  //#region static / detect
@@ -15099,6 +15166,7 @@ class LinkedProject {
15099
15166
  /* */
15100
15167
  /* */
15101
15168
  /* */
15169
+ /* */
15102
15170
  return (void 0);
15103
15171
  }
15104
15172
  /**
@@ -15942,5 +16010,5 @@ const Helpers = HelpersTaon.Instance;
15942
16010
  * Generated bundle index. Do not edit.
15943
16011
  */
15944
16012
 
15945
- export { BaseCliWorker, BaseCliWorkerConfig, BaseCliWorkerController, BaseCliWorkerTerminalUI, BaseCommandLineFeature, BaseCompilerForProject, BaseDebounceCompilerForProject, BaseFeatureForProject, BaseGit, BaseJsonFileReader, BaseLibraryBuild, BaseLinkedProjects, BaseNodeModules, BaseNpmHelpers, BasePackageJson, BaseProcessManger, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseQuickFixes, BaseReleaseProcess, BaseVscodeHelpers, CommandConfig, CommandProcess, CommandProcessState, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, PackageJsonDependencyObjArr, Port, PortStatusArr, PortsController, PortsWorker, ProgressData, UtilsDotFile, UtilsHttp, UtilsJava, UtilsMd, UtilsNpm, UtilsQuickFixes, UtilsTaonWorker, UtilsTypescript, UtilsVSCode, UtilsZip, UtilsZipBrowser, executeCommand, getBaseCliWorkerDatabaseConfig };
16013
+ export { BaseCliWorker, BaseCliWorkerConfig, BaseCliWorkerController, BaseCliWorkerTerminalUI, BaseCommandLineFeature, BaseCompilerForProject, BaseDebounceCompilerForProject, BaseFeatureForProject, BaseGit, BaseJsonFileReader, BaseLibraryBuild, BaseLinkedProjects, BaseNodeModules, BaseNpmHelpers, BasePackageJson, BaseProcessManger, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseQuickFixes, BaseReleaseProcess, BaseVscodeHelpers, CommandConfig, CommandProcess, CommandProcessState, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, PackageJsonDependencyObjArr, Port, PortStatusArr, PortsController, PortsWorker, ProgressData, UtilsDotFile, UtilsHttp, UtilsJava, UtilsMd, UtilsNpm, UtilsPasswords, UtilsQuickFixes, UtilsTaonWorker, UtilsTypescript, UtilsVSCode, UtilsZip, UtilsZipBrowser, executeCommand, getBaseCliWorkerDatabaseConfig };
15946
16014
  //# sourceMappingURL=tnp-helpers.mjs.map