Tinker Dependencies

by Samy (Kondasamy Jayaraman)

inkdrop 1.1.3 installed; nothing hijacked.

Day 17. logline asks ^1.3.0.9 packages

Chapter 6 of 7

Who published this?

A stranger takes over the account of a small package deep in the tower and publishes a new patch.

This chapter: What keeps a hijacked release out of the app?

About this chapter

You will learn

  • Pinning your own packages misses deeper ones
  • Install scripts off is not enough
  • The lockfile and a reviewed update

Words you’ll meet

Pin
Asking for one exact version, with no range.
Hijacked release
A version published by someone who should not have been able to publish it.
Install script
A command a package asks to run on your machine while it installs.
Payload
The harmful part of a hijacked release.

Step 1 of 6

logline logs every order. It asks for inkdrop with a caret range, ^1.1.0. The team decides to logline.

Pin logline exactly.