GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — util: make util binding internal by cjihrig · Pull Request #22675 · nodejs/node

Conversation

@cjihrig

@cjihrig cjihrig commented Sep 3, 2018

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@cjihrig cjihrig added the semver-major PRs that contain breaking changes and should be released in the next major version. label Sep 3, 2018
@nodejs-github-bot

nodejs-github-bot commented Sep 3, 2018

Copy link
Copy Markdown
Collaborator

@cjihrig build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/783/pipeline

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs involving general changes in the lib/ or src/ directories. label Sep 3, 2018
@jasnell jasnell mentioned this pull request Sep 3, 2018
Tracking Issue: process.binding to internalBinding #22160
Closed
32 of 33 tasks
targos
targos approved these changes Sep 3, 2018
View reviewed changes
lpinca
lpinca approved these changes Sep 3, 2018
View reviewed changes
devsnek
devsnek approved these changes Sep 3, 2018
View reviewed changes
jasnell
jasnell approved these changes Sep 4, 2018
View reviewed changes
BridgeAR
BridgeAR approved these changes Sep 5, 2018
View reviewed changes
@BridgeAR

BridgeAR commented Sep 5, 2018

Copy link
Copy Markdown
Member

CI https://ci.nodejs.org/job/node-test-pull-request/17020/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR BridgeAR added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Sep 5, 2018
trivikr
trivikr approved these changes Sep 5, 2018
View reviewed changes
cjihrig added 2 commits September 5, 2018 21:53
@cjihrig
util: make util binding internal
7e4b0a4
Refs: nodejs#22160
PR-URL: nodejs#22675
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@cjihrig
repl: remove duplicate util binding
2bf4697
PR-URL: nodejs#22675
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@cjihrig
cjihrig force-pushed the util-binding branch from aa51316 to 2bf4697 Compare September 6, 2018 01:54
@cjihrig

cjihrig commented Sep 6, 2018

Copy link
Copy Markdown
Contributor Author

Green resumed CI: https://ci.nodejs.org/job/node-test-pull-request/17043/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig
cjihrig merged commit 2bf4697 into nodejs:master Sep 6, 2018
@cjihrig
cjihrig deleted the util-binding branch September 6, 2018 01:56
addaleax
addaleax reviewed Oct 14, 2018
View reviewed changes
Comment thread lib/stream.js
// returns undefined for Node < 7.4.0.
Stream._isUint8Array = process.binding('util').isUint8Array;
const { internalBinding } = require('internal/bootstrap/loaders');
Stream._isUint8Array = internalBinding('util').isUint8Array;

@addaleax addaleax Oct 14, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to revert this change, since it is only left in the file for compatibility with prior Node.js versions in readable-stream.

/cc @nodejs/streams

edit: #23662

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
addaleax added a commit to addaleax/node that referenced this pull request Oct 14, 2018
@addaleax
stream: undo internalBinding() conversion in compat mechanism
bf6ca1f
Refs: nodejs#22675
@addaleax addaleax mentioned this pull request Oct 14, 2018
stream: undo internalBinding() conversion in compat mechanism #23662
Closed
2 tasks done
danbev pushed a commit that referenced this pull request Oct 18, 2018
@addaleax @danbev
stream: undo internalBinding() conversion in compat mechanism
4e9e0d3
PR-URL: #23662
Refs: #22675
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
jasnell pushed a commit that referenced this pull request Oct 21, 2018
@addaleax @jasnell
stream: undo internalBinding() conversion in compat mechanism
20373c4
PR-URL: #23662
Refs: #22675
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@addaleax addaleax addaleax left review comments
@jasnell jasnell jasnell approved these changes
@lpinca lpinca lpinca approved these changes
@BridgeAR BridgeAR BridgeAR approved these changes
@trivikr trivikr trivikr approved these changes
+2 more reviewers
@targos targos targos approved these changes
@devsnek devsnek devsnek approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@cjihrig @nodejs-github-bot @BridgeAR @jasnell @addaleax @lpinca @targos @devsnek @trivikr
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.