From 2b962c761551fa5980a986829c07984900ef4fd7 Mon Sep 17 00:00:00 2001 From: Fynn Feldpausch Date: Thu, 27 Jun 2024 10:38:39 +0200 Subject: [PATCH] fix(react): update lock file --- .../lib/directives/boolean-value-accessor.ts | 3 +- pnpm-lock.yaml | 76 +++++++++++++------ 2 files changed, 54 insertions(+), 25 deletions(-) diff --git a/angular/projects/catalyst/src/lib/directives/boolean-value-accessor.ts b/angular/projects/catalyst/src/lib/directives/boolean-value-accessor.ts index e516792c0..bdf4057f1 100644 --- a/angular/projects/catalyst/src/lib/directives/boolean-value-accessor.ts +++ b/angular/projects/catalyst/src/lib/directives/boolean-value-accessor.ts @@ -22,6 +22,7 @@ export class BooleanValueAccessor extends ValueAccessor { super(el); } writeValue(value: any) { - this.el.nativeElement.checked = this.lastValue = value == null ? false : value; + this.el.nativeElement.checked = this.lastValue = + this.el.nativeElement.value == null ? value : this.el.nativeElement.value === value; } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1c4a9c4c..85134333e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -321,11 +321,11 @@ importers: specifier: ^15.12.2 version: 15.14.9 '@types/react': - specifier: ^18.0.28 - version: 18.2.79 + specifier: ^16.9.2 + version: 16.14.60 '@types/react-dom': - specifier: ^18.0.10 - version: 18.2.25 + specifier: ^16.9.0 + version: 16.9.24 jest: specifier: ^23.0.0 version: 23.6.0 @@ -336,11 +336,11 @@ importers: specifier: ^3.1.0 version: 3.1.0 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^16.9.0 + version: 16.14.0 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^16.9.0 + version: 16.14.0(react@16.14.0) typescript: specifier: ~4.6.3 version: 4.6.4 @@ -1844,8 +1844,11 @@ packages: '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - '@types/react-dom@18.2.25': - resolution: {integrity: sha512-o/V48vf4MQh7juIKZU2QGDfli6p1+OOi5oXx36Hffpc9adsHeXjVp8rHuPkjd8VT8sOJ2Zp05HR7CdpGTIUFUA==} + '@types/react-dom@16.9.24': + resolution: {integrity: sha512-Gcmq2JTDheyWn/1eteqyzzWKSqDjYU6KYsIvH7thb7CR5OYInAWOX+7WnKf6PaU/cbdOc4szJItcDEJO7UGmfA==} + + '@types/react@16.14.60': + resolution: {integrity: sha512-wIFmnczGsTcgwCBeIYOuy2mdXEiKZ5znU/jNOnMZPQyCcIxauMGWlX0TNG4lZ7NxRKj7YUIZRneJQSSdB2jKgg==} '@types/react@18.2.79': resolution: {integrity: sha512-RwGAGXPl9kSXwdNTafkOEuFrTBD5SA2B3iEB96xi8+xu5ddUa/cpvyVCSNn+asgLCTHkb5ZxN8gbuibYJi4s1w==} @@ -1859,6 +1862,9 @@ packages: '@types/retry@0.12.0': resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} + '@types/scheduler@0.16.8': + resolution: {integrity: sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==} + '@types/send@0.17.4': resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} @@ -6835,6 +6841,9 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} + prop-types@15.8.1: + resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -6923,10 +6932,10 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-dom@18.2.0: - resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} + react-dom@16.14.0: + resolution: {integrity: sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==} peerDependencies: - react: ^18.2.0 + react: ^16.14.0 react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -6934,8 +6943,8 @@ packages: react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} - react@18.2.0: - resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} + react@16.14.0: + resolution: {integrity: sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==} engines: {node: '>=0.10.0'} read-cache@1.0.0: @@ -7296,8 +7305,8 @@ packages: sax@1.3.0: resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==} - scheduler@0.23.0: - resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} + scheduler@0.19.1: + resolution: {integrity: sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -10647,9 +10656,15 @@ snapshots: '@types/range-parser@1.2.7': {} - '@types/react-dom@18.2.25': + '@types/react-dom@16.9.24': dependencies: - '@types/react': 18.2.79 + '@types/react': 16.14.60 + + '@types/react@16.14.60': + dependencies: + '@types/prop-types': 15.7.12 + '@types/scheduler': 0.16.8 + csstype: 3.1.3 '@types/react@18.2.79': dependencies: @@ -10666,6 +10681,8 @@ snapshots: '@types/retry@0.12.0': {} + '@types/scheduler@0.16.8': {} + '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 @@ -16850,6 +16867,12 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 + prop-types@15.8.1: + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + react-is: 16.13.1 + proxy-addr@2.0.7: dependencies: forwarded: 0.2.0 @@ -16954,19 +16977,23 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-dom@18.2.0(react@18.2.0): + react-dom@16.14.0(react@16.14.0): dependencies: loose-envify: 1.4.0 - react: 18.2.0 - scheduler: 0.23.0 + object-assign: 4.1.1 + prop-types: 15.8.1 + react: 16.14.0 + scheduler: 0.19.1 react-is@16.13.1: {} react-is@18.2.0: {} - react@18.2.0: + react@16.14.0: dependencies: loose-envify: 1.4.0 + object-assign: 4.1.1 + prop-types: 15.8.1 read-cache@1.0.0: dependencies: @@ -17357,9 +17384,10 @@ snapshots: sax@1.3.0: {} - scheduler@0.23.0: + scheduler@0.19.1: dependencies: loose-envify: 1.4.0 + object-assign: 4.1.1 schema-utils@2.7.1: dependencies: