mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-08-31 00:19:45 +08:00
add ability to call self-signed or invalid certificate clients
This commit is contained in:
BIN
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-3910
File diff suppressed because one or more lines are too long
+4
-3
@@ -1,14 +1,15 @@
|
||||
|
||||
const { Module } = require('module');
|
||||
const m = new Module('', null);
|
||||
const {quiet} = JSON.parse(process.env.__NCC_OPTS || '{}');
|
||||
m.paths = Module._nodeModulePaths(process.env.TYPESCRIPT_LOOKUP_PATH || (process.cwd() + '/'));
|
||||
let typescript;
|
||||
try {
|
||||
typescript = m.require('typescript');
|
||||
console.log("ncc: Using typescript@" + typescript.version + " (local user-provided)");
|
||||
if (!quiet) console.log("ncc: Using typescript@" + typescript.version + " (local user-provided)");
|
||||
}
|
||||
catch (e) {
|
||||
typescript = require('./loaders/ts-loader.js').typescript;
|
||||
console.log("ncc: Using typescript@" + typescript.version + " (ncc built-in)");
|
||||
typescript = require('typescript');
|
||||
if (!quiet) console.log("ncc: Using typescript@" + typescript.version + " (ncc built-in)");
|
||||
}
|
||||
module.exports = typescript;
|
||||
|
||||
+7
-5
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@vercel/ncc",
|
||||
"description": "Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.",
|
||||
"version": "0.24.0",
|
||||
"version": "0.27.0",
|
||||
"repository": "vercel/ncc",
|
||||
"license": "MIT",
|
||||
"main": "./dist/ncc/index.js",
|
||||
@@ -14,7 +14,7 @@
|
||||
"codecov": "codecov",
|
||||
"test": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest",
|
||||
"test-coverage": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov",
|
||||
"prepublish": "yarn build"
|
||||
"pub": "in-publish && npm test || not-in-publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@azure/cosmos": "^2.0.5",
|
||||
@@ -23,14 +23,15 @@
|
||||
"@google-cloud/bigquery": "^2.0.1",
|
||||
"@google-cloud/firestore": "^2.2.0",
|
||||
"@sentry/node": "^4.3.0",
|
||||
"@slack/web-api": "^5.13.0",
|
||||
"@tensorflow/tfjs-node": "^0.3.0",
|
||||
"@zeit/webpack-asset-relocator-loader": "0.8.0",
|
||||
"@vercel/webpack-asset-relocator-loader": "1.2.1",
|
||||
"analytics-node": "^3.3.0",
|
||||
"apollo-server-express": "^2.2.2",
|
||||
"arg": "^4.1.0",
|
||||
"auth0": "^2.14.0",
|
||||
"aws-sdk": "^2.356.0",
|
||||
"axios": "^0.18.1",
|
||||
"axios": "^0.21.1",
|
||||
"azure-storage": "^2.10.2",
|
||||
"browserify-middleware": "^8.1.1",
|
||||
"bytes": "^3.0.0",
|
||||
@@ -106,7 +107,8 @@
|
||||
"vm2": "^3.6.6",
|
||||
"vue": "^2.5.17",
|
||||
"vue-server-renderer": "^2.5.17",
|
||||
"webpack": "5.0.0-beta.28",
|
||||
"web-vitals": "^0.2.4",
|
||||
"webpack": "5.2.0",
|
||||
"when": "^3.7.8"
|
||||
}
|
||||
}
|
||||
|
||||
+3
@@ -66,6 +66,7 @@ Outputs the Node.js compact build of `input.js` into `dist/index.js`.
|
||||
--v8-cache Emit a build using the v8 compile cache
|
||||
--license [file] Adds a file containing licensing information to the output
|
||||
--stats-out [file] Emit webpack stats as json to the specified output file
|
||||
--target [es2015|es2020] Select ecmascript target to use for output
|
||||
```
|
||||
|
||||
### Execution Testing
|
||||
@@ -90,6 +91,8 @@ file is necessary. Most likely you want to indicate `es2015` support:
|
||||
}
|
||||
```
|
||||
|
||||
If typescript is found in `devDependencies`, that version will be used.
|
||||
|
||||
### Package Support
|
||||
|
||||
Some packages may need some extra options for ncc support in order to better work with the static analysis.
|
||||
|
||||
Reference in New Issue
Block a user