Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Conversation

@danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#14118

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This removes import protection outside of ~/server/api/ and ~/server/middleware/ directories, for shared utilities.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Jun 8, 2022
@danielroe danielroe requested a review from pi0 June 8, 2022 14:06
@danielroe danielroe self-assigned this Jun 8, 2022
@netlify
Copy link

netlify bot commented Jun 8, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 9fcdbc6
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62a0fdb7a987a800095073d6
😎 Deploy Preview https://deploy-preview-5355--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0 pi0 changed the title fix(nuxt): remove server import protection outside of api/middleware fix(nuxt): relax server import protections Jun 8, 2022
@pi0 pi0 merged commit 247deac into main Jun 8, 2022
@pi0 pi0 deleted the fix/unprotect-utils branch June 8, 2022 19:51
@pi0 pi0 mentioned this pull request Jun 10, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.x bug Something isn't working 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow importing from generic ~/server/utils

3 participants