Skip to content

fix: made VirtualStats compatible with Node 6/8/10/12/14#125

Merged
benmccann merged 1 commit intosveltejs:masterfrom
ikrestov:fix/virtualstat
Sep 4, 2020
Merged

fix: made VirtualStats compatible with Node 6/8/10/12/14#125
benmccann merged 1 commit intosveltejs:masterfrom
ikrestov:fix/virtualstat

Conversation

@ikrestov
Copy link
Contributor

@ikrestov ikrestov commented Jun 5, 2020

VirtualStats was missing millisecond variables and incorrectly provided time value as milliseconds, when Node provides it as Date object - https://nodejs.org/docs/latest-v12.x/api/fs.html#fs_class_fs_stats.

This made webpack crash periodically when using cache-loader in front of svelte-loader.

VirtualStats was missing millisecond variables and incorrectly provided time value as milliseconds, when Node provides it as Date object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants