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

bellajs

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bellajs - npm Package Compare versions

Comparing version 7.0.1 to 7.0.4

reset.js

6

dist/bella.js
/**
* bellajs@7.0.1
* built on: Sat, 03 Jun 2017 15:15:24 GMT
* bellajs@7.0.4
* built on: Sun, 04 Jun 2017 15:44:00 GMT
* repository: https://github.com/ndaidong/bellajs

@@ -10,3 +10,3 @@ * maintainer: @ndaidong

typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('bella', ['exports'], factory) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.bella = global.bella || {})));

@@ -13,0 +13,0 @@ }(this, (function (exports) { 'use strict';

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

// bellajs@7.0.1, by @ndaidong - built on Sat, 03 Jun 2017 15:15:24 GMT - published under MIT license
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define("bella",["exports"],r):r(n.bella=n.bella||{})}(this,function(n){"use strict";var r=function(){for(var n=[],r=0;64>r;)n[r]=0|4294967296*Math.abs(Math.sin(++r));return function(r){for(var e,t,i,o,a=[],u=(r=unescape(encodeURI(r))).length,c=[e=1732584193,t=-271733879,~e,~t],f=0;f<=u;)a[f>>2]|=(r.charCodeAt(f)||128)<<f++%4*8;for(a[r=16*(u+8>>6)+14]=8*u,f=0;f<r;f+=16){for(u=c,o=0;64>o;)u=[i=u[3],(e=0|u[1])+((i=u[0]+[e&(t=u[2])|~e&i,i&e|~i&t,e^t^i,t^(e|~i)][u=o>>4]+(n[o]+(0|a[[o,5*o+1,3*o+5,7*o][u]%16+f])))<<(u=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*u+o++%4])|i>>>32-u),e,t];for(o=4;o;)c[--o]=c[o]+u[o]}for(r="";32>o;)r+=(c[o>>3]>>4*(1^7&o++)&15).toString(16);return r}}(),e=function(n){if(Array.isArray(n)){for(var r=0,e=Array(n.length);r<n.length;r++)e[r]=n[r];return e}return Array.from(n)},t=Number.MAX_SAFE_INTEGER,i=function(n){return{}.toString.call(n)},o=function(n){return"[object Null]"===i(n)},a=function(n){return"[object Undefined]"===i(n)},u=function(n){return"[object Function]"===i(n)},c=function(n){return"[object String]"===i(n)},f=function(n){return"[object Number]"===i(n)},l=function(n){return Number.isInteger(n)},s=function(n){return Array.isArray(n)},g=function(n){return"[object Object]"===i(n)&&!s(n)},p=function(n){return!0===n||!1===n},h=function(n){return n instanceof Date&&!isNaN(n.valueOf())},v=function(n){return i(n).match(/^\[object HTML\w*Element]$/)},d=function(n){var r=/^[a-z]+$/i;return c(n)&&r.test(n)},m=function(n){var r=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;return c(n)&&r.test(n)},b=function(n){return!n||a(n)||o(n)||c(n)&&""===n||s(n)&&"[]"===JSON.stringify(n)||g(n)&&"{}"===JSON.stringify(n)},w=function(n,r){return!(!n||!r)&&Object.prototype.hasOwnProperty.call(n,r)},y=function n(r,e){var t=!0;if(b(r)&&b(e))return!0;if(h(r)&&h(e))return r.getTime()===e.getTime();if(f(r)&&f(e)||c(r)&&c(e))return r===e;if(s(r)&&s(e)){if(r.length!==e.length)return!1;if(r.length>0)for(var i=0,o=r.length;i<o;i++)if(!n(r[i],e[i])){t=!1;break}}else if(g(r)&&g(e)){var a=[],u=[];for(var l in r)w(r,l)&&a.push(l);for(var p in e)w(e,p)&&u.push(p);if(a.length!==u.length)return!1;for(var v in r)if(!w(e,v)||!n(r[v],e[v])){t=!1;break}}return t},j=function(n){var r=f(n)?String(n):n;if(!c(r))throw new Error("InvalidInput: String required.");return r},A=function(n){var r=j(n);return encodeURIComponent(r)},E=function(n){var r=j(n);return decodeURIComponent(r.replace(/\+/g," "))},M=function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=j(n);return(e=e.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""))&&r&&(e=e.replace(/\r?\n|\r/g," ").replace(/\s\s+|\r/g," ")),e},S=function(n,r){var e=j(n),t=r||140;if(e.length<=t)return e;var i=e.substring(0,t),o=i.split(" "),a="";return o.length>1?(o.pop(),(a+=o.join(" ")).length<e.length&&(a+="...")):a=(i=i.substring(0,t-3))+"...",a},O=function(n){var r=j(n);return M(r.replace(/<.*?>/gi," ").replace(/\s\s+/g," "))},N=function(n){return j(n).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},x=function(n){return j(n).replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")},I=function(n){var r=j(n);return 1===r.length?r.toUpperCase():(r=r.toLowerCase()).charAt(0).toUpperCase()+r.slice(1)},C=function(n){var r=[];return j(n).split(" ").forEach(function(n){r.push(I(n))}),r.join(" ")},U=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",t=j(n);return t.length>=r?t:new Array(r-t.length+1).join(e)+t},R=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",t=j(n);return t.length>=r?t:t+new Array(r-t.length+1).join(e)},T=function(n,r){var e=j(n);if(!l(r)||r<1)return e;if(e.length*r>=1<<28)throw new RangeError("Repeat count must not overflow maximum string size.");var t=[];return t.length=r,t.fill(e,0,r).join("")},D=function n(r,e,t){var i=j(r);if(f(e)&&(e=String(e)),f(t)&&(t=String(t)),c(e)&&c(t)){var o=i.split(e);i=o.join(t)}else if(s(e)&&c(t))e.forEach(function(r){i=n(i,r,t)});else if(s(e)&&s(t)&&e.length===t.length){var a=e.length;if(a>0)for(var u=0;u<a;u++){var l=e[u],g=t[u];i=n(i,l,g)}}return i},L=function(n){var r=j(n),e={a:"á|à|ả|ã|ạ|ă|ắ|ặ|ằ|ẳ|ẵ|â|ấ|ầ|ẩ|ẫ|ậ|ä",A:"Á|À|Ả|Ã|Ạ|Ă|Ắ|Ặ|Ằ|Ẳ|Ẵ|Â|Ấ|Ầ|Ẩ|Ẫ|Ậ|Ä",c:"ç",C:"Ç",d:"đ",D:"Đ",e:"é|è|ẻ|ẽ|ẹ|ê|ế|ề|ể|ễ|ệ|ë",E:"É|È|Ẻ|Ẽ|Ẹ|Ê|Ế|Ề|Ể|Ễ|Ệ|Ë",i:"í|ì|ỉ|ĩ|ị|ï|î",I:"Í|Ì|Ỉ|Ĩ|Ị|Ï|Î",o:"ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ|ö",O:"Ó|Ò|Ỏ|Õ|Ọ|Ô|Ố|Ồ|Ổ|Ô|Ộ|Ơ|Ớ|Ờ|Ở|Ỡ|Ợ|Ö",u:"ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự|û",U:"Ú|Ù|Ủ|Ũ|Ụ|Ư|Ứ|Ừ|Ử|Ữ|Ự|Û",y:"ý|ỳ|ỷ|ỹ|ỵ",Y:"Ý|Ỳ|Ỷ|Ỹ|Ỵ"},t=function(n,e){r=D(r,n,e)};for(var i in e)!function(n){w(e,n)&&e[n].split("|").forEach(function(r){return t(r,n)})}(i);return r},P=function(n,r){var e=M(L(n)),t=r||"-";return e.toLowerCase().replace(/\W+/g," ").replace(/\s+/g," ").replace(/\s/g,t)},k=function(n,r){var e=[];return r&&(c(r)||g(r)||s(r))?function n(r,t,i){i&&e.push(i);var o=[];for(var a in t)if(w(t,a)){var u=t[a];if(f(u)&&(u=String(u)),g(u)||s(u))o.push({key:a,data:u});else if(c(u)){u=D(u,["{","}"],["&#123;","&#125;"]);var l=e.concat([a]),p=new RegExp("{"+l.join(".")+"}","gi");r=r.replace(p,u)}}return o.length>0&&o.forEach(function(e){r=n(r,e.data,e.key)}),M(r,!0)}(n,r):n},q=function(n){return{compile:function(r){return k(n,r)}}},z=function(n,r){if((!n||n<0)&&(n=0),r||(r=t),n===r)return r;n>r&&(n=Math.min(n,r),r=Math.max(n,r));var e=n,i=r-n+1;return Math.floor(Math.random()*i)+e},$=function(n){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e="abcdefghijklmnopqrstuvwxyz",t=[e,e.toUpperCase(),"0123456789"].join("").split("").sort(function(){return Math.random()>.5}).join(""),i=t.length,o=Math.max(n||32,r.length),a=r;a.length<o;){var u=z(0,i);a+=t.charAt(u)||""}return a},_=function n(r){if(h(r))return new Date(r.valueOf());var t=function(r){var e=Object.create({});for(var t in r)w(r,t)&&(e[t]=n(r[t]));return e};return s(r)?function r(i){return[].concat(e(i)).map(function(e){return s(e)?r(e):g(e)?t(e):n(e)})}(r):g(r)?t(r):r},F=function n(r,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];for(var o in r)if(!(i.length>0&&i.includes(o))&&(!t||t&&e.hasOwnProperty(o))){var a=r[o],u=e[o];g(u)&&g(a)||s(u)&&s(a)?e[o]=n(a,e[o],t,i):e[o]=_(a)}return e},H=function(){return new Date},J=function(){return Date.now()};n.isNull=o,n.isUndefined=a,n.isFunction=u,n.isString=c,n.isNumber=f,n.isInteger=l,n.isArray=s,n.isObject=g,n.isBoolean=p,n.isDate=h,n.isElement=v,n.isLetter=d,n.isEmail=m,n.isEmpty=b,n.hasProperty=w,n.equals=y,n.toString=j,n.encode=A,n.decode=E,n.trim=M,n.truncate=S,n.stripTags=O,n.escapeHTML=N,n.unescapeHTML=x,n.ucfirst=I,n.ucwords=C,n.leftPad=U,n.rightPad=R,n.repeat=T,n.replaceAll=D,n.stripAccent=L,n.createAlias=P,n.template=q,n.random=z,n.createId=$,n.clone=_,n.copies=F,n.now=H,n.time=J,n.md5=r,Object.defineProperty(n,"__esModule",{value:!0})});
// bellajs@7.0.4, by @ndaidong - built on Sun, 04 Jun 2017 15:44:00 GMT - published under MIT license
!function(n,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(n.bella=n.bella||{})}(this,function(n){"use strict";var r=function(){for(var n=[],r=0;64>r;)n[r]=0|4294967296*Math.abs(Math.sin(++r));return function(r){for(var e,t,i,o,a=[],u=(r=unescape(encodeURI(r))).length,c=[e=1732584193,t=-271733879,~e,~t],f=0;f<=u;)a[f>>2]|=(r.charCodeAt(f)||128)<<f++%4*8;for(a[r=16*(u+8>>6)+14]=8*u,f=0;f<r;f+=16){for(u=c,o=0;64>o;)u=[i=u[3],(e=0|u[1])+((i=u[0]+[e&(t=u[2])|~e&i,i&e|~i&t,e^t^i,t^(e|~i)][u=o>>4]+(n[o]+(0|a[[o,5*o+1,3*o+5,7*o][u]%16+f])))<<(u=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*u+o++%4])|i>>>32-u),e,t];for(o=4;o;)c[--o]=c[o]+u[o]}for(r="";32>o;)r+=(c[o>>3]>>4*(1^7&o++)&15).toString(16);return r}}(),e=function(n){if(Array.isArray(n)){for(var r=0,e=Array(n.length);r<n.length;r++)e[r]=n[r];return e}return Array.from(n)},t=Number.MAX_SAFE_INTEGER,i=function(n){return{}.toString.call(n)},o=function(n){return"[object Null]"===i(n)},a=function(n){return"[object Undefined]"===i(n)},u=function(n){return"[object Function]"===i(n)},c=function(n){return"[object String]"===i(n)},f=function(n){return"[object Number]"===i(n)},l=function(n){return Number.isInteger(n)},s=function(n){return Array.isArray(n)},g=function(n){return"[object Object]"===i(n)&&!s(n)},p=function(n){return!0===n||!1===n},h=function(n){return n instanceof Date&&!isNaN(n.valueOf())},v=function(n){return i(n).match(/^\[object HTML\w*Element]$/)},d=function(n){var r=/^[a-z]+$/i;return c(n)&&r.test(n)},m=function(n){var r=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;return c(n)&&r.test(n)},b=function(n){return!n||a(n)||o(n)||c(n)&&""===n||s(n)&&"[]"===JSON.stringify(n)||g(n)&&"{}"===JSON.stringify(n)},w=function(n,r){return!(!n||!r)&&Object.prototype.hasOwnProperty.call(n,r)},y=function n(r,e){var t=!0;if(b(r)&&b(e))return!0;if(h(r)&&h(e))return r.getTime()===e.getTime();if(f(r)&&f(e)||c(r)&&c(e))return r===e;if(s(r)&&s(e)){if(r.length!==e.length)return!1;if(r.length>0)for(var i=0,o=r.length;i<o;i++)if(!n(r[i],e[i])){t=!1;break}}else if(g(r)&&g(e)){var a=[],u=[];for(var l in r)w(r,l)&&a.push(l);for(var p in e)w(e,p)&&u.push(p);if(a.length!==u.length)return!1;for(var v in r)if(!w(e,v)||!n(r[v],e[v])){t=!1;break}}return t},j=function(n){var r=f(n)?String(n):n;if(!c(r))throw new Error("InvalidInput: String required.");return r},A=function(n){var r=j(n);return encodeURIComponent(r)},E=function(n){var r=j(n);return decodeURIComponent(r.replace(/\+/g," "))},M=function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=j(n);return(e=e.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""))&&r&&(e=e.replace(/\r?\n|\r/g," ").replace(/\s\s+|\r/g," ")),e},S=function(n,r){var e=j(n),t=r||140;if(e.length<=t)return e;var i=e.substring(0,t),o=i.split(" "),a="";return o.length>1?(o.pop(),(a+=o.join(" ")).length<e.length&&(a+="...")):a=(i=i.substring(0,t-3))+"...",a},O=function(n){var r=j(n);return M(r.replace(/<.*?>/gi," ").replace(/\s\s+/g," "))},N=function(n){return j(n).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},x=function(n){return j(n).replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")},I=function(n){var r=j(n);return 1===r.length?r.toUpperCase():(r=r.toLowerCase()).charAt(0).toUpperCase()+r.slice(1)},C=function(n){var r=[];return j(n).split(" ").forEach(function(n){r.push(I(n))}),r.join(" ")},U=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",t=j(n);return t.length>=r?t:new Array(r-t.length+1).join(e)+t},R=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",t=j(n);return t.length>=r?t:t+new Array(r-t.length+1).join(e)},T=function(n,r){var e=j(n);if(!l(r)||r<1)return e;if(e.length*r>=1<<28)throw new RangeError("Repeat count must not overflow maximum string size.");var t=[];return t.length=r,t.fill(e,0,r).join("")},D=function n(r,e,t){var i=j(r);if(f(e)&&(e=String(e)),f(t)&&(t=String(t)),c(e)&&c(t)){var o=i.split(e);i=o.join(t)}else if(s(e)&&c(t))e.forEach(function(r){i=n(i,r,t)});else if(s(e)&&s(t)&&e.length===t.length){var a=e.length;if(a>0)for(var u=0;u<a;u++){var l=e[u],g=t[u];i=n(i,l,g)}}return i},L=function(n){var r=j(n),e={a:"á|à|ả|ã|ạ|ă|ắ|ặ|ằ|ẳ|ẵ|â|ấ|ầ|ẩ|ẫ|ậ|ä",A:"Á|À|Ả|Ã|Ạ|Ă|Ắ|Ặ|Ằ|Ẳ|Ẵ|Â|Ấ|Ầ|Ẩ|Ẫ|Ậ|Ä",c:"ç",C:"Ç",d:"đ",D:"Đ",e:"é|è|ẻ|ẽ|ẹ|ê|ế|ề|ể|ễ|ệ|ë",E:"É|È|Ẻ|Ẽ|Ẹ|Ê|Ế|Ề|Ể|Ễ|Ệ|Ë",i:"í|ì|ỉ|ĩ|ị|ï|î",I:"Í|Ì|Ỉ|Ĩ|Ị|Ï|Î",o:"ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ|ö",O:"Ó|Ò|Ỏ|Õ|Ọ|Ô|Ố|Ồ|Ổ|Ô|Ộ|Ơ|Ớ|Ờ|Ở|Ỡ|Ợ|Ö",u:"ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự|û",U:"Ú|Ù|Ủ|Ũ|Ụ|Ư|Ứ|Ừ|Ử|Ữ|Ự|Û",y:"ý|ỳ|ỷ|ỹ|ỵ",Y:"Ý|Ỳ|Ỷ|Ỹ|Ỵ"},t=function(n,e){r=D(r,n,e)};for(var i in e)!function(n){w(e,n)&&e[n].split("|").forEach(function(r){return t(r,n)})}(i);return r},P=function(n,r){var e=M(L(n)),t=r||"-";return e.toLowerCase().replace(/\W+/g," ").replace(/\s+/g," ").replace(/\s/g,t)},k=function(n,r){var e=[];return r&&(c(r)||g(r)||s(r))?function n(r,t,i){i&&e.push(i);var o=[];for(var a in t)if(w(t,a)){var u=t[a];if(f(u)&&(u=String(u)),g(u)||s(u))o.push({key:a,data:u});else if(c(u)){u=D(u,["{","}"],["&#123;","&#125;"]);var l=e.concat([a]),p=new RegExp("{"+l.join(".")+"}","gi");r=r.replace(p,u)}}return o.length>0&&o.forEach(function(e){r=n(r,e.data,e.key)}),M(r,!0)}(n,r):n},q=function(n){return{compile:function(r){return k(n,r)}}},z=function(n,r){if((!n||n<0)&&(n=0),r||(r=t),n===r)return r;n>r&&(n=Math.min(n,r),r=Math.max(n,r));var e=n,i=r-n+1;return Math.floor(Math.random()*i)+e},$=function(n){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e="abcdefghijklmnopqrstuvwxyz",t=[e,e.toUpperCase(),"0123456789"].join("").split("").sort(function(){return Math.random()>.5}).join(""),i=t.length,o=Math.max(n||32,r.length),a=r;a.length<o;){var u=z(0,i);a+=t.charAt(u)||""}return a},_=function n(r){if(h(r))return new Date(r.valueOf());var t=function(r){var e=Object.create({});for(var t in r)w(r,t)&&(e[t]=n(r[t]));return e};return s(r)?function r(i){return[].concat(e(i)).map(function(e){return s(e)?r(e):g(e)?t(e):n(e)})}(r):g(r)?t(r):r},F=function n(r,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];for(var o in r)if(!(i.length>0&&i.includes(o))&&(!t||t&&e.hasOwnProperty(o))){var a=r[o],u=e[o];g(u)&&g(a)||s(u)&&s(a)?e[o]=n(a,e[o],t,i):e[o]=_(a)}return e},H=function(){return new Date},J=function(){return Date.now()};n.isNull=o,n.isUndefined=a,n.isFunction=u,n.isString=c,n.isNumber=f,n.isInteger=l,n.isArray=s,n.isObject=g,n.isBoolean=p,n.isDate=h,n.isElement=v,n.isLetter=d,n.isEmail=m,n.isEmpty=b,n.hasProperty=w,n.equals=y,n.toString=j,n.encode=A,n.decode=E,n.trim=M,n.truncate=S,n.stripTags=O,n.escapeHTML=N,n.unescapeHTML=x,n.ucfirst=I,n.ucwords=C,n.leftPad=U,n.rightPad=R,n.repeat=T,n.replaceAll=D,n.stripAccent=L,n.createAlias=P,n.template=q,n.random=z,n.createId=$,n.clone=_,n.copies=F,n.now=H,n.time=J,n.md5=r,Object.defineProperty(n,"__esModule",{value:!0})});
{
"version": "7.0.1",
"version": "7.0.4",
"name": "bellajs",

@@ -19,3 +19,3 @@ "description": "A useful helper for any javascript program",

"scripts": {
"lint": "eslint ./src ./builder ./tests",
"lint": "eslint src tests",
"nsp": "nsp check --output checkstyle",

@@ -27,13 +27,14 @@ "tape": "nyc babel-node node_modules/.bin/tape tests/start.js | tap-spec",

"posttest": "CODECOV_TOKEN=6d2a537d-3c51-4661-b60e-e3f080edc1b8 npm run report",
"build": "NODE_ENV=production node builder/build",
"reset": "node builder/reset"
"start": "babel-node src/main",
"build": "gccmin -e src/main.js -n bella -o dist -p package.json",
"reset": "node reset"
},
"devDependencies": {
"babel-cli": "6.x.x",
"babel-plugin-external-helpers": "6.x.x",
"babel-plugin-transform-remove-strict-mode": "0.x.x",
"babel-preset-env": "1.x.x",
"babel-preset-es2015-rollup": "3.x.x",
"codecov": "2.x.x",
"eslint": "3.x.x",
"eslint-config-ggc": "1.x.x",
"gcc-min": "5.x.x",
"is": "3.x.x",

@@ -43,11 +44,5 @@ "jsdom": "11.x.x",

"nsp": "2.x.x",
"nyc": "10.x.x",
"rollup": "0.x.x",
"rollup-plugin-babel": "2.x.x",
"rollup-plugin-cleanup": "1.x.x",
"rollup-plugin-commonjs": "8.x.x",
"rollup-plugin-node-resolve": "3.x.x",
"nyc": "11.x.x",
"tap-spec": "4.x.x",
"tape": "4.x.x",
"uglify-js": "3.x.x"
"tape": "4.x.x"
},

@@ -66,2 +61,7 @@ "babel": {

]
],
"plugins": [
[
"transform-remove-strict-mode"
]
]

@@ -68,0 +68,0 @@ },

@@ -13,14 +13,2 @@ BellaJS

# Contents
* [Setup](#setup)
* [APIs](#apis)
* [DataType detection](#datatype-detection)
* [String manipulation](#string-manipulation)
* [Template](#template)
* [Other utils](#other-utils)
* [Test](#test)
* [License](#license)
## Setup

@@ -31,3 +19,3 @@

```
npm install bellajs --save
npm install bellajs
```

@@ -39,4 +27,5 @@

- [bella.min.js](https://cdn.rawgit.com/ndaidong/bellajs/master/dist/bella.min.js)
- [bella.min.map](https://cdn.rawgit.com/ndaidong/bellajs/master/dist/bella.min.map)
- This library also supports ES6 Module, AMD and UMD style.
- Also supports ES6 Module, CommonJS, AMD and UMD style.

@@ -218,2 +207,12 @@

## Note
Some parts of `bella` have been split to separate modules, including:
- bella.stabilize: [stabilize.js](https://www.npmjs.com/package/stabilize.js)
- bella.date: [bella-date](https://www.npmjs.com/package/bella-date)
- bella.scheduler: [bella-scheduler](https://www.npmjs.com/package/bella-scheduler)
- bella.detector: [device-detector](https://www.npmjs.com/package/device-detector)
## Test

@@ -220,0 +219,0 @@

@@ -473,2 +473,1 @@ /**

};

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

var es6Bella = require('../src/main');

@@ -3,0 +2,0 @@ var fullBella = require('../dist/bella');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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