Suppress Buffer() deprecation warning
This commit is contained in:
Vendored
+10
-2
@@ -1,4 +1,13 @@
|
||||
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
|
||||
const origWarning = process.emitWarning;
|
||||
process.emitWarning = function(...args) {
|
||||
if (args[2] !== 'DEP0005') {
|
||||
// pass any other warnings through normally
|
||||
return origWarning.apply(process, args);
|
||||
} else {
|
||||
// do nothing, eat the warning
|
||||
}
|
||||
};
|
||||
/******/ (() => { // webpackBootstrap
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ 7351:
|
||||
@@ -63066,4 +63075,3 @@ if (octokit) {
|
||||
module.exports = __webpack_exports__;
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=index.js.map
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "JavaScript Action Template",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"prepare": "ncc build index.js -o dist --source-map"
|
||||
"prepare": "ncc build index.js -o dist && cat patch.js dist/index.js > dist/temp.js && mv dist/temp.js dist/index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user