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

@fastify/autoload

Package Overview
Dependencies
Maintainers
20
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/autoload - npm Package Compare versions

Comparing version 5.4.1 to 5.5.0

scripts/unit-typescript-esbuild.js

3

index.js

@@ -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": {

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