Commit c844b06
feat(plugin): Support service-specific options (#58)
* wip: poc for twitter url parameters
* only pass relevant options
* add instagram custom parameter support
* document service-specific options
* add tests
* refactor: move query parameters into sub object
* add general service-specific info
* rebase and remove queryparams name
* update docs example
* fix: import url constructor
* refactor: nest and document params object
* the quotes are on purpose
* fix: import urlsearchparams constructor
* feat: only implement plugin-specific-options mechanism
* docs: removed old option docs
* chore: remove unused imports
* chore: remove unused imports
* Update README
* Update transformers
* Update plugin
* Update tests
* test: transformer options
* test: generalize
* Update src/__tests__/plugin.js
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
* Update src/__tests__/plugin.js
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
* Update src/index.js
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
* Update src/index.js
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
* Update src/__tests__/plugin.js
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
* Update src/__tests__/plugin.js
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
* Update docs
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>1 parent edb1bfa commit c844b06
File tree
4 files changed
+43
-4
lines changed- src
- __tests__
- __fixtures__
4 files changed
+43
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
93 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments