Skip to content

Commit

Permalink
chore(deps): update engines to 3.16.0-34.4123f3fa0ceb8c583a9094914ec2…
Browse files Browse the repository at this point in the history
…0ab68b530685 (#13941)

* chore(deps): update engines to 3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685

* test(client): update the test and remove workaround

Co-authored-by: Alexey Orlenko <alex@aqrln.net>
  • Loading branch information
prisma-bot and aqrln committed Jun 21, 2022
1 parent 3e3a427 commit a66fa83
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 61 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Expand Up @@ -68,9 +68,9 @@
"devDependencies": {
"@prisma/client": "workspace:*",
"@prisma/debug": "workspace:*",
"@prisma/fetch-engine": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/fetch-engine": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/get-platform": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/internals": "workspace:*",
"@prisma/migrate": "workspace:*",
"@prisma/studio": "0.464.0",
Expand Down Expand Up @@ -120,7 +120,7 @@
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"@prisma/engines": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433"
"@prisma/engines": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685"
},
"sideEffects": false
}
8 changes: 4 additions & 4 deletions packages/client/package.json
Expand Up @@ -70,10 +70,10 @@
"@opentelemetry/api": "1.1.0",
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/fetch-engine": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/engines": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/fetch-engine": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/get-platform": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/internals": "workspace:*",
"@prisma/migrate": "workspace:*",
"@swc/core": "1.2.203",
Expand Down Expand Up @@ -137,7 +137,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433"
"@prisma/engines-version": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685"
},
"sideEffects": false
}
12 changes: 2 additions & 10 deletions packages/client/tests/functional/queryRaw-typed-results/tests.ts
Expand Up @@ -6,7 +6,7 @@ declare let prisma: import('@prisma/client').PrismaClient
declare let Prisma: typeof import('@prisma/client').Prisma

testMatrix.setupTestSuite(
(suiteConfig) => {
() => {
test('simple expression', async () => {
const result = (await prisma.$queryRaw`SELECT 1 + 1`) as Array<Record<string, unknown>>
expect(Number(Object.values(result[0])[0])).toEqual(2)
Expand Down Expand Up @@ -35,21 +35,13 @@ testMatrix.setupTestSuite(
string: 'str',
int: 42,
bInt: BigInt('12345'),
float: expect.anything(), // checked below
float: 0.125,
bytes: Buffer.from([1, 2, 3]),
bool: true,
dt: new Date('1900-10-10T01:10:10.001Z'),
dec: new Prisma.Decimal('0.0625'),
},
])

const floatField = (testModel as { float: unknown }[])[0].float

if (suiteConfig['provider'] === 'sqlite') {
expect(floatField).toEqual(new Prisma.Decimal('0.125'))
} else {
expect(floatField).toEqual(0.125)
}
})
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/engine-core/package.json
Expand Up @@ -35,9 +35,9 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engines": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/engines": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/get-platform": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"chalk": "4.1.2",
"execa": "5.1.1",
"get-stream": "6.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/internals/package.json
Expand Up @@ -47,10 +47,10 @@
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/fetch-engine": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/engines": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/fetch-engine": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/get-platform": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@timsuchanek/copy": "1.4.5",
"archiver": "5.3.1",
"arg": "5.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/package.json
Expand Up @@ -19,7 +19,7 @@
"version": "latest"
},
"devDependencies": {
"@prisma/engines-version": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/engines-version": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@prisma/generator-helper": "workspace:*",
"@prisma/internals": "workspace:*",
"@swc/core": "1.2.203",
Expand All @@ -44,7 +44,7 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/get-platform": "3.16.0-33.7a18b3b3a7f3c555f78372d40fe90241c4d6f433",
"@prisma/get-platform": "3.16.0-34.4123f3fa0ceb8c583a9094914ec20ab68b530685",
"@sindresorhus/slugify": "1.1.2",
"chalk": "4.1.2",
"execa": "5.1.1",
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a66fa83

Please sign in to comment.