@omnia/velcron 8.0.112-vnext → 8.0.113-vnext

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.
@@ -5,11 +5,13 @@ class Future extends Promise {
5
5
  constructor(executor) {
6
6
  let resolveLocal;
7
7
  let rejectLocal;
8
- function onAborted(cb) {
8
+ // Cant have function here since this is undefined in setTimeout
9
+ // eslint-disable-next-line func-style
10
+ const onAborted = (cb) => {
9
11
  setTimeout(() => {
10
12
  this.onAborted = cb;
11
13
  });
12
- }
14
+ };
13
15
  function exec(resolve, reject) {
14
16
  // assign to local to prevent error assignbefore call super;
15
17
  resolveLocal = resolve;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "8.0.112-vnext",
4
+ "version": "8.0.113-vnext",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"