Results 28 issues of Benjamin Koltes

`(max-width: calc(100px - 1px))` throws an error on the v0.1.2

Same as https://github.com/benjamn/ast-types/issues/242 but for TS instead of flow. I left this comment https://github.com/benjamn/ast-types/issues/242#issuecomment-696789947 initially. But as the issue is closed, I'm re-opening one. I was using JSCodeShift and noticed...

**Describe the bug** When I run `yarn watch` in the `website/` folder, the command crashes with this error: ``` astexplorer/website/node_modules/babel-loader/lib/index.js:59:71 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital...

In node 13, there is a new option available: [`exports`](https://nodejs.org/api/esm.html#esm_conditional_exports). As this will be the new standard for defining packages available for node/browsers/etc, it could be nice to use it...

enhancement :rocket:
important

I noticed an issue on my end where the event wasn't prevented on drag start so I'd need to add `event.preventDefault()` in this event listener. But the current API doesn't...

According to jest, `jest.mock` shouldn't depend on anything defined top level, except `mock*` variables (that seems to be hoisted in a specific way): https://jestjs.io/docs/es6-class-mocks#calling-jestmock-with-the-module-factory-parameter ![image](https://user-images.githubusercontent.com/22725671/146359944-856d484d-7485-4271-a64c-c5b67d58c3b1.png) When the same test in...

In the following image, we can see that `typanion` understands `NaN` as `null` in error message: ![image](https://user-images.githubusercontent.com/22725671/127770815-31c685b1-c06c-46e9-b566-66d3a95e3dfc.png) This can lead to problematic error report, but also to weird cases like:...

### Describe the bug When I'm running typecheck in TS 4.8 in my repo, TS throws those type errors: ``` node_modules/@tanstack/react-location/build/types/index.d.ts(51,34): error TS2344: Type 'TGenerics' does not satisfy the constraint...

Hello 👋 I'm using clipanion in a repositories with a lot of CLIs. To avoid 1 CLI to slow down all others, we follow the guidelines here https://mael.dev/clipanion/docs/tips#lazy-evaluation: we moved...

When upgrading this library, it's a bit hard to understand what changed without a changelog. Could one be added, either with a CHANGELOG file, or via GH releases? (And also,...