0.2.0 • Published 10 months ago

@fasto/utils v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Fasto Utils

Utility functions to be used with any js library or application.

isBlank

import { isBlank } from '@fasto/utils'
isBlank('')

Issues

React router and vite strated throwing erorr after upgrade so had to add type=module in package.json file and this fixed the issue

10:32:30 AM [vite] (ssr) Error when evaluating SSR module virtual:react-router/server-build: The requested module '@fasto/utils' does not provide an export named 'isBlank'
      at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
      at ModuleJob.run (node:internal/modules/esm/module_job:217:5)
      at ModuleLoader.import (node:internal/modules/esm/loader:316:24)
      at SSRCompatModuleRunner.directRequest (file:///Volumes/D/www/projects/thewildai/chatbot_app_rr/node_modules/.pnpm/vite@6.2.0_@types+node@22.10.10_jiti@2.4.2_lightningcss@1.29.1_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1220:24)
      at SSRCompatModuleRunner.cachedRequest (file:///Volumes/D/www/projects/thewildai/chatbot_app_rr/node_modules/.pnpm/vite@6.2.0_@types+node@22.10.10_jiti@2.4.2_lightningcss@1.29.1_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1167:76)
      at eval (/Volumes/D/www/projects/thewildai/chatbot_app_rr/app/components/RootLayout.tsx:4:31)
      at ESModulesEvaluator.runInlinedModule (file:///Volumes/D/www/projects/thewildai/chatbot_app_rr/node_modules/.pnpm/vite@6.2.0_@types+node@22.10.10_jiti@2.4.2_lightningcss@1.29.1_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1049:5)
      at SSRCompatModuleRunner.directRequest (file:///Volumes/D/www/projects/thewildai/chatbot_app_rr/node_modules/.pnpm/vite@6.2.0_@types+node@22.10.10_jiti@2.4.2_lightningcss@1.29.1_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1271:61)
      at SSRCompatModuleRunner.directRequest (file:///Volumes/D/www/projects/thewildai/chatbot_app_rr/node_modules/.pnpm/vite@6.2.0_@types+node@22.10.10_jiti@2.4.2_lightningcss@1.29.1_yaml@2.7.0/node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:30913:23)
      at SSRCompatModuleRunner.cachedRequest (file:///Volumes/D/www/projects/thewildai/chatbot_app_rr/node_modules/.pnpm/vite@6.2.0_@types+node@22.10.10_jiti@2.4.2_lightningcss@1.29.1_yaml@2.7.0/node_modules/vite/dist/node/module-runner.js:1167:76)
10:32:30 AM [vite] (ssr) Error when evaluating SSR module virtual:react-router/server-build: The requested module '@fasto/utils' does not provide an export named 'isBlank'
0.2.0

10 months ago

0.1.0

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago