@nr1e/commons 0.0.3-alpha.8 → 0.0.3

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 (68) hide show
  1. package/bitsnbytes/b64.d.ts +1 -0
  2. package/bitsnbytes/b64.d.ts.map +1 -0
  3. package/bitsnbytes/b64.js +17 -25
  4. package/bitsnbytes/b64.js.map +1 -1
  5. package/bitsnbytes/b64.test.d.ts +2 -0
  6. package/bitsnbytes/b64.test.d.ts.map +1 -0
  7. package/bitsnbytes/b64.test.js +55 -0
  8. package/bitsnbytes/b64.test.js.map +1 -0
  9. package/bitsnbytes/index.d.ts +2 -1
  10. package/bitsnbytes/index.d.ts.map +1 -0
  11. package/bitsnbytes/index.js +1 -17
  12. package/bitsnbytes/index.js.map +1 -1
  13. package/errors/errors.d.ts +2 -2
  14. package/errors/errors.d.ts.map +1 -0
  15. package/errors/errors.js +59 -81
  16. package/errors/errors.js.map +1 -1
  17. package/errors/errors.test.d.ts +2 -0
  18. package/errors/errors.test.d.ts.map +1 -0
  19. package/errors/errors.test.js +44 -0
  20. package/errors/errors.test.js.map +1 -0
  21. package/errors/index.d.ts +2 -1
  22. package/errors/index.d.ts.map +1 -0
  23. package/errors/index.js +1 -17
  24. package/errors/index.js.map +1 -1
  25. package/http/http-method.d.ts +1 -0
  26. package/http/http-method.d.ts.map +1 -0
  27. package/http/http-method.js +2 -5
  28. package/http/http-method.js.map +1 -1
  29. package/http/http-status-code.d.ts +1 -0
  30. package/http/http-status-code.d.ts.map +1 -0
  31. package/http/http-status-code.js +2 -5
  32. package/http/http-status-code.js.map +1 -1
  33. package/http/index.d.ts +3 -2
  34. package/http/index.d.ts.map +1 -0
  35. package/http/index.js +2 -18
  36. package/http/index.js.map +1 -1
  37. package/lang/index.d.ts +3 -2
  38. package/lang/index.d.ts.map +1 -0
  39. package/lang/index.js +2 -18
  40. package/lang/index.js.map +1 -1
  41. package/lang/sleep.d.ts +1 -0
  42. package/lang/sleep.d.ts.map +1 -0
  43. package/lang/sleep.js +1 -5
  44. package/lang/sleep.js.map +1 -1
  45. package/lang/type-functions.d.ts +1 -0
  46. package/lang/type-functions.d.ts.map +1 -0
  47. package/lang/type-functions.js +3 -9
  48. package/lang/type-functions.js.map +1 -1
  49. package/package.json +33 -19
  50. package/validator/index.d.ts +2 -1
  51. package/validator/index.d.ts.map +1 -0
  52. package/validator/index.js +1 -17
  53. package/validator/index.js.map +1 -1
  54. package/validator/validators.d.ts +1 -0
  55. package/validator/validators.d.ts.map +1 -0
  56. package/validator/validators.js +37 -64
  57. package/validator/validators.js.map +1 -1
  58. package/validator/validators.test.d.ts +2 -0
  59. package/validator/validators.test.d.ts.map +1 -0
  60. package/validator/validators.test.js +176 -0
  61. package/validator/validators.test.js.map +1 -0
  62. package/.prettierrc.js +0 -3
  63. package/LICENSE +0 -26
  64. package/README.md +0 -14
  65. package/index.d.ts +0 -5
  66. package/index.js +0 -9
  67. package/index.js.map +0 -1
  68. package/jest.config.js +0 -8
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * as validator from './validator';
2
- export * as errors from './errors';
3
- export * as http from './http';
4
- export * as lang from './lang';
5
- export * as bitsnbytes from './bitsnbytes';
package/index.js DELETED
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bitsnbytes = exports.lang = exports.http = exports.errors = exports.validator = void 0;
4
- exports.validator = require("./validator");
5
- exports.errors = require("./errors");
6
- exports.http = require("./http");
7
- exports.lang = require("./lang");
8
- exports.bitsnbytes = require("./bitsnbytes");
9
- //# sourceMappingURL=index.js.map
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AACzC,qCAAmC;AACnC,iCAA+B;AAC/B,iCAA+B;AAC/B,6CAA2C"}
package/jest.config.js DELETED
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- testEnvironment: 'node',
3
- roots: ['<rootDir>'],
4
- testMatch: ['**/*.test.ts'],
5
- transform: {
6
- '^.+\\.tsx?$': 'ts-jest',
7
- },
8
- };