inferred-types 0.43.0 → 0.43.1

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 (77) hide show
  1. package/dist/constants/Comma.d.ts +1 -1
  2. package/dist/constants/Comma.d.ts.map +1 -1
  3. package/dist/constants/Comma.js +1 -1
  4. package/dist/constants/tsconfig.tsbuildinfo +1 -1
  5. package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
  6. package/dist/runtime/boolean-logic/handleDoneFn.d.ts.map +1 -1
  7. package/dist/runtime/boolean-logic/handleDoneFn.js +1 -3
  8. package/dist/runtime/boolean-logic/ifArrayPartial.js +1 -1
  9. package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +1 -1
  10. package/dist/runtime/boolean-logic/ifBoolean.js +1 -1
  11. package/dist/runtime/boolean-logic/ifContainer.js +1 -2
  12. package/dist/runtime/boolean-logic/ifFalse.js +1 -1
  13. package/dist/runtime/boolean-logic/ifFunction.js +1 -1
  14. package/dist/runtime/boolean-logic/ifHasKey.js +1 -1
  15. package/dist/runtime/boolean-logic/ifNotNull.js +1 -1
  16. package/dist/runtime/boolean-logic/ifNull.js +1 -1
  17. package/dist/runtime/boolean-logic/ifNumber.d.ts.map +1 -1
  18. package/dist/runtime/boolean-logic/ifNumber.js +1 -1
  19. package/dist/runtime/boolean-logic/ifObject.js +1 -1
  20. package/dist/runtime/boolean-logic/ifScalar.d.ts.map +1 -1
  21. package/dist/runtime/boolean-logic/ifScalar.js +1 -1
  22. package/dist/runtime/boolean-logic/ifString.d.ts.map +1 -1
  23. package/dist/runtime/boolean-logic/ifString.js +1 -1
  24. package/dist/runtime/boolean-logic/ifTrue.d.ts.map +1 -1
  25. package/dist/runtime/boolean-logic/ifTrue.js +1 -1
  26. package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
  27. package/dist/runtime/dictionary/keysOf.js +1 -2
  28. package/dist/runtime/dictionary/takeProp.js +1 -1
  29. package/dist/runtime/dictionary/withoutKeys.js +1 -1
  30. package/dist/runtime/errors/TypedError.d.ts.map +1 -1
  31. package/dist/runtime/errors/TypedError.js +1 -1
  32. package/dist/runtime/initializers/createFnWithProps.d.ts.map +1 -1
  33. package/dist/runtime/initializers/createFnWithProps.js +1 -2
  34. package/dist/runtime/initializers/defineTuple.d.ts.map +1 -1
  35. package/dist/runtime/initializers/defineTuple.js +1 -3
  36. package/dist/runtime/lists/createConverter.d.ts.map +1 -1
  37. package/dist/runtime/lists/createConverter.js +1 -2
  38. package/dist/runtime/lists/indexOf.d.ts.map +1 -1
  39. package/dist/runtime/lists/indexOf.js +1 -1
  40. package/dist/runtime/lists/intersection.d.ts.map +1 -1
  41. package/dist/runtime/lists/intersection.js +1 -4
  42. package/dist/runtime/lists/logicalReturns.d.ts.map +1 -1
  43. package/dist/runtime/lists/logicalReturns.js +1 -2
  44. package/dist/runtime/lists/pop.d.ts.map +1 -1
  45. package/dist/runtime/lists/pop.js +1 -2
  46. package/dist/runtime/literals/ensureSurround.d.ts.map +1 -1
  47. package/dist/runtime/literals/ensureSurround.js +1 -2
  48. package/dist/runtime/literals/pathJoin.d.ts.map +1 -1
  49. package/dist/runtime/literals/pathJoin.js +1 -2
  50. package/dist/runtime/literals/pluralize.d.ts.map +1 -1
  51. package/dist/runtime/literals/pluralize.js +1 -2
  52. package/dist/runtime/literals/toCamelCase.js +1 -1
  53. package/dist/runtime/literals/toLowercase.d.ts.map +1 -1
  54. package/dist/runtime/literals/toLowercase.js +1 -2
  55. package/dist/runtime/literals/toPascalCase.d.ts.map +1 -1
  56. package/dist/runtime/literals/toPascalCase.js +1 -1
  57. package/dist/runtime/literals/toUppercase.d.ts.map +1 -1
  58. package/dist/runtime/literals/toUppercase.js +1 -2
  59. package/dist/runtime/literals/tuple.js +1 -1
  60. package/dist/runtime/runtime-types/shape-helpers/atomics.js +1 -1
  61. package/dist/runtime/runtime-types/shape.d.ts.map +1 -1
  62. package/dist/runtime/runtime-types/shape.js +1 -3
  63. package/dist/runtime/tsconfig.tsbuildinfo +1 -1
  64. package/dist/runtime/type-conversion/mergeObjects.d.ts.map +1 -1
  65. package/dist/runtime/type-conversion/mergeObjects.js +2 -2
  66. package/dist/runtime/type-guards/isAlpha.d.ts.map +1 -1
  67. package/dist/runtime/type-guards/isAlpha.js +1 -2
  68. package/dist/runtime/type-guards/isConstant.d.ts.map +1 -1
  69. package/dist/runtime/type-guards/isConstant.js +1 -3
  70. package/dist/runtime/type-guards/isContainer.js +1 -1
  71. package/dist/runtime/type-guards/isDoneFn.js +1 -1
  72. package/dist/runtime/type-guards/isErrorCondition.js +1 -1
  73. package/dist/runtime/type-guards/isIndexable.js +1 -1
  74. package/dist/runtime/type-guards/isLeftRight.js +1 -1
  75. package/dist/runtime/type-guards/isNever.js +1 -1
  76. package/dist/types/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"mergeObjects.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-conversion/mergeObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,0BAAwB;AAKtF,wBAAgB,YAAY,CAC1B,CAAC,SAAS,UAAU,EACpB,CAAC,SAAS,UAAU,EACpB,QAAQ,SAAS,YAAY,CAAC,CAAC,CAAC,EAChC,SAAS,SAAS,YAAY,CAAC,CAAC,CAAC,EAEjC,MAAM,EAAE,QAAQ,EAChB,QAAQ,EAAE,SAAS,qCAkBpB"}
