Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try using built-in Node.js Blob #96

Open
dumbmatter opened this issue Jan 10, 2024 · 1 comment
Open

Try using built-in Node.js Blob #96

dumbmatter opened this issue Jan 10, 2024 · 1 comment

Comments

@dumbmatter
Copy link
Owner

Node.js now has a built-in Blob, so maybe I can use that rather than

global.Blob = function (parts, options = {}) {
this.size = 0;
Object.assign(this, options);
return this;
};
and maybe also enable some skipped tests that use Blobs.

@dumbmatter
Copy link
Owner Author

Currently the keypath-special-identifiers test fails when trying to set a value for an autoincrementing key in the "size" property, apparently that's supposed to overwrite the size of the Blob? Not sure how I should handle that.

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

No branches or pull requests

1 participant