-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial progress of fileupload #235
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…est to 876053f (#208) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
home.html and append total chunks with current chunks to form
to sticky sessions. Also started setting up groupcache so I can keep track of my fileid in relation to s3 multipart upload fileid
d4f90e6
to
a11f513
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
var key = toPrimitive(arg, "string"); | ||
return _typeof(key) === "symbol" ? key : String(key); | ||
} | ||
module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
function _OverloadYield(value, kind) { | ||
this.v = value, this.k = kind; | ||
} | ||
module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
@@ -0,0 +1,4 @@ | |||
function _OverloadYield(value, kind) { | |||
this.v = value, this.k = kind; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
function _arrayWithoutHoles(arr) { | ||
if (_Array$isArray(arr)) return arrayLikeToArray(arr); | ||
} | ||
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
} | ||
}, new AsyncFromSyncIterator(s); | ||
} | ||
module.exports = _asyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
checkPrivateRedeclaration(obj, privateMap); | ||
privateMap.set(obj, value); | ||
} | ||
module.exports = _classPrivateFieldInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
classApplyDescriptorSet(receiver, descriptor, value); | ||
return value; | ||
} | ||
module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
classCheckPrivateStaticFieldDescriptor(descriptor, "set"); | ||
return classApplyDescriptorDestructureSet(receiver, descriptor); | ||
} | ||
module.exports = _classStaticPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
classCheckPrivateStaticAccess(receiver, classConstructor); | ||
return method; | ||
} | ||
module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
} | ||
}; | ||
} | ||
module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
} | ||
return obj; | ||
} | ||
module.exports = _defaults, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
} | ||
return obj; | ||
} | ||
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reverse"; | ||
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice"; | ||
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property"; | ||
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
import _reduceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reduce"; | ||
import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reverse"; | ||
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice"; | ||
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys"; | ||
import _reduceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reduce"; | ||
import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reverse"; | ||
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
initializers && ret.push(function (instance) { | ||
for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); | ||
return instance; | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); | ||
} | ||
} | ||
old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, | ||
existingKind = existingNonFields.get(name) || 0; | ||
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); | ||
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { | ||
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, | ||
existingKind = existingNonFields.get(name) || 0; | ||
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confusing use of '!'.
return value.set.call(instance, args); | ||
})) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
} | ||
return obj; | ||
} | ||
module.exports = _defaults, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
} | ||
return obj; | ||
} | ||
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reverse"; | ||
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice"; | ||
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property"; | ||
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
import _reduceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reduce"; | ||
import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reverse"; | ||
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice"; | ||
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys"; | ||
import _reduceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reduce"; | ||
import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js/instance/reverse"; | ||
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
initializers && ret.push(function (instance) { | ||
for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); | ||
return instance; | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); | ||
} | ||
} | ||
old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, | ||
existingKind = existingNonFields.get(name) || 0; | ||
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); | ||
!existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { | ||
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields, | ||
existingKind = existingNonFields.get(name) || 0; | ||
if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confusing use of '!'.
return value.set.call(instance, args); | ||
})) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
if (void 0 !== (newValue = old_memberDec(decs[i], name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value))) old_assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { | ||
get: get, | ||
set: set | ||
}) : value = newValue, void 0 !== newInit && (void 0 === initializer ? initializer = newInit : "function" == typeof initializer ? initializer = [initializer, newInit] : initializer.push(newInit)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
} : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = old_memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value)) && (old_assertValidReturnValue(kind, newValue), 0 === kind ? initializer = newValue : 1 === kind ? (initializer = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { | ||
get: get, | ||
set: set | ||
}) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); | ||
} else if ("function" !== type) { | ||
var hint; | ||
throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
Expected an identifier and instead saw '='.
Missing semicolon.
var type = _typeof(value); | ||
if (1 === kind) { | ||
if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
}), 1 !== kind && 4 !== kind || (access.set = function (v) { | ||
desc.set.call(this, v); | ||
})), ctx.access = access; | ||
} else metadataKind = 1, metadataName = name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
var priv = metaForKey["private"]; | ||
if (priv) { | ||
var privArr = _Array$from(_valuesInstanceProperty(priv).call(priv)), | ||
parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['private'] is better written in dot notation.
pub = metaForKey["public"], | ||
parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; | ||
pub && parentPub && _Object$setPrototypeOf(pub, parentPub); | ||
var priv = metaForKey["private"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['private'] is better written in dot notation.
parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, | ||
pub = metaForKey["public"], | ||
parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; | ||
pub && parentPub && _Object$setPrototypeOf(pub, parentPub); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
metaForKey = metadataMap[key], | ||
parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, | ||
pub = metaForKey["public"], | ||
parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['public'] is better written in dot notation.
var key = metadataKeys[i], | ||
metaForKey = metadataMap[key], | ||
parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, | ||
pub = metaForKey["public"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['public'] is better written in dot notation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey.priv; | ||
void 0 === priv && (priv = metadataForKey["private"] = new _Map()), priv.set(property, value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
['private'] is better written in dot notation.
var metadataForKey = metadataMap[key]; | ||
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { | ||
var pub = metadataForKey["public"]; | ||
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
['public'] is better written in dot notation.
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); | ||
var metadataForKey = metadataMap[key]; | ||
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { | ||
var pub = metadataForKey["public"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['public'] is better written in dot notation.
} else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor; | ||
}, | ||
setMetadata: function setMetadata(key, value) { | ||
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
var pub = metadataForKey["public"]; | ||
if (void 0 !== pub) return pub[property]; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey["private"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['private'] is better written in dot notation.
var keys = placements[element.placement]; | ||
_spliceInstanceProperty(keys).call(keys, _indexOfInstanceProperty(keys).call(keys, element.key), 1); | ||
var elementObject = this.fromElementDescriptor(element); | ||
var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad invocation.
return api.runClassFinishers(r.F, decorated.finishers); | ||
} | ||
function _getDecoratorsApi() { | ||
_getDecoratorsApi = function _getDecoratorsApi() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reassignment of '_getDecoratorsApi', which is a function. Use 'var' or 'let' to declare bindings that may change.
@@ -0,0 +1,5 @@ | |||
export default function _arrayLikeToArray(arr, len) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
_Promise.resolve(value).then(_next, _throw); | ||
} | ||
} | ||
export default function _asyncToGenerator(fn) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
if (info.done) { | ||
resolve(value); | ||
} else { | ||
_Promise.resolve(value).then(_next, _throw); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'value' used out of scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey.priv; | ||
void 0 === priv && (priv = metadataForKey["private"] = new _Map()), priv.set(property, value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
['private'] is better written in dot notation.
var metadataForKey = metadataMap[key]; | ||
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { | ||
var pub = metadataForKey["public"]; | ||
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
['public'] is better written in dot notation.
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); | ||
var metadataForKey = metadataMap[key]; | ||
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { | ||
var pub = metadataForKey["public"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['public'] is better written in dot notation.
} else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor; | ||
}, | ||
setMetadata: function setMetadata(key, value) { | ||
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
var pub = metadataForKey["public"]; | ||
if (void 0 !== pub) return pub[property]; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey["private"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['private'] is better written in dot notation.
var keys = placements[element.placement]; | ||
_spliceInstanceProperty(keys).call(keys, _indexOfInstanceProperty(keys).call(keys, element.key), 1); | ||
var elementObject = this.fromElementDescriptor(element); | ||
var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad invocation.
return api.runClassFinishers(r.F, decorated.finishers); | ||
} | ||
function _getDecoratorsApi() { | ||
_getDecoratorsApi = function _getDecoratorsApi() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reassignment of '_getDecoratorsApi', which is a function. Use 'var' or 'let' to declare bindings that may change.
@@ -0,0 +1,5 @@ | |||
export default function _arrayLikeToArray(arr, len) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
_Promise.resolve(value).then(_next, _throw); | ||
} | ||
} | ||
export default function _asyncToGenerator(fn) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
if (info.done) { | ||
resolve(value); | ||
} else { | ||
_Promise.resolve(value).then(_next, _throw); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'value' used out of scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
return; | ||
} | ||
if (info.done) { | ||
resolve(value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'value' used out of scope.
reject(error); | ||
return; | ||
} | ||
if (info.done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'info' used out of scope.
@@ -0,0 +1,31 @@ | |||
import _Promise from "@babel/runtime-corejs3/core-js/promise"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,6 @@ | |||
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js"; | |||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; | |||
export default function _classPrivateFieldDestructureSet(receiver, privateMap) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,6 @@ | |||
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js"; | |||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,18 @@ | |||
import _Reflect$construct from "@babel/runtime-corejs3/core-js/reflect/construct"; | |||
import getPrototypeOf from "./getPrototypeOf.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,18 @@ | |||
import _Reflect$construct from "@babel/runtime-corejs3/core-js/reflect/construct"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | ||
})(nodeInterop); | ||
} | ||
export default function _interopRequireWildcard(obj, nodeInterop) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
var cacheNodeInterop = new _WeakMap(); | ||
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { | ||
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | ||
})(nodeInterop); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad invocation.
if (typeof _WeakMap !== "function") return null; | ||
var cacheBabelInterop = new _WeakMap(); | ||
var cacheNodeInterop = new _WeakMap(); | ||
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reassignment of '_getRequireWildcardCache', which is a function. Use 'var' or 'let' to declare bindings that may change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
/home/linters/app/node_modules/jshint/src/jshint.js:5546
/home/linters/app/node_modules/jshint/src/jshint.js:5546 throw err; ^TypeError: Cannot read property 'type' of undefined
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:4311:24)
at expression (/home/linters/app/node_modules/jshint/src/jshint.js:896:32)
at statement (/home/linters/app/node_modules/jshint/src/jshint.js:1615:9)
at statements (/home/linters/app/node_modules/jshint/src/jshint.js:1660:16)
at block (/home/linters/app/node_modules/jshint/src/jshint.js:1753:13)
at doFunction (/home/linters/app/node_modules/jshint/src/jshint.js:3056:5)
at Object.fud (/home/linters/app/node_modules/jshint/src/jshint.js:3894:13)
return; | ||
} | ||
if (info.done) { | ||
resolve(value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'value' used out of scope.
reject(error); | ||
return; | ||
} | ||
if (info.done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'info' used out of scope.
@@ -0,0 +1,31 @@ | |||
import _Promise from "@babel/runtime-corejs3/core-js/promise"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,6 @@ | |||
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js"; | |||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; | |||
export default function _classPrivateFieldDestructureSet(receiver, privateMap) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,6 @@ | |||
import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js"; | |||
import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,18 @@ | |||
import _Reflect$construct from "@babel/runtime-corejs3/core-js/reflect/construct"; | |||
import getPrototypeOf from "./getPrototypeOf.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
@@ -0,0 +1,18 @@ | |||
import _Reflect$construct from "@babel/runtime-corejs3/core-js/reflect/construct"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'import' is only available in ES6 (use 'esversion: 6').
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | ||
})(nodeInterop); | ||
} | ||
export default function _interopRequireWildcard(obj, nodeInterop) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'export' is only available in ES6 (use 'esversion: 6').
var cacheNodeInterop = new _WeakMap(); | ||
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { | ||
return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | ||
})(nodeInterop); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad invocation.
if (typeof _WeakMap !== "function") return null; | ||
var cacheBabelInterop = new _WeakMap(); | ||
var cacheNodeInterop = new _WeakMap(); | ||
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reassignment of '_getRequireWildcardCache', which is a function. Use 'var' or 'let' to declare bindings that may change.
No description provided.