Skip to content

Commit 6c4f2dc

Browse files
committed
Fix allThePackageNamesData.default in update-data-npm
1 parent 9a847ea commit 6c4f2dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/update-data-npm.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ void (async () => {
7272
// Load the 43.1MB names.json file of '[email protected]'
7373
// which keeps the json file smaller while still covering the changes from:
7474
// https://blog.npmjs.org/post/168978377570/new-package-moniker-rules.html
75-
...allThePackageNamesData.default,
75+
...allThePackageNamesData,
7676
// Load the 24.7MB names.json from '[email protected]',
7777
// the last v1 release, because it has different names resolved by
7878
// npm's replicate.npmjs.com service.
79-
...allThePackageNamesV1Data.default,
79+
...allThePackageNamesV1Data,
8080
]),
8181
]
8282
const rawLegacyNames = allThePackageNames

0 commit comments

Comments
 (0)