New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laravel-precognition

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-precognition - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

2

dist/client.js
import { isAxiosError, isCancel, default as Axios } from 'axios';
import merge from 'lodash.merge';
import { merge } from 'lodash-es';
/**

@@ -4,0 +4,0 @@ * The configured axios client.

@@ -1,9 +0,4 @@

import debounce from 'lodash.debounce';
import isequal from 'lodash.isequal';
import get from 'lodash.get';
import set from 'lodash.set';
import { debounce, isEqual, get, set, omit, merge } from 'lodash-es';
import { client, isFile } from './client.js';
import { isAxiosError } from 'axios';
import omit from 'lodash.omit';
import merge from 'lodash.merge';
export const createValidator = (callback, initialData = {}) => {

@@ -92,3 +87,3 @@ /**

const prepared = toValidationErrors(value);
if (!isequal(errors, prepared)) {
if (!isEqual(errors, prepared)) {
errors = prepared;

@@ -188,3 +183,3 @@ return listeners.errorsChanged;

const beforeValidationResult = (config.onBeforeValidation ?? ((previous, next) => {
return !isequal(previous, next);
return !isEqual(previous, next);
}))({ data, touched }, { data: oldData, touched: oldTouched });

@@ -191,0 +186,0 @@ if (beforeValidationResult === false) {

{
"name": "laravel-precognition",
"version": "0.5.3",
"version": "0.5.4",
"description": "Laravel Precognition.",

@@ -32,16 +32,6 @@ "keywords": [

"axios": "^1.4.0",
"lodash.debounce": "^4.0.8",
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.0.8",
"lodash.merge": "^4.6.2",
"lodash.omit": "^4.5.0",
"lodash.set": "^4.3.2"
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@types/lodash.debounce": "^4.0.7",
"@types/lodash.get": "^4.4.7",
"@types/lodash.isequal": "^4.0.7",
"@types/lodash.merge": "^4.0.7",
"@types/lodash.omit": "^4.5.7",
"@types/lodash.set": "^4.3.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.1.0",

@@ -48,0 +38,0 @@ "typescript": "^5.0.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