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 0.7.2-ci.1575982835.2 to 0.7.2-ci.1575994466.3

10

lib/core-helpers.js

@@ -44,3 +44,5 @@ 'use strict';

/**
* A type name matcher for object types
* A type name matcher for object types.
*
* @private
*/

@@ -50,3 +52,5 @@

/**
* Alias of toString for non-dom environments
* Alias of toString for non-dom environments.
*
* @private
*/

@@ -96,3 +100,3 @@

*
* @public
* @private
*/

@@ -99,0 +103,0 @@

@@ -44,3 +44,5 @@ 'use strict';

/**
* A type name matcher for object types
* A type name matcher for object types.
*
* @private
*/

@@ -50,3 +52,5 @@

/**
* Alias of toString for non-dom environments
* Alias of toString for non-dom environments.
*
* @private
*/

@@ -96,3 +100,3 @@

*
* @public
* @private
*/

@@ -99,0 +103,0 @@

@@ -38,3 +38,5 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';

/**
* A type name matcher for object types
* A type name matcher for object types.
*
* @private
*/

@@ -44,3 +46,5 @@

/**
* Alias of toString for non-dom environments
* Alias of toString for non-dom environments.
*
* @private
*/

@@ -90,3 +94,3 @@

*
* @public
* @private
*/

@@ -93,0 +97,0 @@

@@ -8,3 +8,3 @@ {

"repository": "https://github.com/ifiokjr/remirror/tree/master/@remirror/core-helpers",
"version": "0.7.2-ci.1575982835.2+92ea5268",
"version": "0.7.2-ci.1575994466.3+b0f7fe6c",
"main": "lib/index.js",

@@ -20,4 +20,4 @@ "module": "lib/dist/core-helpers.esm.js",

"@babel/runtime": "^7",
"@remirror/core-constants": "^0.7.2-ci.1575982835.2+92ea5268",
"@remirror/core-types": "^0.7.2-ci.1575982835.2+92ea5268",
"@remirror/core-constants": "^0.7.2-ci.1575994466.3+b0f7fe6c",
"@remirror/core-types": "^0.7.2-ci.1575994466.3+b0f7fe6c",
"@types/object.omit": "^3.0.0",

@@ -38,3 +38,3 @@ "@types/object.pick": "^1.3.0",

"cjs": "lib/dist/core-helpers.cjs.js",
"gitHead": "92ea5268f7d6e8c916a405c34e4eb42563ee51f5"
"gitHead": "b0f7fe6c6cebee24b9b2d396517c0e58d1697f49"
}

@@ -36,3 +36,5 @@ import { all as merge } from 'deepmerge';

/**
* A type name matcher for object types
* A type name matcher for object types.
*
* @private
*/

@@ -50,3 +52,5 @@ enum TypeName {

/**
* Alias of toString for non-dom environments
* Alias of toString for non-dom environments.
*
* @private
*/

@@ -63,2 +67,3 @@ const toString = Object.prototype.toString;

const objectName = toString.call(value).slice(8, -1);
return objectName as TypeName;

@@ -84,3 +89,3 @@ };

*
* @public
* @private
*/

@@ -87,0 +92,0 @@ const isObjectOfType = <GType>(type: TypeName) => (value: unknown): value is GType =>

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

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