並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 272 件 / 272件

新着順 人気順

nodejsの検索結果241 - 272 件 / 272件

  • nitrogql blog

    Published at September 3, 2023 Today, we are happy to announce the first stable release of nitrogql! nitrogql is a toolchain for using GraphQL in TypeScript projects. In this post, we will go over the main features of nitrogql and how to get started with it. What is nitrogql?Currently, nitrogql has two main features: code generation and static checking. Code generationCode generation is the proces

      nitrogql blog
    • Expressに22個以上の要素の配列クエリを渡すときは気をつける - すぎゃーんメモ

      自作ライブラリを使ったBlueskyクライアントを実装していて遭遇したバグ。 ATriumからのfeed.getPostsでurisが21個までなら大丈夫だが22個以上だとエラーになることが発覚した。問題切り分け中… ここまで自作クライアント実装してようやく気付く問題があるんだから やっぱりドッグフーディング大事やな、、— すぎゃーん (@sugyan.com) Apr 21, 2024 at 10:21 AM 問題の詳細と対応は以下の通り。 `app.bsky.feed.getPosts` fails with more than a certain number of arguments `uris` · Issue #160 · sugyan/atrium · GitHub feat: Replace serde_qs to serde_html_form by sugyan · P

        Expressに22個以上の要素の配列クエリを渡すときは気をつける - すぎゃーんメモ
      • Node.js が require() で検索するパスのまとめ | まくまくNode.jsノート

        require() によって Node.js がどのようにロードするモジュールを検索するかは、Node.js の Modules のドキュメント に詳しく説明されていますが、若干複雑なのでここでまとめておきます。 require の使い分け require でモジュールをロードするとき、多くは下記の 3 パターンのロード方法に分類できます。 // コアモジュール、あるいは node_modules にインストールしたパッケージのロード const crypto = require('crypto'); // ローカルモジュールのロード const myLocalModule = require('./path/to/myLocalModule'); // JSON ファイルのロード const jsonData = require('./path/to/data.json'); 簡単にまと

          Node.js が require() で検索するパスのまとめ | まくまくNode.jsノート
        • prompts : node.js用のコマンドラインからの値を受け取る時に便利なライブラリ

          prompts は ' npm ' 又は ' yarn ' を使ってインストールします。また、node.js の バージョンが  ' 7.6 以上 ' の必要があります。 # npm npm install --save prompts # yarn yarn add prompts prompts は、特定キーのオブジェクトをラップして対話式の処理を書いていきます。 let question = { type: "text", // 入力を受け付けるタイプ name: "myValue", // 変数 message: "promptsの入力テスト" // 入力時に表示させるテキスト }; // promptsの起動 await prompts(question) prompts は 非同期処理がベースとなっているので、 ' async ' 関数内で処理を書く必要があります。また、 '

            prompts : node.js用のコマンドラインからの値を受け取る時に便利なライブラリ
          • Release 4.0.0 · paulmillr/chokidar

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Release 4.0.0 · paulmillr/chokidar
            • Reading and writing Node.js streams

              Working with large datasets in Node.js applications can be a double-edged sword. The ability to handle massive amounts of data is extremely handy, but can also lead to performance bottlenecks and memory exhaustion. Traditionally, developers tackled this challenge by reading the entire dataset into memory at once. This approach, while intuitive for smaller datasets, becomes inefficient and resource

                Reading and writing Node.js streams
              • GitHub - nolanlawson/emoji-picker-element: A lightweight emoji picker for the modern web

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - nolanlawson/emoji-picker-element: A lightweight emoji picker for the modern web
                • GitHub - SukkaW/nolyfill: Speed up your package installation process, reduce your disk usage, and extend the lifespan of your precious SSD.

                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                    GitHub - SukkaW/nolyfill: Speed up your package installation process, reduce your disk usage, and extend the lifespan of your precious SSD.
                  • Node.js — Node v21.2.0 (Current)

                    2023-11-14, Version 21.2.0 (Current), @targos Notable Changes [e25c65ee2f] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666 [f2366573f9] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393 [eac9cc5fcb] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740 [7e151114b1] - fs: add stacktrace to fs/promises (翠 / green) #49849 [6dbb28

                      Node.js — Node v21.2.0 (Current)
                    • Catalogs | pnpm

                      "Catalogs" are a workspace feature for defining dependency version ranges as reusable constants. Constants defined in catalogs can later be referenced in package.json files. The Catalog Protocol (catalog:)​ Once a catalog is defined in pnpm-workspace.yaml,

                        Catalogs | pnpm
                      • Relation queries (Concepts) | Prisma Documentation

                        A key feature of Prisma Client is the ability to query relations between two or more models. Relation queries include: Nested reads (sometimes referred to as eager loading) via select and include Nested writes with transactional guarantees Filtering on related records Prisma Client also has a fluent API for traversing relations. Nested reads​ Nested reads allow you to read related data from multip

                          Relation queries (Concepts) | Prisma Documentation
                        • node-sql-parser

                          Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList, columnList and convert it back to SQL. support multiple sql statement seperate by semicolon support select, delete, update and insert type support drop, truncate and rename command output the table and column list that the sql visited with the corresponding authority support various databases engine

                            node-sql-parser
                          • Node.jsライブラリ/ツールをESMに移行する[Node.js 12+]

                            パッケージの移行 パッケージをESMなパッケージとして明示する方法は2つ .mjs の拡張子を使う package.json の type フィールドに module の値を設定する 基本的にパッケージ単位で移行すると思うので、後者の package.json の "type": "module"を設定する。 この設定をすると、パッケージ内のJavaScriptがモジュールのコンテキストで実行されるようになる。 モジュールでは常にstrict modeとなり、Node.jsのESMではrequire、exports、__dirname、__filename などが利用できなくなる。 代わりに、ES2015+のimportとexport文がモジュール構文として利用できるようになる。 JavaScript モジュール - JavaScript | MDN Differences between

                              Node.jsライブラリ/ツールをESMに移行する[Node.js 12+]
                            • Node.js — Node v22.5.0 (Current)

                              2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95 Notable Changes [1367c5558e] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #53721 [b31394920d] - (SEMVER-MINOR) lib: add node:sqlite module (Colin Ihrig) #53752 [aa7df9551d] - module: add __esModule to require()'d ESM (Joyee Cheung) #52166 [8743c4d65a] - (SEMVER-MINOR) path: add matchesGlob method (Aviv Keller) #528

                                Node.js — Node v22.5.0 (Current)
                              • GitHub - unjs/unenv: 🕊️ Node.js compatibility for any JavaScript runtime, including browsers and edge workers.

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - unjs/unenv: 🕊️ Node.js compatibility for any JavaScript runtime, including browsers and edge workers.
                                • Secure Node.js Applications from Supply Chain Attacks

                                  This isn’t another AI-generated blog post about generic security practices. It contains detailed instructions on protecting Node.js applications from supply-chain attacks and describes best practices for security in any programming language. According to the GitHub report, The state of open source and rise of AI in 2023, JavaScript and TypeScript are the #1 and #3 most popular languages hosted on

                                    Secure Node.js Applications from Supply Chain Attacks
                                  • Release v2.0.0 · unjs/jiti

                                    🌟 Highlights 🔥 Native ESM jiti v2 now natively supports ESM import and resolution with new API await jiti.import(id) and jiti.esmResolve(id). This allows top-level await and native+faster importing of ES-only modules with increased compatibility ⚛️ JSX Support You can now directly import .jsx/.tsx files with jiti! See examples with nano-js, preact, React and Vue. This feature is opt-in for now (

                                      Release v2.0.0 · unjs/jiti
                                    • Release v2.0.0 · volta-cli/volta

                                      🚨 (BREAKING) 🚨 We upgraded the version of Rust used to build Volta, which drops support for older versions of glibc & Linux kernel. See the Rust announcement from August 2022 for details about the supported versions. Notably, this means that we no longer support CentOS 6 (#1611) 🚨 (BREAKING) 🚨 Due to costs and changes in the code signing process, we have dropped the code signing for the Window

                                        Release v2.0.0 · volta-cli/volta
                                      • Node.js v12をyumでインストールしてみた。(CentOS 7) - Qiita

                                        Node.js v12がリリース node.js v12 (LTS予定)がリリースされました。 v8エンジンがアップグレードされたり、TLS1.3がサポートされたりと、色々変わっているようです。 詳しくは、リリースノート(英語)をみましょう。 https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#12.0.0 Node.js v12 をインストール 取り敢えず、リポジトリを追加。 # yum install https://rpm.nodesource.com/pub_12.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm # yum info nodejs Installed Packages Name : nodejs Arch : x86_

                                          Node.js v12をyumでインストールしてみた。(CentOS 7) - Qiita
                                        • esm: add import.meta.dirname and import.meta.filename by jsumners · Pull Request #48740 · nodejs/node

                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                            esm: add import.meta.dirname and import.meta.filename by jsumners · Pull Request #48740 · nodejs/node
                                          • Announcing Nx 20

                                            I know it's hard to believe but Nx 20 is here! There's a lot of great updates in this release, but look back at some of the major features from Nx 19: Added nx import to import existing external projects, more on that below.Added a generator to convert all your Nx Plugins to use inferred tasks.Moved to rspack as the default bundler for Module FederationAdded file-based versioning for Nx ReleaseCre

                                              Announcing Nx 20
                                            • N|Solid OSS Release

                                              Origin of N|Solid In November of 2014, when NodeSource was still a small consulting group, my teammates Dan Shaw, Rod Vagg, and I were having dinner after a customer engagement, discussing how to bring Node.js production deployments to the same level of polish and tooling capability of the other runtimes our customers were already employing. The power and flexibility of Node.js helped it take off

                                                N|Solid OSS Release
                                              • 10 Years of Meteor

                                                I co-wrote Discover Meteor, the leading Meteor ebook at the time. Since then I created the State of JavaScript and State of CSS developer surveys. Our third survey, the State of GraphQL, is now open. But when it first came out in 2012 (before React or Vue even existed!) it was the hottest thing around for a while. Not only that, to this day Meteor still does many incredible things that the rest of

                                                  10 Years of Meteor
                                                • State of Node.js Performance 2024

                                                  The year is 2024, and Node.js has reached version 23. With two semver-majors released per year, it might be difficult to keep track of all aspects of Node.js. This article revisits the State of Node.js performance, with a focus on comparing versions 20 through 22. The goal is to provide a detailed analysis of how the platform has evolved over the past year. This is a second version of "The State o

                                                    State of Node.js Performance 2024
                                                  • GitHub - unjs/pathe: 🛣️ Drop-in replacement of the Node.js's path module module that ensures paths are normalized

                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                      GitHub - unjs/pathe: 🛣️ Drop-in replacement of the Node.js's path module module that ensures paths are normalized
                                                    • GitHub - antfu/node-modules-inspector: Interactive UI for local node modules inspection

                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                        GitHub - antfu/node-modules-inspector: Interactive UI for local node modules inspection
                                                      • Nodejsでのバイナリの取り扱い - コピペコードで快適生活

                                                        よくわかっていなかったので整理した。 Bufferオブジェクト Node.jsではバイナリデータはBufferオブジェクトで扱う。 ArrayBuffer 実際のメモリに格納されたバイナリデータを配列で表現したもの。読み込み専用。 Uint8Array バイナリデータを8bitごとに区切って配列にしたもの。1つの要素には0~255の値が入る。変更可能。 // 128バイトのバッファを作成 // 初期化はされない let buf = new Buffer(128); console.log('定義だけ', buf); // バッファに0を書き込む buf.fill(0); console.log('0で初期化', buf); // 10バイト目から20バイト目まで2を書き込む // (先頭は0と数える) buf.fill(2, 10, 30); console.log('2バイトで一部初期化

                                                          Nodejsでのバイナリの取り扱い - コピペコードで快適生活
                                                        • Node.js — Tuesday, January 21, 2025 Security Releases

                                                          Security releases available Updates are now available for the 23.x, 22.x, 20.x, 18.x Node.js release lines for the following issues. This security release includes the following dependency updates to address public vulnerabilities: undici (v7.2.3, v6.21.1, v5.28.5) on v23.x, v22.x, v20.x, v18.x. Along with the security fixes, the Node.js team has also issued CVEs for End-of-Life (EOL) versions of

                                                            Node.js — Tuesday, January 21, 2025 Security Releases
                                                          • GitHub - faker-js/faker: Generate massive amounts of fake data in the browser and node.js

                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                              GitHub - faker-js/faker: Generate massive amounts of fake data in the browser and node.js
                                                            • https://socket.dev/blog/pnpm-introduces-global-virtual-store-and-expanded-version-catalogs

                                                              • A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()

                                                                A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()2023-09-28 Earlier this year, we announced a new API for creating outbound TCP sockets — connect(). From day one, we’ve been working with the Web-interoperable Runtimes Community Group (WinterCG) community to chart a course toward making this API a standard, available across all r

                                                                  A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()
                                                                • enable corepack by default · Issue #50963 · nodejs/node

                                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                    enable corepack by default · Issue #50963 · nodejs/node

                                                                  新着記事