From ed6da27702562d0598b905e909c6c08bf315fc24 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 24 Jan 2021 14:48:41 +0700 Subject: [PATCH] Rename `master` branch to `main` --- index.d.ts | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index ee9cdd9..a15e8db 100644 --- a/index.d.ts +++ b/index.d.ts @@ -36,7 +36,7 @@ Checks if a `stream.Readable` produces a JPEG image that is [progressive](http:/ import * as https from 'https'; import isProgressive = require('is-progressive'); -const url = 'https://raw.githubusercontent.com/sindresorhus/is-progressive/master/fixture/progressive.jpg'; +const url = 'https://raw.githubusercontent.com/sindresorhus/is-progressive/main/fixture/progressive.jpg'; https.get(url, async response => { console.log(await isProgressive.stream(response)); diff --git a/readme.md b/readme.md index 1a48ebd..3ecf40c 100644 --- a/readme.md +++ b/readme.md @@ -33,7 +33,7 @@ isProgressive.fileSync('progressive.jpg'); const https = require('https'); const isProgressive = require('is-progressive'); -const url = 'https://raw.githubusercontent.com/sindresorhus/is-progressive/master/fixture/progressive.jpg'; +const url = 'https://raw.githubusercontent.com/sindresorhus/is-progressive/main/fixture/progressive.jpg'; https.get(url, async response => { console.log(await isProgressive.stream(response));