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

@remirror/core-helpers

Package Overview
Dependencies
Maintainers
2
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 0.0.0-pr1801.3 to 0.0.0-pr1862.1

dist-types/default-import.d.ts

2

dist-types/core-errors.d.ts

@@ -50,5 +50,5 @@ import { BaseError } from 'make-error';

*
* @default false
* @defaultValue false
*/
disableLogging?: boolean;
}

@@ -479,4 +479,4 @@ import type { ClassName } from '@linaria/core/types/cx';

*
* @template Obj - the object type
* @template Property - the property which can be a string | number | symbol
* @typeParam Obj - the object type
* @typeParam Property - the property which can be a string | number | symbol
*/

@@ -483,0 +483,0 @@ export declare function hasOwnProperty<Obj extends object, Property extends string | number | symbol>(object_: Obj, key: Property): object_ is Property extends keyof Obj ? Obj : Obj & {

@@ -16,3 +16,3 @@ /**

*
* @default undefined
* @defaultValue undefined
*/

@@ -19,0 +19,0 @@ requireKeys?: boolean;

export * from './core-errors';
export * from './core-helpers';
export * from './default-import';
export * from './freeze';

@@ -469,2 +469,15 @@ var __defProp = Object.defineProperty;

// packages/remirror__core-helpers/src/default-import.ts
function defaultImport(mod) {
var _a;
if (typeof mod !== "object" || mod === null) {
return mod;
}
const defaultVal = Symbol.toStringTag in mod && mod[Symbol.toStringTag] === "Module" ? (_a = mod.default) != null ? _a : mod : mod;
if ("__esModule" in defaultVal && defaultVal.__esModule && defaultVal.default !== void 0) {
return defaultVal.default;
}
return defaultVal;
}
// packages/remirror__core-helpers/src/freeze.ts

@@ -511,2 +524,3 @@ import { ErrorConstant as ErrorConstant2 } from "@remirror/core-constants";

deepMerge,
defaultImport,
entries,

@@ -513,0 +527,0 @@ findMatches,

{
"name": "@remirror/core-helpers",
"version": "0.0.0-pr1801.3",
"version": "0.0.0-pr1862.1",
"description": "Provide helper functions for the remirror codebase, kinda like a tiny lodash",

@@ -20,8 +20,8 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/remirror__core-helpers",

"import": "./dist/remirror-core-helpers.js",
"types": "./dist-types/index.d.ts",
"default": "./dist/remirror-core-helpers.js"
"require": "./dist/remirror-core-helpers.cjs",
"types": "./dist-types/index.d.ts"
},
"./package.json": "./package.json"
},
"main": "./dist/remirror-core-helpers.js",
"main": "./dist/remirror-core-helpers.cjs",
"module": "./dist/remirror-core-helpers.js",

@@ -36,4 +36,4 @@ "types": "./dist-types/index.d.ts",

"@linaria/core": "3.0.0-beta.13",
"@remirror/core-constants": "0.0.0-pr1801.3",
"@remirror/types": "0.0.0-pr1801.3",
"@remirror/core-constants": "0.0.0-pr1862.1",
"@remirror/types": "0.0.0-pr1862.1",
"@types/object.omit": "^3.0.0",

@@ -40,0 +40,0 @@ "@types/object.pick": "^1.3.1",

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