Skip to content

Commit dd7a280

Browse files
committed
feat: ⬆️ upgrade dependencies
1 parent 80bfb50 commit dd7a280

File tree

9 files changed

+2061
-2660
lines changed

9 files changed

+2061
-2660
lines changed

.eslintrc.js

Lines changed: 22 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,23 @@
11
module.exports = {
2-
"env": {
3-
"browser": true,
4-
"commonjs": true,
5-
"node": true,
6-
"es6": true
7-
},
8-
"extends": "eslint:recommended",
9-
"parserOptions": {
10-
"ecmaVersion": 6
11-
},
12-
"globals": {
13-
"Paho": false
14-
},
15-
"rules": {
16-
"indent": [
17-
"warn",
18-
2
19-
],
20-
"quotes": [
21-
"warn",
22-
"single",
23-
{ "allowTemplateLiterals": true }
24-
],
25-
"semi": [
26-
"warn",
27-
"always"
28-
],
29-
"no-unused-vars": [
30-
"warn",
31-
{ "vars": "all", "args": "after-used", "ignoreRestSiblings": false }
32-
],
33-
"no-console": "off"
34-
}
35-
};
2+
env: {
3+
browser: true,
4+
commonjs: true,
5+
node: true,
6+
es6: true,
7+
},
8+
extends: "eslint:recommended",
9+
globals: {
10+
Paho: false,
11+
},
12+
rules: {
13+
indent: ["warn", 2],
14+
quotes: ["warn", "single", { allowTemplateLiterals: true }],
15+
semi: ["warn", "always"],
16+
"no-unused-vars": [
17+
"warn",
18+
{ vars: "all", args: "after-used", ignoreRestSiblings: false },
19+
],
20+
"no-console": "off",
21+
"no-prototype-builtins": "warn"
22+
},
23+
};

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 11.15.0

dist/webduino-all.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3069,8 +3069,6 @@ if (typeof exports !== 'undefined') {
30693069
};
30703070
}));
30713071

3072-
/* global Promise:true */
3073-
30743072
+(function (global, factory) {
30753073
if (typeof exports === 'undefined') {
30763074
factory(global.webduino || {});
@@ -3080,13 +3078,6 @@ if (typeof exports !== 'undefined') {
30803078
}(this, function (scope) {
30813079
'use strict';
30823080

3083-
if (typeof exports !== 'undefined' && typeof Promise === 'undefined') {
3084-
Promise = require('es6-promise').Promise;
3085-
}
3086-
3087-
// source:
3088-
// https://raw.githubusercontent.com/twistdigital/es6-promisify/release/2.0.0/lib/promisify.js
3089-
30903081
// Promise Context object constructor.
30913082
function Context(resolve, reject, custom) {
30923083
this.resolve = resolve;

dist/webduino-all.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/webduino-base.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3069,8 +3069,6 @@ if (typeof exports !== 'undefined') {
30693069
};
30703070
}));
30713071

3072-
/* global Promise:true */
3073-
30743072
+(function (global, factory) {
30753073
if (typeof exports === 'undefined') {
30763074
factory(global.webduino || {});
@@ -3080,13 +3078,6 @@ if (typeof exports !== 'undefined') {
30803078
}(this, function (scope) {
30813079
'use strict';
30823080

3083-
if (typeof exports !== 'undefined' && typeof Promise === 'undefined') {
3084-
Promise = require('es6-promise').Promise;
3085-
}
3086-
3087-
// source:
3088-
// https://raw.githubusercontent.com/twistdigital/es6-promisify/release/2.0.0/lib/promisify.js
3089-
30903081
// Promise Context object constructor.
30913082
function Context(resolve, reject, custom) {
30923083
this.resolve = resolve;

dist/webduino-base.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)