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: release hubble 1.11.2 #1841

Merged
merged 3 commits into from
Mar 23, 2024
Merged

chore: release hubble 1.11.2 #1841

merged 3 commits into from
Mar 23, 2024

Conversation

Wazzymandias
Copy link
Contributor

@Wazzymandias Wazzymandias commented Mar 23, 2024

Motivation

  • Set default catch up sync to true for install script

Change Summary

Describe the changes being made in 1-2 concise sentences.

Merge Checklist

Choose all relevant options below by adding an x now or at any time before submitting for review

Additional Context

If this is a relatively large or complex change, provide more details here that will help reviewers


PR-Codex overview

This PR updates the version of @farcaster/hubble to 1.11.2, introduces a fix for catch up sync in the install script, and adds an environment variable for catchup sync with snapshot.

Detailed summary

  • Updated @farcaster/hubble version to 1.11.2
  • Added fix for catch up sync in the install script
  • Introduced environment variable for catchup sync with snapshot

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@Wazzymandias Wazzymandias added the t-chore Miscellaneous improvements label Mar 23, 2024
Copy link

changeset-bot bot commented Mar 23, 2024

⚠️ No Changeset found

Latest commit: 4ae36aa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Mar 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hub-monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 23, 2024 1:51am

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@betterer/eslint@3.1.2 Transitive: environment, eval, filesystem, shell, unsafe +37 786 kB phenomnomnominal
npm/@betterer/regexp@3.1.2 filesystem Transitive: environment, eval, shell, unsafe +37 783 kB phenomnomnominal
npm/@capacitor/core@2.5.0 network 0 760 kB jcesarmobile
npm/@ionic/core@5.5.4 None +2 34.7 MB liamdebeasi
npm/@material/mwc-checkbox@0.20.0 None +2 228 kB emarquez
npm/@material/mwc-formfield@0.20.0 None +1 83.5 kB emarquez
npm/@material/mwc-radio@0.20.0 None +2 244 kB emarquez
npm/@material/mwc-textarea@0.20.0 None +5 373 kB emarquez
npm/@material/textfield@10.0.0 None +13 2.95 MB abhiomkar
npm/@sentry/browser@6.19.7 None +5 5.82 MB sentry-bot
npm/@stencil/postcss@2.1.0 Transitive: environment, filesystem +5 17.9 MB splitinfinities
npm/@types/d3-array@2.12.7 None 0 52.1 kB types
npm/@types/d3-axis@2.1.6 None 0 18 kB types
npm/@types/d3-color@2.0.6 None 0 26.7 kB types
npm/@types/d3-dispatch@2.0.4 None 0 5.84 kB types
npm/@types/d3-ease@2.0.4 None 0 13.2 kB types
npm/@types/d3-format@2.0.5 None 0 18 kB types
npm/@types/d3-geo@2.0.7 None +1 100 kB types
npm/@types/d3-interpolate@2.0.5 None 0 24.7 kB types
npm/@types/d3-scale@3.3.5 None 0 133 kB types
npm/@types/d3-selection@2.0.4 None 0 70.4 kB types
npm/@types/d3-shape@2.1.7 None +1 148 kB types
npm/@types/d3-time@2.1.4 None 0 30.7 kB types
npm/@types/d3-transition@2.0.5 None 0 40.6 kB types
npm/@types/d3-voronoi@1.1.12 None 0 14 kB types
npm/@types/file-saver@2.0.7 None 0 6.31 kB types
npm/@types/jwt-decode@3.1.0 None 0 1.71 kB types
npm/@types/lodash-es@4.17.12 None +1 934 kB types
npm/@types/node@14.18.63 None 0 1.61 MB types
npm/@types/puppeteer@5.4.7 None 0 91 kB types
npm/@types/resumablejs@1.0.6 None 0 16.4 kB types
npm/@types/roman-numerals@0.3.2 None 0 2.76 kB types
npm/@types/showdown@1.9.4 None 0 37.8 kB types
npm/@types/spark-md5@3.0.4 None 0 4.77 kB types
npm/@types/swiper@5.4.3 None 0 55.5 kB types
npm/@typescript-eslint/eslint-plugin@4.33.0 Transitive: environment, filesystem +20 4.79 MB jameshenry
npm/@typescript-eslint/parser@4.33.0 Transitive: environment, filesystem +10 1.37 MB jameshenry
npm/@vaadin/vaadin-date-picker@5.0.0 Transitive: environment, filesystem +20 2.63 MB web-padawan
npm/alphanum-sort@1.0.2 None 0 6.4 kB trysound
npm/angulartics2@10.1.0 None 0 1.35 MB scttcper
npm/axios@0.21.4 environment, network 0 375 kB jasonsaayman
npm/copy-text-to-clipboard@3.2.0 None 0 5.14 kB sindresorhus
npm/crossfilter2@1.5.4 None +1 150 kB gordonwoodhull
npm/cypress-dotenv@1.2.3 environment +3 130 kB morficus
npm/cypress@6.9.1 environment, filesystem, shell Transitive: eval, network, unsafe +53 8.86 MB chrisbreiding
npm/d3-array@2.12.1 None +1 146 kB mbostock
npm/d3-axis@2.1.0 None 0 32.3 kB mbostock
npm/d3-color@2.0.0 None 0 60.3 kB recifs
npm/d3-ease@2.0.0 None 0 34.4 kB recifs
npm/d3-format@2.0.0 None 0 58.1 kB mbostock
npm/d3-geo@2.0.2 None 0 282 kB mbostock
npm/d3-interpolate@2.0.1 None 0 70.2 kB recifs
npm/d3-scale@3.3.0 None +1 259 kB mbostock
npm/d3-selection@2.0.0 None 0 133 kB recifs
npm/d3-time@2.1.1 None 0 66.2 kB mbostock
npm/d3-transition@2.0.0 None +2 145 kB recifs
npm/d3-voronoi@1.1.4 None 0 106 kB mbostock
npm/date-fns@2.30.0 None +2 6.98 MB kossnocorp
npm/dc@4.2.7 Transitive: filesystem, network, shell +23 5.38 MB gordonwoodhull
npm/dotenv@8.6.0 environment, filesystem 0 23.9 kB motdotla
npm/eslint-config-prettier@7.2.0 None 0 17 kB lydell
npm/eslint-plugin-etc@1.5.4 Transitive: environment, filesystem +21 35.9 MB cartant
npm/eslint-plugin-sonarjs@0.6.0 None 0 208 kB yassin-kammoun-sonarsource
npm/eslint-plugin-unicorn@28.0.2 Transitive: environment, filesystem, unsafe +49 11.3 MB sindresorhus
npm/eslint@7.32.0 filesystem Transitive: environment, eval, shell, unsafe +32 7.38 MB eslintbot
npm/file-saver@2.0.5 None 0 36 kB endless
npm/fs-extra@9.1.0 filesystem +1 132 kB ryanzim
npm/glob@7.1.6 filesystem +1 59.9 kB isaacs
npm/husky@5.2.0 None 0 26.7 kB typicode
npm/i18next@19.9.2 None +1 601 kB adrai

