Skip to content

Commit 0a7977f

Browse files
Merge pull request #235 from richardeschloss/development
Development
2 parents 71b1498 + c4930c7 commit 0a7977f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# Change Log
33
All notable changes to this project will be documented in this file.
44

5+
## 1.1.24 - 2021-10-01
6+
### Fixed
7+
- Namespace regex patterns and documentation links (credit: PitPietro)
8+
59
## 1.1.23 - 2021-08-29
610
### Fixed
711
- Automatic server registration with .ts and .mjs extensions (credit: ohashi14715369)

io/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const register = {
4545
const nspFiles = await glob(`${nspDir}/**/*.{js,ts,mjs}`)
4646
const nspDirResolved = pResolve(nspDir).replace(/\\/g, '/')
4747
const namespaces = nspFiles.map(
48-
(f) => f.split(nspDirResolved)[1].split(/.(js|ts|mjs)/)[0]
48+
(f) => f.split(nspDirResolved)[1].split(/\.(js|ts|mjs)$/)[0]
4949
)
5050
namespaces.forEach(async (namespace, idx) => {
5151
const {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt-socket-io",
3-
"version": "1.1.23",
3+
"version": "1.1.24",
44
"description": "Socket.io client and server module for Nuxt. Just plug it in and GO",
55
"author": "Richard Schloss",
66
"main": "io/module.js",

0 commit comments

Comments
 (0)