@fastify/autoload
Advanced tools
Comparing version 5.4.1 to 5.5.0
@@ -17,4 +17,5 @@ 'use strict' | ||
const isTsm = process._preload_modules && process._preload_modules.includes('tsm') | ||
const isEsbuildRegister = process._preload_modules && process._preload_modules.includes('esbuild-register') | ||
const isTsx = process._preload_modules && process._preload_modules.toString().includes('tsx') | ||
const typescriptSupport = isTsNode || isVitestEnvironment || isBabelNode || isJestEnvironment || isSWCRegister || isSWCNodeRegister || isSWCNode || isTsm || isTsx | ||
const typescriptSupport = isTsNode || isVitestEnvironment || isBabelNode || isJestEnvironment || isSWCRegister || isSWCNodeRegister || isSWCNode || isTsm || isTsx || isEsbuildRegister | ||
const forceESMEnvironment = isVitestEnvironment || false | ||
@@ -21,0 +22,0 @@ const routeParamPattern = /\/_/ig |
{ | ||
"name": "@fastify/autoload", | ||
"version": "5.4.1", | ||
"version": "5.5.0", | ||
"description": "Require all plugins in a directory", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"lint:fix": "standard --fix | snazzy", | ||
"test": "npm run unit && npm run typescript && npm run typescript:jest && npm run typescript:esm && npm run typescript:swc && npm run typescript:swc-node-register && npm run typescript:tsm && npm run typescript:tsx && npm run typescript:vitest", | ||
"test": "npm run unit && npm run typescript && npm run typescript:jest && npm run typescript:esm && npm run typescript:swc && npm run typescript:swc-node-register && npm run typescript:tsm && npm run typescript:tsx && npm run typescript:vitest && npm run typescript:esbuild", | ||
"typescript": "tsd", | ||
@@ -19,2 +19,3 @@ "typescript:jest": "jest", | ||
"typescript:tsx": "node scripts/unit-typescript-tsx.js", | ||
"typescript:esbuild": "node scripts/unit-typescript-esbuild.js", | ||
"typescript:vitest": "vitest run", | ||
@@ -69,4 +70,6 @@ "unit": "node scripts/unit.js", | ||
"typescript": "^4.5.4", | ||
"esbuild": "^0.15.14", | ||
"esbuild-register": "^3.4.1", | ||
"vite": "^3.1.7", | ||
"vitest": "^0.24.1" | ||
"vitest": "^0.25.2" | ||
}, | ||
@@ -73,0 +76,0 @@ "dependencies": { |
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
117539
236
3428
26
7