Comments (11)
This is not an issue with any particular package.
This seems to be somehow true for all packages that are not cached or something...
Try
https://bundlephobia.com/[email protected]
https://bundlephobia.com/result?p=tuex
or any not-so-very-popual package.
All those have NaN as their size now.
P.S. I don't know, maybe there are some maintenance works anyway, as this wasn't the case couple of days ago.
from bundlephobia.
So, maybe we need to display some message instead of NaN?
from bundlephobia.
from bundlephobia.
The API is also returning a weird json response: https://bundlephobia.com/api/size?package=tuex
from bundlephobia.
Wow, API seems to take forever to resolve the request.
@leonardosnt, response seems to be the result of string-splitting the original API response.
@pastelsky, this can't be right, right?
from bundlephobia.
After some digging, I have put the original response together, which seems to be a some html-template language snippet:
<script type="text/template" id="template-app-window">
<div id="json-viewer" class="folder-frame">
<div class="wrapper"></div>
</div>
</script>
<script type="text/template" id="template-folder-pane">
<div class="wrapper scrollable-vertical">
<ul class="folder-item-list"></ul>
</div>
<i class="resize-handler"></i>
</script>
<script type="text/template" id="template-folder-item">
<li class="folder-item">
<div class="json-property">
<div class="json-keyname"></div>
<div class="json-value"></div>
</div>
</li>
</script>
<script type="text/template" id="template-path-bar">
<ol class="breadcrumb-list"></ol>
</script>
<script type="text/template" id="template-path-bar-item">
<% var path; %>
<% var cls = ['breadcrumb-item']; %>
<% var selected; if (selected) cls.push('selected'); %>
<% var root; if (root) cls.push('root_item'); %>
<% cls = cls.join(' '); %>
<li class="<%= cls %>">
<% if (selected) { %>
<span><%= key %></span>
<% } else { %>
<a href="#<%= path %>"><%= key %></a>
<% } %>
</li>
</script>
<script type="text/template" id="template-search-bar">
<input type="search" name="searchbox" placeholder="Find">
<span class="search-status"></span>
</script>
Looks like the server gives some file as a response to the API request, instead of piping the response to the app itself.
After even more digging it turned out that the API itself returns the file above chunked symbol-by-symbol in an object instead of the bundle's size:
{"0":"<","1":"!","2":"D","3":"O","4":"C","5":"T","6":"Y","7":"P","8":"E", ..., :"m","33453":"l","33454":">","scoped":false,"name":"tuex","version":"0.3.15"}
@Kelin2025, surething it should work that way. But it doesn't, for some reason.
from bundlephobia.
The response file is named "template.html", by the way.
from bundlephobia.
from bundlephobia.
At the end of the day, the problem still persists...
from bundlephobia.
So, it still happens. Is this problem on now.sh side?
from bundlephobia.
from bundlephobia.
Related Issues (20)
- Package suggestion: <package-name> for `Promise polyfills`
- Package suggestion: <victory> for `General purpose Charting libraries`
- Server down HOT 4
- [email protected] suggestion: <package-name> for `Vanilla JS Sliders & Carousels`
- BuildError: @radix-ui/react-dialog fails to build
- Package suggestion: yrel for `JSON schema validation`
- Package suggestion: <package-name> for `HTTP client libraries for Node.js`
- BuildError: @hellhub-collective/cli fails to build
- Package suggestion: [email protected] for `JSON schema validation`
- Package suggestion: <package-name> for `Tooltip Libraries`
- [email protected]: Ignoring the size of missing dependencies .. and .. HOT 1
- [email protected]
- Package suggestion: 'lexical' for `Rich Text Editors`
- Package suggestion: embla-carousel for `Vanilla JS Sliders & Carousels`
- MissingDependencyError: exiftool-vendored node:fs node:os HOT 1
- Package suggestion: <weathering of rocks> for `General purpose 3D libraries` HOT 1
- EntryPointError from ESM only packages HOT 1
- Package suggestion: <three> for `General purpose animation libraries`
- Package suggestion: `xior` for `HTTP client libraries for Node.js`
- Package suggestion: @jupri-lab/react-i18n for `React based internationalization`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundlephobia.