Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sum.cumo/nuxt-custom-route-folder

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sum.cumo/nuxt-custom-route-folder - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

11

changelog.md
# Changelog @sum.cumo/nuxt-custom-route-folder
## Version 2.1.3
### 🐞 Bug Fixes
→ **apply linter changes**
> which is basically a style type of commit, but I want
> to make sure to release this, so fix it is.
>
>
## Version 2.1.2

@@ -4,0 +15,0 @@

2

package.json
{
"name": "@sum.cumo/nuxt-custom-route-folder",
"version": "2.1.2",
"version": "2.1.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -83,3 +83,6 @@ import path from 'path'

const readyFilter = rxFilter(({ event }) => event === 'ready')
const ready$ = watch$.pipe(readyFilter, delay(1))
const ready$ = watch$.pipe(
readyFilter,
delay(1)
)
let rdy = false

@@ -122,9 +125,14 @@ const ready$$ = Observable.create((obs) => {

const promise = new Promise((resolve, reject) => {
const sub = fs$.pipe(readyFilter, delay(2)).subscribe({
complete() {
resolve()
sub.unsubscribe()
},
error: reject,
})
const sub = fs$
.pipe(
readyFilter,
delay(2)
)
.subscribe({
complete() {
resolve()
sub.unsubscribe()
},
error: reject,
})
})

@@ -131,0 +139,0 @@

@@ -65,3 +65,3 @@ import { expectWatch, reset } from 'chokidar'

expect(routes.length).toBe(1)
expect(routes).toHaveLength(1)
expect(routes[0]).toEqual({

@@ -106,3 +106,3 @@ path: '/foo',

expect(routes.length).toBe(1)
expect(routes).toHaveLength(1)

@@ -115,3 +115,3 @@ emitter.emit('unlink', `${srcDir}/foo.js`)

expect(builder.generateRoutesAndFiles).toHaveBeenCalledTimes(2)
expect(routes.length).toBe(0)
expect(routes).toHaveLength(0)
})

@@ -140,4 +140,4 @@

expect(
fakeNuxt.hook.mock.calls.filter(([name]) => name === 'build:done').length
).toBe(1)
fakeNuxt.hook.mock.calls.filter(([name]) => name === 'build:done')
).toHaveLength(1)
})

@@ -182,3 +182,3 @@

expect(routes.length).toBe(1)
expect(routes).toHaveLength(1)
expect(routes[0]).toEqual({

@@ -259,3 +259,3 @@ path: '/foo',

expect(routes.length).toBe(1)
expect(routes).toHaveLength(1)
expect(routes[0]).toEqual({

@@ -305,3 +305,3 @@ path: '/',

expect(routes.length).toBe(1)
expect(routes).toHaveLength(1)
expect(routes[0]).toEqual({

@@ -308,0 +308,0 @@ path: '/foo',

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc