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

@platformatic/utils

Package Overview
Dependencies
Maintainers
6
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/utils - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

13

lib/file-watcher.js

@@ -11,8 +11,2 @@ 'use strict'

// Recursive watch is unreliable on platforms besides macOS and Windows.
// See: https://github.com/nodejs/node/issues/48437
/* c8 ignore next 2 */
const useRecursiveWatch = process.platform === 'darwin' ||
process.platform === 'win32'
function removeDotSlash (path) {

@@ -45,3 +39,8 @@ return path.replace(/^\.[/\\]/, '')

const fsWatcher = watch(this.path, { signal, recursive: useRecursiveWatch })
// Recursive watch is unreliable on platforms besides macOS and Windows.
// See: https://github.com/nodejs/node/issues/48437
const fsWatcher = watch(this.path, {
signal,
recursive: true
})

@@ -48,0 +47,0 @@ let updateTimeout = null

{
"name": "@platformatic/utils",
"version": "1.4.1",
"version": "1.5.0",
"description": "Platformatic DB Utils",

@@ -5,0 +5,0 @@ "main": "index.js",

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