npm-package

Npm is a package manager for JavaScript, included with Node.js. As a package manager, npm makes it easy for developers to share and reuse code.
Here are 4,566 public repositories matching this topic...
-
Updated
Jul 24, 2021 - TypeScript
Port tests from Got
Got has a very good coverage test-wise. Would be nice to port relevant tests that we're missing over to Ky.
Note: Not for https://github.com/sindresorhus/ky/blob/master/test/browser.js, but for everything else.
Describe the bug
When using an image URL like https://bundlephobia.com/api/stats-image?name=convert&version=1.0.1&wide=true
for a version that isn't published the image returns a placeholder, but the placeholder gets cached. After the version is published the placeholder image stays cached.
To Reproduce
Visit an image URL for a version that didn't exist at image generation time.
-
Updated
Jun 16, 2021 - JavaScript
-
Updated
Jun 24, 2021 - JavaScript
-
Updated
Jun 19, 2020 - JavaScript
In the CompilerOptions
-interface, the option noImplicitOverride
is missing:
https://github.com/sindresorhus/type-fest/blob/6b8bee7d0df2bfce9cab4ae59bb6b14f81d7a633/source/tsconfig-json.d.ts#L159-L769
-
Updated
Jan 15, 2021 - JavaScript
-
Updated
Apr 6, 2021 - JavaScript
-
Updated
May 28, 2021 - TypeScript
Fix the browsers!
The goal of this project is to make itself obsolete. We should try to get browsers to fix their own styles so we don't have to work around them indefinitely.
If you want to help out:
- Pick a style in
modern-normalize.css
- Go to the relevant browser issue trackers ([Chrome](http://dev.chromium.org/for-test
-
Updated
Jan 23, 2021 - JavaScript
-
Updated
Jul 16, 2021 - TypeScript
Using the latest release 2.2.8, the typescript definition file in the package is defined like
import Hashids from '../lib/hashids'
export = Hashids
with that import to the source code. Unfortunately, this is less robust than building Typescript and including the definitions only, as the success of the build depends on the user having a compatible Typescript configuration.
Fo
-
Updated
Jun 10, 2021 - JavaScript
-
Updated
Jan 28, 2019 - JavaScript
-
Updated
May 10, 2021 - JavaScript
-
Updated
Jun 13, 2021 - JavaScript
-
Updated
May 16, 2021 - JavaScript
For popular things that makes sense. Suggestions welcome, but I'm not going to add more than maybe 30. So make it worth it.
Don't do a PR. I'll add them all at once when we've decided on what to include.
I use Array<Uint8Array>
as a value. But The uint8Array is treated as string.
function arrayString(val) {
var result = '{'
for (var i = 0; i < val.length; i++) {
if (i > 0) {
result = result + ','
}
if (val[i] === null || typeof val[i] === 'undefined') {
result = result + 'NULL'
} else if (Array.isArray(val[i])) {
result = result + arrayStr
-
Updated
Mar 23, 2018 - JavaScript
-
Updated
Apr 25, 2021 - JavaScript
-
Updated
Jun 10, 2021 - TypeScript
-
Updated
Jun 10, 2021
-
Updated
May 9, 2021 - JavaScript
-
Updated
Jun 10, 2021 - JavaScript
Created by Isaac Z. Schlueter
Released January 12, 2010
- Organization
- npm
- Website
- www.npmjs.com
- Wikipedia
- Wikipedia
Describe the bug
If a field inside a collapsed object fires a validation error, the entry will not be saved. This is the correct behavior, but the problem is, that there is no indication of where the error occurs.
To Reproduce
Steps to reproduce the behavior. For example:
collapsed: true