unprint 0.15.6 → 0.15.7

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unprint",
3
- "version": "0.15.6",
3
+ "version": "0.15.7",
4
4
  "description": "Simplify common web scraping tasks while staying in control of the data.",
5
5
  "main": "src/app.js",
6
6
  "scripts": {
package/src/app.js CHANGED
@@ -454,9 +454,9 @@ function extractSourceSet(sourceSet, customOptions) {
454
454
  }
455
455
 
456
456
  const sources = sourceSet
457
- .split(/\s*,\s*/)
457
+ .split(/\s*,\s+/)
458
458
  .map((source) => {
459
- const [link, descriptor] = source.split(' ');
459
+ const [link, descriptor] = source.trim().split(' ');
460
460
 
461
461
  if (link) {
462
462
  return {