API returning wrong data in from http://registry.npmjs.org/-/v1/search?text=nativescript-shadowed-label

What I Wanted to Do

After I published my package nativescript-shadowed-label, the API should return its metadata correctly from http://registry.npmjs.org/-/v1/search?text=nativescript-shadowed-label

What Happened Instead

It returns invalid data:

{"objects":[{"package":{"name":"nativescript-shadowed-label","version":"0.0.0","links":{"npm":"https://www.npmjs.com/package/nativescript-shadowed-label"}},"score":{"final":0,"detail":{"quality":0,"popularity":0,"maintenance":0}},"searchScore":100000}],"total":1,"time":"Mon Apr 22 2019 16:04:53 GMT+0000 (UTC)"}

Wrong version, no author, no description, no keywords, etc. All the metadata is displayed correctly in the package page, though: https://www.npmjs.com/package/nativescript-shadowed-label

Reproduction Steps

Make a GET request to http://registry.npmjs.org/-/v1/search?text=nativescript-shadowed-label.

It will return the incomplete JSON.

Platform Info

Published from macOS.

$ npm --versions
{ 'nativescript-publish': '1.0.0',
  npm: '6.9.0',
  ares: '1.15.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.34.0',
  node: '10.15.3',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.2',
  v8: '',
  zlib: '1.2.11' }

$ node -p process.platform

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.