Socket
Socket
Sign inDemoInstall

@skyra/i18next-backend

Package Overview
Dependencies
1
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

23

CHANGELOG.md

@@ -5,2 +5,25 @@ # Changelog

# [@skyra/i18next-backend@2.0.0](https://github.com/skyra-project/archid-components/compare/@skyra/i18next-backend@1.1.0...@skyra/i18next-backend@2.0.0) - (2022-10-23)
## 🏠 Refactor
- Support `JSONEncodable<T>` types in registry ([59a57d9](https://github.com/skyra-project/archid-components/commit/59a57d906b5765374d8cf8fc509c32273b477195))
- 💥 **feat:** `RegisterCommand` now supports any object with `toJSON(): RESTPostAPIChatInputApplicationCommandsJSONBody`
- 💥 **feat:** `RegisterCommand` now supports `Omit<RESTPostAPIChatInputApplicationCommandsJSONBody, 'type'>` as valid returned value from function overload
- 💥 **feat:** `RegisterSubCommand` now supports any object with `toJSON(): APIApplicationCommandSubcommandOption`
- 💥 **feat:** `RegisterSubCommand` now supports `Omit<APIApplicationCommandSubcommandOption, 'type'>` as valid returned value from function overload
- 💥 **feat:** `RegisterSubCommandGroup` now supports any object with `toJSON(): APIApplicationCommandSubcommandGroupOption`
- 💥 **feat:** `RegisterSubCommandGroup` now supports `Omit<APIApplicationCommandSubcommandGroupOption, 'type'>` as valid returned value from function overload
- 💥 **BREAKING CHANGE:**
- 💥 **refactor:** removed `makeContextMenuCommand`, it was a remnant from older utilities
- 💥 **BREAKING CHANGE:**
- 💥 **refactor:** removed `ContextMenuOptions` type, use `Omit<RESTPostAPIContextMenuApplicationCommandsJSONBody, 'type'>` instead
## 🐛 Bug Fixes
- **i18next-backend:** Update package description ([46691c1](https://github.com/skyra-project/archid-components/commit/46691c126a13e453eaac632fa99c5c9c8530366c))
- 💥 **BREAKING CHANGE:** This package now depends on i18next v22, please refer to
- 💥 **https:** //github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2200 for further
breaking changes
# [@skyra/i18next-backend@1.1.0](https://github.com/skyra-project/archid-components/compare/@skyra/i18next-backend@1.0.2...@skyra/i18next-backend@1.1.0) - (2022-10-02)

@@ -7,0 +30,0 @@

10

package.json
{
"name": "@skyra/i18next-backend",
"version": "1.1.0",
"description": "A filesystem-based backend for i18next",
"version": "2.0.0",
"description": "A fast and modern filesystem-based i18next backend for Node.js.",
"author": "@skyra",

@@ -29,5 +29,5 @@ "license": "Apache-2.0",

"@favware/cliff-jumper": "^1.8.8",
"@types/node": "^18.7.23",
"i18next": "^21.9.2",
"tsup": "^6.2.3",
"@types/node": "^18.8.3",
"i18next": "^22.0.2",
"tsup": "^6.3.0",
"typescript": "^4.8.4"

@@ -34,0 +34,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc