Skip to content

Commit a6b9c02

Browse files
authored
Merge pull request #317 from Baroshem/chore/1.0.0
Chore/1.0.0
2 parents b945040 + 0776f28 commit a6b9c02

File tree

46 files changed

+809
-236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+809
-236
lines changed

.stackblitz/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"nuxt": "3.7.3"
1212
},
1313
"dependencies": {
14-
"nuxt-security": "^1.0.0-rc.5"
14+
"nuxt-security": "^1.0.0"
1515
}
1616
}

.stackblitz/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3113,10 +3113,10 @@ nuxt-csurf@^1.3.1:
31133113
defu "^6.1.1"
31143114
uncsrf "^1.1.1"
31153115

3116-
nuxt-security@^1.0.0-rc.5:
3117-
version "1.0.0-rc.5"
3118-
resolved "https://registry.yarnpkg.com/nuxt-security/-/nuxt-security-1.0.0-rc.5.tgz#cad530e21ae38aa0c1397a2edd3e8c58c94021f5"
3119-
integrity sha512-2FgpQZVD4zky9biyRC8WaaK16QxLj2obeCPm1xFJyiCZ9eP2I5XduL+8unwjw+vx72YbaDCelqz7Bnnhjs2mxw==
3116+
nuxt-security@^1.0.0:
3117+
version "1.0.0"
3118+
resolved "https://registry.yarnpkg.com/nuxt-security/-/nuxt-security-1.0.0.tgz#34f98f926343f9f0524efdf8c8563dd359105a56"
3119+
integrity sha512-3e5oL3uPZvTBbEyN40YNbXNz1RiaFrBqSuGAI80YHBo5SdWjoLXXvAO5TOKiYUYwnRyf7hDuODOeyoe8+qiR/w==
31203120
dependencies:
31213121
"@nuxt/kit" "^3.8.0"
31223122
basic-auth "^2.0.1"

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Automatically configure your app to follow OWASP security patterns and principle
2929
Install the module:
3030

3131
```sh
32-
npm i -D nuxt-security@rc
33-
yarn add -D nuxt-security@rc
34-
pnpm add -D nuxt-security@rc
32+
npm i -D nuxt-security
33+
yarn add -D nuxt-security
34+
pnpm add -D nuxt-security
3535
```
3636

3737
Add the module in the `modules` array in `nuxt.config.ts`:

docs/components/content/Releases.vue

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<GithubReleases v-slot="{ releases }">
3+
<div v-for="release in releases" :key="release.name">
4+
<ProseH2 :id="release.name">
5+
<Badge :type="release.prerelease ? 'warning' : 'info'">
6+
{{ release.prerelease ? "Pre-release" : "Release" }} </Badge
7+
>{{ release.name }}
8+
</ProseH2>
9+
<details>
10+
<summary>
11+
Published on {{ new Date(release.date).toDateString() }}
12+
</summary>
13+
<ContentRenderer :value="release" />
14+
</details>
15+
</div>
16+
</GithubReleases>
17+
</template>

docs/content/1.documentation/1.getting-started/1.setup.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Install `nuxt-security` module:
1111
::code-group
1212

1313
```bash [Yarn]
14-
yarn add --dev nuxt-security@rc
14+
yarn add --dev nuxt-security
1515
```
1616

1717
```bash [NPM]
18-
npm install nuxt-security@rc --save-dev
18+
npm install nuxt-security --save-dev
1919
```
2020

2121
```bash [PNPM]
22-
pnpm add -D nuxt-security@rc
22+
pnpm add -D nuxt-security
2323
```
2424

2525
::
@@ -32,7 +32,7 @@ export default defineNuxtConfig({
3232
})
3333
```
3434

35-
That's it! The Nuxt Security module will now register routeRoules and middleware to make your application more secure ✨
35+
That's it! The Nuxt Security module will now register routeRules and middleware to make your application more secure ✨
3636

3737
## Configuration
3838

0 commit comments

Comments
 (0)