tnp-helpers 16.5.29 → 16.5.30

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.
@@ -658,84 +658,6 @@ class HelpersFiredev extends CoreHelpers {
658
658
  this.numbers = numbers;
659
659
  this.browser = browser;
660
660
  this.ng = ng;
661
- /* */
662
- /* */
663
- /* */
664
- /* */
665
- /* */
666
- /* */
667
- /* */
668
- /* */
669
- /* */
670
- /* */
671
- /* */
672
- /* */
673
- /* */
674
- /* */
675
- /* */
676
- /* */
677
- /* */
678
- /* */
679
- /* */
680
- /* */
681
- /* */
682
- /* */
683
- /* */
684
- /* */
685
- /* */
686
- /* */
687
- /* */
688
- /* */
689
- /* */
690
- /* */
691
- /* */
692
- /* */
693
- /* */
694
- /* */
695
- /* */
696
- /* */
697
- /* */
698
- /* */
699
- /* */
700
- /* */
701
- /* */
702
- /* */
703
- /* */
704
- /* */
705
- /* */
706
- /* */
707
- /* */
708
- /* */
709
- /* */
710
- /* */
711
- /* */
712
- /* */
713
- /* */
714
- /* */
715
- /* */
716
- /* */
717
- /* */
718
- /* */
719
- /* */
720
- /* */
721
- /* */
722
- /* */
723
- /* */
724
- /* */
725
- /* */
726
- /* */
727
- /* */
728
- /* */
729
- /* */
730
- /* */
731
- /* */
732
- /* */
733
- /* */
734
- /* */
735
- /* */
736
- /* */
737
- /* */
738
- /* */
739
661
  this.applyMixins = applyMixins;
740
662
  this.isValidIp = Validators.network.isValidIp;
741
663
  this.isValidGitRepuUrl = Validators.git.isValidRepoUrl;
@@ -809,40 +731,66 @@ class HelpersFiredev extends CoreHelpers {
809
731
  }
810
732
  return url;
811
733
  }
812
- /* */
813
- /* */
814
- /* */
815
- /* */
734
+ slash(pathFromWindowsOrUnixType) {
735
+ /* */
736
+ /* */
737
+ return (void 0);
738
+ }
816
739
  async isElevated() {
817
740
  /* */
818
741
  /* */
819
742
  /* */
820
743
  /* */
821
744
  }
822
- /* */
823
- /* */
824
- /* */
825
- /* */
826
- /* */
827
- /* */
828
- /* */
829
- /* */
830
- /* */
831
- /* */
832
- /* */
833
- /* */
834
- /* */
835
- /* */
836
- /* */
837
- /* */
838
- /* */
839
- /* */
840
- /* */
841
- /* */
842
- /* */
843
- /* */
844
- /* */
845
- /* */
745
+ /**
746
+ * TODO fix this methods
747
+ */
748
+ async localIpAddress() {
749
+ /* */
750
+ /* */
751
+ /* */
752
+ /* */
753
+ /* */
754
+ /* */
755
+ /* */
756
+ /* */
757
+ /* */
758
+ /* */
759
+ /* */
760
+ /* */
761
+ /* */
762
+ /* */
763
+ /* */
764
+ /* */
765
+ /* */
766
+ /* */
767
+ /* */
768
+ /* */
769
+ /* */
770
+ /* */
771
+ return (void 0);
772
+ }
773
+ allLocalIpAddresses() {
774
+ /* */
775
+ /* */
776
+ /* */
777
+ /* */
778
+ /* */
779
+ /* */
780
+ /* */
781
+ /* */
782
+ /* */
783
+ /* */
784
+ /* */
785
+ /* */
786
+ /* */
787
+ /* */
788
+ /* */
789
+ /* */
790
+ /* */
791
+ /* */
792
+ return (void 0);
793
+ }
846
794
  async mesureExectionInMs(description, functionToExecute, ...functionArguments) {
847
795
  var start = new Date();
848
796
  await Helpers.runSyncOrAsync({
@@ -885,6 +833,9 @@ class HelpersFiredev extends CoreHelpers {
885
833
  }
886
834
  });
887
835
  }
836
+ /**
837
+ * @deprecated
838
+ */
888
839
  getBrowserVerPath(moduleName, websql = false) {
889
840
  /* */
890
841
  /* */
@@ -892,22 +843,25 @@ class HelpersFiredev extends CoreHelpers {
892
843
  /* */
893
844
  /* */
894
845
  }
895
- getMethodName(obj, method) {
846
+ getMethodName(classObject, method) {
896
847
  var methodName = null;
897
- Object.getOwnPropertyNames(obj).forEach(prop => {
898
- if (obj[prop] === method) {
848
+ Object.getOwnPropertyNames(classObject).forEach(prop => {
849
+ if (classObject[prop] === method) {
899
850
  methodName = prop;
900
851
  }
901
852
  });
902
853
  if (methodName !== null) {
903
854
  return methodName;
904
855
  }
905
- var proto = Object.getPrototypeOf(obj);
856
+ var proto = Object.getPrototypeOf(classObject);
906
857
  if (proto) {
907
858
  return Helpers.getMethodName(proto, method);
908
859
  }
909
860
  return null;
910
861
  }
862
+ /**
863
+ * @deprecated
864
+ */
911
865
  fixWebpackEnv(env) {
912
866
  _.forIn(env, (v, k) => {
913
867
  const value = v;
@@ -917,6 +871,81 @@ class HelpersFiredev extends CoreHelpers {
917
871
  env[k] = false;
918
872
  });
919
873
  }
874
+ /**
875
+ * @deprecated
876
+ */
877
+ async workerCalculateArray(dataToSplit, operation, options) {
878
+ /* */
879
+ /* */
880
+ /* */
881
+ /* */
882
+ /* */
883
+ /* */
884
+ /* */
885
+ /* */
886
+ /* */
887
+ /* */
888
+ /* */
889
+ /* */
890
+ /* */
891
+ /* */
892
+ /* */
893
+ /* */
894
+ /* */
895
+ /* */
896
+ /* */
897
+ /* */
898
+ /* */
899
+ /* */
900
+ /* */
901
+ /* */
902
+ /* */
903
+ /* */
904
+ /* */
905
+ /* */
906
+ /* */
907
+ /* */
908
+ /* */
909
+ /* */
910
+ /* */
911
+ /* */
912
+ /* */
913
+ /* */
914
+ /* */
915
+ /* */
916
+ /* */
917
+ /* */
918
+ /* */
919
+ /* */
920
+ /* */
921
+ /* */
922
+ /* */
923
+ /* */
924
+ /* */
925
+ /* */
926
+ /* */
927
+ /* */
928
+ /* */
929
+ /* */
930
+ /* */
931
+ /* */
932
+ /* */
933
+ /* */
934
+ /* */
935
+ /* */
936
+ /* */
937
+ /* */
938
+ /* */
939
+ /* */
940
+ /* */
941
+ /* */
942
+ /* */
943
+ }
944
+ checkEnvironment(deps) {
945
+ /* */
946
+ /* */
947
+ return (void 0);
948
+ }
920
949
  }
921
950
  applyMixins(HelpersFiredev, [
922
951
  HelpersStringsRegexes,