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

laravel-precognition-react-inertia

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-precognition-react-inertia - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

13

dist/index.js

@@ -110,5 +110,14 @@ import { toSimpleValidationErrors, resolveUrl, resolveMethod } from 'laravel-precognition';

},
validate(name) {
validate(name, config) {
precognitiveForm.setData(transformer.current(inertiaForm.data));
precognitiveForm.validate(name);
if (typeof name === 'object' && !('target' in name)) {
config = name;
name = undefined;
}
if (typeof name === 'undefined') {
precognitiveForm.validate(config);
}
else {
precognitiveForm.validate(name, config);
}
return form;

@@ -115,0 +124,0 @@ },

8

package.json
{
"name": "laravel-precognition-react-inertia",
"version": "0.5.6",
"version": "0.5.7",
"description": "Laravel Precognition (React w/ Inertia).",

@@ -24,3 +24,5 @@ "keywords": [

"scripts": {
"watch": "rm -rf dist && tsc --watch",
"build": "rm -rf dist && tsc",
"typeCheck": "tsc --noEmit",
"prepublishOnly": "npm run build",

@@ -37,4 +39,4 @@ "version": "npm pkg set dependencies.laravel-precognition=$npm_package_version && npm pkg set dependencies.laravel-precognition-react=$npm_package_version"

"dependencies": {
"laravel-precognition": "0.5.6",
"laravel-precognition-react": "0.5.6"
"laravel-precognition": "0.5.7",
"laravel-precognition-react": "0.5.7"
},

@@ -41,0 +43,0 @@ "devDependencies": {

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