Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@compas/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compas/eslint-plugin - npm Package Versions

1
10

0.2.0

Diff

Changelog

Source

v0.2.0

Features
Dependency updates
dirkdev98
published 0.1.0 •

Changelog

Source

v0.1.0

Breaking changes
  • fix(server): rename formLimit option to urlencodedLimit in createBodyParsers d600ac
    • Rename your usage of formLimit to urlencodedLimit in the first argument to createBodyParsers
  • feat(server,code-gen): combine json & multipart 'createBodyParsers' into a single 'createBodyParser' df9e43
    • Removed createBodyParsers use createBodyParser instead.
    • createBodyParser by default does not parse multipart bodies. This should be explicitly enabled with multipart: true. Configure its options with 'multipartOptions' to set a custom maxFileSize for example.
    • Changed the jsonLimit default to '5mb'.
    • The generated Koa router now accepts a single body parser instead of the previous body parser pair returned by 'createBodyParsers'.
    • The updated usage looks something like:
    app.use(
      router(
        createBodyParser({
          multipart: true,
          multipartOptions: {
            maxFileSize: 15 * 1024 * 2024,
          },
        }),
      ),
    );
    
  • feat(code-gen): promote experimental to stable (#2559) 247aa0
    • Removes support for old code-gen. Use the new target based code-gen instead. See the new docs and migration guide.
    • It is expected that future Compas release fully break structure compatibility with legacy clients, so make sure to migrate as soon as possible.
    • Update any @compas/code-gen/experimental import to @compas/code-gen
Features
  • feat(code-gen/experimental: few percent speedup of array validation 26fb77
  • feat(code-gen/experimental): generate serializable query keys in the react-query wrapper 8d74da
  • feat(code-gen/experimental): generate type docs strings as JSDoc blocks a94ee5
  • feat(code-gen): allow CRUD generation for entities with file relations 727b50
Bug fixes
  • fix(code-gen/experimental): correctly resolve code-gen version when generating OpenAPI specs 28fa44
Other
  • chore: cleanup release notes and changelogs 143743
Dependency updates
dirkdev98
published 0.0.249 •

Changelog

Source

v0.0.249

Breaking changes
  • feat(code-gen): combine files & body handling when body is multipart 1af5f7
    • The open api importer is not compatible anymore with 'legacy' code-gen, please migrate to experimental code-gen.
    • Rewrite of FormData handling in the 'experimental' api clients, check the new generate output and retest your usages of features using multipart bodies / files.
    • In the near future, we will fully combine files & body handling for the backends as well.
  • feat(cli,code-gen): remove compas visualise 4c6784
    • Use the 'includeEntityDiagram' option of the database generator instead.
Features
  • feat(store): automatically create migration table if not exists 9496b1
  • feat(code-gen): include docs & infer object type in openapi importer a67b38
  • feat(cli): add code-mod to convert api clients to experimental code-gen 0a3ba6
Bug fixes
  • fix(code-gen/experimental): use anyOf#discriminant in JS validators 3fa324
  • fix(code-gen): correct url trimming for openapi imports f64593
  • fix(code-gen/experimental): don't generate react-query wrapper if query, body or files are not objects fb2b2d
Other
  • chore(code-gen/experimental): remove old README.md c96bc4
  • chore(code-gen/experimental): update test helpers 1bffb3
  • chore(examples): align example APP_NAME values f78959
  • chore(code-gen/experimental): add e2e crud tests 64d07c
  • chore(generate): parallelize example generation f01e64
  • chore(code-gen/experimental): add crud nested tests 61f419
Dependency updates

Previous releases

See the history for earlier changelogs (< v0.0.249).

dirkdev98
published 0.0.248 •

dirkdev98
published 0.0.247 •

dirkdev98
published 0.0.246 •

dirkdev98
published 0.0.245 •

dirkdev98
published 0.0.244 •

dirkdev98
published 0.0.243 •

dirkdev98
published 0.0.242 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc