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.51 to 1.0.0-next.52

12

CHANGELOG.md
# @remirror/core-helpers
## 1.0.0-next.52
> 2020-11-06
### Patch Changes
- Forced update in pre-release mode.
- Updated dependencies []:
- @remirror/core-constants@1.0.0-next.52
- @remirror/core-types@1.0.0-next.52
## 1.0.0-next.51

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

2

dist/core-helpers.browser.cjs.js

@@ -339,3 +339,3 @@ 'use strict';

var hasPromiseAPI = value => {
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch);
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch));
};

@@ -342,0 +342,0 @@ /**

@@ -326,3 +326,3 @@ import { BaseError } from 'make-error';

var hasPromiseAPI = value => {
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch);
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch));
};

@@ -329,0 +329,0 @@ /**

@@ -339,3 +339,3 @@ 'use strict';

var hasPromiseAPI = value => {
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch);
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch));
};

@@ -342,0 +342,0 @@ /**

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

var hasPromiseAPI = value => !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch);
var hasPromiseAPI = value => !(isNull(value) || !isObject(value) || !isFunction(value.then) || !isFunction(value.catch));

@@ -127,0 +127,0 @@ function isPromise(value) {

@@ -326,3 +326,3 @@ import { BaseError } from 'make-error';

var hasPromiseAPI = value => {
return !isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch);
return !!(!isNull(value) && isObject(value) && isFunction(value.then) && isFunction(value.catch));
};

@@ -329,0 +329,0 @@ /**

@@ -232,3 +232,3 @@ import omit from 'object.omit';

*/
export declare const isArray: (arg: any) => arg is any[];
export declare const isArray: <T>(arg: {} | T) => arg is T extends readonly any[] ? unknown extends T ? never : readonly any[] : any[];
/**

@@ -235,0 +235,0 @@ * Predicate check that value is an empty array

{
"name": "@remirror/core-helpers",
"version": "1.0.0-next.51",
"version": "1.0.0-next.52",
"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.12.0",
"@remirror/core-constants": "1.0.0-next.51",
"@remirror/core-types": "1.0.0-next.51",
"@remirror/core-constants": "1.0.0-next.52",
"@remirror/core-types": "1.0.0-next.52",
"@types/object.omit": "^3.0.0",

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

"object.pick": "^1.3.0",
"throttle-debounce": "^2.3.0",
"throttle-debounce": "^3.0.1",
"type-fest": "^0.18.0"

@@ -39,0 +39,0 @@ },

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