7

Show latest package version NPM

 2 years ago
source link: https://www.mailslurp.com/blog/show-latest-package-versions-npm/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to show latest package version in NPM

NodeJS’s package manager NPM has a handy feature for listing outdated packages and updating selected packages to the latest version. The MailSlurp web app is built with NodeJS and Vue. We use the NPM outdated command to keep our packages up to date. Here is how.

Showing outdated packages

To see the old packages in a NodeJS project navigate to the project directory and run npm outdated. You will see a list of outdated packages and the latest version published to NPM.

$ npm outdated
Package                         Current          Wanted   Latest  Location                              Depended by
@types/debug                      4.1.6           4.1.7    4.1.7  node_modules/@types/debug             mailslurp-app
@types/node-fetch                2.5.11          2.5.12   2.5.12  node_modules/@types/node-fetch        mailslurp-app
@types/quoted-printable           0.2.2           0.2.2    1.0.0  node_modules/@types/quoted-printable  mailslurp-app
@types/utf8                       2.1.6           2.1.6    3.0.0  node_modules/@types/utf8              mailslurp-app
babel-core               7.0.0-bridge.0  7.0.0-bridge.0   6.26.3  node_modules/babel-core               mailslurp-app
babel-jest                       26.6.3          26.6.3   27.0.6  node_modules/babel-jest               mailslurp-app
bootstrap                         4.6.0           4.6.0    5.0.2  node_modules/bootstrap                mailslurp-app
chromedriver                     87.0.7          87.0.7   92.0.0  node_modules/chromedriver             mailslurp-app
date-fns                         2.22.1          2.23.0   2.23.0  node_modules/date-fns                 mailslurp-app
expect-playwright                 0.3.4           0.3.4    0.7.2  node_modules/expect-playwright        mailslurp-app
fsevents                        MISSING           2.3.2    2.3.2  -                                     mailslurp-app
jest                             26.6.3          26.6.3   27.0.6  node_modules/jest                     mailslurp-app
jest-circus                      26.6.3          26.6.3   27.0.6  node_modules/jest-circus              mailslurp-app
jest-runner                      26.6.3          26.6.3   27.0.6  node_modules/jest-runner              mailslurp-app
nuxt-social-meta                  0.0.5           0.0.5    1.0.0  node_modules/nuxt-social-meta         mailslurp-app
nuxt-stripe-module                2.2.0           2.2.0    3.2.0  node_modules/nuxt-stripe-module       mailslurp-app
playwright-chromium              1.12.3          1.13.0   1.13.0  node_modules/playwright-chromium      mailslurp-app
sass-loader                      10.2.0          10.2.0   12.1.0  node_modules/sass-loader              mailslurp-app
start-server-and-test            1.12.6          1.13.0   1.13.0  node_modules/start-server-and-test    mailslurp-app
stripe                          8.164.0         8.165.0  8.165.0  node_modules/stripe                   mailslurp-app
supports-color                    8.1.1           8.1.1    9.0.2  node_modules/supports-color           mailslurp-app
ts-jest                          26.5.6          26.5.6   27.0.4  node_modules/ts-jest                  mailslurp-app
ts-loader                         8.3.0           8.3.0    9.2.4  node_modules/ts-loader                mailslurp-app

Upgrading a dependency

To upgrade a dependency run npm update <package>:

$ npm update playwright-chromium
[                  ] | reify:playwright-chromium: http fetch GET 200 https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.13.0.tgz 388ms (cache miss)

changed 1 package, and audited 3121 packages in 53s

You will see that the package.json and lockfile are updated to the latest version.


