@koine/utils 1.1.5 → 1.1.6

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/index.d.ts CHANGED
@@ -126,4 +126,5 @@ export * from "./uppercase";
126
126
  export * from "./uuid";
127
127
  export * from "./uuidNumeric";
128
128
  export * from "./wait";
129
+ export * from "./types";
129
130
  export type { Primitive, Class, Constructor, TypedArray, Observer, ObservableLike, Except, Writable, Merge, MergeDeep, MergeExclusive, RequireAtLeastOne, RequireExactlyOne, RequireAllOrNone, RemoveIndexSignature, PartialDeep, ReadonlyDeep, LiteralUnion, Opaque, InvariantOf, SetOptional, SetRequired, ValueOf, ConditionalKeys, ConditionalPick, ConditionalExcept, UnionToIntersection, LiteralToPrimitive, Stringified, IterableElement, Entry, Exact, Entries, SetReturnType, Simplify, Get, StringKeyOf, Schema, Jsonify, JsonPrimitive, JsonObject, JsonArray, JsonValue, Promisable, AsyncReturnType, Asyncify, Trim, Split, Includes, Join, LastArrayElement, FixedLengthArray, MultidimensionalArray, MultidimensionalReadonlyArray, PositiveInfinity, NegativeInfinity, Finite, Integer, Float, NegativeFloat, Negative, NonNegative, NegativeInteger, NonNegativeInteger, CamelCase, CamelCasedProperties, CamelCasedPropertiesDeep, KebabCase, KebabCasedProperties, KebabCasedPropertiesDeep, PascalCase, PascalCasedProperties, PascalCasedPropertiesDeep, SnakeCase, SnakeCasedProperties, SnakeCasedPropertiesDeep, ScreamingSnakeCase, DelimiterCase, DelimiterCasedProperties, DelimiterCasedPropertiesDeep, PackageJson, TsConfigJson, SetNonNullable, Spread, PartialOnUndefinedDeep, OptionalKeysOf, HasOptionalKeys, RequiredKeysOf, HasRequiredKeys, UnwrapOpaque, EmptyObject, IsEmptyObject, TupleToUnion, OmitIndexSignature, PickIndexSignature, ConditionalPickDeep, } from "type-fest";
package/index.js CHANGED
@@ -128,3 +128,4 @@ export * from "./uppercase";
128
128
  export * from "./uuid";
129
129
  export * from "./uuidNumeric";
130
130
  export * from "./wait";
131
+ export * from "./types";
package/node/index.js CHANGED
@@ -131,3 +131,4 @@ tslib_1.__exportStar(require("./uppercase"), exports);
131
131
  tslib_1.__exportStar(require("./uuid"), exports);
132
132
  tslib_1.__exportStar(require("./uuidNumeric"), exports);
133
133
  tslib_1.__exportStar(require("./wait"), exports);
134
+ tslib_1.__exportStar(require("./types"), exports);
package/node/types.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/noop.d.ts CHANGED
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * @category native
5
5
  */
6
- export declare const noop: () => undefined;
6
+ export declare const noop: () => void | undefined;
7
7
  export default noop;
package/package.json CHANGED
@@ -9,6 +9,6 @@
9
9
  "type-fest": "3.5.3",
10
10
  "tslib": "2.5.0"
11
11
  },
12
- "version": "1.1.5",
12
+ "version": "1.1.6",
13
13
  "module": "./index.js"
14
14
  }
package/types.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Whatever that in javascript returns `false` when checked in an `if` condition
3
+ */
4
+ export type AnythingFalsy = null | undefined | 0 | "";
package/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};