Jayden Seric

Results 106 issues of Jayden Seric

It is difficult to override rules causing errors in `.mjs` (and presumably `.cjs`) files in projects, due to the use of `overrides` in the `recommended` config having a high specificity:...

question

Currently `propTypes` only allows a string for the `ComponentClass` prop: https://github.com/azmenak/react-stripe-checkout/blob/c351801381677dbee08bbca3861136dbd78a553f/StripeCheckout.js#L46 It should be able to accept an actual component class (or function), to avoid the extra `span` DOM node:...

The [IETF RFC 6901](https://datatracker.ietf.org/doc/html/rfc6901) “JSON Pointer” spec defines a string syntax for identifying a specific value within a JSON document. Ideally, the GraphQL multipart request spec would use JSON pointer...

[`graphql-api-koa`](https://github.com/jaydenseric/graphql-api-koa) is a GraphQL.js implementation written from scratch for Koa. It is the only such alternative to [`apollo-server-koa`](https://npm.im/apollo-server-koa) as [`koa-graphql`](https://npm.im/koa-graphql) just wraps [`express-graphql`](https://npm.im/express-graphql). Uniquely, it's separate [`errorHandler()`](https://github.com/jaydenseric/graphql-api-koa#function-errorhandler) and [`execute()`](https://github.com/jaydenseric/graphql-api-koa#function-execute) middlewares...

With a structure like this: ``` . ├── .git ├── api/ │ └── package.json └── app/ ├── hasLintError.js └── package.json ``` In `app/package.json`, using `@zeit/git-hooks` with [`lint-staged`](https://github.com/okonet/lint-staged) has no effect....

enhancement
help wanted

You would expect these usages to log identically: ```js import createError from 'http-errors' console.log( JSON.stringify(createError('Message 1.')), JSON.stringify(createError(new Error('Message 2.'))) ) ``` They actually output this: ``` {"message":"Message 1."} {"expose":false,"statusCode":500,"status":500} ```...

discuss

If you have this in your `package.json`: ```json { "engines": { "node": "^12.0.0 || >= 13.7.0" } } ``` It is hard to replicate that in a browserslist query: ```...

Implement the HTTP [`ETag`](https://en.wikipedia.org/wiki/HTTP_ETag) header for public files for cache purposes.

enhancement

Most of the easy tests and a few very tricky ones have been written, but more need to added to achieve 100% code coverage. Once 100% code coverage is achieved,...

The `lineEnd` token isn't documented in the readme. This is can cause confusion because the others are documented. I'm not even sure what `lineEnd` is, but I have to update...