Related

  • Office Puppy

    Office Puppy Behold the MailSlurp office puppy Wusi. She is a chihuahau/mini-pinscher mix and she keeps everyone motivated. She is a big believer in email testing and epowering developers to do the best! Wusi’s wish Wusi has communicated that she want every QA tester, marketer, and developer to enjoy the email APIs available free of charge at MailSlurp. Try MailSlurp today.

  • The Recommended Email size

    The Recommended Email size Do you know what the email attachment size limit is to the content you put in your email? Several, if not all, email sending service providers restrict how far the email attachment size should go. The limitations are put because of security reasons as well as performance. For this reason, when considering sending out email notifications or newsletters, you should …

  • The Difference between POP3 …

    The Difference between POP3 Vs. IMAP Emails When it comes to retrieving email messages, you have to do it right. To regain your emails, you need to be intentional which the method you pick on doing so. There are basically two options to choose from, that is POP3 vs. IMAP. They do the same work but vary in so many ways from each other. Here is how POP3/POP POP is initial for Post Office Protocol.

  • SMTP Port Guide

    SMTP Port Guide Everyone wants a successful delivery of their email. What stands between desire and real success is the correct port of transmission. You might think that it is not much of your problem because the service provider worries about that. Nevertheless, a default SMTP is no assurance of the best delivery. Therefore, it is essential to learn some other port alternatives that will better …

  • What is an SMTP Server?

    What is an SMTP Server? If you ask anyone whether they can send an email, a good percentage of them will answer in the affirmative. People do not realize that the behind-the-scenes of receiving and sending emails are a technical system. What assists you in sending mail is called a server. A server handles particular services; in this case, an email server deals with mails only. The email server …

  • NBSP in HTML emails

    NBSP in HTML emails Of the easiest thing to use on the keyboard, it is the space bar. You can even do it while your eyes are closed. You press the big button at the bottom of your computer keyboard, and space appears. However, it is not as easy as it seems when it comes to HTML code. There are several ways to make the room appear in HTML, one of the ways is  .

  • Email for testing

    Email for testing One of the laborious things in QA professional life is testing email workflow. It involves a lot of sweat and labor. There are also the expectations of working with speed plus the possibility of something going wrong. For this reason, several developers have come up with random email generator dummies to assist you in avoiding the hassle. How do dummy emails works It is …

  • CC and BCC in SMTP

    CC and BCC in SMTP Numerous questions arise from people asking, what is Bcc in email, and how does it work? They also ask what is cc in an email and how it differs from Bcc. For this reason, here is a short compilation of information on cc and BCC and their role in SMTP (Simple Mail Transfer Protocol). How Cc and Bcc vary in emails Let’s take a look at both cc and bcc in emails.

  • Avoiding Spam Filters

    Avoiding Spam Filters When sending emails for marketing, no one wants their emails to go to the spam folder. The target is to reach as many clients as you can. According to statistics, over time, the percentage of email messages getting to a recipient's inbox has increased. To be precise, five out of six commercial emails hit the targets. You do not want to be among the ones who miss the goal.

  • Account settings

    Create an account and API Key. How to sign-up and login. Manage your settings and plan.


Email APIs for developer and QA teams

MailSlurp is the leading email-as-a-service API system. Create unlimited disposable email accounts then send and receive emails from code and tests.

Create free account
App screenshot

What is MailSlurp?

MailSlurp is a free email API service for developers, QA testers and marketing campaigns. You can create disposable test mail accounts using the random email address generator via HTTP, GraphQL, dashboard or official code clients in Javascript, Csharp, Golang, Python, Java, Ruby, PHP and more!

What can MailSlurp do?

MailSlurp offers permanent email addresses using custom domains or random fake emails ending in @mailslurp.com. You can generate as many inboxes as you need for end-to-end email testing, email marketing campaigns and application development.

Getting started

Create a free MailSlurp account to get started using alternatives to MailTrap, Mailinator, Mailosaur and more. MailSlurp is the most advanced email platform with many features including: HTTP webhook push, graphql email APIs, sdks with long-polling (wait for emails), inbox forwarding, complex routing rulesets, and spam filters. See the pricing page for a full overview.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK