Comparing version 0.45.1 to 0.46.0
@@ -1181,10 +1181,26 @@ /** | ||
/** | ||
* Keys is an alias for Object.keys returns an array of all keys in an object | ||
* | ||
* @param {object} object input object | ||
* @returns {array} returns an array of all keys in an object | ||
* | ||
* @example | ||
* const result = objects.keys({ hold: 25, your: 19, horses: 4 }); | ||
* console.log(result); | ||
* > ['hold', 'your', 'horses'] | ||
*/ | ||
function keys (object) { | ||
return Object.keys(object); | ||
} | ||
var index$2 = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
exclude: exclude, | ||
include: include | ||
include: include, | ||
keys: keys | ||
}); | ||
export { index as arrays, index$2 as objects, index$1 as strings }; |
{ | ||
"name": "absurdum", | ||
"version": "0.45.1", | ||
"version": "0.46.0", | ||
"description": "Reductio Ad Absurdum - The Ridiculous Application of Reduce", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
[![GitHub Releases](https://img.shields.io/github/release/vanillaes/absurdum.svg)](https://github.com/vanillaes/absurdum/releases) | ||
[![NPM Release](https://img.shields.io/npm/v/absurdum.svg)](https://www.npmjs.com/package/absurdum) | ||
[![David](https://img.shields.io/david/dev/vanillaes/absurdum.svg)](https://david-dm.org/vanillaes/absurdum?type=dev) | ||
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/vanillaes/absurdum/master/LICENSE) | ||
[![NPM Releases](https://img.shields.io/npm/v/absurdum.svg)](https://www.npmjs.com/package/absurdum) | ||
[![MIT Licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/vanillaes/absurdum/master/LICENSE) | ||
[![Latest Status](https://github.com/vanillaes/absurdum/workflows/Latest/badge.svg)](https://github.com/vanillaes/absurdum/actions) | ||
@@ -118,5 +117,7 @@ [![Release Status](https://github.com/vanillaes/absurdum/workflows/Release/badge.svg)](https://github.com/vanillaes/absurdum/actions) | ||
- [include][objects.include] | ||
- [keys][objects.keys] | ||
[objects.exclude]: ./docs/objects/exclude.md | ||
[objects.include]: ./docs/objects/include.md | ||
[objects.keys]: ./docs/objects/keys.md | ||
@@ -123,0 +124,0 @@ ### Strings |
export { exclude } from "./exclude.js"; | ||
export { include } from "./include.js"; | ||
export { include } from "./include.js"; | ||
export { keys } from "./keys.js"; |
export { exclude } from './exclude.js'; | ||
export { include } from './include.js'; | ||
export { include } from './include.js'; | ||
export { keys } from './keys.js'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164507
142
4153
152