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
290
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 0.44.0 to 0.45.0

lib/errors.js

3

index.js

@@ -9,2 +9,3 @@ 'use strict'

const packages = require('./lib/packages')
const errors = require('./lib/errors')

@@ -20,1 +21,3 @@ module.exports.FileWatcher = FileWatcher

module.exports.checkForDependencies = packages.checkForDependencies
module.exports.errors = errors

3

lib/file-watcher.js

@@ -5,2 +5,3 @@ 'use strict'

const { watch } = require('fs/promises')
const errors = require('./errors')

@@ -26,3 +27,3 @@ const minimatch = require('minimatch').default

if (typeof opts.path !== 'string') {
throw new Error('path option is required')
throw new errors.PathOptionRequiredError()
}

@@ -29,0 +30,0 @@ this.path = opts.path

{
"name": "@platformatic/utils",
"version": "0.44.0",
"version": "0.45.0",
"description": "Platformatic DB Utils",

@@ -25,2 +25,3 @@ "main": "index.js",

"@fastify/deepmerge": "^1.3.0",
"@fastify/error": "^3.2.1",
"minimatch": "^8.0.4"

@@ -27,0 +28,0 @@ },

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