Skip to content

Commit

Permalink
chore(deps): update engines to 3.12.0-13.f52c2eaa18292bdb57d7c1503e83…
Browse files Browse the repository at this point in the history
…c4123f17f465 (#12473)

* chore(deps): update engines to 3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465

* test(db pull): update snapshots

Co-authored-by: Joël Galeran <galeran@prisma.io>
  • Loading branch information
prisma-bot and Jolg42 committed Mar 22, 2022
1 parent 4b86313 commit cf13748
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 97 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Expand Up @@ -67,9 +67,9 @@
"devDependencies": {
"@prisma/client": "workspace:*",
"@prisma/debug": "workspace:*",
"@prisma/fetch-engine": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/fetch-engine": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/get-platform": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/migrate": "workspace:*",
"@prisma/sdk": "workspace:*",
"@prisma/studio": "0.458.0",
Expand Down Expand Up @@ -118,7 +118,7 @@
"preinstall": "node scripts/preinstall-entry.js"
},
"dependencies": {
"@prisma/engines": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b"
"@prisma/engines": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465"
},
"sideEffects": false
}
8 changes: 4 additions & 4 deletions packages/client/package.json
Expand Up @@ -63,10 +63,10 @@
"@opentelemetry/api": "1.0.3",
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/fetch-engine": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/engines": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/fetch-engine": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/get-platform": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/migrate": "workspace:*",
"@prisma/sdk": "workspace:*",
"@timsuchanek/copy": "1.4.5",
Expand Down Expand Up @@ -121,7 +121,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b"
"@prisma/engines-version": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465"
},
"sideEffects": false
}
4 changes: 2 additions & 2 deletions packages/engine-core/package.json
Expand Up @@ -36,9 +36,9 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engines": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/engines": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/get-platform": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"chalk": "4.1.2",
"execa": "5.1.1",
"get-stream": "6.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/package.json
Expand Up @@ -20,7 +20,7 @@
"version": "latest"
},
"devDependencies": {
"@prisma/engines-version": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/engines-version": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/generator-helper": "workspace:*",
"@prisma/sdk": "workspace:*",
"@swc/core": "1.2.141",
Expand All @@ -45,7 +45,7 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/get-platform": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/get-platform": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@sindresorhus/slugify": "1.1.2",
"chalk": "4.1.2",
"execa": "5.1.1",
Expand Down
92 changes: 46 additions & 46 deletions packages/migrate/src/__tests__/DbPull.test.ts
Expand Up @@ -194,14 +194,14 @@ describe('common/sqlite', () => {
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(``)
expect(ctx.mocked['console.error'].mock.calls.join('\n')).toMatchInlineSnapshot(`
// *** WARNING ***
//
// These models were enriched with \`@@map\` information taken from the previous Prisma schema.
// - Model "AwesomeNewPost"
// - Model "AwesomeProfile"
// - Model "AwesomeUser"
//
`)
// *** WARNING ***
//
// These models were enriched with \`@@map\` information taken from the previous Prisma schema.
// - Model "AwesomeNewPost"
// - Model "AwesomeProfile"
// - Model "AwesomeUser"
//
`)

expect(ctx.fs.read('prisma/reintrospection.prisma')).toStrictEqual(originalSchema)
})
Expand Down Expand Up @@ -595,15 +595,15 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
type UsersHobbies {
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString2 Json?
objects UsersHobbiesObjects[]
tags String[]
}
type UsersHobbiesObjects {
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString3 Json
tags String[]
}
Expand All @@ -614,7 +614,7 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
email String
hobbies UsersHobbies[]
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString1 Json
}
Expand All @@ -624,14 +624,14 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(``)
expect(ctx.mocked['console.error'].mock.calls.join('\n')).toMatchInlineSnapshot(`
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
// - Type "UsersHobbies", field: "numberOrString2", chosen data type: "Json"
// - Type "UsersHobbiesObjects", field: "numberOrString3", chosen data type: "Json"
//
`)
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
// - Type "UsersHobbies", field: "numberOrString2", chosen data type: "Json"
// - Type "UsersHobbiesObjects", field: "numberOrString3", chosen data type: "Json"
//
`)
})

test('introspection --print --composite-type-depth=0 (no existing models)', async () => {
Expand All @@ -656,7 +656,7 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
email String
hobbies Json[]
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString1 Json
}
Expand All @@ -666,12 +666,12 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(``)
expect(ctx.mocked['console.error'].mock.calls.join('\n')).toMatchInlineSnapshot(`
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
//
`)
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
//
`)
})

test('introspection --print --composite-type-depth=1 (no existing models)', async () => {
Expand All @@ -692,7 +692,7 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
type UsersHobbies {
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString2 Json?
objects Json[]
tags String[]
Expand All @@ -704,7 +704,7 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
email String
hobbies UsersHobbies[]
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString1 Json
}
Expand All @@ -714,13 +714,13 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(``)
expect(ctx.mocked['console.error'].mock.calls.join('\n')).toMatchInlineSnapshot(`
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
// - Type "UsersHobbies", field: "numberOrString2", chosen data type: "Json"
//
`)
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
// - Type "UsersHobbies", field: "numberOrString2", chosen data type: "Json"
//
`)
})

test('introspection --force --composite-type-depth=-1 (existing models)', async () => {
Expand Down Expand Up @@ -767,15 +767,15 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
type UsersHobbies {
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString2 Json?
objects UsersHobbiesObjects[]
tags String[]
}
type UsersHobbiesObjects {
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString3 Json
tags String[]
}
Expand All @@ -786,7 +786,7 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
email String
hobbies UsersHobbies[]
name String
/// Multiple data types found: String: 50%, Int32: 50% out of 2 sampled entries
/// Multiple data types found: String: 50%, Int: 50% out of 2 sampled entries
numberOrString1 Json
}
Expand All @@ -796,14 +796,14 @@ describeIf(process.platform !== 'win32' && !isMacOrWindowsCI)('MongoDB', () => {
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(``)
expect(ctx.mocked['console.error'].mock.calls.join('\n')).toMatchInlineSnapshot(`
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
// - Type "UsersHobbies", field: "numberOrString2", chosen data type: "Json"
// - Type "UsersHobbiesObjects", field: "numberOrString3", chosen data type: "Json"
//
`)
// *** WARNING ***
//
// The following fields had data stored in multiple types. Either use Json or normalize data to the wanted type.
// - Model "users", field: "numberOrString1", chosen data type: "Json"
// - Type "UsersHobbies", field: "numberOrString2", chosen data type: "Json"
// - Type "UsersHobbiesObjects", field: "numberOrString3", chosen data type: "Json"
//
`)
})

// describeIf is making eslint not happy about the names
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk/package.json
Expand Up @@ -46,10 +46,10 @@
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/fetch-engine": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/engines": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/fetch-engine": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.12.0-12.2ab307d2b73aa7052990e03a8efc915b4396c46b",
"@prisma/get-platform": "3.12.0-13.f52c2eaa18292bdb57d7c1503e83c4123f17f465",
"@timsuchanek/copy": "1.4.5",
"archiver": "5.3.0",
"arg": "5.0.1",
Expand Down

0 comments on commit cf13748

Please sign in to comment.