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

Return css-scroll-timeline #133

Closed
Opty1712 opened this issue Oct 15, 2024 · 2 comments
Closed

Return css-scroll-timeline #133

Opty1712 opened this issue Oct 15, 2024 · 2 comments

Comments

@Opty1712
Copy link

Hello I have an error while linting code:

$ stylelint "**/*.{css,scss}"
TypeError: Cannot read properties of undefined (reading 'B')
    at Object.unpackFeature (/Users/a.edunov/work/RUSTORE/monorepo/node_modules/caniuse-lite/dist/unpacker/feature.js:31:29)
    at BrowserSelection.compileBrowserSupport (/Users/a.edunov/work/RUSTORE/monorepo/node_modules/doiuse/exports/index.cjs:2578:46)
    at BrowserSelection.missingSupport (/Users/a.edunov/work/RUSTORE/monorepo/node_modules/doiuse/exports/index.cjs:2608:27)
    at DoIUse.postcss (/Users/a.edunov/work/RUSTORE/monorepo/node_modules/doiuse/exports/index.cjs:2828:43)
    at /Users/a.edunov/work/RUSTORE/monorepo/node_modules/stylelint-no-unsupported-browser-features/lib/index.js:86:27
    at /Users/a.edunov/work/RUSTORE/monorepo/node_modules/stylelint/lib/lintPostcssResult.js:121:8
    at Array.map (<anonymous>)
    at lintPostcssResult (/Users/a.edunov/work/RUSTORE/monorepo/node_modules/stylelint/lib/lintPostcssResult.js:111:18)
    at lintSource (/Users/a.edunov/work/RUSTORE/monorepo/node_modules/stylelint/lib/lintSource.js:110:8)
    at async /Users/a.edunov/work/RUSTORE/monorepo/node_modules/stylelint/lib/standalone.js:211:27

After investigating of what happens I found out that it works this way:
stylelintdoiusecaniuse-lite.

doiuse has this feature css-scroll-timeline, but caniuse-lite has not since version 1.0.30001655.

Can you please roll it back?

1.0.30001654...1.0.30001655

@ai
Copy link
Member

ai commented Oct 15, 2024

I can't. We are just re-pack of caniuse-db. You need to ask them.

@Opty1712
Copy link
Author

Opty1712 commented Oct 15, 2024

Thank you, sure. According to these PRs

Fyrd/caniuse#6956
Fyrd/caniuse@0a84cfd

I have to ask doiuse to make a release
There is open PR, I wrote there

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

No branches or pull requests

2 participants