Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-notifications

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-notifications - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

.bithoundrc

5

bower.json
{
"name": "vue-notifications",
"version": "0.5.2",
"version": "0.6.0",
"description": "Vuejs notifications",

@@ -12,2 +12,5 @@ "main": "dist/vue-notifications.js",

"vue",
"toastr",
"toast",
"non-blocking",
"notifications",

@@ -14,0 +17,0 @@ "vuejs",

45

build/tasks/js.js

@@ -1,21 +0,22 @@

'use strict';
'use strict'
const gulp = require('gulp');
const gulp = require('gulp')
const config = require('../config');
const sourcemaps = require('gulp-sourcemaps');
const uglify = require('gulp-uglify');
const concat = require('gulp-concat');
const rename = require('gulp-rename');
const notify = require('gulp-notify');
const plumber = require('gulp-plumber');
const babel = require('gulp-babel');
const browserify = require('browserify');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');
const babelify = require('babelify');
const fs = require("fs");
const path = require("path");
const webpack = require('webpack-stream');
const config = require('../config')
const sourcemaps = require('gulp-sourcemaps')
const uglify = require('gulp-uglify')
const concat = require('gulp-concat')
const rename = require('gulp-rename')
const notify = require('gulp-notify')
const plumber = require('gulp-plumber')
const babel = require('gulp-babel')
const browserify = require('browserify')
const source = require('vinyl-source-stream')
const buffer = require('vinyl-buffer')
const babelify = require('babelify')
const fs = require("fs")
const path = require("path")
const webpack = require('webpack-stream')
const to = require('to-case')
const stripCode = require('gulp-strip-code')

@@ -30,3 +31,3 @@ gulp.task('js', () => {

// message: err.message
// };
// }
// })

@@ -40,2 +41,6 @@ // }))

.pipe(webpack(require('../webpack.config.js')))
.pipe(stripCode({
start_comment: "START.TESTS_ONLY",
end_comment: "END.TESTS_ONLY"
}))
.pipe(rename({ basename: config.projectName }))

@@ -49,3 +54,3 @@ .pipe(gulp.dest(config.dest))

.pipe(gulp.dest(config.dest))
;
});
})

@@ -116,2 +116,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

* @param {String} debugMsg
* @return {String}
*/

@@ -124,9 +125,7 @@ function showDefaultMessage(_ref) {

var msg = 'Title: ' + title + ', Message: ' + message + ', DebugMsg: ' + debugMsg;
var msg = 'Title: ' + title + ', Message: ' + message + ', DebugMsg: ' + debugMsg + ', type: ' + type;
if (type === TYPE.error) return console.error(msg);
if (type === TYPE.warn) return console.warn(msg);
if (type === TYPE.success) return console.info(msg);
if (type === TYPE.error) console.error(msg);else if (type === TYPE.warn) console.warn(msg);else if (type === TYPE.success) console.info(msg);else console.log(msg);
return console.log(msg);
return msg;
}

@@ -139,3 +138,3 @@

