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

chore: use latest address module #2909

Merged
merged 1 commit into from
Feb 19, 2023
Merged

chore: use latest address module #2909

merged 1 commit into from
Feb 19, 2023

Conversation

Marsup
Copy link
Collaborator

@Marsup Marsup commented Feb 19, 2023

Address was rewritten in TypeScript and now includes support for underscores in domains and emails.

Browser bundling had to change a bit because of that.

@Marsup Marsup added the feature New functionality or improvement label Feb 19, 2023
@Marsup Marsup added this to the 17.8.0 milestone Feb 19, 2023
@Marsup Marsup self-assigned this Feb 19, 2023
@Marsup Marsup merged commit 2998d86 into master Feb 19, 2023
@Marsup Marsup deleted the chore/bump-address branch February 19, 2023 11:46
@@ -2,7 +2,7 @@

const Fs = require('fs');

const Assert = require('@hapi/hoek/lib/assert');
const Assert = require('@hapi/hoek/assert');
Copy link

@mzyil mzyil Feb 19, 2023

Choose a reason for hiding this comment

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

@Marsup this broke builds for us after updating our package-locks.json files. this was installed as a transient dependency of another transient dependency package called joi. I have no idea what any of these packages do but this is the error I get when I run unit tests that use the node-jq library:
resim

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The constraint on hoek@^11 is correct though, make sure you upgraded your lockfile properly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, wait, you're actually pointing at the benchmarks, why would it even care, it's not even exported by the module.

Copy link

@mzyil mzyil Feb 19, 2023

Choose a reason for hiding this comment

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

ok so that's my bad sorry I chose the wrong file. it's the ....lib/index.js file as seen in the screen shot. I can see that it was changed too. please check #2911 I also opened an issue
so basically when I install the previous version that does not have this PR in it works

@@ -1,7 +1,7 @@
'use strict';

const Assert = require('@hapi/hoek/lib/assert');
const Clone = require('@hapi/hoek/lib/clone');
const Assert = require('@hapi/hoek/assert');
Copy link

Choose a reason for hiding this comment

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

@Marsup this is the actual line that gives us the error in runtime, sorry for the confusion

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

Successfully merging this pull request may close these issues.

2 participants