Skip to content

Commit

Permalink
Merge branch 'master' into snyk-upgrade-9fb3aa05485df04db77f7725b87eeb4d
Browse files Browse the repository at this point in the history
  • Loading branch information
jrtnq514 committed Dec 9, 2019
2 parents d5e3bfe + 97e42a7 commit ecea4fc
Show file tree
Hide file tree
Showing 8 changed files with 2,166 additions and 389 deletions.
13 changes: 8 additions & 5 deletions npmpublish.yml → .github/workflows/npmpublish-alpha.yml
@@ -1,8 +1,9 @@
name: Node.js Package
name: Publish Alpha

on:
release:
types: [created]
push:
branches:
- alpha

jobs:
build:
Expand All @@ -13,7 +14,9 @@ jobs:
with:
node-version: 12
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build

publish-npm:
needs: build
Expand All @@ -27,7 +30,7 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_REGISTRY_TOKEN}}

publish-gpr:
needs: build
Expand All @@ -38,7 +41,7 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@your-github-username'
scope: '@jrtnq514'
- run: npm ci
- run: npm publish
env:
Expand Down
48 changes: 48 additions & 0 deletions .snyk
@@ -0,0 +1,48 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-HTTPSPROXYAGENT-469131:
- npm > libcipm > pacote > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > pacote > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpmaccess > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpmhook > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpmorg > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpmsearch > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > pacote > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > npm-profile > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > pacote > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpmteam > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > libnpmteam > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > libnpmaccess > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > npm-profile > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > libnpmorg > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libcipm > pacote > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > libnpmpublish > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > pacote > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > libnpmhook > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
- npm > libnpm > libnpmsearch > npm-registry-fetch > make-fetch-happen > https-proxy-agent:
patched: '2019-11-15T16:39:57.585Z'
110 changes: 63 additions & 47 deletions dist/vue-user-timeout.es5.js
@@ -1,55 +1,71 @@
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;
"use strict";

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); }

!function (e) {
var t = {};

function n(r) {
if (t[r]) return t[r].exports;
var o = t[r] = {
i: r,
l: !1,
exports: {}
};
return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
}
return _typeof(obj);
}

const userTimeout = require('./lib/userTimeout');

(function() {
/**
* Install plugin
* @param Vue
* @param options
*/
function plugin(Vue, axios) {
if (plugin.installed) {
return;
n.m = e, n.c = t, n.d = function (e, t, r) {
n.o(e, t) || Object.defineProperty(e, t, {
enumerable: !0,
get: r
});
}, n.r = function (e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(e, "__esModule", {
value: !0
});
}, n.t = function (e, t) {
if (1 & t && (e = n(e)), 8 & t) return e;
if (4 & t && "object" == _typeof(e) && e && e.__esModule) return e;
var r = Object.create(null);
if (n.r(r), Object.defineProperty(r, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e) for (var o in e) {
n.d(r, o, function (t) {
return e[t];
}.bind(null, o));
}
return r;
}, n.n = function (e) {
var t = e && e.__esModule ? function () {
return e["default"];
} : function () {
return e;
};
return n.d(t, "a", t), t;
}, n.o = function (e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}, n.p = "", n(n.s = 0);
}([function (e, t, n) {
var r = n(1);

plugin.installed = true;
Vue.$userTimeout = userTimeout;
Object.defineProperties(Vue.prototype, {
e.exports = function e(t, n) {
e.installed || (e.installed = !0, t.$userTimeout = r, Object.defineProperties(t.prototype, {
$userTimeout: {
get: function get() {
return userTimeout;
},
},
});
} // Logic to determine how to include the plugin
return r;
}
}
}));
};
}, function (e, t, n) {
"use strict";

if (
(typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) ==
'object'
) {
module.exports = plugin;
} else if (typeof define === 'function' && define.amd) {
define([], function() {
return plugin;
});
} else if (window.Vue && typeof window !== 'undefined') {
Vue.use(plugin, options);
}
})();
n.r(t), t["default"] = {
test: "Test",
init: function init(e) {}
};
}]);
39 changes: 1 addition & 38 deletions dist/vue-user-timeout.min.es5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecea4fc

Please sign in to comment.