Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(resolution): Fix resolution of querystringed imports in ESM files #322

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

lobsterkatie
Copy link

@lobsterkatie lobsterkatie commented Nov 3, 2022

Currently, there are two problems with the way @vercel/nft handles ESM imports with querystrings (import * as something from './someFile?someQuerystring';):

  • It treats the ? as it would any other character. As a result, it fails to resolve such imports to the non-querystringed files to which they correspond. (In the above example, it looks for a file named someFile?someQuerystring.js and, as one would expect, doesn't find it.) While this is the correct behavior for require calls in CJS files, it doesn't match the way that Node handles ESM imports (which is to strip the querystring off before attempting to resolve the file).
  • In cases where a custom resolve method is provided, and that custom method does strip querystrings from ESM imports, the querystrings are then not put back on before the imported module is processed. This matters, for example, in cases where readFile is also overridden, with a method whose output is affected by the querystring's value. (Webpack is such a system, so one place this shows up is in Next.js's NextTraceEntryPointsPlugin.)

This fixes both of those problems by selectively stripping and re-adding the querystring in ESM imports at various points in the nodeFileTrace lifecycle. More specifically, in resolveDependecy and in emitDependency and its helpers, we strip the querystring (and/or don't add it back), with the exception of:

  • When we're marking a path as seen, we keep the querystring so that having a different querystring makes the process run again.
  • When we're calling readFile, we keep the querystring, since some implementations of readFile, including the one in the nft webpack plugin, read different modules out of memory with different querystrings).
  • When we're calling resolve, we add the querystring back in, since this is also something which can be supplied by the user, and and the user-supplied version might care about query strings.
  • When we're caching analysis results, we keep the querystring, since again here, we may have different code to analyze if we have a different querystring.
  • When we're making the recursive call to emitDependency, we add the querystring back in, since we need it there to be able to start the whole cycle over.

Notes:

  • Because the behavior here depends on whether or not a module is ESM, I needed to pass cjsResolve to the recursive call of emitDependency. Rather than change emitDependency's signature, I opted to make emitDependency a wrapper for an inner function (analyzeAndEmitDependency) with the updated signature. Recursive calls now go to the inner function.
  • For context, we on the @sentry/nextjs team are interested in this because we use a webpack loader to insert in the dependency tree a proxy module for each page, which allows us to automatically wrap users' exported functions (getServerSideProps and friends, API route handlers, etc). To do this, we replace the code from /path/to/pages/somePage.js with our proxy code, which includes an import from './somePage?__sentry_wrapped__'. When webpack then crawls our proxy module looking for dependencies, the querystring tricks it into thinking it hasn't yet dealt with that page, so it forwards it to our loader a second time rather than skipping it. When our loader sees the querystring, it knows the code replacement has already been done, and returns the original page code untouched, thereby preserving the continuity of the dependency tree. This fix ensures that @vercel/nft successfully traces the modified tree.
  • The unit test testing that this doesn't break the (already correct) behavior in CJS when dealing with files with question marks in their names (cjs-querystring) required a little gymnastics in order to not break CI on Windows. It turns out that skipping the test on Windows wasn't enough - the mere fact that a file exists with a ? in its name is enough to cause Windows not to even be able to check out the commit. Therefore, the file is stored without any punctuation in its name, and before the tests run on non-Windows platforms, it is copied to a version which does have the punctuation, and which is git-ignored to enforce it not ending up in the repo in the future by accident. The dummy, no-punctuation version is stored in a folder in order to differentiate its path from that of the punctuated version by more than just the punctuation. That way, if the punctuated version is found, it's clear it's not just because the punctuation is somehow being ignored.

Fixes getsentry/sentry-javascript#5998.
Fixes #319.

@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch from 02170de to 8a039c1 Compare November 3, 2022 04:50
@lobsterkatie
Copy link
Author

@ijjk or @styfle, I'm wondering if you can give me some guidance on how to write tests for this. I think I probably need to add some webpack wrapper unit tests, but a) I'm not sure that's right, and b) it's not clear how those wrappers are generated.

src/node-file-trace.ts Outdated Show resolved Hide resolved
src/node-file-trace.ts Outdated Show resolved Hide resolved
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See a previous PR for how to add a test: #289

  • input.js is the input file that nft traces
  • output.js is the expected files to be traced
  • any other file can be required/imported by input.js or others

@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Merging #322 (3eb9da4) into main (87a4849) will increase coverage by 0.01%.
The diff coverage is 85.71%.

❗ Current head 3eb9da4 differs from pull request most recent head a7c4822. Consider uploading reports for the commit a7c4822 to get more accurate results

@@            Coverage Diff             @@
##             main     #322      +/-   ##
==========================================
+ Coverage   81.23%   81.25%   +0.01%     
==========================================
  Files          13       13              
  Lines        1503     1520      +17     
  Branches      553      558       +5     
==========================================
+ Hits         1221     1235      +14     
- Misses        115      118       +3     
  Partials      167      167              
Impacted Files Coverage Δ
src/node-file-trace.ts 89.66% <84.84%> (-0.64%) ⬇️
src/resolve-dependency.ts 70.55% <100.00%> (+0.36%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lobsterkatie
Copy link
Author

Won't we accidentally skip adding the query string back if the query string itself is included in the path? e.g: ./fruit/apples?fruit

Good catch, @lforst! I've made the check more robust.

@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch from 8a039c1 to 37c2a03 Compare November 8, 2022 03:32
@lobsterkatie
Copy link
Author

lobsterkatie commented Nov 8, 2022

Is there a scenario where a file can contain a ? and dropping it would fail resolution?

I know that CJS needs to keep supporting it but I'm wondering if we need proper URL parsing to match how ESM works.

That's an edge case I hadn't thought of. I did a bunch of testing (details below) and here's what I found:

  • When resolving files, Node itself seems to handle CJS files by treating question marks like any other character (essentially, it ignores them), and treat ESM files by stripping everything after the first question mark. This means that with CJS, question marks in filenames are okay, but querystrings aren't (because it thinks the querystring is part of a filename). For ESM, it thinks question marks in filenames are the start of a querystring, so it can't handle them, but it can handle querystrings.
  • Current (before this PR) nft behavior seems to be to ignore question marks/treat them like a regular character, regardless of the CJS/ESM question. (IOW, it acts as if everything is CJS.) It therefore can handle files with question marks but can't handle querystrings because it's looking for files whose names include the querystring.
  • Webpack can't seem to handle question marks in filenames, whether we're using CJS or ESM.
  • The nextjs nft webpack plugin strips everything after the first question mark, again regardless of CJS vs ESM. (IOW, it acts as if everything is ESM.)

Or, put visually:

                                  | `?` in filename | Querystring | Notes                                                                                                                                                |
|---------------------------------|-----------------|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| Node CJS                        | ✅              | ❌          | Querystring doesn't work because it looks for filename with querystring in it                                                                        |
| Node ESM                        | ❌              | ✅          | `?` in filename doesn't work because everything afterwards is considered a querystring                                                               |
| Webpack CJS                     | ❌              | ✅          | Uses https://github.com/webpack/enhanced-resolve/blob/651e57863e46afeccf1946b4275d7b2339152ed1/lib/util/identifier.js#L14. which splits at first `?` |
| Webpack ESM                     | ❌              | ✅          | Uses https://github.com/webpack/enhanced-resolve/blob/651e57863e46afeccf1946b4275d7b2339152ed1/lib/util/identifier.js#L14. which splits at first `?` |
| bare `nft` CJS                  | ✅              | ❌          | Querystring doesn't work because it looks for filename with querystring in it                                                                        |
| bare `nft` ESM                  | ✅              | ❌          | Querystring doesn't work because it looks for filename with querystring in it                                                                        |
| Nextjs `nft` Webpack plugin CJS | ❌              | ✅          | Same as webpack because it uses webpack's resolver                                                                                                   |
| Nextjs `nft` Webpack plugin ESM | ❌              | ✅          | Same as webpack because it uses webpack's resolver                                                                                                   |

So... I'm not sure where that leaves me in terms of what should be done here. Which behavior should I be trying to emulate?

Details of my testing

To test out the possibilities, I ran a few tests using the following files, along with a corresponding set of .mjs files using ESM imports and exports:

file1.js

const file2 = require("./file2?aardvark");
console.log(file2.bear);

file2.js

const file3 = require("./file3");
console.log(file3.cheetah);

module.exports = { bear: "dinosaur" };

file3.js

const file4 = require("./file?4");
console.log(file4.emu);

module.exports = { cheetah: "fox" };

file?4.js

module.exports = { emu: "giraffe" };
  • Just looking at node module resolution, I'm not sure if this is what you were talking about, @styfle, but I found that for CJS, node couldn't resolve ./file2?aardvark, but could resolve ./file?4. For ESM, it was the reverse. Interestingly, I had to import from ./file2.mjs?aardvark and ./file?4.mjs rather than just the module name (and I had to name the files .mjs instead of just .js). Without the extension, it correctly stripped the ?aardvark but then couldn't find the file, and even with the extension, it stripped the ?4.mjs and then couldn't find a module called file. The same thing happened when I tried to import from ./file?4.mjs?heron and ./file?4?heron.

    Conclusion: In node, it seems CJS treats question marks like any other character (essentially ignores them), and ESM strips everything after the first question mark.

  • I then moved onto looking at nft's current behavior. I couldn't get nft why to work at all (it always just printed out the second argument), but when I tried nft print, with both CJS and ESM, it matched the node CJS behavior (couldn't handle the file2 querystring, could handle the question mark in the file?4 filename). Here ESM needed the .mjs if that's what the files were called, but could deal with bare module names if the files were just .js. With ESM each file printed out twice, which makes sense given that it's printing both the main file list and the ESM file list.

    Conclusion: Current nft seems to ignore question marks (treats them like a regular character), regardless of the CJS/ESM question.

  • Then onto the nextjs NFT plugin. Just to keep us on our toes, with CJS it mimicked the ESM behavior of node (handled the querystring but not the question mark in the filename), though in fact in that case I don't think it got as far as the plugin - I think webpack itself couldn't handle it. Also, in that case it wasn't stripping off everything after the question mark, it just couldn't handle having the question mark in the filename. The same thing happened with ESM.

    Conclusion: Webpack can't deal with question marks in filenames.

  • Finally, URL parsing. I used node url.parse method to parse /aardvark/bear/cheetah?dinosaur, /aardvark/bear/cheetah?dinosaur?emu, /aardvark/bear/cheetah.js?dinosaur, /aardvark/bear/cheetah.js?dinosaur?emu, /aardvark/bear/chee?tah, /aardvark/bear/chee?tah.js, /aardvark/bear/chee?tah?dinosaur, and /aardvark/bear/che?etah.js?dinosaur, and in every case, everything after the first question mark was considered querystring.

    Conclusion: Using url.parse(filepath) is the same as doing filepath.split("?")[1] if there's only one ? but not if there's more than one. I'll switch to parsing.

@lobsterkatie
Copy link
Author

See a previous PR for how to add a test: #289

  • input.js is the input file that nft traces
  • output.js is the expected files to be traced
  • any other file can be required/imported by input.js or others

Thanks. And yeah, I'd gotten the basic idea of input.js and output.js. I'm still wondering about this:

I think I probably need to add some webpack wrapper unit tests, but a) I'm not sure that's right, and b) it's not clear how those wrappers are generated.

I'm also now thinking that this should be tested outside of a webpack context as well. I'll get started on that in the meantime.

@lobsterkatie
Copy link
Author

lobsterkatie commented Nov 8, 2022

A few more questions on tests:

  1. I can see that all of the output.js files have relative paths, but the unit test I added keeps producing absolute paths ("Users/Katie/Documents/Sentry/forks/nft-fork/package.json" rather than just "package.json"). How do I get it to ignore the first part of the path?

  2. On second thought, does it make any sense to be testing this outside of the context of webpack, given that that's why an import would have a query string (and given that bare nft right now can't handle querystrings in imports)?

  3. As for the test using webpack, if I were creating testsfrom scratch, I'd probably do two: one using a simplified version of our proxy loader to set up the situation where you have both ./someFile and ./someFile?someQuerystring pointing to two different modules in memory, and one using another loader setup to change the contents of a module based on a hard-coded query string. I'd then probably use a simple plugin (similar to the nextjs nft plugin) as a way to run nft, and write a script to run webpack and check the output of the plugin.

