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

Import buffer from npm modules explicitly #10

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Import buffer from npm modules explicitly #10

merged 1 commit into from
Oct 24, 2023

Conversation

korya
Copy link
Contributor

@korya korya commented Oct 24, 2023

The official docs (https://github.com/feross/buffer) suggests:

To depend on this module explicitly (without browserify), require it like
this:

var Buffer = require('buffer/').Buffer  // note: the trailing slash is important!

To require this module explicitly, use require('buffer/') which tells the
node.js module lookup algorithm (also used by browserify) to use the npm
module named buffer instead of the node.js core module named buffer!

The official docs (https://github.com/feross/buffer) suggest:

> To depend on this module explicitly (without browserify), require it like
> this:
>     var Buffer = require('buffer/').Buffer  // note: the trailing slash is important!
> To require this module explicitly, use require('buffer/') which tells the
> node.js module lookup algorithm (also used by browserify) to use the npm
> module named buffer instead of the node.js core module named buffer!
@korya korya requested a review from adamdupuis October 24, 2023 19:50
Copy link

@gitstream-cm gitstream-cm bot left a comment

Choose a reason for hiding this comment

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

This PR is missing a reference to Jira ticket:

  • Jira ticket ID should be appended to the PR title

  • Jira ticket URL should be added as a list item in the Related section (- https://planitar.atlassian.net/browse/{ID})

Make sure you provide links to relevant context (Jira tasks, Github issues, other PRs) as follows:
Github integration

Copy link

@gitstream-cm gitstream-cm bot left a comment

Choose a reason for hiding this comment

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

This PR is missing a reference to Jira ticket:

  • Jira ticket ID should be appended to the PR title

  • Jira ticket URL should be added as a list item in the Related section (- https://planitar.atlassian.net/browse/{ID})

Make sure you provide links to relevant context (Jira tasks, Github issues, other PRs) as follows:
Github integration

@korya korya merged commit 489b8ca into master Oct 24, 2023
4 of 6 checks passed
@korya korya deleted the support-buffer branch October 24, 2023 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants