@next-core/brick-utils 2.39.0 → 2.39.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.39.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.39.2...@next-core/brick-utils@2.39.3) (2022-09-01)
7
+
8
+ **Note:** Version bump only for package @next-core/brick-utils
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.39.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.39.1...@next-core/brick-utils@2.39.2) (2022-08-31)
15
+
16
+ **Note:** Version bump only for package @next-core/brick-utils
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.39.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.39.0...@next-core/brick-utils@2.39.1) (2022-08-26)
23
+
24
+ **Note:** Version bump only for package @next-core/brick-utils
25
+
26
+
27
+
28
+
29
+
6
30
  # [2.39.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-utils@2.38.3...@next-core/brick-utils@2.39.0) (2022-08-25)
7
31
 
8
32
 
@@ -2774,9 +2774,7 @@
2774
2774
  var name = functionExpression.id.name;
2775
2775
  var funcEnv = new DeclarativeEnvironment(scope);
2776
2776
  funcEnv.CreateImmutableBinding(name, false);
2777
- var closure = OrdinaryFunctionCreate(functionExpression, // functionExpression.params,
2778
- // functionExpression.body,
2779
- funcEnv, true);
2777
+ var closure = OrdinaryFunctionCreate(functionExpression, funcEnv, true);
2780
2778
  funcEnv.InitializeBinding(name, closure);
2781
2779
  return closure;
2782
2780
  } else {
@@ -2794,9 +2792,7 @@
2794
2792
  } // https://tc39.es/ecma262/#sec-ordinaryfunctioncreate
2795
2793
 
2796
2794
 
2797
- function OrdinaryFunctionCreate(sourceNode, // parameterList: FunctionDeclaration["params"],
2798
- // body: BlockStatement | Expression,
2799
- scope, isConstructor) {
2795
+ function OrdinaryFunctionCreate(sourceNode, scope, isConstructor) {
2800
2796
  var F = function () {
2801
2797
  // eslint-disable-next-line prefer-rest-params
2802
2798
  return CallFunction(F, arguments);