Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: toonvanstrijp/nestjs-i18n
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.5.0
Choose a base ref
...
head repository: toonvanstrijp/nestjs-i18n
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 2 commits
  • 3 files changed
  • 3 contributors

Commits on Nov 18, 2024

  1. Fixes #668: Update Dependencies - security alerts (#677)

    Co-authored-by: Thiago Tognoli <[email protected]>
    thiagotognoli and Thiago Tognoli authored Nov 18, 2024
    Copy the full SHA
    e71196e View commit details

Commits on Jan 2, 2025

  1. fix: typos in ejs.md (#682)

    velvet-lynx authored Jan 2, 2025
    Copy the full SHA
    1efa63d View commit details
Showing with 69 additions and 22 deletions.
  1. +2 −2 docs/guides/view_engines/ejs.md
  2. +63 −16 package-lock.json
  3. +4 −4 package.json
4 changes: 2 additions & 2 deletions docs/guides/view_engines/ejs.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ To enable [**ejs**](https://github.com/mde/ejs) support make use of the `viewEng

## Example usage

Let's try to do some translations with pug templates.
Let's try to do some translations with ejs templates.

```json title="src/i18n/en/test.json"
{
@@ -39,7 +39,7 @@ export class TestController {

```

```hbs title="src/view/page.hbs"
```ejs title="src/view/page.ejs"
<h1><%= t('test.HELLO', i18nLang, { username }) -%></h1>
```

79 changes: 63 additions & 16 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nestjs-i18n",
"version": "10.5.0",
"version": "10.5.1",
"homepage": "https://nestjs-i18n.com",
"description": "The i18n module for Nest.",
"author": "Toon van Strijp",
@@ -110,8 +110,8 @@
},
"dependencies": {
"accept-language-parser": "^1.5.0",
"chokidar": "^3.5.3",
"cookie": "^0.5.0",
"chokidar": "^3.6.0",
"cookie": "^0.7.0",
"iterare": "^1.2.1",
"js-yaml": "^4.1.0",
"string-format": "^2.0.0"
@@ -135,4 +135,4 @@
]
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}