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

@inertiajs/react

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inertiajs/react - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "@inertiajs/react",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",

@@ -62,5 +62,5 @@ "description": "The React adapter for Inertia.js",

"dependencies": {
"@inertiajs/core": "1.0.1",
"@inertiajs/core": "1.0.2",
"lodash.isequal": "^4.5.0"
}
}

@@ -1,4 +0,5 @@

import { FunctionComponent } from 'react';
import React, { FunctionComponent } from 'react';
type InertiaHeadProps = {
title?: string;
children?: React.ReactNode;
};

@@ -5,0 +6,0 @@ type InertiaHead = FunctionComponent<InertiaHeadProps>;

export declare const router: import("@inertiajs/core").Router;
export { default as createInertiaApp } from './createInertiaApp';
export { default as Head } from './Head';
export { default as Link } from './Link';
export { default as Link, InertiaLinkProps } from './Link';
export { default as useForm } from './useForm';
export { default as usePage } from './usePage';
export { default as useRemember } from './useRemember';

@@ -23,5 +23,5 @@ import { FormDataConvertible, Method, PreserveStateOption, Progress } from '@inertiajs/core';

}
type InertiaLinkProps = BaseInertiaLinkProps & Omit<React.HTMLAttributes<HTMLElement>, keyof BaseInertiaLinkProps> & Omit<React.AllHTMLAttributes<HTMLElement>, keyof BaseInertiaLinkProps>;
export type InertiaLinkProps = BaseInertiaLinkProps & Omit<React.HTMLAttributes<HTMLElement>, keyof BaseInertiaLinkProps> & Omit<React.AllHTMLAttributes<HTMLElement>, keyof BaseInertiaLinkProps>;
type InertiaLink = React.FunctionComponent<InertiaLinkProps>;
declare const Link: InertiaLink;
export default Link;

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

import { Page } from '@inertiajs/core';
export default function usePage<TPage extends Page = Page>(): TPage;
import { Page, PageProps } from '@inertiajs/core';
export default function usePage<TPageProps extends PageProps = PageProps>(): Page<TPageProps>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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