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

@remirror/core-helpers

Package Overview
Dependencies
Maintainers
1
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/core-helpers - npm Package Compare versions

Comparing version 1.0.0-next.34 to 1.0.0-next.35

12

CHANGELOG.md
# @remirror/core-helpers
## 1.0.0-next.35
> 2020-09-13
### Patch Changes
- [`725df02b`](https://github.com/remirror/remirror/commit/725df02b53fa16b9c7a3768b0c9464e739e35813) [#672](https://github.com/remirror/remirror/pull/672) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Reduce bundle size by updating babel configuration thanks to help from [preconstruct/preconstruct/297](https://github.com/preconstruct/preconstruct/issues/297#issuecomment-690964802). [Fixes #358](https://github.com/remirror/remirror/issues/358).
- Updated dependencies [[`725df02b`](https://github.com/remirror/remirror/commit/725df02b53fa16b9c7a3768b0c9464e739e35813), [`4fee3e94`](https://github.com/remirror/remirror/commit/4fee3e9400dd5557ddb24f6256e6d7219cef34ec)]:
- @remirror/core-constants@1.0.0-next.35
- @remirror/core-types@1.0.0-next.35
## 1.0.0-next.34

@@ -4,0 +16,0 @@

26

dist/core-helpers.browser.cjs.js

@@ -8,3 +8,4 @@ 'use strict';

var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
var _createForOfIteratorHelper = require('@babel/runtime/helpers/createForOfIteratorHelper');
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
var deepmerge = require('deepmerge');

@@ -20,3 +21,4 @@ var fastDeepEqual = require('fast-deep-equal');

var _slicedToArray__default = /*#__PURE__*/_interopDefault(_slicedToArray);
var _defineProperty__default = /*#__PURE__*/_interopDefault(_defineProperty);
var _createForOfIteratorHelper__default = /*#__PURE__*/_interopDefault(_createForOfIteratorHelper);
var _objectSpread__default = /*#__PURE__*/_interopDefault(_objectSpread);
var deepmerge__default = /*#__PURE__*/_interopDefault(deepmerge);

@@ -27,12 +29,2 @@ var fastDeepEqual__default = /*#__PURE__*/_interopDefault(fastDeepEqual);

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/**

@@ -646,3 +638,3 @@ * Type cast an argument. If no type is provided it will default to any.

return _objectSpread({}, value);
return _objectSpread__default['default']({}, value);
}

@@ -692,3 +684,3 @@ /**

var _iterator = _createForOfIteratorHelper(array),
var _iterator = _createForOfIteratorHelper__default['default'](array),
_step;

@@ -849,3 +841,3 @@

var _iterator2 = _createForOfIteratorHelper(path.entries()),
var _iterator2 = _createForOfIteratorHelper__default['default'](path.entries()),
_step2;

@@ -883,3 +875,3 @@

} else {
_item2 = _objectSpread({}, _item2);
_item2 = _objectSpread__default['default']({}, _item2);
}

@@ -932,3 +924,3 @@

var _iterator3 = _createForOfIteratorHelper(list),
var _iterator3 = _createForOfIteratorHelper__default['default'](list),
_step3;

@@ -935,0 +927,0 @@

import { BaseError } from 'make-error';
import { __INTERNAL_REMIRROR_IDENTIFIER_KEY__, ErrorConstant } from '@remirror/core-constants';
import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper';
import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';
import deepmerge from 'deepmerge';

@@ -13,12 +14,2 @@ import fastDeepEqual from 'fast-deep-equal';

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/**

@@ -25,0 +16,0 @@ * Type cast an argument. If no type is provided it will default to any.

@@ -8,3 +8,4 @@ 'use strict';

var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
var _createForOfIteratorHelper = require('@babel/runtime/helpers/createForOfIteratorHelper');
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
var deepmerge = require('deepmerge');

@@ -20,3 +21,4 @@ var fastDeepEqual = require('fast-deep-equal');

var _slicedToArray__default = /*#__PURE__*/_interopDefault(_slicedToArray);
var _defineProperty__default = /*#__PURE__*/_interopDefault(_defineProperty);
var _createForOfIteratorHelper__default = /*#__PURE__*/_interopDefault(_createForOfIteratorHelper);
var _objectSpread__default = /*#__PURE__*/_interopDefault(_objectSpread);
var deepmerge__default = /*#__PURE__*/_interopDefault(deepmerge);

@@ -27,12 +29,2 @@ var fastDeepEqual__default = /*#__PURE__*/_interopDefault(fastDeepEqual);

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/**

@@ -646,3 +638,3 @@ * Type cast an argument. If no type is provided it will default to any.

return _objectSpread({}, value);
return _objectSpread__default['default']({}, value);
}

@@ -692,3 +684,3 @@ /**

var _iterator = _createForOfIteratorHelper(array),
var _iterator = _createForOfIteratorHelper__default['default'](array),
_step;

@@ -849,3 +841,3 @@

var _iterator2 = _createForOfIteratorHelper(path.entries()),
var _iterator2 = _createForOfIteratorHelper__default['default'](path.entries()),
_step2;

@@ -883,3 +875,3 @@

} else {
_item2 = _objectSpread({}, _item2);
_item2 = _objectSpread__default['default']({}, _item2);
}

@@ -932,3 +924,3 @@

var _iterator3 = _createForOfIteratorHelper(list),
var _iterator3 = _createForOfIteratorHelper__default['default'](list),
_step3;

@@ -935,0 +927,0 @@

@@ -7,3 +7,3 @@ "use strict";

var makeError = require("make-error"), coreConstants = require("@remirror/core-constants"), _slicedToArray = require("@babel/runtime/helpers/slicedToArray"), _defineProperty = require("@babel/runtime/helpers/defineProperty"), deepmerge = require("deepmerge"), fastDeepEqual = require("fast-deep-equal"), omit = require("object.omit"), object_pick = require("object.pick"), caseAnything = require("case-anything"), throttleDebounce = require("throttle-debounce");
var makeError = require("make-error"), coreConstants = require("@remirror/core-constants"), _slicedToArray = require("@babel/runtime/helpers/slicedToArray"), _createForOfIteratorHelper = require("@babel/runtime/helpers/createForOfIteratorHelper"), _objectSpread = require("@babel/runtime/helpers/objectSpread2"), deepmerge = require("deepmerge"), fastDeepEqual = require("fast-deep-equal"), omit = require("object.omit"), object_pick = require("object.pick"), caseAnything = require("case-anything"), throttleDebounce = require("throttle-debounce");

@@ -16,87 +16,4 @@ function _interopDefault(e) {

var TypeName, _slicedToArray__default = _interopDefault(_slicedToArray), _defineProperty__default = _interopDefault(_defineProperty), deepmerge__default = _interopDefault(deepmerge), fastDeepEqual__default = _interopDefault(fastDeepEqual), omit__default = _interopDefault(omit), object_pick__default = _interopDefault(object_pick);
var TypeName, _slicedToArray__default = _interopDefault(_slicedToArray), _createForOfIteratorHelper__default = _interopDefault(_createForOfIteratorHelper), _objectSpread__default = _interopDefault(_objectSpread), deepmerge__default = _interopDefault(deepmerge), fastDeepEqual__default = _interopDefault(fastDeepEqual), omit__default = _interopDefault(omit), object_pick__default = _interopDefault(object_pick);
function _createForOfIteratorHelper(o, allowArrayLike) {
var it;
if ("undefined" == typeof Symbol || null == o[Symbol.iterator]) {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && "number" == typeof o.length) {
it && (o = it);
var i = 0, F = function() {};
return {
s: F,
n: function() {
return i >= o.length ? {
done: !0
} : {
done: !1,
value: o[i++]
};
},
e: function(_e) {
throw _e;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var err, normalCompletion = !0, didErr = !1;
return {
s: function() {
it = o[Symbol.iterator]();
},
n: function() {
var step = it.next();
return normalCompletion = step.done, step;
},
e: function(_e2) {
didErr = !0, err = _e2;
},
f: function() {
try {
normalCompletion || null == it.return || it.return();
} finally {
if (didErr) throw err;
}
}
};
}
function _unsupportedIterableToArray(o, minLen) {
if (o) {
if ("string" == typeof o) return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
return "Object" === n && o.constructor && (n = o.constructor.name), "Map" === n || "Set" === n ? Array.from(o) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _arrayLikeToArray(o, minLen) : void 0;
}
}
function _arrayLikeToArray(arr, len) {
(null == len || len > arr.length) && (len = arr.length);
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
function ownKeys(object, enumerableOnly) {
var keys = Object.keys(object);
if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object);
enumerableOnly && (symbols = symbols.filter((function(sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
}))), keys.push.apply(keys, symbols);
}
return keys;
}
function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = null != arguments[i] ? arguments[i] : {};
i % 2 ? ownKeys(Object(source), !0).forEach((function(key) {
_defineProperty__default.default(target, key, source[key]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach((function(key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
}));
}
return target;
}
function Cast(parameter) {

@@ -306,3 +223,3 @@ return parameter;

if (!isPlainObject(value)) throw new Error("An invalid value was passed into this clone utility. Expected a plain object");
return _objectSpread({}, value);
return _objectSpread__default.default({}, value);
}

@@ -325,3 +242,3 @@

function flattenArray(array) {
var _step, flattened = [], _iterator = _createForOfIteratorHelper(array);
var _step, flattened = [], _iterator = _createForOfIteratorHelper__default.default(array);
try {

@@ -393,3 +310,3 @@ for (_iterator.s(); !(_step = _iterator.n()).done; ) {

function unset(path, target) {
var _step2, clonedObject = clone(target), value = clonedObject, _iterator2 = _createForOfIteratorHelper(path.entries());
var _step2, clonedObject = clone(target), value = clonedObject, _iterator2 = _createForOfIteratorHelper__default.default(path.entries());
try {

@@ -406,4 +323,4 @@ for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) {

if (isPrimitive(_item2)) return clonedObject;
_item2 = isArray(_item2) ? [ ..._item2 ] : _objectSpread({}, _item2), value[key] = _item2,
value = _item2;
_item2 = isArray(_item2) ? [ ..._item2 ] : _objectSpread__default.default({}, _item2),
value[key] = _item2, value = _item2;
}

@@ -423,3 +340,3 @@ } catch (err) {

function uniqueBy(array, getValue) {
var _step3, fromStart = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], unique = [], found = new Set, getter = isFunction(getValue) ? getValue : makeFunctionForUniqueBy(getValue), list = fromStart ? [ ...array ].reverse() : array, _iterator3 = _createForOfIteratorHelper(list);
var _step3, fromStart = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], unique = [], found = new Set, getter = isFunction(getValue) ? getValue : makeFunctionForUniqueBy(getValue), list = fromStart ? [ ...array ].reverse() : array, _iterator3 = _createForOfIteratorHelper__default.default(list);
try {

@@ -426,0 +343,0 @@ for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) {

import { BaseError } from 'make-error';
import { __INTERNAL_REMIRROR_IDENTIFIER_KEY__, ErrorConstant } from '@remirror/core-constants';
import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper';
import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';
import deepmerge from 'deepmerge';

@@ -13,12 +14,2 @@ import fastDeepEqual from 'fast-deep-equal';

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/**

@@ -25,0 +16,0 @@ * Type cast an argument. If no type is provided it will default to any.

{
"name": "@remirror/core-helpers",
"version": "1.0.0-next.34",
"version": "1.0.0-next.35",
"description": "Provide helper functions for the remirror codebase, kinda like a tiny lodash",

@@ -24,4 +24,4 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/@remirror/core-helpers",

"@babel/runtime": "^7.11.0",
"@remirror/core-constants": "1.0.0-next.34",
"@remirror/core-types": "1.0.0-next.34",
"@remirror/core-constants": "1.0.0-next.35",
"@remirror/core-types": "1.0.0-next.35",
"@types/object.omit": "^3.0.0",

@@ -28,0 +28,0 @@ "@types/object.pick": "^1.3.0",

# @remirror/core-helpers
[![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@remirror/core-helpers.svg?)](https://bundlephobia.com/result?p=@remirror/core-helpers) [![npm](https://img.shields.io/npm/dm/@remirror/core-helpers.svg?&logo=npm)](https://www.npmjs.com/package/@remirror/core-helpers)
> A mini lodash just for `remirror`.
Provides helper functions which are used throughout the remirror codebase.
[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)
Think of it as the lodash of the remirror codebase.
[version]: https://flat.badgen.net/npm/v/@remirror/core-helpers/next
[npm]: https://npmjs.com/package/@remirror/core-helpers/v/next
[license]: https://flat.badgen.net/badge/license/MIT/purple
[size]: https://bundlephobia.com/result?p=@remirror/core-helpers@next
[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/core-helpers
[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label
[downloads-badge]: https://badgen.net/npm/dw/@remirror/core-helpers/red?icon=npm
## Installation
This is included by default when you install `@remirror/core` or the recommended `remirror` package.
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