Skip to content

Commit deb0bc3

Browse files
committed
- Linting: As per latest ash-nazg
- Build: Update - npm: Update devDeps. - Travis: Check Node 14 - Testing: Bump timeout
1 parent 61f05c7 commit deb0bc3

File tree

13 files changed

+2034
-2348
lines changed

13 files changed

+2034
-2348
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ module.exports = {
8787
'promise/prefer-await-to-callbacks': 0,
8888
'quote-props': 0,
8989
'require-jsdoc': 0,
90+
91+
// Disable for now
92+
'eslint-comments/require-description': 0,
93+
9094
// Reenable when no longer having problems
9195
'unicorn/no-unsafe-regex': 0
9296
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: node_js
33
node_js:
44
- 10
55
- 12
6+
- 14
67

78
before_install:
89
- npm config set depth 0

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
- Docs: Update badges per latest updates
77
- Linting: As per latest ash-nazg
88
- Testing: Add more at-sign tests
9+
- Testing: Bump timeout
10+
- Travis: Check Node 14
911
- npm: Update from deprecated `rollup-plugin-babel` to `@rollup/plugin-babel`
1012
(and make `babelHelpers` explicit)
1113
- npm: Update devDeps

dist/index-es.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function _possibleConstructorReturn(self, call) {
138138
function _createSuper(Derived) {
139139
var hasNativeReflectConstruct = _isNativeReflectConstruct();
140140

141-
return function () {
141+
return function _createSuperInternal() {
142142
var Super = _getPrototypeOf(Derived),
143143
result;
144144

@@ -187,9 +187,12 @@ function _nonIterableSpread() {
187187
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
188188
}
189189

190-
function _createForOfIteratorHelper(o) {
190+
function _createForOfIteratorHelper(o, allowArrayLike) {
191+
var it;
192+
191193
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
192-
if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) {
194+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
195+
if (it) o = it;
193196
var i = 0;
194197

195198
var F = function () {};
@@ -215,8 +218,7 @@ function _createForOfIteratorHelper(o) {
215218
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
216219
}
217220

218-
var it,
219-
normalCompletion = true,
221+
var normalCompletion = true,
220222
didErr = false,
221223
err;
222224
return {

dist/index-es.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index-es.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index-umd.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
function _createSuper(Derived) {
145145
var hasNativeReflectConstruct = _isNativeReflectConstruct();
146146

147-
return function () {
147+
return function _createSuperInternal() {
148148
var Super = _getPrototypeOf(Derived),
149149
result;
150150

@@ -193,9 +193,12 @@
193193
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
194194
}
195195

196-
function _createForOfIteratorHelper(o) {
196+
function _createForOfIteratorHelper(o, allowArrayLike) {
197+
var it;
198+
197199
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
198-
if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) {
200+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
201+
if (it) o = it;
199202
var i = 0;
200203

201204
var F = function () {};
@@ -221,8 +224,7 @@
221224
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
222225
}
223226

224-
var it,
225-
normalCompletion = true,
227+
var normalCompletion = true,
226228
didErr = false,
227229
err;
228230
return {

dist/index-umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index-umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)