Skip to content

Commit ecea4fc

Browse files
authored
Merge branch 'master' into snyk-upgrade-9fb3aa05485df04db77f7725b87eeb4d
2 parents d5e3bfe + 97e42a7 commit ecea4fc

File tree

8 files changed

+2166
-389
lines changed

8 files changed

+2166
-389
lines changed

npmpublish.yml renamed to .github/workflows/npmpublish-alpha.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
name: Node.js Package
1+
name: Publish Alpha
22

33
on:
4-
release:
5-
types: [created]
4+
push:
5+
branches:
6+
- alpha
67

78
jobs:
89
build:
@@ -13,7 +14,9 @@ jobs:
1314
with:
1415
node-version: 12
1516
- run: npm ci
17+
- run: npm run lint
1618
- run: npm test
19+
- run: npm run build
1720

1821
publish-npm:
1922
needs: build
@@ -27,7 +30,7 @@ jobs:
2730
- run: npm ci
2831
- run: npm publish
2932
env:
30-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
33+
NODE_AUTH_TOKEN: ${{secrets.NPM_REGISTRY_TOKEN}}
3134

3235
publish-gpr:
3336
needs: build
@@ -38,7 +41,7 @@ jobs:
3841
with:
3942
node-version: 12
4043
registry-url: https://npm.pkg.github.com/
41-
scope: '@your-github-username'
44+
scope: '@jrtnq514'
4245
- run: npm ci
4346
- run: npm publish
4447
env:

.snyk

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-HTTPSPROXYAGENT-469131:
7+
- npm > libcipm > pacote > make-fetch-happen > https-proxy-agent:
8+
patched: '2019-11-15T16:39:57.585Z'
9+
- npm > pacote > make-fetch-happen > https-proxy-agent:
10+
patched: '2019-11-15T16:39:57.585Z'
11+
- npm > libnpmaccess > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
12+
patched: '2019-11-15T16:39:57.585Z'
13+
- npm > libnpmhook > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
14+
patched: '2019-11-15T16:39:57.585Z'
15+
- npm > libnpmorg > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
16+
patched: '2019-11-15T16:39:57.585Z'
17+
- npm > libnpmsearch > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
18+
patched: '2019-11-15T16:39:57.585Z'
19+
- npm > pacote > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
20+
patched: '2019-11-15T16:39:57.585Z'
21+
- npm > npm-profile > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
22+
patched: '2019-11-15T16:39:57.585Z'
23+
- npm > libnpm > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
24+
patched: '2019-11-15T16:39:57.585Z'
25+
- npm > libnpm > pacote > make-fetch-happen > https-proxy-agent:
26+
patched: '2019-11-15T16:39:57.585Z'
27+
- npm > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
28+
patched: '2019-11-15T16:39:57.585Z'
29+
- npm > libnpmteam > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
30+
patched: '2019-11-15T16:39:57.585Z'
31+
- npm > libnpm > libnpmteam > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
32+
patched: '2019-11-15T16:39:57.585Z'
33+
- npm > libnpm > libnpmaccess > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
34+
patched: '2019-11-15T16:39:57.585Z'
35+
- npm > libnpm > npm-profile > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
36+
patched: '2019-11-15T16:39:57.585Z'
37+
- npm > libnpm > libnpmorg > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
38+
patched: '2019-11-15T16:39:57.585Z'
39+
- npm > libcipm > pacote > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
40+
patched: '2019-11-15T16:39:57.585Z'
41+
- npm > libnpm > libnpmpublish > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
42+
patched: '2019-11-15T16:39:57.585Z'
43+
- npm > libnpm > pacote > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
44+
patched: '2019-11-15T16:39:57.585Z'
45+
- npm > libnpm > libnpmhook > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
46+
patched: '2019-11-15T16:39:57.585Z'
47+
- npm > libnpm > libnpmsearch > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
48+
patched: '2019-11-15T16:39:57.585Z'

dist/vue-user-timeout.es5.js

Lines changed: 63 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,71 @@
1-
function _typeof(obj) {
2-
if (typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol') {
3-
_typeof = function _typeof(obj) {
4-
return typeof obj;
5-
};
6-
} else {
7-
_typeof = function _typeof(obj) {
8-
return obj &&
9-
typeof Symbol === 'function' &&
10-
obj.constructor === Symbol &&
11-
obj !== Symbol.prototype
12-
? 'symbol'
13-
: typeof obj;
1+
"use strict";
2+
3+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4+
5+
!function (e) {
6+
var t = {};
7+
8+
function n(r) {
9+
if (t[r]) return t[r].exports;
10+
var o = t[r] = {
11+
i: r,
12+
l: !1,
13+
exports: {}
1414
};
15+
return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
1516
}
16-
return _typeof(obj);
17-
}
18-
19-
const userTimeout = require('./lib/userTimeout');
2017

21-
(function() {
22-
/**
23-
* Install plugin
24-
* @param Vue
25-
* @param options
26-
*/
27-
function plugin(Vue, axios) {
28-
if (plugin.installed) {
29-
return;
18+
n.m = e, n.c = t, n.d = function (e, t, r) {
19+
n.o(e, t) || Object.defineProperty(e, t, {
20+
enumerable: !0,
21+
get: r
22+
});
23+
}, n.r = function (e) {
24+
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
25+
value: "Module"
26+
}), Object.defineProperty(e, "__esModule", {
27+
value: !0
28+
});
29+
}, n.t = function (e, t) {
30+
if (1 & t && (e = n(e)), 8 & t) return e;
31+
if (4 & t && "object" == _typeof(e) && e && e.__esModule) return e;
32+
var r = Object.create(null);
33+
if (n.r(r), Object.defineProperty(r, "default", {
34+
enumerable: !0,
35+
value: e
36+
}), 2 & t && "string" != typeof e) for (var o in e) {
37+
n.d(r, o, function (t) {
38+
return e[t];
39+
}.bind(null, o));
3040
}
41+
return r;
42+
}, n.n = function (e) {
43+
var t = e && e.__esModule ? function () {
44+
return e["default"];
45+
} : function () {
46+
return e;
47+
};
48+
return n.d(t, "a", t), t;
49+
}, n.o = function (e, t) {
50+
return Object.prototype.hasOwnProperty.call(e, t);
51+
}, n.p = "", n(n.s = 0);
52+
}([function (e, t, n) {
53+
var r = n(1);
3154

32-
plugin.installed = true;
33-
Vue.$userTimeout = userTimeout;
34-
Object.defineProperties(Vue.prototype, {
55+
e.exports = function e(t, n) {
56+
e.installed || (e.installed = !0, t.$userTimeout = r, Object.defineProperties(t.prototype, {
3557
$userTimeout: {
3658
get: function get() {
37-
return userTimeout;
38-
},
39-
},
40-
});
41-
} // Logic to determine how to include the plugin
59+
return r;
60+
}
61+
}
62+
}));
63+
};
64+
}, function (e, t, n) {
65+
"use strict";
4266

43-
if (
44-
(typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) ==
45-
'object'
46-
) {
47-
module.exports = plugin;
48-
} else if (typeof define === 'function' && define.amd) {
49-
define([], function() {
50-
return plugin;
51-
});
52-
} else if (window.Vue && typeof window !== 'undefined') {
53-
Vue.use(plugin, options);
54-
}
55-
})();
67+
n.r(t), t["default"] = {
68+
test: "Test",
69+
init: function init(e) {}
70+
};
71+
}]);

dist/vue-user-timeout.min.es5.js

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

0 commit comments

Comments
 (0)