From 5b01a459b4ca0e3cb406af709d22ed3c39c38b2f Mon Sep 17 00:00:00 2001 From: Whalelee Date: Mon, 28 Aug 2023 21:08:39 +0800 Subject: [PATCH] upgrade @prisma/client and prisma version to ^5.2.0 --- package-lock.json | 75 +++++++++++++++++++++++------------------------ package.json | 8 ++--- 2 files changed, 41 insertions(+), 42 deletions(-) diff --git a/package-lock.json b/package-lock.json index f28ec01..d16c3f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,14 @@ { "name": "casbin-prisma-adapter", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "casbin-prisma-adapter", - "version": "1.2.0", + "version": "1.3.0", "devDependencies": { - "@prisma/client": "^4.2.1", + "@prisma/client": "^5.2.0", "@semantic-release/git": "^10.0.1", "@types/jest": "^28.1.6", "@types/node": "^18.7.4", @@ -19,7 +19,7 @@ "eslint-config-prettier": "^6.11.0", "jest": "^28.1.3", "prettier": "^2.7.1", - "prisma": "^4.2.1", + "prisma": "^5.2.0", "rimraf": "^3.0.2", "semantic-release": "^19.0.3", "ts-jest": "^28.0.8", @@ -27,9 +27,9 @@ "typescript": "^4.7.4" }, "peerDependencies": { - "@prisma/client": "^4.2.1", + "@prisma/client": "^5.2.0", "casbin": "^5.16.0", - "prisma": "^4.2.1" + "prisma": "^5.2.0" } }, "node_modules/@ampproject/remapping": { @@ -1282,16 +1282,16 @@ } }, "node_modules/@prisma/client": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-4.2.1.tgz", - "integrity": "sha512-PZBkY60+k5oix+e6IUfl3ub8TbRLNsPLdfWrdy2eh80WcHTaT+/UfvXf/B7gXedH7FRtbPFHZXk1hZenJiJZFQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.2.0.tgz", + "integrity": "sha512-AiTjJwR4J5Rh6Z/9ZKrBBLel3/5DzUNntMohOy7yObVnVoTNVFi2kvpLZlFuKO50d7yDspOtW6XBpiAd0BVXbQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "@prisma/engines-version": "4.2.0-33.2920a97877e12e055c1333079b8d19cee7f33826" + "@prisma/engines-version": "5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f" }, "engines": { - "node": ">=14.17" + "node": ">=16.13" }, "peerDependencies": { "prisma": "*" @@ -1303,16 +1303,16 @@ } }, "node_modules/@prisma/engines": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-4.2.1.tgz", - "integrity": "sha512-0KqBwREUOjBiHwITsQzw2DWfLHjntvbqzGRawj4sBMnIiL5CXwyDUKeHOwXzKMtNr1rEjxEsypM14g0CzLRK3g==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.2.0.tgz", + "integrity": "sha512-dT7FOLUCdZmq+AunLqB1Iz+ZH/IIS1Fz2THmKZQ6aFONrQD/BQ5ecJ7g2wGS2OgyUFf4OaLam6/bxmgdOBDqig==", "dev": true, "hasInstallScript": true }, "node_modules/@prisma/engines-version": { - "version": "4.2.0-33.2920a97877e12e055c1333079b8d19cee7f33826", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-4.2.0-33.2920a97877e12e055c1333079b8d19cee7f33826.tgz", - "integrity": "sha512-tktkqdiwqE4QhmE088boPt+FwPj1Jub/zk+5F6sEfcRHzO5yz9jyMD5HFVtiwxZPLx/8Xg9ElnuTi8E5lWVQFQ==", + "version": "5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f", + "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f.tgz", + "integrity": "sha512-jsnKT5JIDIE01lAeCj2ghY9IwxkedhKNvxQeoyLs6dr4ZXynetD0vTy7u6wMJt8vVPv8I5DPy/I4CFaoXAgbtg==", "dev": true }, "node_modules/@semantic-release/commit-analyzer": { @@ -8073,20 +8073,19 @@ } }, "node_modules/prisma": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/prisma/-/prisma-4.2.1.tgz", - "integrity": "sha512-HuYqnTDgH8atjPGtYmY0Ql9XrrJnfW7daG1PtAJRW0E6gJxc50lY3vrIDn0yjMR3TvRlypjTcspQX8DT+xD4Sg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.2.0.tgz", + "integrity": "sha512-FfFlpjVCkZwrqxDnP4smlNYSH1so+CbfjgdpioFzGGqlQAEm6VHAYSzV7jJgC3ebtY9dNOhDMS2+4/1DDSM7bQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "@prisma/engines": "4.2.1" + "@prisma/engines": "5.2.0" }, "bin": { - "prisma": "build/index.js", - "prisma2": "build/index.js" + "prisma": "build/index.js" }, "engines": { - "node": ">=14.17" + "node": ">=16.13" } }, "node_modules/process-nextick-args": { @@ -10656,24 +10655,24 @@ } }, "@prisma/client": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-4.2.1.tgz", - "integrity": "sha512-PZBkY60+k5oix+e6IUfl3ub8TbRLNsPLdfWrdy2eh80WcHTaT+/UfvXf/B7gXedH7FRtbPFHZXk1hZenJiJZFQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.2.0.tgz", + "integrity": "sha512-AiTjJwR4J5Rh6Z/9ZKrBBLel3/5DzUNntMohOy7yObVnVoTNVFi2kvpLZlFuKO50d7yDspOtW6XBpiAd0BVXbQ==", "dev": true, "requires": { - "@prisma/engines-version": "4.2.0-33.2920a97877e12e055c1333079b8d19cee7f33826" + "@prisma/engines-version": "5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f" } }, "@prisma/engines": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-4.2.1.tgz", - "integrity": "sha512-0KqBwREUOjBiHwITsQzw2DWfLHjntvbqzGRawj4sBMnIiL5CXwyDUKeHOwXzKMtNr1rEjxEsypM14g0CzLRK3g==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.2.0.tgz", + "integrity": "sha512-dT7FOLUCdZmq+AunLqB1Iz+ZH/IIS1Fz2THmKZQ6aFONrQD/BQ5ecJ7g2wGS2OgyUFf4OaLam6/bxmgdOBDqig==", "dev": true }, "@prisma/engines-version": { - "version": "4.2.0-33.2920a97877e12e055c1333079b8d19cee7f33826", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-4.2.0-33.2920a97877e12e055c1333079b8d19cee7f33826.tgz", - "integrity": "sha512-tktkqdiwqE4QhmE088boPt+FwPj1Jub/zk+5F6sEfcRHzO5yz9jyMD5HFVtiwxZPLx/8Xg9ElnuTi8E5lWVQFQ==", + "version": "5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f", + "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f.tgz", + "integrity": "sha512-jsnKT5JIDIE01lAeCj2ghY9IwxkedhKNvxQeoyLs6dr4ZXynetD0vTy7u6wMJt8vVPv8I5DPy/I4CFaoXAgbtg==", "dev": true }, "@semantic-release/commit-analyzer": { @@ -15634,12 +15633,12 @@ } }, "prisma": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/prisma/-/prisma-4.2.1.tgz", - "integrity": "sha512-HuYqnTDgH8atjPGtYmY0Ql9XrrJnfW7daG1PtAJRW0E6gJxc50lY3vrIDn0yjMR3TvRlypjTcspQX8DT+xD4Sg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.2.0.tgz", + "integrity": "sha512-FfFlpjVCkZwrqxDnP4smlNYSH1so+CbfjgdpioFzGGqlQAEm6VHAYSzV7jJgC3ebtY9dNOhDMS2+4/1DDSM7bQ==", "dev": true, "requires": { - "@prisma/engines": "4.2.1" + "@prisma/engines": "5.2.0" } }, "process-nextick-args": { diff --git a/package.json b/package.json index bb9ff9a..3cbd497 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test": "jest --forceExit" }, "devDependencies": { - "@prisma/client": "^4.2.1", + "@prisma/client": "^5.2.0", "@semantic-release/git": "^10.0.1", "@types/jest": "^28.1.6", "@types/node": "^18.7.4", @@ -23,7 +23,7 @@ "eslint-config-prettier": "^6.11.0", "jest": "^28.1.3", "prettier": "^2.7.1", - "prisma": "^4.2.1", + "prisma": "^5.2.0", "rimraf": "^3.0.2", "semantic-release": "^19.0.3", "ts-jest": "^28.0.8", @@ -31,9 +31,9 @@ "typescript": "^4.7.4" }, "peerDependencies": { - "@prisma/client": "^4.2.1", + "@prisma/client": "^5.2.0", "casbin": "^5.16.0", - "prisma": "^4.2.1" + "prisma": "^5.2.0" }, "files": [ "lib",