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

Add Object.freeze and Object.seal #891

Merged
merged 5 commits into from Apr 25, 2022
Merged

Add Object.freeze and Object.seal #891

merged 5 commits into from Apr 25, 2022

Conversation

ghost
Copy link

@ghost ghost commented Apr 15, 2022

This change adds the bindings for Object.freeze and Object.seal as well as their respective integration tests.

src/object/mod.rs Outdated Show resolved Hide resolved
src/sys/object.rs Outdated Show resolved Hide resolved
test/napi/lib/objects.js Show resolved Hide resolved
@kjvalencik
Copy link
Member

This isn't necessary in this PR, but it would be nice to bump the Node-API version in create-neon so that new projects with npm init neon ... have these features enabled.

@ghost
Copy link
Author

ghost commented Apr 21, 2022

bumped now. should be good to go!

src/sys/object.rs Outdated Show resolved Hide resolved
@dherman
Copy link
Collaborator

dherman commented Apr 22, 2022

I love the chaining API! Really nice work.

Laz and others added 2 commits April 23, 2022 09:20
Co-authored-by: K.J. Valencik <kjvalencik@gmail.com>
@kjvalencik kjvalencik merged commit db080d2 into neon-bindings:main Apr 25, 2022
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.

None yet

2 participants