yapp 2.2.102 → 2.2.103
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/example.js +750 -728
- package/lib/element/scrollable.js +7 -7
- package/lib/example/div/sizeable/left.js +4 -4
- package/lib/example/div/sizeable/middle.js +4 -4
- package/lib/example/div/sizeable/right.js +4 -4
- package/lib/example/div/sizeable/top.js +4 -4
- package/lib/example/textarea/bnf.js +4 -4
- package/lib/example/textarea/lexicalEntries.js +4 -4
- package/lib/example/textarea/parseTree.js +4 -4
- package/lib/example/textarea/tokens.js +4 -4
- package/lib/example/view/javascript.js +4 -4
- package/lib/example/view/json.js +4 -4
- package/lib/example/view/xml.js +4 -4
- package/lib/example/view.js +7 -7
- package/lib/example/yapp.js +4 -4
- package/lib/gutter.js +7 -7
- package/lib/lexer/javascript.js +4 -4
- package/lib/lexer/json.js +4 -4
- package/lib/lexer/plainText.js +4 -4
- package/lib/lexer/xml.js +4 -4
- package/lib/lexer/yapp.js +4 -4
- package/lib/lineNumbers.js +7 -7
- package/lib/parser/javascript.js +4 -4
- package/lib/parser/json.js +4 -4
- package/lib/parser/plainText.js +4 -4
- package/lib/parser/xml.js +4 -4
- package/lib/parser/yapp.js +4 -4
- package/lib/plugin/javascript.js +7 -7
- package/lib/plugin/json.js +7 -7
- package/lib/plugin/plainText.js +7 -7
- package/lib/plugin/xml.js +7 -7
- package/lib/prettyPrinter.js +9 -9
- package/lib/processor/javascript.js +4 -4
- package/lib/processor/json.js +4 -4
- package/lib/processor/plainText.js +4 -4
- package/lib/processor/xml.js +4 -4
- package/lib/richTextarea.js +6 -6
- package/lib/syntax.js +4 -4
- package/lib/token/significant/argument.js +4 -4
- package/lib/token/significant/attribute.js +4 -4
- package/lib/token/significant/comment.js +4 -4
- package/lib/token/significant/error.js +4 -4
- package/lib/token/significant/jsx.js +4 -4
- package/lib/token/significant/name.js +4 -4
- package/lib/token/significant/string.js +4 -4
- package/lib/token/significant/variable.js +4 -4
- package/lib/yapp.js +7 -7
- package/package.json +2 -2
package/lib/lineNumbers.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent1, args1, Class1) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o1) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o1);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o2, p1) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o2, p1);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class2) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class2);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/parser/javascript.js
CHANGED
|
@@ -42,11 +42,11 @@ function _defineProperty(obj, key, value) {
|
|
|
42
42
|
}
|
|
43
43
|
return obj;
|
|
44
44
|
}
|
|
45
|
-
function _getPrototypeOf(
|
|
45
|
+
function _getPrototypeOf(o1) {
|
|
46
46
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
47
47
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
48
48
|
};
|
|
49
|
-
return _getPrototypeOf(
|
|
49
|
+
return _getPrototypeOf(o1);
|
|
50
50
|
}
|
|
51
51
|
function _inherits(subClass, superClass) {
|
|
52
52
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -72,12 +72,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
72
72
|
}
|
|
73
73
|
return _assertThisInitialized(self);
|
|
74
74
|
}
|
|
75
|
-
function _setPrototypeOf(
|
|
75
|
+
function _setPrototypeOf(o2, p1) {
|
|
76
76
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
77
77
|
o.__proto__ = p;
|
|
78
78
|
return o;
|
|
79
79
|
};
|
|
80
|
-
return _setPrototypeOf(
|
|
80
|
+
return _setPrototypeOf(o2, p1);
|
|
81
81
|
}
|
|
82
82
|
var _typeof = function(obj) {
|
|
83
83
|
"@swc/helpers - typeof";
|
package/lib/parser/json.js
CHANGED
|
@@ -42,11 +42,11 @@ function _defineProperty(obj, key, value) {
|
|
|
42
42
|
}
|
|
43
43
|
return obj;
|
|
44
44
|
}
|
|
45
|
-
function _getPrototypeOf(
|
|
45
|
+
function _getPrototypeOf(o1) {
|
|
46
46
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
47
47
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
48
48
|
};
|
|
49
|
-
return _getPrototypeOf(
|
|
49
|
+
return _getPrototypeOf(o1);
|
|
50
50
|
}
|
|
51
51
|
function _inherits(subClass, superClass) {
|
|
52
52
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -72,12 +72,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
72
72
|
}
|
|
73
73
|
return _assertThisInitialized(self);
|
|
74
74
|
}
|
|
75
|
-
function _setPrototypeOf(
|
|
75
|
+
function _setPrototypeOf(o2, p1) {
|
|
76
76
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
77
77
|
o.__proto__ = p;
|
|
78
78
|
return o;
|
|
79
79
|
};
|
|
80
|
-
return _setPrototypeOf(
|
|
80
|
+
return _setPrototypeOf(o2, p1);
|
|
81
81
|
}
|
|
82
82
|
var _typeof = function(obj) {
|
|
83
83
|
"@swc/helpers - typeof";
|
package/lib/parser/plainText.js
CHANGED
|
@@ -42,11 +42,11 @@ function _defineProperty(obj, key, value) {
|
|
|
42
42
|
}
|
|
43
43
|
return obj;
|
|
44
44
|
}
|
|
45
|
-
function _getPrototypeOf(
|
|
45
|
+
function _getPrototypeOf(o1) {
|
|
46
46
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
47
47
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
48
48
|
};
|
|
49
|
-
return _getPrototypeOf(
|
|
49
|
+
return _getPrototypeOf(o1);
|
|
50
50
|
}
|
|
51
51
|
function _inherits(subClass, superClass) {
|
|
52
52
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -72,12 +72,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
72
72
|
}
|
|
73
73
|
return _assertThisInitialized(self);
|
|
74
74
|
}
|
|
75
|
-
function _setPrototypeOf(
|
|
75
|
+
function _setPrototypeOf(o2, p1) {
|
|
76
76
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
77
77
|
o.__proto__ = p;
|
|
78
78
|
return o;
|
|
79
79
|
};
|
|
80
|
-
return _setPrototypeOf(
|
|
80
|
+
return _setPrototypeOf(o2, p1);
|
|
81
81
|
}
|
|
82
82
|
var _typeof = function(obj) {
|
|
83
83
|
"@swc/helpers - typeof";
|
package/lib/parser/xml.js
CHANGED
|
@@ -42,11 +42,11 @@ function _defineProperty(obj, key, value) {
|
|
|
42
42
|
}
|
|
43
43
|
return obj;
|
|
44
44
|
}
|
|
45
|
-
function _getPrototypeOf(
|
|
45
|
+
function _getPrototypeOf(o1) {
|
|
46
46
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
47
47
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
48
48
|
};
|
|
49
|
-
return _getPrototypeOf(
|
|
49
|
+
return _getPrototypeOf(o1);
|
|
50
50
|
}
|
|
51
51
|
function _inherits(subClass, superClass) {
|
|
52
52
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -72,12 +72,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
72
72
|
}
|
|
73
73
|
return _assertThisInitialized(self);
|
|
74
74
|
}
|
|
75
|
-
function _setPrototypeOf(
|
|
75
|
+
function _setPrototypeOf(o2, p1) {
|
|
76
76
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
77
77
|
o.__proto__ = p;
|
|
78
78
|
return o;
|
|
79
79
|
};
|
|
80
|
-
return _setPrototypeOf(
|
|
80
|
+
return _setPrototypeOf(o2, p1);
|
|
81
81
|
}
|
|
82
82
|
var _typeof = function(obj) {
|
|
83
83
|
"@swc/helpers - typeof";
|
package/lib/parser/yapp.js
CHANGED
|
@@ -30,11 +30,11 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
30
30
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
31
31
|
return Constructor;
|
|
32
32
|
}
|
|
33
|
-
function _getPrototypeOf(
|
|
33
|
+
function _getPrototypeOf(o1) {
|
|
34
34
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
35
35
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36
36
|
};
|
|
37
|
-
return _getPrototypeOf(
|
|
37
|
+
return _getPrototypeOf(o1);
|
|
38
38
|
}
|
|
39
39
|
function _inherits(subClass, superClass) {
|
|
40
40
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -55,12 +55,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
55
55
|
}
|
|
56
56
|
return _assertThisInitialized(self);
|
|
57
57
|
}
|
|
58
|
-
function _setPrototypeOf(
|
|
58
|
+
function _setPrototypeOf(o2, p1) {
|
|
59
59
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
60
60
|
o.__proto__ = p;
|
|
61
61
|
return o;
|
|
62
62
|
};
|
|
63
|
-
return _setPrototypeOf(
|
|
63
|
+
return _setPrototypeOf(o2, p1);
|
|
64
64
|
}
|
|
65
65
|
var _typeof = function(obj) {
|
|
66
66
|
"@swc/helpers - typeof";
|
package/lib/plugin/javascript.js
CHANGED
|
@@ -30,7 +30,7 @@ function isNativeReflectConstruct() {
|
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function _construct(
|
|
33
|
+
function _construct(Parent1, args1, Class1) {
|
|
34
34
|
if (isNativeReflectConstruct()) {
|
|
35
35
|
_construct = Reflect.construct;
|
|
36
36
|
} else {
|
|
@@ -74,11 +74,11 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
}
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
-
function _getPrototypeOf(
|
|
77
|
+
function _getPrototypeOf(o1) {
|
|
78
78
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
79
79
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
80
80
|
};
|
|
81
|
-
return _getPrototypeOf(
|
|
81
|
+
return _getPrototypeOf(o1);
|
|
82
82
|
}
|
|
83
83
|
function _inherits(subClass, superClass) {
|
|
84
84
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -107,18 +107,18 @@ function _possibleConstructorReturn(self, call) {
|
|
|
107
107
|
}
|
|
108
108
|
return _assertThisInitialized(self);
|
|
109
109
|
}
|
|
110
|
-
function _setPrototypeOf(
|
|
110
|
+
function _setPrototypeOf(o2, p1) {
|
|
111
111
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
112
112
|
o.__proto__ = p;
|
|
113
113
|
return o;
|
|
114
114
|
};
|
|
115
|
-
return _setPrototypeOf(
|
|
115
|
+
return _setPrototypeOf(o2, p1);
|
|
116
116
|
}
|
|
117
117
|
var _typeof = function(obj) {
|
|
118
118
|
"@swc/helpers - typeof";
|
|
119
119
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
120
120
|
};
|
|
121
|
-
function _wrapNativeSuper(
|
|
121
|
+
function _wrapNativeSuper(Class2) {
|
|
122
122
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
123
123
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
124
124
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -142,7 +142,7 @@ function _wrapNativeSuper(Class) {
|
|
|
142
142
|
});
|
|
143
143
|
return _setPrototypeOf(Wrapper, Class);
|
|
144
144
|
};
|
|
145
|
-
return _wrapNativeSuper(
|
|
145
|
+
return _wrapNativeSuper(Class2);
|
|
146
146
|
}
|
|
147
147
|
function _isNativeReflectConstruct() {
|
|
148
148
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/plugin/json.js
CHANGED
|
@@ -30,7 +30,7 @@ function isNativeReflectConstruct() {
|
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function _construct(
|
|
33
|
+
function _construct(Parent1, args1, Class1) {
|
|
34
34
|
if (isNativeReflectConstruct()) {
|
|
35
35
|
_construct = Reflect.construct;
|
|
36
36
|
} else {
|
|
@@ -74,11 +74,11 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
}
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
-
function _getPrototypeOf(
|
|
77
|
+
function _getPrototypeOf(o1) {
|
|
78
78
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
79
79
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
80
80
|
};
|
|
81
|
-
return _getPrototypeOf(
|
|
81
|
+
return _getPrototypeOf(o1);
|
|
82
82
|
}
|
|
83
83
|
function _inherits(subClass, superClass) {
|
|
84
84
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -107,18 +107,18 @@ function _possibleConstructorReturn(self, call) {
|
|
|
107
107
|
}
|
|
108
108
|
return _assertThisInitialized(self);
|
|
109
109
|
}
|
|
110
|
-
function _setPrototypeOf(
|
|
110
|
+
function _setPrototypeOf(o2, p1) {
|
|
111
111
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
112
112
|
o.__proto__ = p;
|
|
113
113
|
return o;
|
|
114
114
|
};
|
|
115
|
-
return _setPrototypeOf(
|
|
115
|
+
return _setPrototypeOf(o2, p1);
|
|
116
116
|
}
|
|
117
117
|
var _typeof = function(obj) {
|
|
118
118
|
"@swc/helpers - typeof";
|
|
119
119
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
120
120
|
};
|
|
121
|
-
function _wrapNativeSuper(
|
|
121
|
+
function _wrapNativeSuper(Class2) {
|
|
122
122
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
123
123
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
124
124
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -142,7 +142,7 @@ function _wrapNativeSuper(Class) {
|
|
|
142
142
|
});
|
|
143
143
|
return _setPrototypeOf(Wrapper, Class);
|
|
144
144
|
};
|
|
145
|
-
return _wrapNativeSuper(
|
|
145
|
+
return _wrapNativeSuper(Class2);
|
|
146
146
|
}
|
|
147
147
|
function _isNativeReflectConstruct() {
|
|
148
148
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/plugin/plainText.js
CHANGED
|
@@ -30,7 +30,7 @@ function isNativeReflectConstruct() {
|
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function _construct(
|
|
33
|
+
function _construct(Parent1, args1, Class1) {
|
|
34
34
|
if (isNativeReflectConstruct()) {
|
|
35
35
|
_construct = Reflect.construct;
|
|
36
36
|
} else {
|
|
@@ -74,11 +74,11 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
}
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
-
function _getPrototypeOf(
|
|
77
|
+
function _getPrototypeOf(o1) {
|
|
78
78
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
79
79
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
80
80
|
};
|
|
81
|
-
return _getPrototypeOf(
|
|
81
|
+
return _getPrototypeOf(o1);
|
|
82
82
|
}
|
|
83
83
|
function _inherits(subClass, superClass) {
|
|
84
84
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -107,18 +107,18 @@ function _possibleConstructorReturn(self, call) {
|
|
|
107
107
|
}
|
|
108
108
|
return _assertThisInitialized(self);
|
|
109
109
|
}
|
|
110
|
-
function _setPrototypeOf(
|
|
110
|
+
function _setPrototypeOf(o2, p1) {
|
|
111
111
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
112
112
|
o.__proto__ = p;
|
|
113
113
|
return o;
|
|
114
114
|
};
|
|
115
|
-
return _setPrototypeOf(
|
|
115
|
+
return _setPrototypeOf(o2, p1);
|
|
116
116
|
}
|
|
117
117
|
var _typeof = function(obj) {
|
|
118
118
|
"@swc/helpers - typeof";
|
|
119
119
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
120
120
|
};
|
|
121
|
-
function _wrapNativeSuper(
|
|
121
|
+
function _wrapNativeSuper(Class2) {
|
|
122
122
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
123
123
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
124
124
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -142,7 +142,7 @@ function _wrapNativeSuper(Class) {
|
|
|
142
142
|
});
|
|
143
143
|
return _setPrototypeOf(Wrapper, Class);
|
|
144
144
|
};
|
|
145
|
-
return _wrapNativeSuper(
|
|
145
|
+
return _wrapNativeSuper(Class2);
|
|
146
146
|
}
|
|
147
147
|
function _isNativeReflectConstruct() {
|
|
148
148
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/plugin/xml.js
CHANGED
|
@@ -30,7 +30,7 @@ function isNativeReflectConstruct() {
|
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function _construct(
|
|
33
|
+
function _construct(Parent1, args1, Class1) {
|
|
34
34
|
if (isNativeReflectConstruct()) {
|
|
35
35
|
_construct = Reflect.construct;
|
|
36
36
|
} else {
|
|
@@ -74,11 +74,11 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
}
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
-
function _getPrototypeOf(
|
|
77
|
+
function _getPrototypeOf(o1) {
|
|
78
78
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
79
79
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
80
80
|
};
|
|
81
|
-
return _getPrototypeOf(
|
|
81
|
+
return _getPrototypeOf(o1);
|
|
82
82
|
}
|
|
83
83
|
function _inherits(subClass, superClass) {
|
|
84
84
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -107,18 +107,18 @@ function _possibleConstructorReturn(self, call) {
|
|
|
107
107
|
}
|
|
108
108
|
return _assertThisInitialized(self);
|
|
109
109
|
}
|
|
110
|
-
function _setPrototypeOf(
|
|
110
|
+
function _setPrototypeOf(o2, p1) {
|
|
111
111
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
112
112
|
o.__proto__ = p;
|
|
113
113
|
return o;
|
|
114
114
|
};
|
|
115
|
-
return _setPrototypeOf(
|
|
115
|
+
return _setPrototypeOf(o2, p1);
|
|
116
116
|
}
|
|
117
117
|
var _typeof = function(obj) {
|
|
118
118
|
"@swc/helpers - typeof";
|
|
119
119
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
120
120
|
};
|
|
121
|
-
function _wrapNativeSuper(
|
|
121
|
+
function _wrapNativeSuper(Class2) {
|
|
122
122
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
123
123
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
124
124
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -142,7 +142,7 @@ function _wrapNativeSuper(Class) {
|
|
|
142
142
|
});
|
|
143
143
|
return _setPrototypeOf(Wrapper, Class);
|
|
144
144
|
};
|
|
145
|
-
return _wrapNativeSuper(
|
|
145
|
+
return _wrapNativeSuper(Class2);
|
|
146
146
|
}
|
|
147
147
|
function _isNativeReflectConstruct() {
|
|
148
148
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/prettyPrinter.js
CHANGED
|
@@ -29,7 +29,7 @@ function isNativeReflectConstruct() {
|
|
|
29
29
|
return false;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
function _construct(
|
|
32
|
+
function _construct(Parent1, args1, Class1) {
|
|
33
33
|
if (isNativeReflectConstruct()) {
|
|
34
34
|
_construct = Reflect.construct;
|
|
35
35
|
} else {
|
|
@@ -73,7 +73,7 @@ function _defineProperty(obj, key, value) {
|
|
|
73
73
|
}
|
|
74
74
|
return obj;
|
|
75
75
|
}
|
|
76
|
-
function _get(
|
|
76
|
+
function _get(target1, property1, receiver1) {
|
|
77
77
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
78
78
|
_get = Reflect.get;
|
|
79
79
|
} else {
|
|
@@ -87,13 +87,13 @@ function _get(target, property, receiver) {
|
|
|
87
87
|
return desc.value;
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
return _get(
|
|
90
|
+
return _get(target1, property1, receiver1 || target1);
|
|
91
91
|
}
|
|
92
|
-
function _getPrototypeOf(
|
|
92
|
+
function _getPrototypeOf(o1) {
|
|
93
93
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
94
94
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
95
95
|
};
|
|
96
|
-
return _getPrototypeOf(
|
|
96
|
+
return _getPrototypeOf(o1);
|
|
97
97
|
}
|
|
98
98
|
function _inherits(subClass, superClass) {
|
|
99
99
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -122,12 +122,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
122
122
|
}
|
|
123
123
|
return _assertThisInitialized(self);
|
|
124
124
|
}
|
|
125
|
-
function _setPrototypeOf(
|
|
125
|
+
function _setPrototypeOf(o2, p1) {
|
|
126
126
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
127
127
|
o.__proto__ = p;
|
|
128
128
|
return o;
|
|
129
129
|
};
|
|
130
|
-
return _setPrototypeOf(
|
|
130
|
+
return _setPrototypeOf(o2, p1);
|
|
131
131
|
}
|
|
132
132
|
function _superPropBase(object, property) {
|
|
133
133
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
@@ -150,7 +150,7 @@ var _typeof = function(obj) {
|
|
|
150
150
|
"@swc/helpers - typeof";
|
|
151
151
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
152
152
|
};
|
|
153
|
-
function _wrapNativeSuper(
|
|
153
|
+
function _wrapNativeSuper(Class2) {
|
|
154
154
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
155
155
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
156
156
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -174,7 +174,7 @@ function _wrapNativeSuper(Class) {
|
|
|
174
174
|
});
|
|
175
175
|
return _setPrototypeOf(Wrapper, Class);
|
|
176
176
|
};
|
|
177
|
-
return _wrapNativeSuper(
|
|
177
|
+
return _wrapNativeSuper(Class2);
|
|
178
178
|
}
|
|
179
179
|
function _isNativeReflectConstruct() {
|
|
180
180
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
@@ -36,11 +36,11 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
36
36
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
37
37
|
return Constructor;
|
|
38
38
|
}
|
|
39
|
-
function _getPrototypeOf(
|
|
39
|
+
function _getPrototypeOf(o1) {
|
|
40
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
41
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42
42
|
};
|
|
43
|
-
return _getPrototypeOf(
|
|
43
|
+
return _getPrototypeOf(o1);
|
|
44
44
|
}
|
|
45
45
|
function _inherits(subClass, superClass) {
|
|
46
46
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -66,12 +66,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
66
66
|
}
|
|
67
67
|
return _assertThisInitialized(self);
|
|
68
68
|
}
|
|
69
|
-
function _setPrototypeOf(
|
|
69
|
+
function _setPrototypeOf(o2, p1) {
|
|
70
70
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
71
71
|
o.__proto__ = p;
|
|
72
72
|
return o;
|
|
73
73
|
};
|
|
74
|
-
return _setPrototypeOf(
|
|
74
|
+
return _setPrototypeOf(o2, p1);
|
|
75
75
|
}
|
|
76
76
|
var _typeof = function(obj) {
|
|
77
77
|
"@swc/helpers - typeof";
|
package/lib/processor/json.js
CHANGED
|
@@ -29,11 +29,11 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
29
29
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
30
30
|
return Constructor;
|
|
31
31
|
}
|
|
32
|
-
function _getPrototypeOf(
|
|
32
|
+
function _getPrototypeOf(o1) {
|
|
33
33
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
34
34
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35
35
|
};
|
|
36
|
-
return _getPrototypeOf(
|
|
36
|
+
return _getPrototypeOf(o1);
|
|
37
37
|
}
|
|
38
38
|
function _inherits(subClass, superClass) {
|
|
39
39
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -59,12 +59,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
59
59
|
}
|
|
60
60
|
return _assertThisInitialized(self);
|
|
61
61
|
}
|
|
62
|
-
function _setPrototypeOf(
|
|
62
|
+
function _setPrototypeOf(o2, p1) {
|
|
63
63
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
64
64
|
o.__proto__ = p;
|
|
65
65
|
return o;
|
|
66
66
|
};
|
|
67
|
-
return _setPrototypeOf(
|
|
67
|
+
return _setPrototypeOf(o2, p1);
|
|
68
68
|
}
|
|
69
69
|
var _typeof = function(obj) {
|
|
70
70
|
"@swc/helpers - typeof";
|
|
@@ -29,11 +29,11 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
29
29
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
30
30
|
return Constructor;
|
|
31
31
|
}
|
|
32
|
-
function _getPrototypeOf(
|
|
32
|
+
function _getPrototypeOf(o1) {
|
|
33
33
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
34
34
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35
35
|
};
|
|
36
|
-
return _getPrototypeOf(
|
|
36
|
+
return _getPrototypeOf(o1);
|
|
37
37
|
}
|
|
38
38
|
function _inherits(subClass, superClass) {
|
|
39
39
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -59,12 +59,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
59
59
|
}
|
|
60
60
|
return _assertThisInitialized(self);
|
|
61
61
|
}
|
|
62
|
-
function _setPrototypeOf(
|
|
62
|
+
function _setPrototypeOf(o2, p1) {
|
|
63
63
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
64
64
|
o.__proto__ = p;
|
|
65
65
|
return o;
|
|
66
66
|
};
|
|
67
|
-
return _setPrototypeOf(
|
|
67
|
+
return _setPrototypeOf(o2, p1);
|
|
68
68
|
}
|
|
69
69
|
var _typeof = function(obj) {
|
|
70
70
|
"@swc/helpers - typeof";
|
package/lib/processor/xml.js
CHANGED
|
@@ -34,11 +34,11 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
34
34
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
35
35
|
return Constructor;
|
|
36
36
|
}
|
|
37
|
-
function _getPrototypeOf(
|
|
37
|
+
function _getPrototypeOf(o1) {
|
|
38
38
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
39
39
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
40
40
|
};
|
|
41
|
-
return _getPrototypeOf(
|
|
41
|
+
return _getPrototypeOf(o1);
|
|
42
42
|
}
|
|
43
43
|
function _inherits(subClass, superClass) {
|
|
44
44
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -64,12 +64,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
64
64
|
}
|
|
65
65
|
return _assertThisInitialized(self);
|
|
66
66
|
}
|
|
67
|
-
function _setPrototypeOf(
|
|
67
|
+
function _setPrototypeOf(o2, p1) {
|
|
68
68
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
69
69
|
o.__proto__ = p;
|
|
70
70
|
return o;
|
|
71
71
|
};
|
|
72
|
-
return _setPrototypeOf(
|
|
72
|
+
return _setPrototypeOf(o2, p1);
|
|
73
73
|
}
|
|
74
74
|
var _typeof = function(obj) {
|
|
75
75
|
"@swc/helpers - typeof";
|
package/lib/richTextarea.js
CHANGED
|
@@ -45,7 +45,7 @@ function _defineProperty(obj, key, value) {
|
|
|
45
45
|
}
|
|
46
46
|
return obj;
|
|
47
47
|
}
|
|
48
|
-
function _get(
|
|
48
|
+
function _get(target1, property1, receiver1) {
|
|
49
49
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
50
50
|
_get = Reflect.get;
|
|
51
51
|
} else {
|
|
@@ -59,13 +59,13 @@ function _get(target, property, receiver) {
|
|
|
59
59
|
return desc.value;
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
return _get(
|
|
62
|
+
return _get(target1, property1, receiver1 || target1);
|
|
63
63
|
}
|
|
64
|
-
function _getPrototypeOf(
|
|
64
|
+
function _getPrototypeOf(o1) {
|
|
65
65
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
66
66
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
67
67
|
};
|
|
68
|
-
return _getPrototypeOf(
|
|
68
|
+
return _getPrototypeOf(o1);
|
|
69
69
|
}
|
|
70
70
|
function _inherits(subClass, superClass) {
|
|
71
71
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -91,12 +91,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
91
91
|
}
|
|
92
92
|
return _assertThisInitialized(self);
|
|
93
93
|
}
|
|
94
|
-
function _setPrototypeOf(
|
|
94
|
+
function _setPrototypeOf(o2, p1) {
|
|
95
95
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
96
96
|
o.__proto__ = p;
|
|
97
97
|
return o;
|
|
98
98
|
};
|
|
99
|
-
return _setPrototypeOf(
|
|
99
|
+
return _setPrototypeOf(o2, p1);
|
|
100
100
|
}
|
|
101
101
|
function _superPropBase(object, property) {
|
|
102
102
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
package/lib/syntax.js
CHANGED
|
@@ -43,11 +43,11 @@ function _defineProperty(obj, key, value) {
|
|
|
43
43
|
}
|
|
44
44
|
return obj;
|
|
45
45
|
}
|
|
46
|
-
function _getPrototypeOf(
|
|
46
|
+
function _getPrototypeOf(o1) {
|
|
47
47
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
48
48
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
49
49
|
};
|
|
50
|
-
return _getPrototypeOf(
|
|
50
|
+
return _getPrototypeOf(o1);
|
|
51
51
|
}
|
|
52
52
|
function _inherits(subClass, superClass) {
|
|
53
53
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -73,12 +73,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
73
73
|
}
|
|
74
74
|
return _assertThisInitialized(self);
|
|
75
75
|
}
|
|
76
|
-
function _setPrototypeOf(
|
|
76
|
+
function _setPrototypeOf(o2, p1) {
|
|
77
77
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
78
78
|
o.__proto__ = p;
|
|
79
79
|
return o;
|
|
80
80
|
};
|
|
81
|
-
return _setPrototypeOf(
|
|
81
|
+
return _setPrototypeOf(o2, p1);
|
|
82
82
|
}
|
|
83
83
|
function _taggedTemplateLiteral(strings, raw) {
|
|
84
84
|
if (!raw) {
|