function showMessage(config, options) {
var method = options[config.type] || showDefaultMessage;
var method = options && options[config.type] ? options[config.type] : showDefaultMessage;
method(config);

@@ -147,9 +146,11 @@

/**
* @param {Object} type
* @param {Object} targetObj
* @param {Object} typesObj
* @param {Object} options
* @return {undefined}
* */
function addProtoMethods(type) {
(0, _keys2['default'])(type).forEach(function (v) {
VueNotifications[type[v]] = function (config) {
config.type = type[v];
function addProtoMethods(targetObj, typesObj, options) {
(0, _keys2['default'])(typesObj).forEach(function (v) {
targetObj[typesObj[v]] = function (config) {
config.type = typesObj[v];
return showMessage(config, options);

@@ -160,4 +161,52 @@ };

/**
* @param {String} name
* @param {Object} options
* @param {Object} pluginOptions
*/
function setMethod(name, options, pluginOptions) {
// TODO (S.Panfilov) not sure - throw error here or just warn
// if (options.methods[name]) throw console.error(MESSAGES.methodNameConflict + name)
if (options.methods[name]) {
console.error(MESSAGES.methodNameConflict + name);
} else {
options.methods[name] = makeMethod(name, options, pluginOptions);
}
}
/**
* @param {String} configName
* @param {Object} options
* @param {Object} pluginOptions
* @return {Function}
*/
function makeMethod(configName, options, pluginOptions) {
return function (config) {
var newConfig = {};
(0, _assign2['default'])(newConfig, VueNotifications.config);
(0, _assign2['default'])(newConfig, options[VueNotifications.propertyName][configName]);
(0, _assign2['default'])(newConfig, config);
return showMessage(newConfig, pluginOptions);
};
}
/**
* @param {Object} notifications
* @param {Object} pluginOptions
*/
function initVueNotificationPlugin(notifications, pluginOptions) {
var _this = this;
if (!notifications) return;
(0, _keys2['default'])(notifications).forEach(function (name) {
setMethod(name, _this.$options, pluginOptions);
});
this.$emit(PACKAGE_NAME + '-initiated');
}
var VueNotifications = {
type: TYPE,
propertyName: PROPERTY_NAME,
config: {

@@ -171,48 +220,14 @@ type: TYPE.info,

* @param {Function} Vue
* @param {Object} options
* @param {Object} pluginOptions
* @this VueNotifications
*/
install: function install(Vue) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var pluginOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
(0, _override2['default'])(Vue, PROPERTY_NAME);
if (this.installed) throw console.error(MESSAGES.alreadyInstalled);
/**
* @param {Object} notifications
*/
function _initVueNotificationPlugin(notifications) {
if (!notifications) return;
(0, _keys2['default'])(notifications).forEach(setMethod.bind(this));
this.$emit(PACKAGE_NAME + '-initiated');
}
/**
* @param {String} name
*/
function setMethod(name) {
if (this.$options.methods[name]) throw console.error(MESSAGES.methodNameConflict + name);
this.$options.methods[name] = makeMethod(name);
}
/**
* @param {String} configName
* @return {Function}
*/
function makeMethod(configName) {
return function (config) {
var newConfig = {};
(0, _assign2['default'])(newConfig, VueNotifications.config);
(0, _assign2['default'])(newConfig, this.$options[PROPERTY_NAME][configName]);
(0, _assign2['default'])(newConfig, config);
return showMessage(newConfig, options);
};
}
var mixin = {};
var hook = void 0;
(0, _override2['default'])(Vue, this.propertyName);
if (this.installed) throw console.error(MESSAGES.alreadyInstalled);
if (getVersion(Vue).major === VUE_VERSION.evangelion) hook = 'init';

@@ -222,7 +237,7 @@ if (getVersion(Vue).major === VUE_VERSION.ghostInTheShell) hook = 'beforeCreate';

mixin[hook] = function () {
_initVueNotificationPlugin.call(this, this.$options[PROPERTY_NAME]);
initVueNotificationPlugin.call(this, this.$options[VueNotifications.propertyName], pluginOptions);
};
Vue.mixin(mixin);
addProtoMethods(TYPE);
addProtoMethods(this, this.type, pluginOptions);

@@ -237,2 +252,3 @@ this.installed = true;

exports['default'] = VueNotifications;

@@ -239,0 +255,0 @@

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("VueNotifications",[],e):"object"==typeof exports?exports.VueNotifications=e():t.VueNotifications=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=t.version.match(/(\d+)/g);return{major:+e[0],regular:+e[1],minor:+e[2]}}function i(t){var e=t.type,n=t.message,o=t.title,r=t.debugMsg,i="Title: "+o+", Message: "+n+", DebugMsg: "+r;return e===g.error?console.error(i):e===g.warn?console.warn(i):e===g.success?console.info(i):console.log(i)}function c(t,e){var n=e[t.type]||i;if(n(t),t.cb)return t.cb()}function s(t){(0,l.default)(t).forEach(function(e){x[t[e]]=function(n){return n.type=t[e],c(n,options)}})}Object.defineProperty(e,"__esModule",{value:!0});var u=n(1),f=o(u),a=n(16),l=o(a),p=n(20),d=o(p),h="VueNotifications",y="vue-notifications",v="notifications",g={error:"error",warn:"warn",info:"info",success:"success"},b={evangelion:1,ghostInTheShell:2},m={alreadyInstalled:h+": plugin already installed",methodNameConflict:h+": names conflict - "},x={type:g,config:{type:g.info,timeout:3e3},installed:!1,install:function(t){function e(t){t&&((0,l.default)(t).forEach(n.bind(this)),this.$emit(y+"-initiated"))}function n(t){if(this.$options.methods[t])throw console.error(m.methodNameConflict+t);this.$options.methods[t]=o(t)}function o(t){return function(e){var n={};return(0,f.default)(n,x.config),(0,f.default)(n,this.$options[v][t]),(0,f.default)(n,e),c(n,i)}}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,d.default)(t,v),this.installed)throw console.error(m.alreadyInstalled);var u={},a=void 0;r(t).major===b.evangelion&&(a="init"),r(t).major===b.ghostInTheShell&&(a="beforeCreate"),u[a]=function(){e.call(this,this.$options[v])},t.mixin(u),s(g),this.installed=!0}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(x),e.default=x},function(t,e,n){t.exports={default:n(2),__esModule:!0}},function(t,e,n){n(3),t.exports=n(6).Object.assign},function(t,e,n){var o=n(4);o(o.S+o.F,"Object",{assign:n(9)})},function(t,e,n){var o=n(5),r=n(6),i=n(7),c="prototype",s=function(t,e,n){var u,f,a,l=t&s.F,p=t&s.G,d=t&s.S,h=t&s.P,y=t&s.B,v=t&s.W,g=p?r:r[e]||(r[e]={}),b=p?o:d?o[e]:(o[e]||{})[c];p&&(n=e);for(u in n)f=!l&&b&&u in b,f&&u in g||(a=f?b[u]:n[u],g[u]=p&&"function"!=typeof b[u]?n[u]:y&&f?i(a,o):v&&b[u]==a?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e[c]=t[c],e}(a):h&&"function"==typeof a?i(Function.call,a):a,h&&((g[c]||(g[c]={}))[u]=a))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var o=n(8);t.exports=function(t,e,n){if(o(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,r){return t.call(e,n,o,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var o=n(10),r=n(11),i=n(13);t.exports=n(15)(function(){var t=Object.assign,e={},n={},o=Symbol(),r="abcdefghijklmnopqrst";return e[o]=7,r.split("").forEach(function(t){n[t]=t}),7!=t({},e)[o]||Object.keys(t({},n)).join("")!=r})?function(t,e){for(var n=r(t),c=arguments,s=c.length,u=1,f=o.getKeys,a=o.getSymbols,l=o.isEnum;s>u;)for(var p,d=i(c[u++]),h=a?f(d).concat(a(d)):f(d),y=h.length,v=0;y>v;)l.call(d,p=h[v++])&&(n[p]=d[p]);return n}:Object.assign},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){var o=n(12);t.exports=function(t){return Object(o(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var o=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){t.exports={default:n(17),__esModule:!0}},function(t,e,n){n(18),t.exports=n(6).Object.keys},function(t,e,n){var o=n(11);n(19)("keys",function(t){return function(e){return t(o(e))}})},function(t,e,n){var o=n(4),r=n(6),i=n(15);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],c={};c[t]=e(n),o(o.S+o.F*i(function(){n(1)}),"Object",c)}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){function n(){if(this[e])throw console.error('Override: property "'+e+'" is already defined');this[e]={};var t=this.$options,n=t[e];n?this[e]=n:t.parent&&t.parent[e]&&(this[e]=t.parent[e])}var o=t.prototype._init,r=t.prototype._destroy;t.prototype._init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.init=t.init?[n].concat(t.init):n,o.call(this,t)},t.prototype._destroy=function(){this[e]&&(this[e]=void 0,delete this[e]),r.apply(this,arguments)}}}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("VueNotifications",[],e):"object"==typeof exports?exports.VueNotifications=e():t.VueNotifications=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return t[o].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=t.version.match(/(\d+)/g);return{major:+e[0],regular:+e[1],minor:+e[2]}}function i(t){var e=t.type,n=t.message,o=t.title,r=t.debugMsg,i="Title: "+o+", Message: "+n+", DebugMsg: "+r+", type: "+e;return e===x.error?console.error(i):e===x.warn?console.warn(i):e===x.success?console.info(i):console.log(i),i}function c(t,e){var n=e&&e[t.type]?e[t.type]:i;if(n(t),t.cb)return t.cb()}function u(t,e,n){(0,y.default)(e).forEach(function(o){t[e[o]]=function(t){return t.type=e[o],c(t,n)}})}function s(t,e,n){e.methods[t]?console.error(j.methodNameConflict+t):e.methods[t]=f(t,e,n)}function f(t,e,n){return function(o){var r={};return(0,p.default)(r,_.config),(0,p.default)(r,e[_.propertyName][t]),(0,p.default)(r,o),c(r,n)}}function a(t,e){var n=this;t&&((0,y.default)(t).forEach(function(t){s(t,n.$options,e)}),this.$emit(m+"-initiated"))}Object.defineProperty(e,"__esModule",{value:!0});var l=n(1),p=o(l),d=n(16),y=o(d),h=n(20),v=o(h),g="VueNotifications",m="vue-notifications",b="notifications",x={error:"error",warn:"warn",info:"info",success:"success"},w={evangelion:1,ghostInTheShell:2},j={alreadyInstalled:g+": plugin already installed",methodNameConflict:g+": names conflict - "},_={type:x,propertyName:b,config:{type:x.info,timeout:3e3},installed:!1,install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},o=void 0;if((0,v.default)(t,this.propertyName),this.installed)throw console.error(j.alreadyInstalled);r(t).major===w.evangelion&&(o="init"),r(t).major===w.ghostInTheShell&&(o="beforeCreate"),n[o]=function(){a.call(this,this.$options[_.propertyName],e)},t.mixin(n),u(this,this.type,e),this.installed=!0}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(_),e.default=_},function(t,e,n){t.exports={default:n(2),__esModule:!0}},function(t,e,n){n(3),t.exports=n(6).Object.assign},function(t,e,n){var o=n(4);o(o.S+o.F,"Object",{assign:n(9)})},function(t,e,n){var o=n(5),r=n(6),i=n(7),c="prototype",u=function(t,e,n){var s,f,a,l=t&u.F,p=t&u.G,d=t&u.S,y=t&u.P,h=t&u.B,v=t&u.W,g=p?r:r[e]||(r[e]={}),m=p?o:d?o[e]:(o[e]||{})[c];p&&(n=e);for(s in n)f=!l&&m&&s in m,f&&s in g||(a=f?m[s]:n[s],g[s]=p&&"function"!=typeof m[s]?n[s]:h&&f?i(a,o):v&&m[s]==a?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e[c]=t[c],e}(a):y&&"function"==typeof a?i(Function.call,a):a,y&&((g[c]||(g[c]={}))[s]=a))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,t.exports=u},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var o=n(8);t.exports=function(t,e,n){if(o(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,r){return t.call(e,n,o,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var o=n(10),r=n(11),i=n(13);t.exports=n(15)(function(){var t=Object.assign,e={},n={},o=Symbol(),r="abcdefghijklmnopqrst";return e[o]=7,r.split("").forEach(function(t){n[t]=t}),7!=t({},e)[o]||Object.keys(t({},n)).join("")!=r})?function(t,e){for(var n=r(t),c=arguments,u=c.length,s=1,f=o.getKeys,a=o.getSymbols,l=o.isEnum;u>s;)for(var p,d=i(c[s++]),y=a?f(d).concat(a(d)):f(d),h=y.length,v=0;h>v;)l.call(d,p=y[v++])&&(n[p]=d[p]);return n}:Object.assign},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){var o=n(12);t.exports=function(t){return Object(o(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var o=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){t.exports={default:n(17),__esModule:!0}},function(t,e,n){n(18),t.exports=n(6).Object.keys},function(t,e,n){var o=n(11);n(19)("keys",function(t){return function(e){return t(o(e))}})},function(t,e,n){var o=n(4),r=n(6),i=n(15);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],c={};c[t]=e(n),o(o.S+o.F*i(function(){n(1)}),"Object",c)}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){function n(){if(this[e])throw console.error('Override: property "'+e+'" is already defined');this[e]={};var t=this.$options,n=t[e];n?this[e]=n:t.parent&&t.parent[e]&&(this[e]=t.parent[e])}var o=t.prototype._init,r=t.prototype._destroy;t.prototype._init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.init=t.init?[n].concat(t.init):n,o.call(this,t)},t.prototype._destroy=function(){this[e]&&(this[e]=void 0,delete this[e]),r.apply(this,arguments)}}}])});
//# sourceMappingURL=vue-notifications.min.js.map
{
"name": "vue-notifications",
"version": "0.5.2",
"version": "0.6.0",
"description": "Vuejs notifications",

@@ -11,3 +11,3 @@ "main": "dist/vue-notifications.js",

"upgrade": "npm upgrade",
"test": "echo \"who needs tests when you put asserts everywhere\" && exit 1"
"test": "mocha --compilers js:babel-core/register ./test/**/*.spec.js"
},

@@ -20,2 +20,5 @@ "repository": {

"vue",
"toastr",
"toast",
"non-blocking",
"notifications",

@@ -61,7 +64,11 @@ "vuejs",

"gulp-sourcemaps": "^1.6.0",
"gulp-strip-code": "^0.1.4",
"gulp-todo": "^5.0.0",
"gulp-uglify": "^2.0.0",
"gulp-watch": "^4.3.10",
"mocha": "^3.1.2",
"require-dir": "^0.3.0",
"run-sequence": "^1.2.2",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"source": "0.0.3",

@@ -68,0 +75,0 @@ "through2": "^2.0.1",

@@ -34,3 +34,3 @@ [![Codacy Badge](https://api.codacy.com/project/badge/grade/874e7dce623149e18807bdc0a02671c2)](https://www.codacy.com/app/se-panfilov/vue-notifications)

```JS
import VueNotifications from 'vue-notifications'
import VueNotifications from 'vue-notifications'
```

@@ -42,3 +42,3 @@

##Setup and configuraton
##Setup and configuration

@@ -92,2 +92,9 @@ **Attention:** By default VueNotification send all messages _to console_. To activate non-blocking notifiction you've got to use third-party library, like toasr. I suggest you to use [mini-toastr][2] (`npm i mini-toastr --save`)

Also you can use any other word instead of `notifications` for configs:
```JS
VueNotifications.propertyName = 'messages'
Vue.use(VueNotifications, options)
```
##Usage

@@ -158,3 +165,3 @@

| `message` | `String` | `undefined` | Notification's body message. Normally should be set up; |
| `timeout` | `Number` | `3000` | time before notifications gone |
| `timeout` | `Number` | `3000` | time before notifications gone |
| `cb` | `Function` | `undefined` | Callback function; |

@@ -202,3 +209,3 @@

Not tested atm. But all modern at least.
You can use `ES5` or `ES6` versions as well.
You can use `ES5` or `ES6` versions as well.

@@ -205,0 +212,0 @@ ###ROADMAP:

### TODOs
| Filename | line # | TODO
|:------|:------:|:------
|:------|:------:|:------
| main.js | 87 | @S.Panfilov not sure - throw error here or just warn

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc