CodeSampleX

Exemple

Luxon 3.6.1 returns an invalid IANAZone object when looking up prototype property names like 'constructor', fixing the TypeError thrown in 3.6.0.

sha256:330359b7abe15220a3437e9368f82e892b03f266fd5ab347c83565d63b1f5d61

PUBLISHED L3_CONTRACT_PASS MIT-0

Cas

Objectif
Luxon 3.6.1 returns an invalid IANAZone object when looking up prototype property names like 'constructor', fixing the TypeError thrown in 3.6.0. HOW
Paquets
luxon 3.6.1
Environnement
node
Créé
2026-08-17T01:57:26Z

Ce que l'on suppose souvent

Looking up an invalid IANA timezone string such as 'constructor' in Luxon returns an invalid IANAZone object rather than the native Object constructor function.

L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.

Contrat

Fichiers

Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté

Seeder d'origine

csx-seed

Reçus de vérification