| /third_party/node/deps/npm/node_modules/node-gyp/ |
| D | CHANGELOG.md | 3 ### [10.0.1](https://www.github.com/nodejs/node-gyp/compare/v10.0.0...v10.0.1) (2023-11-02) 8 * use local `util` for `findAccessibleSync()` ([b39e681](https://www.github.com/nodejs/node-gyp/com… 13 * add parallel test logging ([7de1f5f](https://www.github.com/nodejs/node-gyp/commit/7de1f5f32d550d… 14 * lint fixes ([4e0ed99](https://www.github.com/nodejs/node-gyp/commit/4e0ed992566f43abc6e988af091ad… 15 * use platform specific timeouts in tests ([a68586a](https://www.github.com/nodejs/node-gyp/commit/… 17 ## [10.0.0](https://www.github.com/nodejs/node-gyp/compare/v9.4.0...v10.0.0) (2023-10-28) 23 * the `Gyp` class exported is now created using ECMAScript classes and therefore might have small d… 24 …is not a breaking change for users but may be breaking to consumers of `node-gyp` if you are requi… 25 * `node-gyp` now supports node `^16.14.0 || >=18.0.0` 26 * update engines.node to ^14.17.0 || ^16.13.0 || >=18.0.0 [all …]
|
| D | README.md | 1 # `node-gyp` - Node.js native addon build tool 3 … Status](https://github.com/nodejs/node-gyp/workflows/Tests/badge.svg?branch=main)](https://github… 4  6 `node-gyp` is a cross-platform command-line tool written in Node.js for 7 compiling native addon modules for Node.js. It contains a vendored copy of the 8 [gyp-next](https://github.com/nodejs/gyp-next) project that was previously used 9 by the Chromium team and extended to support the development of Node.js native 12 Note that `node-gyp` is _not_ used to build Node.js itself. 14 Multiple target versions of Node.js are supported (i.e. `0.8`, ..., `4`, `5`, `6`, 15 etc.), regardless of what version of Node.js is actually installed on your system [all …]
|
| D | package.json | 2 "name": "node-gyp", 3 "description": "Node.js native addon build tool", 12 "gyp" 19 "url": "git://github.com/nodejs/node-gyp.git" 22 "bin": "./bin/node-gyp.js", 23 "main": "./lib/node-gyp.js", 25 "env-paths": "^2.2.0", 26 "exponential-backoff": "^3.1.1", 28 "graceful-fs": "^4.2.6", 29 "make-fetch-happen": "^13.0.0", [all …]
|
| /third_party/node/tools/gyp/.github/workflows/ |
| D | node-gyp.yml | 1 name: node-gyp integration 8 fail-fast: false 10 os: [macos-latest, ubuntu-latest, windows-latest] 13 runs-on: ${{ matrix.os }} 15 - name: Clone gyp-next 18 path: gyp-next 19 - name: Clone nodejs/node-gyp 22 repository: nodejs/node-gyp 23 path: node-gyp 24 - uses: actions/setup-node@v3 [all …]
|
| D | nodejs-windows.yml | 1 name: Node.js Windows integration 6 build-windows: 7 runs-on: windows-latest 9 - name: Clone gyp-next 12 path: gyp-next 13 - name: Clone nodejs/node 16 repository: nodejs/node 17 path: node 18 - name: Install deps 20 - name: Replace gyp in Node.js [all …]
|
| /third_party/node/deps/npm/node_modules/node-gyp/lib/ |
| D | configure.js | 3 const { promises: fs } = require('graceful-fs') 7 const processRelease = require('./process-release') 9 const findNodeDirectory = require('./find-node-directory') 10 const { createConfigGypi } = require('./create-config-gypi') 13 const { findPython } = require('./find-python') 14 const { findVisualStudio } = win ? require('./find-visualstudio') : {} 16 async function configure (gyp, argv) { argument 21 const release = processRelease(argv, gyp, process.version, process.release) 23 const python = await findPython(gyp.opts.python) 30 if (gyp.opts.nodedir) { [all …]
|
| D | install.js | 3 const { createWriteStream, promises: fs } = require('graceful-fs') 5 const { backOff } = require('exponential-backoff') 13 const processRelease = require('./process-release') 17 async function install (gyp, argv) { argument 19 const release = processRelease(argv, gyp, process.version, process.release) 20 // Detecting target_arch based on logic from create-cnfig-gyp.js. Used on Windows only. 21 const arch = win ? (gyp.opts.target_arch || gyp.opts.arch || process.arch || 'ia32') : '' 22 // Used to prevent downloading tarball if only new node.lib is required on Windows. 25 // Determine which node dev files version we are installing 37 // 0.x.y-pre versions are not published yet and cannot be installed. Bail. [all …]
|
| D | create-config-gypi.js | 3 const fs = require('graceful-fs').promises 8 // translated from tools/js2c.py of Node.js 18 async function getBaseConfigGypi ({ gyp, nodeDir }) { property 19 // try reading $nodeDir/include/node/config.gypi first when: 20 // 1. --dist-url or --nodedir is specified 21 // 2. and --force-process-config is not specified 22 const useCustomHeaders = gyp.opts.nodedir || gyp.opts.disturl || gyp.opts['dist-url'] 23 const shouldReadConfigGypi = useCustomHeaders && !gyp.opts['force-process-config'] 26 const baseConfigGypiPath = path.resolve(nodeDir, 'include/node/config.gypi') 38 async function getCurrentConfigGypi ({ gyp, nodeDir, vsInfo, python }) { property [all …]
|
| D | find-node-directory.js | 18 log.verbose('node-gyp root', 'npm_parent_directory is ' + 22 log.verbose('node-gyp root', 'Finding node root directory') 25 // deps/npm/node_modules/node-gyp/lib 27 log.verbose('node-gyp root', 'in build directory, root = ' + 30 // We are in a node install directory where this script lives in 31 // lib/node_modules/npm/node_modules/node-gyp/lib or 32 // node_modules/npm/node_modules/node-gyp/lib depending on the 39 log.verbose('node-gyp root', 'in install directory, root = ' + 43 // of the node binary 49 // If we are a recently built node, and the directory structure
|
| D | build.js | 3 const fs = require('graceful-fs').promises 10 async function build (gyp, argv) { argument 16 } else if (process.platform.indexOf('bsd') !== -1) { 24 const makeCommand = gyp.opts.make || process.env.MAKE || platformMake 26 const jobs = gyp.opts.jobs || process.env.JOBS 48 throw new Error('You must run `node-gyp configure` first!') 62 if ('debug' in gyp.opts) { 63 buildType = gyp.opts.debug ? 'Debug' : 'Release' 71 log.verbose('node dev dir', nodeDir) 96 * Uses node-which to locate the msbuild / make executable. [all …]
|
| D | node-gyp.js | 21 class Gyp extends EventEmitter { class 37 'msvs-version': String, // 'configure' 46 'dist-url': String, // 'install' 50 'force-process-config': Boolean // 'configure' 57 release: '--no-debug', 58 C: '--directory', 59 debug: '--debug', 60 j: '--jobs', 61 silly: '--loglevel=silly', 62 verbose: '--loglevel=verbose', [all …]
|
| D | download.js | 1 const fetch = require('make-fetch-happen') 2 const { promises: fs } = require('graceful-fs') 5 async function download (gyp, url) { argument 10 'User-Agent': `node-gyp v${gyp.version} (node ${process.version})`, 11 Connection: 'keep-alive' 13 proxy: gyp.opts.proxy, 14 noProxy: gyp.opts.noproxy 17 const cafile = gyp.opts.cafile 32 const re = /(-----BEGIN CERTIFICATE-----[\S\s]*?-----END CERTIFICATE-----)/g
|
| /third_party/node/deps/npm/node_modules/node-gyp/bin/ |
| D | node-gyp.js | 1 #!/usr/bin/env node 5 process.title = 'node-gyp' 7 const envPaths = require('env-paths') 8 const gyp = require('../') constant 16 const prog = gyp() 25 prog.devDir = envPaths('node-gyp', { suffix: '' }).cache 28 "node-gyp requires that the user's home directory is specified " + 30 'Overide with: --devdir /path/to/.node-gyp') 34 if (~process.argv.indexOf('-v') || ~process.argv.indexOf('--version')) { 44 log.info('using', 'node-gyp@%s', prog.version) [all …]
|
| /third_party/node/deps/npm/man/man1/ |
| D | npm.1 | 3 \fBnpm\fR - javascript package manager 18 npm is the package manager for the Node JavaScript platform. It puts modules in place so that node … 20 …y of use cases. Most commonly, you use it to publish, discover, install, and develop node programs. 32 The very first thing you will most likely want to run in any node program is \fBnpm install\fR to i… 39 …t dependency using the \fB\fBgit\fR\fR \fI\(lahttps://github.com/git-guides/install-git\(ra\fR com… 41 …node module and requires compiling of C++ Code, npm will use \fBnode-gyp\fR \fI\(lahttps://github.… 55 Local mode is the default. Use \fB-g\fR or \fB--global\fR on any command to run in global mode inst… 61 json: Make a package.json file. See \fB\fBpackage.json\fR\fR \fI\(la/configuring-npm/package-json\(… 63 link: Links your current working code into Node's path, so that you don't have to reinstall every t… 77 …--key val\fR. All keys take a value, even if they are booleans (the config parser doesn't know wha… [all …]
|
| /third_party/node/deps/npm/docs/content/commands/ |
| D | npm.md | 1 --- 5 --- 21 npm is the package manager for the Node JavaScript platform. It puts 22 modules in place so that node can find them, and manages dependency 26 commonly, you use it to publish, discover, install, and develop node 46 The very first thing you will most likely want to run in any node 50 "blerg". Check out [`npm install`](/commands/npm-install) for more 59 dependency using the [`git`](https://github.com/git-guides/install-git) 62 If one of the packages npm tries to install is a native node module and 64 [node-gyp](https://github.com/nodejs/node-gyp) for that task. [all …]
|
| /third_party/node/tools/gyp/ |
| D | CHANGELOG.md | 3 ## [0.13.0](https://www.github.com/nodejs/gyp-next/compare/v0.12.1...v0.13.0) (2022-05-11) 8 …able ([#151](https://www.github.com/nodejs/gyp-next/issues/151)) ([80d2626](https://www.github.com… 13 …long ([#147](https://www.github.com/nodejs/gyp-next/issues/147)) ([c4e14f3](https://www.github.com… 15 ### [0.12.1](https://www.github.com/nodejs/gyp-next/compare/v0.12.0...v0.12.1) (2022-04-06) 20 … "=" ([#143](https://www.github.com/nodejs/gyp-next/issues/143)) ([7e8f16e](https://www.github.com… 22 ## [0.12.0](https://www.github.com/nodejs/gyp-next/compare/v0.11.0...v0.12.0) (2022-04-04) 27 …z/OS ([#137](https://www.github.com/nodejs/gyp-next/issues/137)) ([293bcfa](https://www.github.com… 29 ## [0.11.0](https://www.github.com/nodejs/gyp-next/compare/v0.10.1...v0.11.0) (2022-03-04) 34 …BM i ([#140](https://www.github.com/nodejs/gyp-next/issues/140)) ([fdda4a3](https://www.github.com… 36 ### [0.10.1](https://www.github.com/nodejs/gyp-next/compare/v0.10.0...v0.10.1) (2021-11-24) [all …]
|
| D | setup.py | 4 # Use of this source code is governed by a BSD-style license that can be 17 name="gyp-next", 19 description="A fork of the GYP build system for use in the Node.js projects", 22 author="Node.js contributors", 24 url="https://github.com/nodejs/gyp-next", 26 packages=["gyp", "gyp.generator"], 27 entry_points={"console_scripts": ["gyp=gyp:script_main"]}, 30 "Development Status :: 3 - Alpha",
|
| /third_party/node/doc/api/ |
| D | addons.md | 3 <!--introduced_in=v0.10.0--> 5 <!-- type=misc --> 7 _Addons_ are dynamically-linked shared objects written in C++. The 8 [`require()`][require] function can load addons as ordinary Node.js modules. 11 There are three options for implementing addons: Node-API, nan, or direct 12 use of internal V8, libuv, and Node.js libraries. Unless there is a need for 13 direct access to functionality which is not exposed by Node-API, use Node-API. 14 Refer to [C/C++ addons with Node-API](n-api.md) for more information on 15 Node-API. 17 When not using Node-API, implementing addons is complicated, [all …]
|
| /third_party/node/ |
| D | node.gypi | 4 # 1. The executable and it uses static lib (cctest and node) 7 # --whole-archive,force_load and /WHOLEARCHIVE are used to include 30 'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi'] 36 'AdditionalManifestFiles': 'src/res/node.exe.extra.manifest' 64 # we need to use node's preferred "win32" rather than gyp's preferred "win" 82 'dependencies': [ 'tools/v8_gypfiles/d8.gyp:d8' ], 86 'tools/v8_gypfiles/v8.gyp:v8_snapshot', 87 'tools/v8_gypfiles/v8.gyp:v8_libplatform', 136 'tools/v8_gypfiles/v8vtune.gyp:v8_vtune' 143 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ], [all …]
|
| D | node.gyp | 28 'node_core_target_name%': 'node', 40 …# See https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-s… 56 'deps/v8/tools/tickprocessor-driver.mjs', 58 'deps/acorn/acorn-walk/dist/walk.js', 98 # Refs: https://github.com/nodejs/node-gyp/issues/1118 99 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], 102 '-Wall', 103 '-Wendif-labels', 104 '-W', 105 '-Wno-unused-parameter', [all …]
|
| /third_party/node/deps/npm/node_modules/@npmcli/node-gyp/ |
| D | package.json | 2 "name": "@npmcli/node-gyp", 4 "description": "Tools for dealing with node-gyp packages", 8 "postlint": "template-oss-check", 9 "template-oss-apply": "template-oss-apply --force", 10 "lintfix": "npm run lint -- --fix", 16 "url": "https://github.com/npm/node-gyp.git" 21 "node-gyp" 31 "@npmcli/eslint-config": "^3.0.1", 32 "@npmcli/template-oss": "4.5.1", 36 "node": "^14.17.0 || ^16.13.0 || >=18.0.0" string [all …]
|
| /third_party/node/tools/dep_updaters/ |
| D | README.md | 3 This folder contains scripts used to automatically update a Node.js dependency. 9 conform to upstream changes, updating GYP build files, etc.) 13 The `update-libuv.sh` script takes the target version to update as its only 16 entirely except for the `*.gyp` and `*.gypi` build files, which are part of the 17 Node.js build definitions and are not present in the upstream repo. 23 ./tools/dep_updaters/update-libuv.sh 1.44.2 30 things that might require changes in Node.js. 31 2. If necessary, update `common.gypi` and `uv.gyp` with build-related changes. 32 3. Check that Node.js compiles without errors and the tests pass. 37 [`c61870c`]: https://github.com/nodejs/node/commit/c61870c376e2f5b0dbaa939972c46745e21cdbdd [all …]
|
| /third_party/node/tools/ |
| D | build-addons.mjs | 1 #!/usr/bin/env node 3 // Usage: e.g. node build-addons.mjs <path to node-gyp> <directory> 5 import child_process from 'node:child_process'; 6 import path from 'node:path'; 7 import fs from 'node:fs/promises'; 8 import util from 'node:util'; 9 import process from 'node:process'; 10 import os from 'node:os'; 20 // Only run for directories that have a `binding.gyp`. 21 // (https://github.com/nodejs/node/issues/14843) [all …]
|
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| D | common_test.py | 4 # Use of this source code is governed by a BSD-style license that can be 9 import gyp.common 24 def GetEdge(node): argument 25 return tuple(graph[node]) 28 gyp.common.TopologicallySorted(graph.keys(), GetEdge), ["a", "c", "d", "b"] 40 def GetEdge(node): argument 41 return tuple(graph[node]) 44 gyp.common.CycleError, gyp.common.TopologicallySorted, graph.keys(), GetEdge 49 """Test that gyp.common.GetFlavor works as intended""" 61 self.assertEqual(expected, gyp.common.GetFlavor(param))
|
| /third_party/node/tools/gyp/pylib/gyp/ |
| D | common_test.py | 4 # Use of this source code is governed by a BSD-style license that can be 9 import gyp.common 24 def GetEdge(node): argument 25 return tuple(graph[node]) 28 gyp.common.TopologicallySorted(graph.keys(), GetEdge), ["a", "c", "d", "b"] 40 def GetEdge(node): argument 41 return tuple(graph[node]) 44 gyp.common.CycleError, gyp.common.TopologicallySorted, graph.keys(), GetEdge 49 """Test that gyp.common.GetFlavor works as intended""" 61 self.assertEqual(expected, gyp.common.GetFlavor(param))
|