mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-10 16:00:28 -07:00
Update methods (#233)
* Remove importFresh from methods * lint * Remove importFresh * Remove node_modules * Add import-fresh to community plugins download * Add import-fresh to actions and filters * Add intermediate fresh library loader
This commit is contained in:
parent
831c4b0372
commit
de7218cda5
26 changed files with 119 additions and 107 deletions
13
methods/node_modules/callsites/index.js
generated
vendored
Normal file
13
methods/node_modules/callsites/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
const callsites = () => {
|
||||
const _prepareStackTrace = Error.prepareStackTrace;
|
||||
Error.prepareStackTrace = (_, stack) => stack;
|
||||
const stack = new Error().stack.slice(1);
|
||||
Error.prepareStackTrace = _prepareStackTrace;
|
||||
return stack;
|
||||
};
|
||||
|
||||
module.exports = callsites;
|
||||
// TODO: Remove this for the next major release
|
||||
module.exports.default = callsites;
|
||||
Loading…
Add table
Add a link
Reference in a new issue