object.groupby
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -8,2 +8,10 @@ # Changelog | ||
## [v1.0.3](https://github.com/es-shims/Object.groupBy/compare/v1.0.2...v1.0.3) - 2024-03-18 | ||
### Commits | ||
- [Deps] update `call-bind`, `es-abstract` [`f1d3e70`](https://github.com/es-shims/Object.groupBy/commit/f1d3e701aff0a36e4d7373059812a9b978c7ad7f) | ||
- [Dev Deps] update `tape` [`272a736`](https://github.com/es-shims/Object.groupBy/commit/272a73672f27f90fd6d5054ca13e039c45815a8a) | ||
- [meta] add missing `engines.node` [`7a9c8b0`](https://github.com/es-shims/Object.groupBy/commit/7a9c8b0f636a5703ea923c9d0721fbf5861c6949) | ||
## [v1.0.2](https://github.com/es-shims/Object.groupBy/compare/v1.0.1...v1.0.2) - 2024-02-04 | ||
@@ -10,0 +18,0 @@ |
'use strict'; | ||
var CreateDataPropertyOrThrow = require('es-abstract/2023/CreateDataPropertyOrThrow'); | ||
var OrdinaryObjectCreate = require('es-abstract/2023/OrdinaryObjectCreate'); | ||
var CreateDataPropertyOrThrow = require('es-abstract/2024/CreateDataPropertyOrThrow'); | ||
var OrdinaryObjectCreate = require('es-abstract/2024/OrdinaryObjectCreate'); | ||
var forEach = require('es-abstract/helpers/forEach'); | ||
var GroupBy = require('./aos/GroupBy'); // TODO: replace with es-abstract 2024 implementation | ||
var GroupBy = require('es-abstract/2024/GroupBy'); // TODO: replace with es-abstract 2024 implementation | ||
module.exports = function groupBy(items, callbackfn) { | ||
var groups = GroupBy(items, callbackfn, 'property'); // step 1 | ||
var groups = GroupBy(items, callbackfn, 'PROPERTY'); // step 1 | ||
@@ -13,0 +13,0 @@ var obj = OrdinaryObjectCreate(null); // step 2 |
{ | ||
"name": "object.groupby", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "An ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.", | ||
@@ -61,11 +61,10 @@ "main": "index.js", | ||
"nyc": "^10.3.2", | ||
"object-inspect": "^1.13.1", | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.7.4" | ||
"tape": "^5.7.5" | ||
}, | ||
"dependencies": { | ||
"array.prototype.filter": "^1.0.3", | ||
"call-bind": "^1.0.5", | ||
"call-bind": "^1.0.7", | ||
"define-properties": "^1.2.1", | ||
"es-abstract": "^1.22.3", | ||
"es-errors": "^1.0.0" | ||
"es-abstract": "^1.23.2" | ||
}, | ||
@@ -84,3 +83,6 @@ "auto-changelog": { | ||
] | ||
}, | ||
"engines": { | ||
"node": ">= 0.4" | ||
} | ||
} |
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
3
14579
15
16
142
- Removedarray.prototype.filter@^1.0.3
- Removedes-errors@^1.0.0
- Removedarray.prototype.filter@1.0.4(transitive)
- Removedes-array-method-boxes-properly@1.0.0(transitive)
Updatedcall-bind@^1.0.7
Updatedes-abstract@^1.23.2