Skip to content

Commit 67219d7

Browse files
committed
2.0.0-alpha.1 release
2 parents c500591 + 9d48e73 commit 67219d7

File tree

4 files changed

+351
-152
lines changed

4 files changed

+351
-152
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
The following is a curated list of changes in the Enact eslint plugin:
44

5+
## [2.0.0-alpha.1] - (December 6, 2024)
6+
7+
* Fixed a deprecation warning regarding nodejs.
8+
* Updated `minimatch` version to `^10.0.1`.
9+
* Updated the minimum version of Node to `^20.0.0 || >=22.0.0`.
10+
511
## [1.0.8] - (July 22, 2024)
612

713
* Updated dependencies.

lib/util/Components.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Components.prototype.set = function(node, props) {
7070
return;
7171
}
7272
var id = this._getId(node);
73-
this._list[id] = util._extend(this._list[id], props);
73+
this._list[id] = Object.assign(this._list[id], props);
7474
};
7575

7676
/**
@@ -614,7 +614,7 @@ function componentRule(rule, context) {
614614

615615
// Update the provided rule instructions to add the component detection
616616
var ruleInstructions = rule(context, components, utils);
617-
var updatedRuleInstructions = util._extend({}, ruleInstructions);
617+
var updatedRuleInstructions = Object.assign({}, ruleInstructions);
618618
Object.keys(detectionInstructions).forEach(function(instruction) {
619619
updatedRuleInstructions[instruction] = function(node) {
620620
detectionInstructions[instruction](node);

0 commit comments

Comments
 (0)