Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Buffer Lib does not transpile code into ES2015 which does not allow to import it by older devices

オープン
#323 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, nodejs
領域
web-dev

調査の方向性

まず、パッケージの build および配布設定を調べ、公開された内容を issue に記載されているソース構文と比較します。古いデバイスとの互換性要件に照らして結果を確認します。消費者がサポートされていない ES2015 構文に遭遇することなくパッケージを import できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

On our project, we faced an issue of having a non-tranpiled const in node_modules. This is an issue for us as some of the devices we support end up not working due to a transpilation error.

As a fix on our side, we have to fork buffer lib locally and transpile it ourselves so that all const become var and other ES2015 syntax (we are also a lib used by the apps, so transpiling buffer code via webpack was not an option).

Is it possible to solve it on the buffer side and compile contents to ES2015 so we can import buffer again?

主要言語
JavaScript
スター
1.9k
フォーク
260
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

feross/buffer のほかの issue

feross/buffer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。