github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/deprecation/dist-node/index.js (about) 1 'use strict'; 2 3 Object.defineProperty(exports, '__esModule', { value: true }); 4 5 class Deprecation extends Error { 6 constructor(message) { 7 super(message); // Maintains proper stack trace (only available on V8) 8 9 /* istanbul ignore next */ 10 11 if (Error.captureStackTrace) { 12 Error.captureStackTrace(this, this.constructor); 13 } 14 15 this.name = 'Deprecation'; 16 } 17 18 } 19 20 exports.Deprecation = Deprecation;