並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 275 件 / 275件

新着順 人気順

NodeJsの検索結果241 - 275 件 / 275件

  • Migrating 500+ tests from Mocha to Node.js | Astro

    Over a month ago, we discussed a possible migration to the Node.js test runner. While we were sufficiently happy with Mocha, we are always looking to make our CI jobs faster. Relying on a test runner baked inside our runtime had some advantages for our main monorepo: Two fewer dependencies to install and maintain in our monorepo: mocha and chai. Maintainability: there are more people involved in t

      Migrating 500+ tests from Mocha to Node.js | Astro
    • What's New in Express.js v5.0

      Express.js 5.0 requires Node.js 18 or higher, so anyone still on older versions will need to upgrade. Installing Express.js 5.0 To try out Express.js 5.0, run: npm install --save express@next Make sure to check the latest version of Express.js on NPM. Now, let’s explore what’s new and what updates you’ll need to make. What’s Changed in Express.js 5.0 In this section, I’ll walk through the most imp

      • pnpm: スペース効率に優れたJavaScriptパッケージマネージャ

        Spring BootによるAPIバックエンド構築実践ガイド 第2版 何千人もの開発者が、InfoQのミニブック「Practical Guide to Building an API Back End with Spring Boot」から、Spring Bootを使ったREST API構築の基礎を学んだ。この本では、出版時に新しくリリースされたバージョンである Spring Boot 2 を使用している。しかし、Spring Boot3が最近リリースされ、重要な変...

          pnpm: スペース効率に優れたJavaScriptパッケージマネージャ
        • 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個以上の要素の配列クエリを渡すときは気をつける - すぎゃーんメモ
          • 【2023年4月版】Ubuntu に node.js と npm を入れたい(バージョン管理も) - Qiita

            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

              【2023年4月版】Ubuntu に node.js と npm を入れたい(バージョン管理も) - Qiita
            • 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
              • 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 - 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)
                          • 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
                            • 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)
                                    • 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
                                      • 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
                                        • GitHub - unjs/unenv: 🕊️ Convert javaScript code to be runtime agnostic

                                          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: 🕊️ Convert javaScript code to be runtime agnostic
                                          • 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
                                                • 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
                                                  • Node.js — Tuesday, January 21, 2025 Security Releases

                                                    Summary The Node.js project will release new versions of the 23.x, 22.x, 20.x, 18.x releases lines on or shortly after, Tuesday, January 21, 2025 in order to address: 1 high severity issues. 2 medium severity issues. Impact The 23.x release line of Node.js is vulnerable to 1 high severity issues, 2 medium severity issues. The 22.x release line of Node.js is vulnerable to 1 high severity issues, 2

                                                      Node.js — Tuesday, January 21, 2025 Security Releases
                                                    • 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でのバイナリの取り扱い - コピペコードで快適生活
                                                      • 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
                                                        • GitHub - LavaMoat/LavaMoat: tools for sandboxing your dependency graph

                                                          LavaMoat is a set of tools for securing JavaScript projects against a category of attacks called software supply chain attacks. This genre of attack occurs when a malicious dependency makes its way into a developer's application. An attacker could use the dependency to then steal important secrets (like credit card numbers, private keys, or data) or make the application vulnerable to a range of ot

                                                            GitHub - LavaMoat/LavaMoat: tools for sandboxing your dependency graph
                                                          • 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
                                                                • 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
                                                                  • 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
                                                                    • 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()
                                                                      • 今から始めるLambda③「Layersを使う」

                                                                        はじめに 前回の記事ではLambdaのローカルでの実行やAWS CLIからのデプロイ方法について紹介しました。 その中でnode_modulesを絡めたコードをデプロイすることにも言及しました。 今回はそのあたりを掘り下げつつ、Lambda Layersの扱い方を紹介していきたいと思います。 AWS Lambda Layersとは 公式には以下のような説明があります。 Lambda レイヤーは、追加のコードやデータを含めることができる .zip ファイルアーカイブです。 要するにLambdaの関数本体とは別に用意することができるコード、データのことです。 どういう時に使うのか 主には異なるLambda関数間で、同じ処理を使いたい場合に利用します。 例えば自作関数のfuncHogeをLambda関数であるlambdaFunc1とlambdaFunc2の両方で使いたい場合、funcHogeをL

                                                                          今から始めるLambda③「Layersを使う」

                                                                        新着記事