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

@contentful/field-editor-shared

Package Overview
Dependencies
Maintainers
175
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/field-editor-shared - npm Package Compare versions

Comparing version 1.4.2 to 1.4.4

3

dist/cjs/utils/entityHelpers.js

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

const _isObject = _interop_require_default(require("lodash/isObject"));
const _isString = _interop_require_default(require("lodash/isString"));
function _interop_require_default(obj) {

@@ -50,3 +49,3 @@ return obj && obj.__esModule ? obj : {

function titleOrDefault(title, defaultTitle) {
if (!(0, _isString.default)(title)) {
if (!(title != null && typeof title.valueOf() === 'string')) {
return defaultTitle;

@@ -53,0 +52,0 @@ }

import get from 'lodash/get';
import isObject from 'lodash/isObject';
import isString from 'lodash/isString';
function titleOrDefault(title, defaultTitle) {
if (!isString(title)) {
if (!(title != null && typeof title.valueOf() === 'string')) {
return defaultTitle;

@@ -7,0 +6,0 @@ }

@@ -1,2 +0,2 @@

import * as React from 'react';
/// <reference types="react" />
interface CharCounterProps {

@@ -6,3 +6,3 @@ value?: string;

}
export declare function CharCounter(props: CharCounterProps): React.JSX.Element;
export declare function CharCounter(props: CharCounterProps): JSX.Element;
export {};

@@ -1,2 +0,2 @@

import * as React from 'react';
/// <reference types="react" />
import { ValidationType } from './types';

@@ -6,3 +6,3 @@ interface CharValidationProps {

}
export declare function CharValidation(props: CharValidationProps): React.JSX.Element;
export declare function CharValidation(props: CharValidationProps): JSX.Element;
export {};

@@ -1,2 +0,2 @@

import * as React from 'react';
export declare function PredefinedValuesError(): React.JSX.Element;
/// <reference types="react" />
export declare function PredefinedValuesError(): JSX.Element;
{
"name": "@contentful/field-editor-shared",
"version": "1.4.2",
"version": "1.4.4",
"main": "dist/cjs/index.js",

@@ -39,3 +39,3 @@ "module": "dist/esm/index.js",

"@contentful/app-sdk": "^4.17.1",
"@contentful/field-editor-test-utils": "^1.4.3"
"@contentful/field-editor-test-utils": "^1.4.5"
},

@@ -52,3 +52,6 @@ "dependencies": {

},
"gitHead": "ef0adb263ad287e6f78888a05727d0f2f4f8968d"
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"gitHead": "b1f62d6b934520b6d4dc328921dd500381d1e22c"
}
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