Skip to content

Update parse-domain from ^5.0.0 to 6.0.0#8

Open
depshub-app[bot] wants to merge 1 commit intomainfrom
depshub/update/parse-domain/6.0.0
Open

Update parse-domain from ^5.0.0 to 6.0.0#8
depshub-app[bot] wants to merge 1 commit intomainfrom
depshub/update/parse-domain/6.0.0

Conversation

@depshub-app
Copy link
Copy Markdown

@depshub-app depshub-app Bot commented Sep 9, 2024

This pull request was created automatically by DepsHub.

Please review the changes and merge them if they look good.

The following packages were updated:

  • parse-domain from ^5.0.0 to 6.0.0

View details.

Updated:
- parse-domain from ^5.0.0 to 6.0.0


For issues or feature requests: <support@depshub.com>
Comment thread database/fetchFromApi.js
// "referenced_tweets.id.author_id",
// "entities.mentions.username",
].join(","),
"tweet.fields": [
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Package parse-domain version 8.0.0 has the following breaking changes:

Dropped official support for Node 12, 14 and 16. There wasn't any actual breaking change we know of but use at your own risk :)

Comment thread eleventy.config.js
}
return numeral(num).format("0,0");
});
};
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Package parse-domain version 8.0.0 has the following breaking changes:

Dropped official support for Node 12, 14 and 16. There wasn't any actual breaking change we know of but use at your own risk :)

Comment thread _data/metadata.js
data.avatar = `https://v1.indieweb-avatar.11ty.dev/${encodeURIComponent(data.homeUrl)}/`;

module.exports = data; No newline at end of file
null
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Package parse-domain version 7.0.0 has the following breaking changes:

parseDomain won't .trim() the given input. The input is interpreted as it is. If you want to trim the input, you need to call .trim() before passing it to parseDomain. Auto-trimming the input changes the domain and might not be desired if any character (such as whitespace) is allowed (e.g. when using lax validation).

Comment thread src/removeLink.js
module.exports = function(text, replacementText) {
return text.replace( /\<[^\>]*\>/g, replacementText || "" );
}; No newline at end of file
null
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Package parse-domain version 7.0.0 has the following breaking changes:

parseDomain won't .trim() the given input. The input is interpreted as it is. If you want to trim the input, you need to call .trim() before passing it to parseDomain. Auto-trimming the input changes the domain and might not be desired if any character (such as whitespace) is allowed (e.g. when using lax validation).

Comment thread eleventy.config.js
}
return numeral(num).format("0,0");
});
};
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Package parse-domain version 6.0.0 has the following breaking changes:

parse-domain will now be released as native ECMAScript module. There's no CommonJS build anymore. If you're still using CommonJS, you need to import it asynchronously using await import("parse-domain"). If you're still using Node 12, you may need to update it to the latest 12.x version.

Comment thread src/twitter.js
@@ -1,5 +1,4 @@
const Sentiment = require("sentiment");
const { parseDomain } = require("parse-domain");
const dataSource = require("./DataSource");
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Package parse-domain version 6.0.0 has the following breaking changes:

parse-domain will now be released as native ECMAScript module. There's no CommonJS build anymore. If you're still using CommonJS, you need to import it asynchronously using await import("parse-domain"). If you're still using Node 12, you may need to update it to the latest 12.x version.

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.

0 participants