I'm not at all sure how to translate that into either a unit test or an integration test which will fit with your system, though. As I mentioned above, I do see the webpack wrapper tests in the unit test folder, but they seem to be testing how nft handles webpack-generated code (after the fact), whereas I claim I want to test how nft behaves as a part of webpack build (during the fact).

Thoughts?

@styfle
Copy link
Member

styfle commented Nov 8, 2022

The purpose of nft is to simulate Node.js module resolution.

The existing webpack tests are trying to reverse the wrappers that webpack adds back to the original source code the author wrote. In particular, require('path') is mangled into dynamic code like path__WEBPACK_IMPORTED_MODULE_0___default() which is no longer statically analyzable.

I think this PR should ignore anything that webpack does and focus solely on Node.js module resolution behavior.

@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch from 37c2a03 to ad88220 Compare November 15, 2022 05:58
@lobsterkatie
Copy link
Author

lobsterkatie commented Nov 15, 2022

The purpose of nft is to simulate Node.js module resolution.

Right, okay. I think I've now got it so that it does. If we're dealing with ESM, we strip the querystring (if any) in resolveDependecy and in emitDependency and its helpers, with the exception of

  • when we're marking a path as seen (so that having a different querystring makes it go through the process again),
  • when we're calling readFile (since readFile can be changed with an option and in some implementations, including the one in the nft webpack plugin, read different modules out of memory with different querystrings),
  • when we're calling resolve (since this is also something which can be supplied by the user, and it might care about query strings),
  • when we're caching analysis results (since, again, we may have different code to analyze if we have a different querystring), and
  • when we're making the recursive call to emitDependency (or now its helper, since we need it there to be able to start the whole cycle over).

