Skip to content
#

npm-package

npm logo

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...

martinjagodic
martinjagodic commented Jul 19, 2021

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:

  1. Create an object field and add collapsed: true
  2. Add a required sub-field
  3. Leave the sub-field empty a
jonahsnider
jonahsnider commented Nov 1, 2020

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.

davazp
davazp commented Apr 21, 2021

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

yjhmelody
yjhmelody commented Mar 12, 2021

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

Created by Isaac Z. Schlueter

Released January 12, 2010

Organization
npm
Website
www.npmjs.com
Wikipedia
Wikipedia