@augment-vir/common
Advanced tools
Comparing version 22.1.1 to 22.2.0
@@ -5,2 +5,3 @@ "use strict"; | ||
const typed_has_property_1 = require("./typed-has-property"); | ||
/** @deprecated This is the same as hasKey */ | ||
function isKeyof(key, object) { | ||
@@ -7,0 +8,0 @@ return (0, typed_has_property_1.typedHasProperty)(object, key); |
@@ -26,2 +26,3 @@ "use strict"; | ||
__exportStar(require("./augments/error"), exports); | ||
__exportStar(require("./augments/esm-path"), exports); | ||
__exportStar(require("./augments/function"), exports); | ||
@@ -28,0 +29,0 @@ __exportStar(require("./augments/json"), exports); |
import { typedHasProperty } from './typed-has-property'; | ||
/** @deprecated This is the same as hasKey */ | ||
export function isKeyof(key, object) { | ||
@@ -3,0 +4,0 @@ return typedHasProperty(object, key); |
@@ -10,2 +10,3 @@ export * from './augments/ansi'; | ||
export * from './augments/error'; | ||
export * from './augments/esm-path'; | ||
export * from './augments/function'; | ||
@@ -12,0 +13,0 @@ export * from './augments/json'; |
@@ -0,1 +1,2 @@ | ||
/** @deprecated This is the same as hasKey */ | ||
export declare function isKeyof<ObjectGeneric>(key: PropertyKey, object: ObjectGeneric): key is keyof ObjectGeneric; | ||
@@ -2,0 +3,0 @@ export declare function getObjectTypedKeys<ObjectGeneric extends unknown>(input: ObjectGeneric): Array<keyof ObjectGeneric>; |
@@ -10,2 +10,3 @@ export * from './augments/ansi'; | ||
export * from './augments/error'; | ||
export * from './augments/esm-path'; | ||
export * from './augments/function'; | ||
@@ -12,0 +13,0 @@ export * from './augments/json'; |
{ | ||
"name": "@augment-vir/common", | ||
"version": "22.1.1", | ||
"version": "22.2.0", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common", | ||
@@ -28,4 +28,4 @@ "bugs": { | ||
"browser-or-node": "^2.1.1", | ||
"run-time-assertions": "^0.2.1", | ||
"type-fest": "^4.8.3" | ||
"run-time-assertions": "^0.3.0", | ||
"type-fest": "^4.9.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
176236
128
4282
+ Addedrun-time-assertions@0.3.0(transitive)
- Removedrun-time-assertions@0.2.1(transitive)
Updatedrun-time-assertions@^0.3.0
Updatedtype-fest@^4.9.0