I think this PR should ignore anything that webpack does and focus solely on Node.js module resolution behavior.

Yeah, that's fair. I think I can probably (?) mock the relevant thing it does, which is distinguish between modules if the querystring is different. The other tests should hopefully be more straightforward. UPDATE: Done.

@lobsterkatie lobsterkatie changed the title fix(resolution): Preserve querystring when resolving dependencies fix(resolution): Fix resolution of querystringed imports in ESM files Nov 16, 2022
@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch from 10490b4 to cc7e76d Compare November 17, 2022 04:33
@lobsterkatie
Copy link
Author

UPDATE: Tests are now pushed and I've updated the PR description to reflect the results of our conversations above, so I will mark this ready for review. Please let me know if there's anything I missed!

@lobsterkatie lobsterkatie marked this pull request as ready for review November 17, 2022 04:51
@lobsterkatie lobsterkatie requested a review from ijjk as a code owner November 17, 2022 04:51
@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch 4 times, most recently from ab66e07 to c83ab86 Compare November 22, 2022 01:50
@lobsterkatie lobsterkatie requested review from styfle and removed request for ijjk November 22, 2022 01:52
@lobsterkatie
Copy link
Author

Hey, @styfle - I fixed the windows CI issues. Mind taking another look?


// Splits an ESM specifier into path and querystring (including the leading `?`). (If the specifier is CJS,
// it is passed through untouched.)
export function parseSpecifier(specifier: string, cjsResolve: boolean = true): ParseSpecifierResult {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export function parseSpecifier(specifier: string, cjsResolve: boolean = true): ParseSpecifierResult {
export function parseSpecifier(specifier: string, cjsResolve: boolean): ParseSpecifierResult {

Lets not use a default param or else the caller might forget

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, we need the default to be there, because the first time this is called (at the top of analyzeAndEmitDependency when it's called by emitDependency), we don't have a cjsResolve value. Having it default to true works in that case, though, because that only happens at the root of the tree, when nodeFileTrace calls emitDependency on an actual file (not an import specifier), which we know won't have a querystring.

if (!cjsResolve) {
// Regex which splits a specifier into path and querystring, inspired by that in `enhanced-resolve`
// https://github.com/webpack/enhanced-resolve/blob/157ed9bcc381857d979e56d2f20a5a17c6362bff/lib/util/identifier.js#L8
const match = /^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^\0])*)?$/.exec(specifier);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks slightly different from the webpack regex.

Can we instead use url.parse() or new URL() to safely parse?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks slightly different from the webpack regex.

Can we instead use url.parse() or new URL() to safely parse?

In my testing, node itself seemed to treat import * as something from './someFile.js?things#stuff, import * as something from './someFile.js?things, and import * as something from './someFile.js the same way, namely that it stripped the ? and everything after it off before trying to resolve the file. I therefore wanted to do the same thing. Before landing on this regex (which is the original regex, minus treating the fragment as a separate entity - see the screenshot below), I considered:

  • Using indexOf on '?' and then using slice to cut the string off at that point. Straightforward, but brute-force-y, and I've had brute force bite me enough times when handling edge cases I hadn't thought of that I wanted to out-source it to something purpose-built and presumably battle-tested.

  • Using url.parse. This splits the querystring and fragment off into separate parts I'd just have to put back together again. Also, my linter got mad because it's deprecated.

  • Using new URL(). This similarly splits the querystring and fragment off separately. It also errors out when given a path without http:// (or similar) at the beginning.

None of them seemed ideal, and so I decided to see how webpack does it (since I was in the nextjs nft webpack plugin with the debugger already), figuring that the most likely context for someone having the querystring problem in the first place was them using a webpack loader with options. After a lot of stepping through code, eventually I landed in the enhanced-resolve file I linked to in the comment. As I mentioned above, you're right that it's been changed, but only to combine the querystring and fragment into a single group.

image

(I gave the regex I'm using above a name the same length as the original regex's name in enhanced-resolve so it's easier to compare.)

I can certainly make url.parse or new URL() work if you'd like, but given the above IMHO the regex is still the best option. WDYT?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url.parse() is not really deprecated because its the only safe way to parse a relative url since new URL() only works for absolute urls. The docs mention the deprecation was revoked
image

Also, I trust node's own url parsing more than a modified regex which might suffer from ReDoS.

Now that there are tests, we should be able to swap this implementation between regex, url.parse() or new URL() easily.

// If querystring was stripped during resolution, restore it
if (queryString && !item.endsWith(queryString)) {
item += queryString;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the query string exist on node built-ins?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, as it turns out. I did some testing:

(Note that this is all for ESM imports, since we know that CJS just treats ? like any other character, and there are no built-ins with ? in their name.)

  • For node on its own:

    • Querystrings on relative imports (import * as file1 from './file1.js?things') work (they get stripped).
    • Querystrings on regular node modules (import * as semver from 'semver?stuff') error out with Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'semver?stuff'.
    • Querystrings on un-prefixed built-ins (import * as fs from 'fs?morestuff') error out with Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'fs?morestuff'. (In other words, it doesn't recognize it as a built-in.)
    • Querystrings on prefixed built-ins (import * as fs from 'node:fs?morestuff') error out with Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:fs?morestuff.
  • For a webpack build:

    • Querystrings on relative imports (import * as file1 from './file1.js?things') work (they get stripped).
    • Querystrings on regular node modules (import * as semver from 'semver?stuff') work (they get stripped).
    • Querystrings on un-prefixed built-ins (import * as fs from 'fs?morestuff') error out with Module not found: Can't resolve 'fs?morestuff'. (In other words, it doesn't recognize it as a built-in, strips it, and then errors when it doesn't find it in node_modules.)
    • Querystrings on prefixed built-ins (import * as fs from 'node:fs?morestuff') error out with Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:fs?morestuff.

So not something we have to worry about. Might be worth saying so in a comment, though. I'll do that.

@@ -0,0 +1,5 @@
// Test that querystrings of various forms get stripped from esm imports
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add package.json to this dir with "type": "module", otherwise its wont be valid for Node.js

@@ -0,0 +1,5 @@
// Test that querystrings of various forms get stripped from esm imports

import * as aardvark from "./animalFacts/aardvark?anteater";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add one more test similar to this one but with .mjs extensions for the file names as well as import specifiers

const errorMessage = path === rawPath
? 'File ' + path + ' does not exist.'
: 'Neither ' + path + ' nor ' + rawPath + ' exists.'
throw new Error(errorMessage);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is a test missing for this error message

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was missing for the original version of the error message also. If you run coverage on main, none of the errors are tested. (I think possibly because with the current two kinds of tests, it's not obvious how one would.)

image

const { nodeFileTrace } = require('../out/node-file-trace');

global._unit = true;

const skipOnWindows = ['yarn-workspaces', 'yarn-workspaces-base-root', 'yarn-workspace-esm', 'asset-symlink', 'require-symlink'];
const skipOnWindows = ['yarn-workspaces', 'yarn-workspaces-base-root', 'yarn-workspace-esm', 'asset-symlink', 'require-symlink', "cjs-querystring"];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const skipOnWindows = ['yarn-workspaces', 'yarn-workspaces-base-root', 'yarn-workspace-esm', 'asset-symlink', 'require-symlink', "cjs-querystring"];
const skipOnWindows = ['yarn-workspaces', 'yarn-workspaces-base-root', 'yarn-workspace-esm', 'asset-symlink', 'require-symlink', 'cjs-querystring'];

Oops, looks like we don't have prettier in this repo yet 😅

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL - yes. Every time I saved VSCode would reformat the entire file. 🤦🏻‍♀️

There are still a bunch of places where double-quotes exist, but I've gone through and fixed everything in this PR to use single quotes, except where double quotes were necessary to avoid having to escape a ' contained in the string. LMK if you spot anywhere that I've missed.

@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch 3 times, most recently from 77be27e to b8239c7 Compare December 3, 2022 00:00
@lobsterkatie lobsterkatie force-pushed the kmclb-preserve-querystring-when-resolving branch from b8239c7 to a7c4822 Compare December 6, 2022 15:49
@lobsterkatie
Copy link
Author

Hey, @styfle - I know it's a crazy time of year, would love to get this in before the year's out, if possible, as it's blocking some of our customers. I'll be AFK most of this week (early family celebrations) and then back the week after. Cheers!

@styfle
Copy link
Member

styfle commented Feb 24, 2023

Is this still needed? #336 (comment)

@lforst
Copy link

lforst commented Feb 24, 2023

Is this still needed? #336 (comment)

Not from our side (Sentry SDK). I'll of course leave it up to you if you still want to implement this for the sake of consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolving files with querystring @sentry/nextjs 7.15 and 7.16 have issues with @vercel/nft
3 participants