Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2024

Bumps del from 6.1.1 to 8.0.0.

Release notes

Sourced from del's releases.

v8.0.0

Breaking

  • Require Node.js 18 (#161) e2e5b71

Improvements

  • Update dependencies (#161) e2e5b71

sindresorhus/del@v7.1.0...v8.0.0

v7.1.0

  • Add path to onProgress event (#155) f5d31e6

sindresorhus/del@v7.0.0...v7.1.0

v7.0.0

Breaking

  • Require Node.js 14 (#143) 106d7d8
  • This package is now pure ESM. Please read this.
  • Moved from a default export to named exports:
    • require('del')import {deleteAsync} from 'del'
    • require('del').syncimport {deleteSync} from 'del'

sindresorhus/del@v6.1.1...v7.0.0

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [del](https://github.com/sindresorhus/del) from 6.1.1 to 8.0.0.
- [Release notes](https://github.com/sindresorhus/del/releases)
- [Commits](sindresorhus/del@v6.1.1...v8.0.0)

---
updated-dependencies:
- dependency-name: del
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 7, 2024
@phil-davis phil-davis requested a review from mmattel October 8, 2024 03:27
@phil-davis phil-davis force-pushed the dependabot/npm_and_yarn/del-8.0.0 branch 2 times, most recently from 6bd5c28 to d76b301 Compare October 8, 2024 03:45
@phil-davis phil-davis force-pushed the dependabot/npm_and_yarn/del-8.0.0 branch from d76b301 to 93abba9 Compare October 8, 2024 03:53
@@ -1,9 +1,10 @@
"use strict";

import { deleteSync } from 'del';
Copy link
Contributor

Choose a reason for hiding this comment

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

The newer del needs us to use "import" rather than "require".

But "import" only works if this code is a "module" (see the "type": "module" added to package.json)
And some discussion in https://stackoverflow.com/questions/58384179/syntaxerror-cannot-use-import-statement-outside-a-module

But now lint CI complains:

ReferenceError: require is not defined in ES module scope, you can use import instead

The other require() in this file stop working. They would also have to be changed to import statements.

I will leave this code here as a clue to where I got to in a few minutes.
Probably there is some easier solution to make this work, someone can try to find it if this major version upgrade is needed.

@phil-davis
Copy link
Contributor

@mmattel I thought that I might be able to make this work easily, but not so. See comment above.
You can decide if anyone should spend time on major version bumps like this.

@mmattel
Copy link
Collaborator

mmattel commented Oct 10, 2024

@phil-davis the issue behind is the (slow) migration from common js (cjs) to esm which use different ways of importing and other stuff. Though dependencies can be setup to function with both, it is not consistently implemented causing issues. After trying some variants to solve this locally and gaining same very basic knowledge about the underlaying issue, I need to ask a "professional" for support if and how this is fixable.

For reference, this what I started to try: https://www.npmjs.com/package/esm

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 18, 2025

A newer version of del exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@mmattel
Copy link
Collaborator

mmattel commented Oct 10, 2025

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 10, 2025

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants