Skip to content

Commit

Permalink
fix: bump supabase-js (#764)
Browse files Browse the repository at this point in the history
* fix: bump supabase-js version to v2.42.0

* chore: add changeset
  • Loading branch information
kangmingtay authored Apr 9, 2024
1 parent 8d85be4 commit 9e7ff76
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 46 deletions.
10 changes: 10 additions & 0 deletions .changeset/rotten-papayas-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@supabase/auth-helpers-sveltekit': minor
'@supabase/auth-helpers-nextjs': minor
'@supabase/auth-helpers-shared': minor
'@supabase/auth-helpers-react': minor
'@supabase/auth-helpers-remix': minor
'@supabase/ssr': minor
---

upgrade supabase-js version to v2.42.0
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/supabase/auth-helpers/tree/main/packages/nextjs#readme",
"devDependencies": {
"@supabase/supabase-js": "2.39.8",
"@supabase/supabase-js": "2.42.0",
"@types/set-cookie-parser": "^2.4.3",
"config": "workspace:*",
"next": "^13.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"author": "Supabase",
"license": "MIT",
"devDependencies": {
"@supabase/supabase-js": "2.39.8",
"@supabase/supabase-js": "2.42.0",
"@types/react": "^17.0.65",
"@types/react-dom": "^17.0.20",
"config": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@remix-run/node": "^1.19.3",
"@remix-run/react": "^1.19.3",
"@remix-run/serve": "^1.19.3",
"@supabase/supabase-js": "2.39.8",
"@supabase/supabase-js": "2.42.0",
"config": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/supabase/auth-helpers#readme",
"devDependencies": {
"@supabase/supabase-js": "2.39.8",
"@supabase/supabase-js": "2.42.0",
"@types/cookie": "^0.5.1",
"cookie": "^0.5.0",
"next": "^13.5.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"ramda": "^0.29.0"
},
"devDependencies": {
"@supabase/supabase-js": "2.33.1",
"@supabase/supabase-js": "2.42.0",
"@types/cookie": "^0.5.1",
"@types/ramda": "^0.29.3",
"tsconfig": "workspace:*",
Expand Down
76 changes: 76 additions & 0 deletions packages/ssr/tsup.config.bundled_i6zwd190p1m.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// package.json
var package_default = {
name: "@supabase/ssr",
version: "0.1.0",
main: "dist/index.js",
module: "dist/index.mjs",
types: "dist/index.d.ts",
publishConfig: {
access: "public"
},
files: [
"dist"
],
scripts: {
lint: "tsc",
build: "tsup",
test: "vitest run",
"test:watch": "vitest"
},
repository: {
type: "git",
url: "git+https://github.com/supabase/auth-helpers.git"
},
keywords: [
"Supabase",
"Auth",
"Next.js",
"Svelte Kit",
"Remix",
"Express"
],
author: "Supabase",
license: "MIT",
bugs: {
url: "https://github.com/supabase/auth-helpers/issues"
},
homepage: "https://github.com/supabase/auth-helpers#readme",
dependencies: {
cookie: "^0.5.0",
ramda: "^0.29.0"
},
devDependencies: {
"@supabase/supabase-js": "2.33.1",
"@types/cookie": "^0.5.1",
"@types/ramda": "^0.29.3",
tsconfig: "workspace:*",
tsup: "^6.7.0",
vitest: "^0.34.6"
},
peerDependencies: {
"@supabase/supabase-js": "^2.33.1"
}
};

// tsup.config.ts
var tsup = {
dts: true,
entryPoints: ["src/index.ts"],
external: ["react", "next", /^@supabase\//],
format: ["cjs", "esm"],
// inject: ['src/react-shim.js'],
// ! .cjs/.mjs doesn't work with Angular's webpack4 config by default!
legacyOutput: false,
sourcemap: true,
splitting: false,
bundle: true,
clean: true,
define: {
PACKAGE_NAME: JSON.stringify(package_default.name.replace("@", "").replace("/", "-")),
PACKAGE_VERSION: JSON.stringify(package_default.version)
}
};
export {
tsup
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsicGFja2FnZS5qc29uIiwgInRzdXAuY29uZmlnLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJ7XG5cdFwibmFtZVwiOiBcIkBzdXBhYmFzZS9zc3JcIixcblx0XCJ2ZXJzaW9uXCI6IFwiMC4xLjBcIixcblx0XCJtYWluXCI6IFwiZGlzdC9pbmRleC5qc1wiLFxuXHRcIm1vZHVsZVwiOiBcImRpc3QvaW5kZXgubWpzXCIsXG5cdFwidHlwZXNcIjogXCJkaXN0L2luZGV4LmQudHNcIixcblx0XCJwdWJsaXNoQ29uZmlnXCI6IHtcblx0XHRcImFjY2Vzc1wiOiBcInB1YmxpY1wiXG5cdH0sXG5cdFwiZmlsZXNcIjogW1xuXHRcdFwiZGlzdFwiXG5cdF0sXG5cdFwic2NyaXB0c1wiOiB7XG5cdFx0XCJsaW50XCI6IFwidHNjXCIsXG5cdFx0XCJidWlsZFwiOiBcInRzdXBcIixcblx0XHRcInRlc3RcIjogXCJ2aXRlc3QgcnVuXCIsXG5cdFx0XCJ0ZXN0OndhdGNoXCI6IFwidml0ZXN0XCJcblx0fSxcblx0XCJyZXBvc2l0b3J5XCI6IHtcblx0XHRcInR5cGVcIjogXCJnaXRcIixcblx0XHRcInVybFwiOiBcImdpdCtodHRwczovL2dpdGh1Yi5jb20vc3VwYWJhc2UvYXV0aC1oZWxwZXJzLmdpdFwiXG5cdH0sXG5cdFwia2V5d29yZHNcIjogW1xuXHRcdFwiU3VwYWJhc2VcIixcblx0XHRcIkF1dGhcIixcblx0XHRcIk5leHQuanNcIixcblx0XHRcIlN2ZWx0ZSBLaXRcIixcblx0XHRcIlJlbWl4XCIsXG5cdFx0XCJFeHByZXNzXCJcblx0XSxcblx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Us7QUFBQTtBQUFBO0FBQUEsRUFHckIsY0FBYztBQUFBLEVBQ2QsV0FBVztBQUFBLEVBQ1gsV0FBVztBQUFBLEVBQ1gsUUFBUTtBQUFBLEVBQ1IsT0FBTztBQUFBLEVBQ1AsUUFBUTtBQUFBLElBQ1AsY0FBYyxLQUFLLFVBQVUsZ0JBQUksS0FBSyxRQUFRLEtBQUssRUFBRSxFQUFFLFFBQVEsS0FBSyxHQUFHLENBQUM7QUFBQSxJQUN4RSxpQkFBaUIsS0FBSyxVQUFVLGdCQUFJLE9BQU87QUFBQSxFQUM1QztBQUNEOyIsCiAgIm5hbWVzIjogW10KfQo=
2 changes: 1 addition & 1 deletion packages/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"homepage": "https://github.com/supabase/auth-helpers/tree/main/packages/sveltekit#readme",
"devDependencies": {
"@supabase/supabase-js": "2.39.8",
"@supabase/supabase-js": "2.42.0",
"@sveltejs/kit": "^2.4.3",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"rimraf": "^4.4.1",
Expand Down
78 changes: 38 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e7ff76

Please sign in to comment.