question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why the package on npmjs doesn't have dependencies in package.json?

See original GitHub issue

The published package doesn’t have dependencies list https://unpkg.com/browse/ka-table@6.9.0/package.json even if it has them https://github.com/komarovalexander/ka-table/blob/master/package.json#L7. Is there any reason for that? For now https://bundlephobia.com/package/ka-table@6.9.0 warns about that and most likely the bundle size might be different (or at least self-size)

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
komarovalexandercommented, Jul 6, 2021

peerDependencies has been added https://bundlephobia.com/package/ka-table@6.11.5

1reaction
komarovalexandercommented, Jun 29, 2021

ka-table is compatible with react v16.8.0 and later

js: https://stackblitz.com/edit/table-overview-js-j6kf6d?file=Demo.js ts: https://stackblitz.com/edit/table-overview-ts-pxnxfg?file=Demo.tsx

I will add this info to peerDependencies in one of the next releases, probably in July. Thanks to everyone for highlighting that

Read more comments on GitHub >

github_iconTop Results From Across the Web

NPM doesn't install module dependencies - Stack Overflow
I had an issue where manually installing a package had created a package-lock.json file after updating to node 8.0.0 and npm 5.0.0. After...
Read more >
npm install not installing dependencies listed in package.json ...
I am running npm install expecting it to install all the dependencies in my package.json file, and it is not. Despite having lodash...
Read more >
Adding dependencies to a package.json file - npm Docs
To add dependencies and devDependencies to a package.json file from the command line, you can install them in the root directory of your...
Read more >
Installing Dependencies with npm - LearnHowToProgram.com
The purpose of package-lock.json is to list the exact versions of all dependencies in our project. While we'll manage the packages we need...
Read more >
npm install | how it works - StackChief
The package.json file dictates what modules will get installed in the node_modules folder. It's important that npm install is run in the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found