-
Notifications
You must be signed in to change notification settings - Fork 26
chore(deps): upgrade dependencies #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
dc9d119
chore(deps): upgrade dependencies
rhamzeh b5f2514
chore: bump jose, eslint and jest
rhamzeh 4ac3fc0
chore: remove usunsed fn
rhamzeh c18c6d6
chore: bump min supported node version to node@18
rhamzeh 4ec8780
chore(deps): upgrade dependencies
rhamzeh 761ff83
chore(docs): add CHANGELOG entry and SUPPORTED_RUNTIMES.md
rhamzeh b15c0b7
chore(deps): downgrade jose for now
rhamzeh 0116604
chore(deps): fix eslint config
rhamzeh d399929
chore(deps): drop support for node@18
rhamzeh c1b2d7c
Merge branch 'main' into chore/bump-deps
rhamzeh 626ddec
chore(tests): fix missed test in jest upgrade
rhamzeh e212b4c
Merge branch 'main' into chore/bump-deps
rhamzeh dc1a174
Merge branch 'main' into chore/bump-deps
SoulPancake File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| ## Node.js Support Policy for OpenFGA JS SDK | ||
|
|
||
| The OpenFGA JavaScript SDK follows the upstream [Node.js release policy](https://nodejs.org/en/about/previous-releases). We support Node.js versions that are currently in **LTS** or **Maintenance** status. | ||
|
|
||
| ### Currently Supported Versions | ||
|
|
||
| | Node.js Version | Upstream Support Status | Tested in CI/CD Pipelines | | ||
| |:----------------|:------------------------|:-------------------------:| | ||
| | **20** | Maintenance | Yes | | ||
| | **22** | Maintenance | Yes | | ||
| | **24** | LTS | Yes | | ||
| | **25** | Current | Yes | | ||
|
|
||
| ### Support Details | ||
|
|
||
| #### Best-Effort Support | ||
|
|
||
| We will make a best effort to maintain compatibility with Node.js versions that have reached End-of-Life (EOL), but **we will not test** against them in our CI/CD pipelines. This means you may be able to use the JS SDK with older versions of Node.js (with yarn you can use the `--ignore-engines` flag), but you may not be able to run tests (because many of our testing dependencies have dropped support for EOL versions). | ||
|
|
||
| #### Long-term plan | ||
|
|
||
| This best-effort support will not continue indefinitely. We plan to modernize our JS SDK, adopt more functionality now native to the language, and add support for alternate runtimes such as Deno, Cloudflare Workers, and Vercel Edge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| const typescriptEslint = require("@typescript-eslint/eslint-plugin"); | ||
| const typescriptParser = require("@typescript-eslint/parser"); | ||
| const globals = require("globals"); | ||
|
|
||
| module.exports = [ | ||
| { | ||
| ignores: ["dist/"] | ||
| }, | ||
| { | ||
| files: ["**/*.ts"], | ||
| languageOptions: { | ||
| parser: typescriptParser, | ||
| parserOptions: { | ||
| ecmaVersion: 13, | ||
| sourceType: "module" | ||
| }, | ||
| globals: { | ||
| ...globals.browser, | ||
| ...globals.node, | ||
| ...globals.es2021 | ||
| } | ||
| }, | ||
| plugins: { | ||
| "@typescript-eslint": typescriptEslint | ||
| }, | ||
| rules: { | ||
| ...typescriptEslint.configs.recommended.rules, | ||
| "@typescript-eslint/no-unused-vars": ["warn"], | ||
| "@typescript-eslint/no-explicit-any": ["warn"], | ||
| "@typescript-eslint/no-require-imports": ["error", { allowAsImport: true }], | ||
| "indent": ["error", 2], | ||
| "linebreak-style": ["error", "unix"], | ||
| "quotes": ["error", "double"], | ||
| "semi": ["error", "always"] | ||
| } | ||
| } | ||
| ]; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| /* tslint:disable */ | ||
| /* eslint-disable */ | ||
| /** | ||
| * JavaScript and Node.js SDK for OpenFGA | ||
| * | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [tools] | ||
| node = "24" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.