red alert red alert red alert
ci/woodpecker/push/woodpecker Pipeline was successful Details

canary
Drake 2 years ago
parent dc66fa99a2
commit 08feea1578

@ -25,3 +25,4 @@ pipeline:
secrets: [ access_token ]
when:
event: [ push ]
branch: master

@ -1,18 +1,10 @@
import webpack from "./webpack";
import * as idb from "idb-keyval";
import * as nests from "nests";
import * as nestsReact from "nests/react";
const { findByProps } = webpack;
const React = findByProps("createElement");
export default {
React,
ReactDOM: findByProps("hydrate"),
idb,
nests,
lodash: findByProps("sample")
nests
};
export { idb, nests, nestsReact, React };
export { idb, nests, nestsReact };

@ -1,9 +1,10 @@
import logger from "./logger";
import modals from "./modals";
//import modals from "./modals";
import object from "./object"
import { leak } from "./memory";
export default {
logger,
modals,
object,
memory: { leak }
};

@ -0,0 +1,17 @@
function getByChildProps(obj: UnknownObject, prop: string): UnknownObject {
let m: UnknownObject = {};
Object.values(obj).forEach(e => {
switch (typeof e) {
case "object":
if (Object.keys(e).includes(prop) || Object.values(e).includes(prop)) {
m = e
return
}
}
})
return m
}
export default {
getByChildProps
}

@ -54,26 +54,28 @@ let webpack = {
filter: filter,
find: (filter: Filter) => webpack.filter(filter, webpack.modules, true),
findAll: (filter: Filter) => webpack.filter(filter, webpack.modules),
findByProps: (...props: any[]) => {
return webpack.find((module) => {
return props.every((prop) => module[prop] !== undefined);
});
findByStrings: (...props: string[]) => {
return webpack.find((module) =>
props.every((prop) => {
try {
return Object.values(module).find((e: any) => e.toString().includes(prop))
} catch { return false }
})
);
},
findByPropsAll: (...props: any[]) => {
findByStringsAll: (...props: string[]) => {
return webpack.findAll((module) =>
props.every((prop) => module[prop] !== undefined)
props.every((prop) => {
try {
return Object.values(module).find((e: any) => e.toString().includes(prop))
} catch { return false }
})
);
},
findByDisplayName: (prop: any) => {
return webpack.find((m) => m?.displayName === prop);
},
findByDisplayNameAll: (prop: any) => {
return webpack.findAll((m) => m?.displayName === prop);
},
findByStrings: (...props: string[]) => {
return webpack.find((module) =>
props.every((prop) => module.toString().contains(prop))
);
findByChildProps: (...props: string[]) => {
return webpack.find((module) =>
props.every((prop) => Object.values(module).find((e: any) => Object.values(e).find((f: any) => f && !!f[prop])))
)
},
reloadModules: () => {
//NOTE: i have no idea why this could even feasibly need to be used, but i'm adding it anyways

@ -2,7 +2,7 @@ import webpack from "./api/webpack";
import common from "./api/common";
import utils from "./api/utils/index";
import plugins from "./api/plugin";
import settings from "./api/ui/settings/settings";
//import settings from "./api/ui/settings/settings";
import css from "./api/css";
import patcher from "./api/patcher";
import findByRitual from "./api/ritual";
@ -25,16 +25,14 @@ const demon: Record<string, any> = {
patcher,
stolas: {
monologue: () => {
const username = webpack
.findByProps("getCurrentUser")
.getCurrentUser().username;
const username = "Mitigation"
return _.sample([
`${username}, you know that when I'm lonely, I become hungry. And when I become hungry, I want to choke on that red **** of yours... **** your ***** and lick all of your *****, before taking out your *****, and **** with more teeth until you're screaming ********** like a FUCKING baby--!`,
`Ohhh, ${username}! I'm so excited! I cannot wait to feel your slimy c**k inside of my ****. To ***** the— ...**** use while you and I and **** and jelly sandwiches all night...!`
]);
}
},
settings
//settings
};
function summon(mod: string) {
@ -55,4 +53,4 @@ window.demon = {
};
plugins.init();
settings.init();
//settings.init();

Loading…
Cancel
Save