iteragain
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -18,7 +18,4 @@ export declare type IteratorOrIterable<T> = Iterator<T> | Iterable<T>; | ||
export declare type IterSource<T> = T extends Iterable<infer U> ? U : T extends Iterator<infer U> ? U : T extends IterableIterator<infer U> ? U : T; | ||
export declare type ObjectLeafs<T extends Record<string, unknown>, K = keyof T> = K extends string ? T[K] extends Record<string, unknown> ? ObjectLeafs<T[K], keyof T[K]> : [K, T[K]] : T; | ||
export declare type ObjectBranches<T extends Record<string, unknown>, K = keyof T> = K extends string ? T[K] extends Record<string, unknown> ? [K, T[K]] | ObjectBranches<T[K], keyof T[K]> : never : T; | ||
export declare type ObjectEntries<T extends Record<string, unknown>> = ObjectLeafs<T> | ObjectBranches<T>; | ||
/** A tuple representing the key, value and parent object (in that order) of an entry/key-value pair in an object. */ | ||
export declare type ObjectEntry<T = any> = [string, T, any]; | ||
export {}; |
{ | ||
"name": "iteragain", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "Javascript Iterable/Iterator/Generator-function utilities.", | ||
@@ -27,8 +27,6 @@ "main": "index.js", | ||
"v:major": "npm version major -f -m \"Upgrade package version to v%s\"", | ||
"prepare": "npm run build && husky install", | ||
"prepublishOnly": "npm run test && npm run lint", | ||
"prepare": "husky install", | ||
"preversion": "npm run lint", | ||
"postversion": "git push --follow-tags", | ||
"publish:es": "ts-node ./scripts/publish-es.ts", | ||
"publish:all": "npm publish && npm run publish:es" | ||
"publish:all": "ts-node ./scripts/publish-all.ts" | ||
}, | ||
@@ -35,0 +33,0 @@ "dependencies": {}, |
161927
3537