@instructure/ui-decorator 8.12.1-snapshot.7 → 8.13.1-snapshot.9

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,10 @@
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
+ # [8.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-decorator
9
+
6
10
  # [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
7
11
 
8
12
  **Note:** Version bump only for package @instructure/ui-decorator
package/es/decorator.js CHANGED
@@ -33,7 +33,11 @@
33
33
  * @returns {Class} A decorated component class
34
34
  */
35
35
  function decorator(decorate) {
36
- return (...args) => {
36
+ return function () {
37
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
38
+ args[_key] = arguments[_key];
39
+ }
40
+
37
41
  // parameters when the decorator is used
38
42
  return ComposedComponent => {
39
43
  if (typeof decorate === 'function') {
package/lib/decorator.js CHANGED
@@ -41,7 +41,11 @@ exports.default = void 0;
41
41
  * @returns {Class} A decorated component class
42
42
  */
43
43
  function decorator(decorate) {
44
- return (...args) => {
44
+ return function () {
45
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
46
+ args[_key] = arguments[_key];
47
+ }
48
+
45
49
  // parameters when the decorator is used
46
50
  return ComposedComponent => {
47
51
  if (typeof decorate === 'function') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-decorator",
3
- "version": "8.12.1-snapshot.7+1e7ac8219",
3
+ "version": "8.13.1-snapshot.9+f32ba918e",
4
4
  "description": "A utility to wrap (decorates) a React component class adding functionality.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219"
26
+ "@instructure/ui-babel-preset": "8.13.1-snapshot.9+f32ba918e"
27
27
  },
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.13.10"
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
34
+ "gitHead": "f32ba918e4d3ce76c6ee95c856584d00a9d80958"
35
35
  }