🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

create-react-admin

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-admin - npm Package Compare versions

Comparing version

to
5.7.1

templates/common/eslint.config.mjs

4

package.json
{
"name": "create-react-admin",
"description": "A CLI to quickly start a new react-admin project",
"version": "5.7.0",
"version": "5.7.1",
"license": "MIT",

@@ -37,3 +37,3 @@ "bin": "lib/cli.js",

},
"gitHead": "d2f449eabdb8c536500d5e534ca792e7b61fe5c5"
"gitHead": "2e62ae415e5ff60272ef1f1b5fc2011262f62730"
}

@@ -24,4 +24,3 @@ {

"devDependencies": {
"@typescript-eslint/parser": "^5.60.1",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@eslint/js": "^9.23.0",
"@types/node": "^20.10.7",

@@ -31,10 +30,13 @@ "@types/react": "^18.3.3",

"@vitejs/plugin-react": "^4.0.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.5",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"prettier": "^3.3.3",
"typescript": "^5.1.6",
"typescript-eslint": "^8.28.0",
"vite": "^5.3.5"
}
}

@@ -14,4 +14,4 @@ import { AuthProvider, HttpError } from 'react-admin';

if (user) {
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
let { password, ...userToPersist } = user;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { password, ...userToPersist } = user;
localStorage.setItem('user', JSON.stringify(userToPersist));

@@ -18,0 +18,0 @@ return Promise.resolve();

import { defineConfig } from "vite";
import path from "path";
import react from "@vitejs/plugin-react";

@@ -4,0 +3,0 @@