@platformatic/utils
Advanced tools
Comparing version 0.44.0 to 0.45.0
@@ -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 |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25961
16
395
3
+ Added@fastify/error@^3.2.1
+ Added@fastify/error@3.4.1(transitive)