@vicociv/instaloader 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm downloads](https://img.shields.io/npm/dm/@vicociv/instaloader.svg)](https://www.npmjs.com/package/@vicociv/instaloader)
4
4
  [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@vicociv/instaloader)](https://bundlephobia.com/package/@vicociv/instaloader)
5
- [![dependencies](https://img.shields.io/bundlephobia/dependency-count/@vicociv/instaloader)](https://bundlephobia.com/package/@vicociv/instaloader)
5
+ [![dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](https://bundlephobia.com/package/@vicociv/instaloader)
6
6
  [![tree-shaking](https://img.shields.io/badge/tree--shaking-supported-brightgreen)](https://bundlephobia.com/package/@vicociv/instaloader)
7
7
  [![CI](https://github.com/star8ks/instaloader.js/actions/workflows/ci.yml/badge.svg)](https://github.com/star8ks/instaloader.js/actions/workflows/ci.yml)
8
8
  [![codecov](https://codecov.io/gh/star8ks/instaloader.js/branch/main/graph/badge.svg)](https://codecov.io/gh/star8ks/instaloader.js)
package/dist/index.js CHANGED
@@ -1441,15 +1441,7 @@ var NodeIterator = class _NodeIterator {
1441
1441
  }
1442
1442
  };
1443
1443
  async function resumableIteration(options) {
1444
- const {
1445
- context,
1446
- iterator,
1447
- load,
1448
- save: _save,
1449
- formatPath,
1450
- checkBbd = true,
1451
- enabled = true
1452
- } = options;
1444
+ const { context, iterator, load, formatPath, checkBbd = true, enabled = true } = options;
1453
1445
  if (!enabled || !(iterator instanceof NodeIterator)) {
1454
1446
  return { isResuming: false, startIndex: 0 };
1455
1447
  }
package/dist/index.mjs CHANGED
@@ -1353,15 +1353,7 @@ var NodeIterator = class _NodeIterator {
1353
1353
  }
1354
1354
  };
1355
1355
  async function resumableIteration(options) {
1356
- const {
1357
- context,
1358
- iterator,
1359
- load,
1360
- save: _save,
1361
- formatPath,
1362
- checkBbd = true,
1363
- enabled = true
1364
- } = options;
1356
+ const { context, iterator, load, formatPath, checkBbd = true, enabled = true } = options;
1365
1357
  if (!enabled || !(iterator instanceof NodeIterator)) {
1366
1358
  return { isResuming: false, startIndex: 0 };
1367
1359
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vicociv/instaloader",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "TypeScript port of instaloader - Download pictures (or videos) along with their captions and other metadata from Instagram.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",