Home
last modified time | relevance | path

Searched +full:post +full:- +full:require +full:- +full:hook (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/node/deps/npm/node_modules/libnpmhook/
DREADME.md1 …[![Travis](https://img.shields.io/travis/npm/libnpmhook.svg)](https://travis-ci.org/npm/libnpmhook…
4 programmatically managing the npm registry's server-side hooks.
7 post](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm).
12 const hooks = require('libnpmhook')
15 // array of hook objects on `mypkg`.
27 * [hook opts](#opts)
31 * [`ls.stream()`](#ls-stream)
38 `libnpmhook` uses [`npm-registry-fetch`](https://npm.im/npm-registry-fetch).
41 documentation](https://www.npmjs.com/package/npm-registry-fetch#fetch-options)
46 …s.token` - can be passed in and will be used as the authentication token for the registry. For oth…
[all …]
Dindex.js3 const fetch = require('npm-registry-fetch')
4 const figgyPudding = require('figgy-pudding')
5 const getStream = require('get-stream')
6 const validate = require('aproba')
28 return fetch.json('/-/npm/v1/hooks/hook', opts.concat({
29 method: 'POST',
37 return fetch.json(`/-/npm/v1/hooks/hook/${eu(id)}`, opts.concat({
51 return fetch.json(`/-/npm/v1/hooks/hook/${eu(id)}`, opts.concat({
60 return fetch.json(`/-/npm/v1/hooks/hook/${eu(id)}`, opts)
73 return fetch.json.stream('/-/npm/v1/hooks', 'objects.*', opts.concat({
/third_party/node/test/sequential/
Dtest-inspector-async-call-stack.js1 // Flags: --expose-internals
3 const common = require('../common');
7 const assert = require('assert');
8 const { internalBinding } = require('internal/test/binding');
11 const inspector = require('inspector');
26 verifyAsyncHookDisabled('inspector async hook should be disabled at startup');
34 session.post('Debugger.enable', () => {
37 session.post(setDepth, { invalid: 'message' }, () => {
40 session.post(setDepth, { maxDepth: 'five' }, () => {
44 session.post(setDepth, { maxDepth: NaN }, () => {
[all …]
/third_party/node/deps/npm/test/tap/
Dhook.js3 const common = require('../common-tap.js')
4 const test = require('tap').test
6 test('hook add', (t) => {
19 .post('/-/npm/v1/hooks/hook', true)
26 'hook', 'add', '~zkat', 'https://example.com', 'sekrit',
27 '--registry', server.registry
35 'output info about new hook'
41 test('hook add --json', (t) => {
45 .post('/-/npm/v1/hooks/hook', true)
52 'hook', 'add', '~zkat', 'https://example.com', 'sekrit',
[all …]
/third_party/node/deps/npm/node_modules/is-callable/
D.istanbul.yml5 - .js
6 - .jsx
7 default-excludes: true
11 preserve-comments: false
12 complete-copy: false
13 save-baseline: false
14 baseline-file: ./coverage/coverage-baseline.raw.json
15 include-all-sources: false
16 include-pid: false
17 es-modules: false
[all …]
/third_party/node/test/async-hooks/
Dtest-http-agent-handle-reuse.js2 // Flags: --expose-internals
3 const common = require('../common');
4 const initHooks = require('./init-hooks');
5 const { checkInvocations } = require('./hook-checks');
6 const assert = require('assert');
7 const { async_id_symbol } = require('internal/async_hooks').symbols;
8 const http = require('http');
11 // is not reused. Test is based on parallel\test-async-hooks-http-agent.js.
28 res.writeHead(200, { 'Content-Type': 'text/plain' });
41 agent, port, method: 'POST'
[all …]
/third_party/boost/tools/build/src/
Dbuild-system.jam11 import build-request ;
15 import config-cache ;
25 import property-set ;
32 import virtual-target ;
41 # Shortcut used in this module for accessing used command-line parameters.
46 .debug-config = [ MATCH ^(--debug-configuration)$ : $(.argv) ] ;
49 # line. When running 'bjam --clean main_target' we want to clean only files
52 .results-of-main-targets = ;
55 .out-xml = [ MATCH ^--out-xml=(.*)$ : $(.argv) ] ;
61 # while not strictly necessary, has been added to allow testing Boost-Build's
[all …]
/third_party/boost/
Dboostcpp.jam2 # Copyright Vladimir Prus 2002-2010.
3 # Copyright Dave Abrahams 2005-2006.
4 # Copyright Rene Rivera 2005-2007.
14 import build-system ;
28 import version : version-less ;
39 rule set-version ( version )
43 local version-tag =
45 if $(version-tag[3]) = 0
47 version-tag = $(version-tag[1-2]) ;
49 BOOST_VERSION_TAG = $(version-tag:J=_) ;
[all …]
/third_party/boost/libs/asio/doc/
Dhistory.qbk2 / Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
21 `dispatch`, `post`, `defer`, `get_associated_executor`, `bind_executor`,
28 runtime-polymorphic executor for all I/O objects. This type alias points to
75 * Changed `ssl::stream<>` write operations to linearise gather-write buffer
77 * Added compile-time detection of the deprecated `asio_handler_invoke` hook.
78 This hook was deprecated with the introduction of the Networking TS trait
81 error if any handler implements the `asio_handler_invoke` hook.
82 * Added compile-time detection of the deprecated `asio_handler_allocate`
89 * Specialising single-buffer operations to use `recv` rather than `recvmsg`,
115 available, the `use_awaitable_t` token (when default-constructed or used as a
[all …]
/third_party/python/Doc/library/
Dsys.rst1 :mod:`sys` --- System-specific parameters and functions
5 :synopsis: Access system-specific parameters and functions.
7 --------------
26 .. function:: addaudithook(hook)
28 Append the callable *hook* to the list of active auditing hooks for the
32 hook will be called in the order it was added with the event name and the
36 .. audit-event:: sys.addaudithook "" sys.addaudithook
40 new hook will not be added and the exception suppressed. As a result,
41 callers cannot assume that their hook has been added unless they control
51 .. impl-detail::
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DFlutterActivityAndFragmentDelegate.java2 // Use of this source code is governed by a BSD-style license that can be
44 * The {@code Fragment} support library adds 100k of binary size to an app, and full-Flutter
45 * apps do not otherwise require that binary hit. Therefore, it was concluded that Flutter
47 * {@link FlutterFragment} for add-to-app developers.
49 * If a time ever comes where the inclusion of {@code Fragment}s in a full-Flutter app is no
152 // control of the entire window. This is unacceptable for non-fullscreen in onAttach()
153 // use-cases. in onAttach()
270 // We post() the code that attaches the FlutterEngine to our FlutterView because there is in onStart()
272 // causes launching Activitys to wait a second or two before launching. By post()'ing this in onStart()
275 new Handler().post(new Runnable() { in onStart()
[all …]
/third_party/Linux_Kernel/include/linux/
Dpci.h6 * Copyright 1997--1999 Martin Mares <mj@ucw.cz>
38 * The PCI interface treats multi-function devices as independent
46 * In the interest of not exposing interfaces to user-space unnecessarily,
47 * the following kernel-only defines are being added here.
58 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */
64 return kobject_name(&slot->kobj); in pci_slot_name()
83 /* #0-5: standard PCI resources */
93 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,
101 PCI_BRIDGE_RESOURCE_NUM - 1,
118 #define PCI_POWER_ERROR ((pci_power_t __force) -1)
[all …]
/third_party/lwip/
DUPGRADING1 This file lists major changes between release versions that require
9 * [Enter new changes just after this line - do not remove this line]
18 * ip4_route_src: parameter order is reversed: ip4_route_src(dest, src) -> ip4_route_src(src, dest)
21 * pbuf API: pbuf->type (an u8_t holding the enum 'pbuf_type') has changed to only hold a
23 source heap/pool/etc.). As a consequence, applications can't test pbuf->type any more.
27 LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
43 These can be used to post preallocated messages from an ISR to the tcpip thread
50 * slipif: The way to pass serial port number has changed. netif->num is not
51 supported any more, netif->state is interpreted as an u8_t port number now
68 … "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif
[all …]
/third_party/libffi/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/gstreamer/gstplugins_base/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/libpng/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/gstreamer/gstreamer/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/gstreamer/gstplugins_good/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/eudev/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/gstreamer/gstplugins_bad/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/libevdev/build-aux/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/wayland_standard/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/gstreamer/gst_libav/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/libjpeg/
Ddepcomp2 # depcomp - compile a program generating dependencies as side-effects
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
30 echo "$0: No command. Try '$0 --help' for more information." 1>&2
33 -h | --h*)
35 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
38 as side-effects.
49 Report bugs to <bug-automake@gnu.org>.
53 -v | --v*)
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
[all …]
/third_party/node/doc/api/
Dcli.md3 <!--introduced_in=v5.9.1-->
4 <!--type=misc-->
6 Node.js comes with a variety of CLI options. These options expose built-in
13 `node [options] [V8 options] [script.js | -e "script" | -] [--] [arguments]`
15 `node inspect [script.js | -e "script" | <host>:<port>] …`
17 `node --v8-options`
24 <!-- YAML
26 - version: v10.12.0
27 pr-url: https://github.com/nodejs/node/pull/23020
30 -->
[all …]

12345