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

onix-core

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onix-core - npm Package Compare versions

Comparing version 0.5.7 to 0.6.1

built/fn/string/Capitalize.d.ts

2

built/index.d.ts
export * from './fn/Types';
export * from './fn/array/index';
export * from './fn/string/index';
export { Hashtable } from './Hashtable';
export { Logger } from './Logger';
export { Intl } from './Intl';

@@ -8,2 +8,3 @@ "use strict";

__export(require("./fn/array/index"));
__export(require("./fn/string/index"));
var Logger_1 = require("./Logger");

@@ -10,0 +11,0 @@ exports.Logger = Logger_1.Logger;

@@ -1,1 +0,700 @@

!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.onix=r():e.onix=r()}(this,function(){return function(e){function __webpack_require__(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}var r={};return __webpack_require__.m=e,__webpack_require__.c=r,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,r,t){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=9)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getType=function(e){return Object.prototype.toString.call(e)},r.isNumber=function(e){return"[object Number]"===r.getType(e)},r.isString=function(e){return"[object String]"===r.getType(e)},r.isDate=function(e){return"[object Date]"===r.getType(e)},r.isFunction=function(e){return"[object Function]"===r.getType(e)},r.isArray=function(e){return"[object Array]"===r.getType(e)},r.isEmptyObject=function(e){var r;for(r in e)return!1;return!0}},function(e,r,t){"use strict";function __export(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),__export(t(0)),__export(t(8));var n=t(3);r.Logger=n.Logger;var o=t(2);r.Intl=o.Intl},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n="ru-ru",o={},u=function(e){return"en"!=e&&"en-us"!=e&&"en-uk"!=e||(n="en-us"),n="ru-ru"},i=function(e,r){if(o[e])for(var t in r)o[e][t]=r[t];else o[e]=r},c=function(e,r){var t=o[e][n][r];return t||(t=o[e]["ru-ru"][r]),t},a=function(e,r){var t=o[e][n][r];return t||(t=o[e]["ru-ru"][r]),t},s=function(){function Intl(){}return Intl}();s.setLocale=u,s.t=c,s.ts=a,s.registerStrings=i,r.Intl=s,s.setLocale(window.navigator.language)},function(e,r,t){"use strict";function is_level(e){return a>0?a>e:s.length+a<=e}function exec_callback(e){!i||!c&&u&&u.log||i.apply(n,e)}Object.defineProperty(r,"__esModule",{value:!0});var n=window,o=Array.prototype.slice,u=n.console,i=null,c=!1,a=9,s=["error","warn","info","debug","log"],l="assert clear count dir dirxml exception group groupCollapsed groupEnd profile profileEnd table time timeEnd trace".split(" "),f=[],p=function(){function LoggerClass(){for(var e=l.length;--e>=0;)this.callPassThroughMethod(l[e]);for(e=s.length;--e>=0;)this.setLevelFunctions(e,s[e])}return LoggerClass.prototype.error=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t]},LoggerClass.prototype.warn=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t]},LoggerClass.prototype.info=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t]},LoggerClass.prototype.debug=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t]},LoggerClass.prototype.log=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t]},LoggerClass.prototype.callPassThroughMethod=function(e){this[e]=function(){0!==a&&u&&u[e]&&u[e].apply(u,arguments)}},LoggerClass.prototype.setLevelFunctions=function(e,r){this[r]=function(){var t=o.call(arguments),i=[r].concat(t);if(f.push(i),exec_callback(i),u&&is_level(e)){var c=1===t.length?t[0]:t;u.firebug?u[r].apply(n,c):u[r]?u[r](c):u.log(c)}}},LoggerClass.prototype.setCallback=function(){var e=o.call(arguments),r=f.length,t=r;for(i=e.shift()||null,c="boolean"==typeof e[0]&&e.shift(),t-="number"==typeof e[0]?e.shift():r;t<r;)exec_callback(f[t++])},LoggerClass.prototype.setLevel=function(e){a=e},LoggerClass}();r.LoggerClass=p,r.Logger=new p},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.grep=function(e,r,t){for(var n=[],o=0,u=e.length,i=!t;o<u;o++)!r(e[o],o)!==i&&n.push(e[o]);return n}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.inArray=function(e,r,t){var n,o=!1,u=!!t;for(n in r)if(u&&r[n]===e||!u&&r[n]==e){o=!0;break}return o}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0);r.indexOf=function(e,r,t){return n.isArray(r)&&null!=r?r.indexOf(e,t):-1}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pushif=function(e,r,t){r&&e.push(t)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5);r.inArray=n.inArray;var o=t(6);r.indexOf=o.indexOf;var u=t(4);r.grep=u.grep;var i=t(7);r.pushif=i.pushif},function(e,r,t){e.exports=t(1)}])});
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["onix"] = factory();
else
root["onix"] = factory();
})(this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 16);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// ===================== Types =======================
/** @returns object string name (using Object.prototype.toString.call) */
exports.getType = function (x) {
return Object.prototype.toString.call(x);
};
/** @returns true if object is number */
exports.isNumber = function (x) {
return exports.getType(x) === "[object Number]";
};
/** @returns true if object is string */
exports.isString = function (x) {
return exports.getType(x) === "[object String]";
};
/** @returns true if object is Date */
exports.isDate = function (x) {
return exports.getType(x) === "[object Date]";
};
/** @returns true if object is function */
exports.isFunction = function (x) {
return exports.getType(x) === "[object Function]";
};
/** @returns true if object is array */
exports.isArray = function (x) {
return exports.getType(x) === "[object Array]";
};
/** @return true if object is empty object */
exports.isEmptyObject = function (obj) {
var name;
for (name in obj) {
return false;
}
return true;
};
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pad = function (str, len, chr, leftJustify) {
var padding = (str.length >= len) ? '' : Array(1 + len - str.length >>> 0).join(chr);
return leftJustify ? str + padding : padding + str;
};
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(__webpack_require__(0));
__export(__webpack_require__(9));
__export(__webpack_require__(14));
var Logger_1 = __webpack_require__(4);
exports.Logger = Logger_1.Logger;
var Intl_1 = __webpack_require__(3);
exports.Intl = Intl_1.Intl;
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var defaultLocale = 'ru-ru';
var currentLocale = defaultLocale;
var categories = {};
var locale = function (value) {
if (value == "en" || value == "en-us" || value == "en-uk") {
currentLocale = 'en-us';
}
currentLocale = 'ru-ru';
return currentLocale;
};
var register = function (category, strings) {
if (!categories[category]) {
categories[category] = strings;
}
else {
for (var lang in strings) {
categories[category][lang] = strings[lang];
}
}
};
var t = function (category, key) {
var result = categories[category][currentLocale][key];
if (!result) {
result = categories[category][defaultLocale][key];
}
return result;
};
var ts = function (category, key) {
var result = categories[category][currentLocale][key];
if (!result) {
result = categories[category][defaultLocale][key];
}
return result;
};
var Intl = (function () {
function Intl() {
}
return Intl;
}());
Intl.setLocale = locale;
Intl.t = t;
Intl.ts = ts;
Intl.registerStrings = register;
exports.Intl = Intl;
Intl.setLocale(window.navigator.language);
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {
Object.defineProperty(exports, "__esModule", { value: true });
var wnd = window;
var FALSE = false;
// some convenient shortcuts.
var aps = Array.prototype.slice;
var con = wnd.console;
var callback_func = null;
var callback_force = FALSE;
// default logging level, none.
var log_level = 9;
if (process.env.NODE_ENV !== 'production') {
log_level = 9;
}
// logging methods, in "priority order". Not all console implementations
// will utilize these, but they will be used in the callback passed to
// setCallback.
var log_methods = ["error", "warn", "info", "debug", "log"];
// pass these methods through to the console if they exist, otherwise just
// fail gracefully. These methods are provided for convenience.
var pass_methods = "assert clear count dir dirxml exception group groupCollapsed groupEnd profile profileEnd table time timeEnd trace".split(" ");
// logs are stored here so that they can be recalled as necessary.
var logs = [];
// determine if the level is visible given the current log_level.
function is_level(level) {
return log_level > 0
? log_level > level
: log_methods.length + log_level <= level;
}
// execute the callback function if set.
function exec_callback(args) {
if (callback_func && (callback_force || !con || !con.log)) {
callback_func.apply(wnd, args);
}
}
var LoggerClass = (function () {
function LoggerClass() {
var idx = pass_methods.length;
while (--idx >= 0) {
this.callPassThroughMethod(pass_methods[idx]);
}
idx = log_methods.length;
while (--idx >= 0) {
this.setLevelFunctions(idx, log_methods[idx]);
}
}
LoggerClass.prototype.error = function (message) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
};
LoggerClass.prototype.warn = function (message) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
};
LoggerClass.prototype.info = function (message) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
};
LoggerClass.prototype.debug = function (message) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
};
LoggerClass.prototype.log = function (message) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
};
LoggerClass.prototype.callPassThroughMethod = function (method) {
// generate pass-through methods. These methods will be called, if they
// exist, as long as the logging level is non-zero.
this[method] = function () {
if (log_level !== 0 && con && con[method]) {
con[method].apply(con, arguments);
}
};
};
LoggerClass.prototype.setLevelFunctions = function (idx, level) {
this[level] = function () {
var args = aps.call(arguments);
var log_arr = [level].concat(args);
logs.push(log_arr);
exec_callback(log_arr);
if (!con || !is_level(idx)) {
return;
}
var arg_norm = (args.length === 1) ? args[0] : args;
con.firebug ? con[level].apply(wnd, arg_norm)
: con[level] ? con[level](arg_norm)
: con.log(arg_norm);
};
};
LoggerClass.prototype.setCallback = function () {
var args = aps.call(arguments), max = logs.length, i = max;
callback_func = args.shift() || null;
callback_force = typeof args[0] === "boolean" ? args.shift() : FALSE;
i -= typeof args[0] === "number" ? args.shift() : max;
while (i < max) {
exec_callback(logs[i++]);
}
};
;
// priority levels:
// log (1) < debug (2) < info (3) < warn (4) < error (5)
LoggerClass.prototype.setLevel = function (level) {
log_level = level;
};
return LoggerClass;
}());
exports.LoggerClass = LoggerClass;
exports.Logger = new LoggerClass();
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(15)))
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.grep = function (elems, callback, invert) {
var callbackInverse, matches = [];
var i = 0;
var length = elems.length;
var callbackExpect = !invert;
// Go through the array, only saving the items
// that pass the validator function
for (; i < length; i++) {
callbackInverse = !callback(elems[i], i);
if (callbackInverse !== callbackExpect) {
matches.push(elems[i]);
}
}
return matches;
};
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.inArray = function (needle, haystack, strict) {
var found = false;
var key;
var strct = !!strict;
for (key in haystack) {
if ((strct && haystack[key] === needle) || (!strct && haystack[key] == needle)) {
found = true;
break;
}
}
return found;
};
/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Types_1 = __webpack_require__(0);
exports.indexOf = function (searchElement, arr, fromIndex) {
return ((!Types_1.isArray(arr)) || (arr == null)) ? -1 : arr.indexOf(searchElement, fromIndex);
};
/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pushif = function (a, cond, val) {
if (cond) {
a.push(val);
}
};
/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var InArray_1 = __webpack_require__(6);
exports.inArray = InArray_1.inArray;
var IndexOf_1 = __webpack_require__(7);
exports.indexOf = IndexOf_1.indexOf;
var Grep_1 = __webpack_require__(5);
exports.grep = Grep_1.grep;
var Pushif_1 = __webpack_require__(8);
exports.pushif = Pushif_1.pushif;
/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.capitalize = function (str) {
return "" + str.charAt(0).toUpperCase() + str.slice(1);
};
/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Pad_1 = __webpack_require__(1);
exports.justify = function (value, prefix, leftJustify, minWidth, zeroPad) {
var diff = minWidth - value.length;
if (diff > 0) {
if (leftJustify || !zeroPad) {
value = Pad_1.pad(value, minWidth, ' ', leftJustify);
}
else {
value = value.slice(0, prefix.length) + Pad_1.pad('', diff, '0', true) + value.slice(prefix.length);
}
}
return value;
};
/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.strRepeat = function (str, n) {
var result = "", t = str.toString();
while (--n >= 0) {
result += t;
}
return result;
};
/***/ }),
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.trim = function (value) {
return value.replace(/^\s*/, "").replace(/\s*$/, "");
};
/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var StrRepeat_1 = __webpack_require__(12);
exports.strRepeat = StrRepeat_1.strRepeat;
var Trim_1 = __webpack_require__(13);
exports.trim = Trim_1.trim;
var Pad_1 = __webpack_require__(1);
exports.pad = Pad_1.pad;
var Justify_1 = __webpack_require__(11);
exports.justify = Justify_1.justify;
var Capitalize_1 = __webpack_require__(10);
exports.capitalize = Capitalize_1.capitalize;
/***/ }),
/* 15 */
/***/ (function(module, exports) {
// shim for using process in browser
var process = module.exports = {};
// cached from whatever global is present so that test runners that stub it
// don't break things. But we need to wrap it in a try catch in case it is
// wrapped in strict mode code which doesn't define any globals. It's inside a
// function because try/catches deoptimize in certain engines.
var cachedSetTimeout;
var cachedClearTimeout;
function defaultSetTimout() {
throw new Error('setTimeout has not been defined');
}
function defaultClearTimeout () {
throw new Error('clearTimeout has not been defined');
}
(function () {
try {
if (typeof setTimeout === 'function') {
cachedSetTimeout = setTimeout;
} else {
cachedSetTimeout = defaultSetTimout;
}
} catch (e) {
cachedSetTimeout = defaultSetTimout;
}
try {
if (typeof clearTimeout === 'function') {
cachedClearTimeout = clearTimeout;
} else {
cachedClearTimeout = defaultClearTimeout;
}
} catch (e) {
cachedClearTimeout = defaultClearTimeout;
}
} ())
function runTimeout(fun) {
if (cachedSetTimeout === setTimeout) {
//normal enviroments in sane situations
return setTimeout(fun, 0);
}
// if setTimeout wasn't available but was latter defined
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
cachedSetTimeout = setTimeout;
return setTimeout(fun, 0);
}
try {
// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedSetTimeout(fun, 0);
} catch(e){
try {
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
return cachedSetTimeout.call(null, fun, 0);
} catch(e){
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
return cachedSetTimeout.call(this, fun, 0);
}
}
}
function runClearTimeout(marker) {
if (cachedClearTimeout === clearTimeout) {
//normal enviroments in sane situations
return clearTimeout(marker);
}
// if clearTimeout wasn't available but was latter defined
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
cachedClearTimeout = clearTimeout;
return clearTimeout(marker);
}
try {
// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedClearTimeout(marker);
} catch (e){
try {
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
return cachedClearTimeout.call(null, marker);
} catch (e){
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
return cachedClearTimeout.call(this, marker);
}
}
}
var queue = [];
var draining = false;
var currentQueue;
var queueIndex = -1;
function cleanUpNextTick() {
if (!draining || !currentQueue) {
return;
}
draining = false;
if (currentQueue.length) {
queue = currentQueue.concat(queue);
} else {
queueIndex = -1;
}
if (queue.length) {
drainQueue();
}
}
function drainQueue() {
if (draining) {
return;
}
var timeout = runTimeout(cleanUpNextTick);
draining = true;
var len = queue.length;
while(len) {
currentQueue = queue;
queue = [];
while (++queueIndex < len) {
if (currentQueue) {
currentQueue[queueIndex].run();
}
}
queueIndex = -1;
len = queue.length;
}
currentQueue = null;
draining = false;
runClearTimeout(timeout);
}
process.nextTick = function (fun) {
var args = new Array(arguments.length - 1);
if (arguments.length > 1) {
for (var i = 1; i < arguments.length; i++) {
args[i - 1] = arguments[i];
}
}
queue.push(new Item(fun, args));
if (queue.length === 1 && !draining) {
runTimeout(drainQueue);
}
};
// v8 likes predictible objects
function Item(fun, array) {
this.fun = fun;
this.array = array;
}
Item.prototype.run = function () {
this.fun.apply(null, this.array);
};
process.title = 'browser';
process.browser = true;
process.env = {};
process.argv = [];
process.version = ''; // empty string to avoid regexp issues
process.versions = {};
function noop() {}
process.on = noop;
process.addListener = noop;
process.once = noop;
process.off = noop;
process.removeListener = noop;
process.removeAllListeners = noop;
process.emit = noop;
process.binding = function (name) {
throw new Error('process.binding is not supported');
};
process.cwd = function () { return '/' };
process.chdir = function (dir) {
throw new Error('process.chdir is not supported');
};
process.umask = function() { return 0; };
/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(2);
/***/ })
/******/ ]);
});
//# sourceMappingURL=onix-core.js.map

2

package.json
{
"name": "onix-core",
"version": "0.5.7",
"version": "0.6.1",
"description": "Onix library core",

@@ -5,0 +5,0 @@ "main": "built/index.js",

export * from './fn/Types';
export * from './fn/array/index';
export * from './fn/string/index';
export { Hashtable } from './Hashtable';
export { Logger } from './Logger';
export { Intl } from './Intl';

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