cnpm / cnpmjs.org

Compare 6c12a04 ... +0 ... f8bcca1

Coverage Reach
controllers/registry/package/list.js controllers/registry/package/save.js controllers/registry/package/update.js controllers/registry/package/download.js controllers/registry/package/dist_tag.js controllers/registry/package/remove_version.js controllers/registry/package/remove.js controllers/registry/package/download_total.js controllers/registry/package/tag.js controllers/registry/package/list_since.js controllers/registry/package/show.js controllers/registry/package/deprecate.js controllers/registry/package/list_shorts.js controllers/registry/package/list_versions.js controllers/registry/package/list_all.js controllers/registry/package/list_dependents.js controllers/registry/package/list_by_user.js controllers/registry/user/add.js controllers/registry/user/update.js controllers/registry/user/show.js controllers/registry/user/common.js controllers/registry/user/ping.js controllers/registry/user/whoami.js controllers/registry/token/create.js controllers/registry/token/list.js controllers/registry/token/del.js controllers/registry/user_package.js controllers/sync_module_worker.js controllers/web/package/show.js controllers/web/package/showWithRemote.js controllers/web/package/search.js controllers/web/package/search_range.js controllers/web/package/list_privates.js controllers/web/badge.js controllers/web/user/show.js controllers/web/show_sync.js controllers/web/show_scope_sync.js controllers/utils.js controllers/sync.js controllers/total.js services/package.js services/npm.js services/download_total.js services/total.js services/default_user_service.js services/user.js services/token.js services/bug_version.js services/module_log.js services/blocklist.js services/hook.js services/common.js middleware/auth.js middleware/publishable.js middleware/proxy_to_npm.js middleware/web_not_found.js middleware/login.js middleware/sync_by_install.js middleware/editable.js middleware/exists_package.js middleware/registry_not_found.js middleware/opensearch.js middleware/unpublishable.js middleware/limit.js middleware/static.js middleware/block.js models/user.js models/index.js models/_module_maintainer_class_methods.js models/token.js models/module_unpublished.js models/total.js models/utils.js models/tag.js models/module_abbreviated.js models/package_readme.js models/module_keyword.js models/module.js models/npm_module_maintainer.js models/download_total.js models/module_deps.js models/module_star.js models/module_log.js models/module_maintainer.js models/block_package_version.js sync/sync_exist.js sync/status.js sync/sync_all.js sync/sync_popular.js common/urllib.js common/logger.js common/mail.js common/sequelize.js common/markdown.js common/cache.js common/nfs.js servers/web.js servers/registry.js routes/registry.js routes/web.js lib/common.js config/index.js

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 2 files from the diff.

@@ -23,10 +23,14 @@
Loading
23 23
  }
24 24
25 25
  // package not found
26 -
  m = /^\/package\/([\w\-\_\.]+)\/?$/.exec(this.url);
26 +
  m = /^\/package\/([\w\-\_\.]+)\/?$/.exec(this.path);
27 27
  if (!m) {
28 28
    // scoped packages
29 29
    m = /^\/package\/(@[\w\-\.]+\/[\w\-\.]+)$/.exec(this.path);
30 +
    // maybe encode url: /package/%40foo%2Fawdawda
31 +
    if (!m && this.path.startsWith('/package/%40')) {
32 +
      m = /^\/package\/(@[\w\-\.]+\/[\w\-\.]+)$/.exec(decodeURIComponent(this.path));
33 +
    }
30 34
  }
31 35
  var name = null;
32 36
  var title = '404: Page Not Found';

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
common 67.39%
controllers 83.00%
middleware 0.04% 95.17%
models 89.56%
routes 100.00%
servers 90.91%
services 88.40%
sync 90.91%
config/index.js 76.47%
lib/common.js 88.46%
Project Totals (102 files) 85.56%
Loading