🚮 Removed packages: npm/@ethersproject/abi@5.7.0, npm/@ethersproject/abstract-provider@5.7.0, npm/@ethersproject/abstract-signer@5.7.0, npm/@ethersproject/address@5.7.0, npm/@ethersproject/base64@5.7.0, npm/@ethersproject/basex@5.7.0, npm/@ethersproject/bignumber@5.7.0, npm/@ethersproject/bytes@5.7.0, npm/@ethersproject/constants@5.7.0, npm/@ethersproject/hash@5.7.0, npm/@ethersproject/hdnode@5.7.0, npm/@ethersproject/json-wallets@5.7.0, npm/@ethersproject/keccak256@5.7.0, npm/@ethersproject/logger@5.7.0, npm/@ethersproject/networks@5.7.1, npm/@ethersproject/pbkdf2@5.7.0, npm/@ethersproject/properties@5.7.0, npm/@ethersproject/providers@5.7.2, npm/@ethersproject/random@5.7.0, npm/@ethersproject/rlp@5.7.0, npm/@ethersproject/sha2@5.7.0, npm/@ethersproject/signing-key@5.7.0, npm/@ethersproject/strings@5.7.0, npm/@ethersproject/transactions@5.7.0, npm/@ethersproject/web@5.7.1, npm/@ethersproject/wordlists@5.7.0, npm/@farcaster/hub-nodejs@0.10.11, npm/@farcaster/hub-nodejs@0.10.19, npm/@farcaster/hub-web@0.4.2, npm/@noble/curves@1.3.0, npm/@noble/hashes@1.3.0, npm/@noble/hashes@1.3.3, npm/@noble/secp256k1@1.7.1, npm/@protobufjs/aspromise@1.1.2, npm/@scure/base@1.1.5, npm/@types/node@18.15.3, npm/@types/node@20.10.4, npm/abstract-level@1.0.3, npm/bn.js@5.2.1, npm/catering@2.1.1, npm/chokidar@3.5.3, npm/elliptic@6.5.4, npm/ethereumjs-util@6.2.1, npm/ethjs-util@0.1.6, npm/fp-ts@1.19.3, npm/glob@7.2.0, npm/graceful-fs@4.2.11, npm/hardhat@2.19.2, npm/hash.js@1.1.7, npm/keccak@3.0.4, npm/minimalistic-assert@1.0.1, npm/minimatch@3.1.2, npm/module-error@1.0.2, npm/node-gyp-build@4.7.1, npm/normalize-path@3.0.0, npm/picomatch@2.3.1, npm/prettier@2.8.7, npm/queue-microtask@1.2.3, npm/ripemd160@2.0.2, npm/scrypt-js@3.0.1, npm/sha.js@2.4.11, npm/string-width@4.2.3, npm/tsx@3.12.5, npm/tsx@3.14.0, npm/typescript@5.0.2, npm/typescript@5.3.3, npm/viem@1.19.13, npm/vitepress@1.0.0-alpha.73, npm/yargs-parser@20.2.4

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/core-js@3.6.5
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/fsevents@1.2.13
  • Install script: install
  • Source: node install.js
