@contentful/field-editor-shared
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -12,4 +12,4 @@ "use strict"; | ||
const _react = _interop_require_wildcard(require("react")); | ||
const _lodashes = require("lodash-es"); | ||
const _isEqual = _interop_require_default(require("lodash/isEqual")); | ||
const _throttle = _interop_require_default(require("lodash/throttle")); | ||
function _define_property(obj, key, value) { | ||
@@ -135,3 +135,3 @@ if (key in obj) { | ||
}); | ||
_define_property(this, "triggerSetValueCallbacks", (0, _lodashes.throttle)((value)=>{ | ||
_define_property(this, "triggerSetValueCallbacks", (0, _throttle.default)((value)=>{ | ||
return new Promise((resolve, reject)=>{ | ||
@@ -138,0 +138,0 @@ if (this.props.isEmptyValue(value ?? null)) { |
@@ -15,4 +15,4 @@ function _define_property(obj, key, value) { | ||
import * as React from 'react'; | ||
import { throttle } from 'lodash-es'; | ||
import isEqual from 'lodash/isEqual'; | ||
import throttle from 'lodash/throttle'; | ||
var _React_Component; | ||
@@ -19,0 +19,0 @@ export class FieldConnector extends (_React_Component = React.Component) { |
@@ -0,1 +1,2 @@ | ||
/// <reference types="lodash" /> | ||
import * as React from 'react'; | ||
@@ -42,3 +43,3 @@ import { FieldAPI, ValidationError } from '@contentful/app-sdk'; | ||
setValue: (value: ValueType | Nullable) => Promise<void>; | ||
triggerSetValueCallbacks: import("lodash-es").DebouncedFunc<(value: ValueType | Nullable) => Promise<unknown>>; | ||
triggerSetValueCallbacks: import("lodash").DebouncedFunc<(value: ValueType | Nullable) => Promise<unknown>>; | ||
componentDidMount(): void; | ||
@@ -45,0 +46,0 @@ componentWillUnmount(): void; |
{ | ||
"name": "@contentful/field-editor-shared", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "dist/cjs/index.js", | ||
@@ -39,3 +39,3 @@ "module": "dist/esm/index.js", | ||
"@contentful/app-sdk": "^4.2.0", | ||
"@contentful/field-editor-test-utils": "^1.4.0" | ||
"@contentful/field-editor-test-utils": "^1.4.1" | ||
}, | ||
@@ -46,4 +46,3 @@ "dependencies": { | ||
"emotion": "^10.0.17", | ||
"lodash": "^4.17.15", | ||
"lodash-es": "^4.17.21" | ||
"lodash": "^4.17.15" | ||
}, | ||
@@ -54,3 +53,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "543e02672a8dd4edc810f9f3568d6b69c454e1f9" | ||
"gitHead": "ca904b19ca794a2c40d82e1f7ede9e0be3560f22" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
63278
6
1860
0
- Removedlodash-es@^4.17.21
- Removedlodash-es@4.17.21(transitive)