@tryghost/mg-medium-export 0.11.3 → 0.11.5

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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +8 -4
  3. package/package.json +6 -6
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2013-2021 Ghost Foundation
3
+ Copyright (c) 2013-2022 Ghost Foundation
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -36,9 +36,13 @@ It's possible to pass more options, in order to achieve a better migration file
36
36
  - **`--zip`**
37
37
  - bool - default: `true`
38
38
  - Create a zip file
39
- - **`-s` `--scrape`**
40
- - string - default: `all`
41
- - Configure scraping tasks (choices: `all`, `web`, `img`, `none`)
39
+ - **`-s` `--scrape`**
40
+ - Configure scraping tasks
41
+ - string - default: `all`
42
+ - Choices: `all`, `img`, `web`, `media`, `none`
43
+ - **`--size_limit`**
44
+ - number - default: `false`
45
+ - Media files larger than this size (defined in MB [i.e. `5`]) will be flagged as oversize
42
46
  - **`-e` `--email`**
43
47
  - string - default: `false`
44
48
  - Provide an email domain for users e.g. example.com
@@ -81,4 +85,4 @@ yarn dev medium <path to zip file>
81
85
 
82
86
  # Copyright & License
83
87
 
84
- Copyright (c) 2013-2021 Ghost Foundation - Released under the [MIT license](LICENSE).
88
+ Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE).
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tryghost/mg-medium-export",
3
- "version": "0.11.3",
3
+ "version": "0.11.5",
4
4
  "description": "tbc",
5
- "repository": "https://github.com/TryGhost/migrate/tree/master/packages/mg-medium-export",
5
+ "repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-medium-export",
6
6
  "author": "Ghost Foundation",
7
7
  "license": "MIT",
8
8
  "main": "index.js",
@@ -20,15 +20,15 @@
20
20
  "access": "public"
21
21
  },
22
22
  "devDependencies": {
23
- "mocha": "9.1.3",
23
+ "mocha": "9.2.2",
24
24
  "should": "13.2.3",
25
25
  "sinon": "11.1.2"
26
26
  },
27
27
  "dependencies": {
28
- "@tryghost/mg-fs-utils": "^0.7.13",
28
+ "@tryghost/mg-fs-utils": "^0.8.0",
29
29
  "@tryghost/string": "^0.1.17",
30
30
  "cheerio": "0.22.0",
31
- "date-fns": "2.25.0"
31
+ "date-fns": "2.28.0"
32
32
  },
33
- "gitHead": "7f5133e5ad1c6b6981fc6cd70782aa58a64fba13"
33
+ "gitHead": "a2fd432523e0e9f316686511d7494b855ef0007e"
34
34
  }