url-sanitizer 0.9.13 → 0.9.14

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/package.json CHANGED
@@ -71,5 +71,5 @@
71
71
  "test-bdd": "http-server ./ -c-1 -o test/bdd/url-sanitizer.test.html",
72
72
  "tsc": "node modules/index clean --dir=types -i && npx tsc"
73
73
  },
74
- "version": "0.9.13"
74
+ "version": "0.9.14"
75
75
  }
@@ -297,7 +297,7 @@ export class FileReader extends EventTarget {
297
297
  * read as text
298
298
  *
299
299
  * @param {object} blob - blob
300
- * @param {string} encoding - encoding
300
+ * @param {string} [encoding] - encoding
301
301
  * @returns {Promise.<void>} - void
302
302
  */
303
303
  async readAsText(blob, encoding) {
@@ -25,6 +25,6 @@ export class FileReader extends EventTarget {
25
25
  readAsArrayBuffer(blob: object): Promise<void>;
26
26
  readAsBinaryString(blob: object): Promise<void>;
27
27
  readAsDataURL(blob: object): Promise<void>;
28
- readAsText(blob: object, encoding: string): Promise<void>;
28
+ readAsText(blob: object, encoding?: string): Promise<void>;
29
29
  #private;
30
30
  }