Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade zustand from 4.4.1 to 4.5.5 #37

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: upgrade zustand from 4.4.1 to 4.5.5
Snyk has created this PR to upgrade zustand from 4.4.1 to 4.5.5.

See this package in npm:
zustand

See this project in Snyk:
https://app.snyk.io/org/nouhaila49/project/478f2783-a1d0-4003-815a-72ff0fdf7b92?utm_source=github&utm_medium=referral&page=upgrade-pr
snyk-bot committed Oct 30, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit 13fcce89dc3596133e98ffbfcfdcebdf8e014f86
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@
"solidity-browser-compiler": "^1.1.0",
"typescript": "~4.8.4",
"zone.js": "~0.11.4",
"zustand": "4.4.1"
"zustand": "4.5.5"
},
"devDependencies": {
"@angular-eslint/builder": "^0.8.0-beta.7",

Unchanged files with check annotations Beta

import { defineConfig } from 'cypress'

Check failure on line 1 in cypress.config.ts

GitHub Actions / smoke-test

Cannot find module 'cypress' or its corresponding type declarations.

Check failure on line 1 in cypress.config.ts

GitHub Actions / smoke-test

Cannot find module 'cypress' or its corresponding type declarations.
import * as security from './lib/insecurity'
import config from 'config'

Check failure on line 3 in cypress.config.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.

Check failure on line 3 in cypress.config.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.
import { type Memory, type Product } from './data/types'
import * as utils from './lib/utils'
import * as otplib from 'otplib'
import { WalletModel } from '../models/wallet'
import { type Address, type Card, type Challenge, type Delivery, type Memory, type Product, type SecurityQuestion, type User } from './types'
import logger from '../lib/logger'
import config from 'config'

Check failure on line 25 in data/datacreator.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.

Check failure on line 25 in data/datacreator.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.
import path from 'path'
import * as utils from '../lib/utils'
const datacache = require('./datacache')
* SPDX-License-Identifier: MIT
*/
import config from 'config'

Check failure on line 6 in lib/antiCheat.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.

Check failure on line 6 in lib/antiCheat.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.
import colors from 'colors/safe'
import { retrieveCodeSnippet } from '../routes/vulnCodeSnippet'
import { readFixes } from '../routes/vulnCodeFixes'
import { type Challenge } from '../data/types'
import { getCodeChallenges } from './codingChallenges'
import logger from './logger'
import { type NextFunction, type Request, type Response } from 'express'

Check failure on line 13 in lib/antiCheat.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'express'. '/home/runner/work/juice-shop/juice-shop/node_modules/express/index.js' implicitly has an 'any' type.

Check failure on line 13 in lib/antiCheat.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'express'. '/home/runner/work/juice-shop/juice-shop/node_modules/express/index.js' implicitly has an 'any' type.
import * as utils from './utils'
const median = require('median')
import { Op } from 'sequelize'
import { ChallengeModel } from '../models/challenge'
import logger from './logger'
import config from 'config'

Check failure on line 4 in lib/challengeUtils.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.

Check failure on line 4 in lib/challengeUtils.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'config'. '/home/runner/work/juice-shop/juice-shop/node_modules/config/lib/config.js' implicitly has an 'any' type.
import sanitizeHtml from 'sanitize-html'

Check failure on line 5 in lib/challengeUtils.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'sanitize-html'. '/home/runner/work/juice-shop/juice-shop/node_modules/sanitize-html/index.js' implicitly has an 'any' type.

Check failure on line 5 in lib/challengeUtils.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'sanitize-html'. '/home/runner/work/juice-shop/juice-shop/node_modules/sanitize-html/index.js' implicitly has an 'any' type.
import colors from 'colors/safe'
import * as utils from './utils'
import { calculateCheatScore, calculateFindItCheatScore, calculateFixItCheatScore } from './antiCheat'
const entities = new Entities()
const globalWithSocketIO = global as typeof globalThis & {
io: SocketIOClientStatic & Server

Check failure on line 19 in lib/challengeUtils.ts

GitHub Actions / smoke-test

Cannot find name 'SocketIOClientStatic'.

Check failure on line 19 in lib/challengeUtils.ts

GitHub Actions / smoke-test

Cannot find name 'SocketIOClientStatic'.
}
export const solveIf = function (challenge: any, criteria: () => any, isRestore: boolean = false) {
import fs from 'fs'
import crypto from 'crypto'
import { type Request, type Response, type NextFunction } from 'express'

Check failure on line 8 in lib/insecurity.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'express'. '/home/runner/work/juice-shop/juice-shop/node_modules/express/index.js' implicitly has an 'any' type.

Check failure on line 8 in lib/insecurity.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'express'. '/home/runner/work/juice-shop/juice-shop/node_modules/express/index.js' implicitly has an 'any' type.
import { type UserModel } from 'models/user'
import expressJwt from 'express-jwt'

Check failure on line 10 in lib/insecurity.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'express-jwt'. '/home/runner/work/juice-shop/juice-shop/node_modules/express-jwt/lib/index.js' implicitly has an 'any' type.

Check failure on line 10 in lib/insecurity.ts

GitHub Actions / smoke-test

Could not find a declaration file for module 'express-jwt'. '/home/runner/work/juice-shop/juice-shop/node_modules/express-jwt/lib/index.js' implicitly has an 'any' type.
import jwt from 'jsonwebtoken'
import jws from 'jws'
import sanitizeHtmlLib from 'sanitize-html'