1
+ {"version":3,"file":"mergeObjects.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-conversion/mergeObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,0BAAwB;AAKrF,wBAAgB,YAAY,CAC1B,CAAC,SAAS,UAAU,EACpB,CAAC,SAAS,UAAU,EACpB,QAAQ,SAAS,YAAY,CAAC,CAAC,CAAC,EAChC,SAAS,SAAS,YAAY,CAAC,CAAC,CAAC,EAEjC,MAAM,EAAE,QAAQ,EAChB,QAAQ,EAAE,SAAS,qCAkBpB"}
@@ -1,5 +1,5 @@
1
- import { sharedKeys } from "../dictionary/sharedKeys.js";
2
- import { withoutKeys } from "../dictionary/withoutKeys.js";
1
+ import { sharedKeys } from "../index.js";
2
+ import { withoutKeys } from "../index.js";
3
3
  export function mergeObjects(defVal, override) {
4
4
  const intersectingKeys = sharedKeys(defVal, override);
5
5
  const defUnique = withoutKeys(defVal, ...intersectingKeys);
@@ -1 +1 @@
1
- {"version":3,"file":"isAlpha.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-guards/isAlpha.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAa,UAAU,EAAE,0BAAwB;AAK/D;;;;;GAKG;AACH,eAAO,MAAM,OAAO,gCAAiC,CAAC,0BAErD,CAAC"}
1
+ {"version":3,"file":"isAlpha.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-guards/isAlpha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,UAAU,EAAE,0BAAwB;AAI/D;;;;;GAKG;AACH,eAAO,MAAM,OAAO,gCAAiC,CAAC,0BAErD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { ALPHA_CHARS } from "../../constants/index.js";
2
- import { isString } from "./isString.js";
3
- import { split } from "../literals/split.js";
2
+ import { isString, split } from "../index.js";
4
3
  /**
5
4
  * **isAlpha**(value)
6
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"isConstant.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-guards/isConstant.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,8BAA4B;AAM/C,wBAAgB,UAAU,CACxB,CAAC,SAAS,MAAM,EAChB,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,CAEtC"}
1
+ {"version":3,"file":"isConstant.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-guards/isConstant.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,8BAA4B;AAG/C,wBAAgB,UAAU,CACxB,CAAC,SAAS,MAAM,EAChB,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,CAEtC"}
@@ -1,6 +1,4 @@
1
- import { isObject } from "./isObject.js";
2
- import { isEqual } from "./higher-order/isEqual.js";
3
- import { isTypeOf } from "./higher-order/isTypeOf.js";
1
+ import { isObject, isEqual, isTypeOf } from "../index.js";
4
2
  export function isConstant(value) {
5
3
  return isObject(value) && "_type" in value && isTypeOf("string")(value._type) && isEqual(value._type)("Constant") ? true : false;
6
4
  }
@@ -1,4 +1,4 @@
1
- import { isObject } from "./isObject.js";
1
+ import { isObject } from "../index.js";
2
2
  export function isContainer(value) {
3
3
  return Array.isArray(value) || isObject(value) ? true : false;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { hasKeys } from "./hasKeys.js";
1
+ import { hasKeys } from "../index.js";
2
2
  /**
3
3
  * **isDoneFn**(val)
4
4
  *
@@ -1,4 +1,4 @@
1
- import { isObject } from "./isObject.js";
1
+ import { isObject } from "../index.js";
2
2
  /**
3
3
  * **isErrorCondition**(value)
4
4
  *
@@ -1,4 +1,4 @@
1
- import { keysOf } from "../dictionary/keysOf.js";
1
+ import { keysOf } from "../index.js";
2
2
  /**
3
3
  * **isIndexable**(value)
4
4
  *
@@ -1,4 +1,4 @@
1
- import { isArray } from "./isArray.js";
1
+ import { isArray } from "../index.js";
2
2
  /**
3
3
  * **isLeftRight**(value)
4
4
  *
@@ -1,4 +1,4 @@
1
- import { isConstant } from "./isConstant.js";
1
+ import { isConstant } from "../index.js";
2
2
  /**
3
3
  * **isNever**(val)
4
4
  *