Install scripts npm/cypress@6.9.1
  • Install script: postinstall
  • Source: node index.js --exec install
Install scripts npm/@vaadin/vaadin-usage-statistics@2.1.2
Protestware/Troll package npm/es5-ext@0.10.64
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
  • orphan: npm/es5-ext@0.10.64
Install scripts npm/es5-ext@0.10.64
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
  • orphan: npm/es5-ext@0.10.64

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js@3.6.5
  • @SocketSecurity ignore npm/fsevents@1.2.13
  • @SocketSecurity ignore npm/cypress@6.9.1
  • @SocketSecurity ignore npm/@vaadin/vaadin-usage-statistics@2.1.2
  • @SocketSecurity ignore npm/es5-ext@0.10.64

@Wazzymandias Wazzymandias merged commit 6ef0638 into main Mar 23, 2024
8 checks passed
@Wazzymandias Wazzymandias deleted the chore/release-hubble-1.11.2 branch March 23, 2024 01:57
@@ -17,6 +17,9 @@ module.exports = {
// HACK: Allows us to pass arguments in a way recognized by the CLI flag processing library we use
// This is only necessary when running via PM2.
args: process.env.HUBBLE_ARGS,
env: {
"CATCHUP_SYNC_WITH_SNAPSHOT": process.env.CATCHUP_SYNC_WITH_SNAPSHOT ? (process.env.CATCHUP_SYNC_WITH_SNAPSHOT === "true") : "true",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should explicitly set this to false in our deployer so it's not enabled by default for our hubs

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

Successfully merging this pull request may close these issues.

None yet

2 participants