if:
let threw = true;
try {
module.load(filename);
threw = false;
} catch (err) {
rekeySourceMap(Module._cache[filename], err);
throw err;
// This file is a modified version of: | |
// https://cs.chromium.org/chromium/src/v8/tools/SourceMap.js?rcl=dd10454c1d | |
// from the V8 codebase. Logic specific to WebInspector is removed and linting | |
// is made to match the Node.js style guide. | |
// Copyright 2013 the V8 project authors. All rights reserved. | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are | |
// met: | |
// |
if:
let threw = true;
try {
module.load(filename);
threw = false;
} catch (err) {
rekeySourceMap(Module._cache[filename], err);
throw err;
To begin collecting source-maps, node must be run with --enable-source-maps
(or with NODE_V8_COVERAGE
set).
At which point, the new built-in module source_map
can be used to interact with the source-map cache:
// tooling has one interface into the source-map cache, URIs, any type of module that we
// wish to attach source-maps to (ESM, CJS, evals, data-urls) needs to have a methodlogy
// for setting a URI; Two different source-maps cannot be stored at the same URI.
query lastCommits($cursor: String, $owner: String!, $repo: String!, $perPage: Int, $maxFilesChanged: Int) { | |
repository(owner: $owner, name: $repo) { | |
defaultBranchRef { | |
target { | |
... on Commit { | |
history(first: $perPage, after: $cursor) { | |
edges{ | |
node { | |
... on Commit { | |
message |
ProductName: Mac OS X | |
ProductVersion: 10.13.4 | |
BuildVersion: 17E199 |
diff --git a/Makefile b/Makefile | |
index 9fcf7e08701..852697c53fd 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -215,7 +215,7 @@ coverage-build: all | |
coverage-build-js: | |
mkdir -p node_modules | |
if [ ! -d node_modules/c8 ]; then \ | |
- $(NODE) ./deps/npm install c8@next --no-save --no-package-lock;\ | |
+ $(NODE) ./deps/npm install c8 --no-save --no-package-lock;\ |
yargs:
function (user, context, callback) { | |
// We check users only authenticated with 'github' | |
if(context.connection === 'github'){ | |
var whitelist = [ | |
'bcoe', | |
'batman' | |
]; //authorized github accounts. | |
var userHasAccess = whitelist.some((name) => { | |
return name === user.nickname; |