Skip to content

Conversation

@baseballyama
Copy link
Member

@baseballyama baseballyama commented Oct 18, 2025

In light of the recent supply chain attacks, I believe that as an OSS provider we have a duty of care to reduce the risk of being caught up in such incidents.
This PR introduces two improvements to address that.

  • Add pnpm-lock.yaml
    Currently, there is no lock file, which makes it difficult to determine whether we have been affected by a supply chain attack. For example, if a tainted library is pulled in during a GitHub Actions run, it would be necessary to investigate the scope of impact, but doing so is currently very difficult. Introducing a lock file enables us to trace and verify the exact dependency tree at the time of installation.

  • Add minimumReleaseAge
    Based on past incidents, malicious packages involved in supply chain attacks are often detected and removed from npm within the first 24 hours. To reduce the likelihood of being affected, we will avoid installing packages that were released less than one day ago. However, some packages, such as Svelte, are exempted from this rule.

When we agree this changes, I will make a PR for eslint-plugin-svelte also.

@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2025

⚠️ No Changeset found

Latest commit: cb88141

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.

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

@baseballyama baseballyama force-pushed the chore/lock-file branch 2 times, most recently from bbcbf73 to cd665b3 Compare October 18, 2025 05:54
@coveralls
Copy link

coveralls commented Oct 18, 2025

Pull Request Test Coverage Report for Build 18630864983

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.715%

Totals Coverage Status
Change from base Build 18610558150: 0.0%
Covered Lines: 10677
Relevant Lines: 11149

💛 - Coveralls

@github-actions
Copy link
Contributor

github-actions bot commented Oct 18, 2025

Try the Instant Preview in Online Playground

ESLint Online Playground

Install the Instant Preview to Your Local

npm i https://pkg.pr.new/svelte-eslint-parser@cb88141

Published Instant Preview Packages:

View Commit

package.json Outdated
},
"dependencies": {
"@typescript-eslint/scope-manager": "^8.46.1",
"@typescript-eslint/visitor-keys": "^8.46.1",
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need these dependencies, or we should move them to devDeps, since we're only using them for type checking.

Copy link
Member Author

Choose a reason for hiding this comment

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

oops, updated: cb88141

@ota-meshi
Copy link
Member

I'm in favor of using lock files given recent incidents.

Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

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

Thank you!

@ota-meshi ota-meshi merged commit 4bb99bc into main Oct 19, 2025
12 checks passed
@ota-meshi ota-meshi deleted the chore/lock-file branch October 19, 2025 13:10
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.

4 participants