Please sign in to comment.
zlib: be strict about what strategies are accepted
Currently, strategy constants are integers but Node.js will accept string versions of those integers. Users should be using the provided zlib constants and not hardcoding numbers, strings, or anything else. As such, Node.js should be strict about accepting only exactly those values that are in the provided zlib constants. PR-URL: #10934 Fixes: #10932 Reviewed-By: Anna Henningsen <email@example.com> Reviewed-By: Michaël Zasso <firstname.lastname@example.org> Reviewed-By: Colin Ihrig <email@example.com> Reviewed-By: Luigi Pinca <firstname.lastname@example.org>
- Loading branch information...
Showing with 16 additions and 16 deletions.