Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Dougley committed Oct 18, 2023
1 parent a9fbbd9 commit b9b9e5b
Show file tree
Hide file tree
Showing 10 changed files with 965 additions and 828 deletions.
12 changes: 6 additions & 6 deletions apps/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
"directory": "apps/discord"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231002.0",
"@cloudflare/workers-types": "^4.20231016.0",
"@dougley/tsconfig": "workspace:^",
"@dougley/types": "workspace:^",
"@sentry/esbuild-plugin": "^2.8.0",
"better-sqlite3": "8.7.0",
"better-sqlite3": "9.0.0",
"dotenv": "^16.3.1",
"esbuild": "^0.19.4",
"miniflare": "^3.20231002.1",
"esbuild": "^0.19.5",
"miniflare": "^3.20231016.0",
"rimraf": "^5.0.5",
"slash-up": "^1.3.0",
"wrangler": "^3.11.0"
"wrangler": "^3.13.2"
},
"dependencies": {
"@dougley/d1-database": "workspace:^",
Expand All @@ -41,6 +41,6 @@
"do-proxy": "^1.3.4",
"kysely": "^0.26.3",
"kysely-d1": "^0.3.0",
"slash-create": "^5.13.0"
"slash-create": "^5.14.0"
}
}
6 changes: 3 additions & 3 deletions apps/stripe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"@dougley/d1-database": "workspace:^",
"@dougley/tsconfig": "workspace:^",
"@dougley/types": "workspace:^",
"hono": "^3.7.5",
"hono": "^3.8.1",
"kysely": "^0.26.3",
"kysely-d1": "^0.3.0",
"stripe": "^13.9.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231002.0",
"wrangler": "^3.11.0"
"@cloudflare/workers-types": "^4.20231016.0",
"wrangler": "^3.13.2"
}
}
30 changes: 15 additions & 15 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-portal": "^1.0.4",
"@remix-run/cloudflare": "^2.0.1",
"@remix-run/cloudflare-pages": "^2.0.1",
"@remix-run/node": "^2.0.1",
"@remix-run/react": "^2.0.1",
"@sentry/remix": "^7.73.0",
"@remix-run/cloudflare": "^2.1.0",
"@remix-run/cloudflare-pages": "^2.1.0",
"@remix-run/node": "^2.1.0",
"@remix-run/react": "^2.1.0",
"@sentry/remix": "^7.74.1",
"clsx": "^2.0.0",
"country-region-data": "^3.0.0",
"cross-env": "^7.0.3",
"daisyui": "^3.9.2",
"daisyui": "^3.9.3",
"date-fns": "^2.30.0",
"discord-bitflag": "^1.0.0",
"isbot": "^3.7.0",
Expand All @@ -47,30 +47,30 @@
"react-use": "^17.4.0",
"remix-auth": "^3.6.0",
"remix-auth-oauth2": "^1.11.0",
"remix-utils": "^7.0.1",
"remix-utils": "^7.1.0",
"stripe": "^13.9.0",
"toucan-js": "^3.3.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231002.0",
"@cloudflare/workers-types": "^4.20231016.0",
"@dougley/types": "workspace:^",
"@remix-run/dev": "^2.0.1",
"@remix-run/eslint-config": "^2.0.1",
"@remix-run/dev": "^2.1.0",
"@remix-run/eslint-config": "^2.1.0",
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.10",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"autoprefixer": "^10.4.16",
"concurrently": "^8.2.1",
"cssnano": "^6.0.1",
"discord-api-types": "^0.37.60",
"eslint": "^8.50.0",
"eslint": "^8.51.0",
"nodemon": "^3.0.1",
"postcss": "^8.4.31",
"prettier-plugin-tailwindcss": "^0.5.5",
"prettier-plugin-tailwindcss": "^0.5.6",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2",
"wrangler": "^3.11.0"
"wrangler": "^3.13.2"
},
"engines": {
"node": ">=16.13"
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@types/jest": "^29.5.5",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.50.0",
"@types/jest": "^29.5.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.4.2",
"jest": "^29.7.0",
Expand Down Expand Up @@ -37,7 +37,7 @@
]
},
"patchedDependencies": {
"slash-create@5.13.0": "patches/slash-create@5.13.0.patch"
"slash-create@5.14.0": "patches/slash-create@5.14.0.patch"
}
}
}
4 changes: 2 additions & 2 deletions packages/d1-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"kysely-d1": "^0.3.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231002.0",
"@cloudflare/workers-types": "^4.20231016.0",
"@dougley/tsconfig": "workspace:^",
"@dougley/types": "workspace:^",
"discord-api-types": "^0.37.60",
"wrangler": "^3.11.0"
"wrangler": "^3.13.2"
}
}
2 changes: 1 addition & 1 deletion packages/giveaway-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"directory": "packages/giveaway-state"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231002.0",
"@cloudflare/workers-types": "^4.20231016.0",
"@dougley/tsconfig": "workspace:^",
"@dougley/types": "workspace:^",
"discord-api-types": "^0.37.60"
Expand Down
20 changes: 10 additions & 10 deletions packages/sentry-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
"directory": "packages/sentry-remix"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231002.0",
"@cloudflare/workers-types": "^4.20231016.0",
"@dougley/tsconfig": "workspace:^",
"@dougley/types": "workspace:^",
"@sentry/types": "^7.73.0",
"@types/react": "^18.2.25"
"@sentry/types": "^7.74.1",
"@types/react": "^18.2.28"
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.3.0",
"@remix-run/cloudflare": "^2.0.1",
"@remix-run/cloudflare-pages": "^2.0.1",
"@remix-run/react": "^2.0.1",
"@remix-run/server-runtime": "^2.0.1",
"@sentry/core": "^7.73.0",
"@sentry/remix": "^7.73.0",
"@sentry/utils": "^7.73.0",
"@remix-run/cloudflare": "^2.1.0",
"@remix-run/cloudflare-pages": "^2.1.0",
"@remix-run/react": "^2.1.0",
"@remix-run/server-runtime": "^2.1.0",
"@sentry/core": "^7.74.1",
"@sentry/remix": "^7.74.1",
"@sentry/utils": "^7.74.1",
"react": "^18.2.0",
"toucan-js": "^3.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"directory": "packages/types"
},
"dependencies": {
"@cloudflare/workers-types": "^4.20231002.0"
"@cloudflare/workers-types": "^4.20231016.0"
}
}
49 changes: 22 additions & 27 deletions patches/[email protected] → patches/[email protected]
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
diff --git a/package.json b/package.json
index 7b11cce74ca86b97618b3fe6cb7acf994552e275..9526e306b4f819cc1713098adc225d8215fda502 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"name": "slash-create",
+ "sideEffects": false,
"version": "5.13.0",
"description": "Create and sync Discord slash commands!",
"main": "./lib/index.js",
diff --git a/lib/creator.js b/lib/creator.js
index 7818ea53d293b97ce99b7d05951ab9a7d2452470..d226b9866c88feda962d22db27fc7cb9fb48cb96 100644
index 6a74d096bf56351dec9cd572af63041287060556..737cd061b6c30efb487fdd2f58ff9edbc8b18e12 100644
--- a/lib/creator.js
+++ b/lib/creator.js
@@ -14,7 +14,7 @@ const commandContext_1 = require("./structures/interfaces/commandContext");
Expand Down Expand Up @@ -83,10 +72,10 @@ index 5bd43a6c1c881a99cfb9182c215120b7b09a57b0..0e5485d99f269524a12aa5cfdcef1b4b
__exportStar(require("./structures/message"), exports);
__exportStar(require("./structures/permissions"), exports);
diff --git a/lib/structures/interfaces/messageInteraction.d.ts b/lib/structures/interfaces/messageInteraction.d.ts
index df895c39920f5d594c21534c2400295a71d65532..f2a5878517b33f07a133dc46a02acc4ce70f16b0 100644
index 4e8cc49f98c559c08573031a885f76a13d875e76..e2731684ef0b6c6a2263bcb7ff41f5c7333c4530 100644
--- a/lib/structures/interfaces/messageInteraction.d.ts
+++ b/lib/structures/interfaces/messageInteraction.d.ts
@@ -132,7 +132,7 @@ export interface EditMessageOptions {
@@ -137,7 +137,7 @@ export interface EditMessageOptions {
/** A file within {@link EditMessageOptions}. */
export interface MessageFile {
/** The attachment to send. */
Expand All @@ -96,7 +85,7 @@ index df895c39920f5d594c21534c2400295a71d65532..f2a5878517b33f07a133dc46a02acc4c
name: string;
}
diff --git a/lib/util/requestHandler.js b/lib/util/requestHandler.js
index b13dac63b084c484c4cfc7c5c9b139908a8c0b03..b9ebcc345e1407abb890be1b1fa68cd2972cfda7 100644
index b13dac63b084c484c4cfc7c5c9b139908a8c0b03..2d11b14321c6b8cb9a51cde0da314bca08607668 100644
--- a/lib/util/requestHandler.js
+++ b/lib/util/requestHandler.js
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Expand All @@ -116,8 +105,8 @@ index b13dac63b084c484c4cfc7c5c9b139908a8c0b03..b9ebcc345e1407abb890be1b1fa68cd2
Error.captureStackTrace(_stackHolder);
return new Promise((resolve, reject) => {
+ if (!process) {
+ reject(new Error('Cannot make requests in this environment'));
+ return;
+ reject(new Error('Cannot make requests in this environment'));
+ return;
+ }
+ const https_1 = __importDefault(require("https"));
+ const zlib_1 = __importDefault(require("zlib"));
Expand All @@ -138,17 +127,12 @@ index bfa6d1fc7bd7c2ebb431897709ad1b035807e589..c792286305ee5356b189ad1573f888a4
/** The allowed mentions for a {@link Message}. */
export interface MessageAllowedMentions {
diff --git a/lib/util.js b/lib/util.js
index 260a3b61f648095c26aaf7b4eb0c770b2f8c5b37..eeb8f93d11f4ddce2796e87a2d0dabb12dc23a61 100644
index 260a3b61f648095c26aaf7b4eb0c770b2f8c5b37..3557af27b1aa66f06c354b40bac4265dd39d9b18 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -1,31 +1,31 @@
"use strict";
-var __importDefault = (this && this.__importDefault) || function (mod) {
- return (mod && mod.__esModule) ? mod : { "default": mod };
-};
+// var __importDefault = (this && this.__importDefault) || function (mod) {
+// return (mod && mod.__esModule) ? mod : { "default": mod };
+// };
@@ -3,29 +3,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
-exports.generateID = exports.getFiles = exports.validateOptions = exports.oneLine = exports.formatAllowedMentions = exports.verifyKey = void 0;
+exports.generateID = exports.validateOptions = exports.oneLine = exports.formatAllowedMentions = void 0;
Expand Down Expand Up @@ -232,4 +216,15 @@ index 260a3b61f648095c26aaf7b4eb0c770b2f8c5b37..eeb8f93d11f4ddce2796e87a2d0dabb1
+// exports.getFiles = getFiles;
function generateID() {
return (Date.now() + Math.round(Math.random() * 1000)).toString(36);
}
}
diff --git a/package.json b/package.json
index 8f0c0f388ccd36e9fc5522ea89b6f1d0402cacda..eb0a0fc4d7a2d85a09800c5761db02c404da5fed 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"name": "slash-create",
+ "sideEffects": false,
"version": "5.14.0",
"description": "Create and sync Discord slash commands!",
"main": "./lib/index.js",
Loading

0 comments on commit b9b9e5b

Please sign in to comment.