1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4  value: true
5});
6exports.withDangerousMod = void 0;
7
8function _withMod() {
9  const data = require("./withMod");
10
11  _withMod = function () {
12    return data;
13  };
14
15  return data;
16}
17
18/**
19 * Mods that don't modify any data, all unresolved functionality is performed inside a dangerous mod.
20 * All dangerous mods run first before other mods.
21 *
22 * @param config
23 * @param platform
24 * @param action
25 */
26const withDangerousMod = (config, [platform, action]) => {
27  return (0, _withMod().withMod)(config, {
28    platform,
29    mod: 'dangerous',
30    action
31  });
32};
33
34exports.withDangerousMod = withDangerousMod;
35//# sourceMappingURL=withDangerousMod.js.map