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

Update dependency globby to v14 #442

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 30, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
globby ^11.1.0 -> ^14.0.2 age adoption passing confidence

Release Notes

sindresorhus/globby (globby)

v14.0.2

Compare Source

v14.0.1

Compare Source

v14.0.0

Compare Source

Breaking
Improvements

v13.2.2

Compare Source

v13.2.1

Compare Source

v13.2.0

Compare Source

  • Pass deep option to ignore filter to avoid unnecessary recursion (#​251) a0e4028

v13.1.4

Compare Source

  • Fix error when reading inaccessible directories with gitignore: true and suppressErrors: true (#​246) e95da57
  • Remove URL TypeScript type workaround (#​230) 55a3c64

v13.1.3

Compare Source

v13.1.2

Compare Source

v13.1.1

Compare Source

v13.1.0

Compare Source

v13.0.0

Compare Source

Breaking
  • Rename generateGlobTasks to generateGlobTasksSync (#​221) 51c8f68
  • Remove ignore option for isGitIgnored and isGitIgnoredSync (#​225) 2e43cc4
    • This option never worked correctly.
Improvements
Fixes

v12.2.0

Compare Source

v12.1.0

Compare Source

v12.0.2

Compare Source

  • Ensure async method is completely async e167725

v12.0.1

Compare Source

v12.0.0

Compare Source

Breaking
  • Require Node.js 12.20 (#​181) 5c32b4a
  • This package is now pure ESM. Please read this.
  • This package now uses named exports instead of a default export
    • globby{globby}
    • globby.sync{globbySync}
    • globby.stream{globbyStream}
    • globby.generateGlobTasks{generateGlobTasks}
    • globby.hasMagic{isDynamicPattern}
    • globby.gitignore{isGitIgnored}
    • globby.gitignore.sync{isGitIgnoredSync}
-const globby = require('globby');
+import {globby} from 'globby';

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Pull requests that update a dependency file skip changelog Won't show up in changelog labels Jun 30, 2024
@github-actions github-actions bot added the context-v2 Related to tailwind-merge v2 label Jun 30, 2024
Copy link

github-actions bot commented Jun 30, 2024

Metrics report

At head commit 241b9b6 and base commit 04bc23c at 2024-07-01T17:11:44.234Z

Size

No changes

All size metrics
Export Size original Size minified Size minified and Brotli compressed
tailwind-merge esm 71.96 kB 0% 20.75 kB 0% 5.80 kB 0%
 › createTailwindMerge 12.44 kB 0% 3.65 kB 0% 1.37 kB 0%
 › extendTailwindMerge 71.47 kB 0% 20.32 kB 0% 5.63 kB 0%
 › fromTheme 0.15 kB 0% 0.08 kB 0% 0.08 kB 0%
 › getDefaultConfig 57.49 kB 0% 16.20 kB 0% 4.17 kB 0%
 › mergeConfigs 1.32 kB 0% 0.40 kB 0% 0.20 kB 0%
 › twJoin 1.06 kB 0% 0.26 kB 0% 0.16 kB 0%
 › twMerge 69.96 kB 0% 19.86 kB 0% 5.46 kB 0%
 › validators 3.21 kB 0% 1.54 kB 0% 0.66 kB 0%
tailwind-merge cjs 72.22 kB 0% 23.81 kB 0% 6.11 kB 0%
tailwind-merge/es5 esm 74.72 kB 0% 21.70 kB 0% 6.00 kB 0%
 › createTailwindMerge 14.02 kB 0% 4.17 kB 0% 1.53 kB 0%
 › extendTailwindMerge 74.04 kB 0% 21.28 kB 0% 5.87 kB 0%
 › fromTheme 0.19 kB 0% 0.10 kB 0% 0.09 kB 0%
 › getDefaultConfig 58.06 kB 0% 16.46 kB 0% 4.18 kB 0%
 › mergeConfigs 1.52 kB 0% 0.43 kB 0% 0.22 kB 0%
 › twJoin 1.06 kB 0% 0.25 kB 0% 0.15 kB 0%
 › twMerge 72.10 kB 0% 20.65 kB 0% 5.66 kB 0%
 › validators 3.37 kB 0% 1.53 kB 0% 0.66 kB 0%
tailwind-merge/es5 cjs 74.98 kB 0% 24.79 kB 0% 6.31 kB 0%

@dcastil
Copy link
Owner

dcastil commented Jul 1, 2024

Tried this in the past in #353, #191 and #141 but it failed due to incompatibility between ESM and CJS.

Here it failed, too:

 FAIL  tests/docs-examples.test.ts
  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /Users/dany/code/tailwind-merge/node_modules/globby/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import process from 'node:process';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      1 | import fs from 'fs'
      2 |
    > 3 | import { globby } from 'globby'
        | ^
      4 |
      5 | import { twMerge } from '../src'
      6 |

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)
      at Object.<anonymous> (tests/docs-examples.test.ts:3:1)

@dcastil dcastil closed this Jul 1, 2024
Copy link
Contributor Author

renovate bot commented Jul 1, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 14.x releases. But if you manually upgrade to 14.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/globby-14.x branch July 1, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context-v2 Related to tailwind-merge v2 dependencies Pull requests that update a dependency file skip changelog Won't show up in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant