@natlibfi/marc-record-merge 6.0.0-beta.2 → 6.0.0-beta.6

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 (224) hide show
  1. package/.github/CODEOWNERS +9 -0
  2. package/.github/dependabot.yml +41 -0
  3. package/.github/workflows/melinda-node-tests.yml +60 -0
  4. package/LICENSE +21 -0
  5. package/README.md +106 -2
  6. package/dist/index.js +2 -37
  7. package/dist/index.js.map +1 -1
  8. package/dist/reducers/copy.js +310 -109
  9. package/dist/reducers/copy.js.map +1 -1
  10. package/dist/reducers/copy.spec.js +52 -99
  11. package/dist/reducers/copy.spec.js.map +1 -1
  12. package/dist/reducers/index.js +0 -27
  13. package/dist/reducers/index.js.map +1 -1
  14. package/dist/reducers/select.js +12 -50
  15. package/dist/reducers/select.js.map +1 -1
  16. package/dist/reducers/select.spec.js +49 -83
  17. package/dist/reducers/select.spec.js.map +1 -1
  18. package/package.json +30 -27
  19. package/src/index.js +1 -33
  20. package/src/reducers/copy.js +306 -115
  21. package/src/reducers/copy.spec.js +44 -66
  22. package/src/reducers/index.js +0 -27
  23. package/src/reducers/select.js +8 -51
  24. package/src/reducers/select.spec.js +37 -58
  25. package/test-fixtures/reducers/copy/{01/base.json → 01 - copy/01/base.json } +1 -1
  26. package/test-fixtures/reducers/copy/{01 → 01 - copy/01}/merged.json +0 -0
  27. package/test-fixtures/reducers/copy/01 - copy/01/metadata.json +4 -0
  28. package/test-fixtures/reducers/copy/{01 → 01 - copy/01}/source.json +0 -0
  29. package/test-fixtures/reducers/copy/{02/source.json → 01 - copy/02/base.json} +0 -0
  30. package/test-fixtures/reducers/copy/{02 → 01 - copy/02}/merged.json +0 -0
  31. package/test-fixtures/reducers/copy/01 - copy/02/metadata.json +4 -0
  32. package/test-fixtures/reducers/copy/{02/base.json → 01 - copy/02/source.json } +1 -1
  33. package/test-fixtures/reducers/copy/{03/base.json → 01 - copy/03/base.json } +1 -1
  34. package/test-fixtures/reducers/copy/{03 → 01 - copy/03}/merged.json +0 -0
  35. package/test-fixtures/reducers/copy/01 - copy/03/metadata.json +4 -0
  36. package/test-fixtures/reducers/copy/{03 → 01 - copy/03}/source.json +0 -0
  37. package/test-fixtures/reducers/copy/{05/base.json → 01 - copy/04/base.json } +1 -1
  38. package/test-fixtures/reducers/copy/{04/merged.json → 01 - copy/04/merged.json } +1 -1
  39. package/test-fixtures/reducers/copy/01 - copy/04/metadata.json +4 -0
  40. package/test-fixtures/reducers/copy/{04/source.json → 01 - copy/04/source.json } +1 -1
  41. package/test-fixtures/reducers/copy/{04/base.json → 01 - copy/05/base.json } +1 -1
  42. package/test-fixtures/reducers/copy/{05 → 01 - copy/05}/merged.json +0 -0
  43. package/test-fixtures/reducers/copy/01 - copy/05/metadata.json +4 -0
  44. package/test-fixtures/reducers/copy/{05 → 01 - copy/05}/source.json +0 -0
  45. package/test-fixtures/reducers/copy/01 - copy/06/base.json +24 -0
  46. package/test-fixtures/reducers/copy/01 - copy/06/merged.json +39 -0
  47. package/test-fixtures/reducers/copy/01 - copy/06/metadata.json +4 -0
  48. package/test-fixtures/reducers/copy/01 - copy/06/source.json +24 -0
  49. package/test-fixtures/reducers/copy/01 - copy/07/base.json +39 -0
  50. package/test-fixtures/reducers/copy/01 - copy/07/merged.json +39 -0
  51. package/test-fixtures/reducers/copy/01 - copy/07/metadata.json +5 -0
  52. package/test-fixtures/reducers/copy/01 - copy/07/source.json +24 -0
  53. package/test-fixtures/reducers/copy/01 - copy/08/base.json +28 -0
  54. package/test-fixtures/reducers/copy/01 - copy/08/merged.json +28 -0
  55. package/test-fixtures/reducers/copy/01 - copy/08/metadata.json +4 -0
  56. package/test-fixtures/reducers/copy/01 - copy/08/source.json +24 -0
  57. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/01/base.json +17 -0
  58. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/01/merged.json +20 -0
  59. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/01/metadata.json +6 -0
  60. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/01/source.json +20 -0
  61. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/02/base.json +9 -0
  62. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/02/merged.json +20 -0
  63. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/02/metadata.json +6 -0
  64. package/test-fixtures/reducers/copy/02 - doNotCopyIfFieldPresent/02/source.json +20 -0
  65. package/test-fixtures/reducers/copy/{06 → 03 - compareTagsOnly/01}/base.json +0 -0
  66. package/test-fixtures/reducers/copy/{06 → 03 - compareTagsOnly/01}/merged.json +0 -0
  67. package/test-fixtures/reducers/copy/03 - compareTagsOnly/01/metadata.json +5 -0
  68. package/test-fixtures/reducers/copy/{06 → 03 - compareTagsOnly/01}/source.json +0 -0
  69. package/test-fixtures/reducers/copy/{09 → 03 - compareTagsOnly/02}/base.json +0 -0
  70. package/test-fixtures/reducers/copy/{09 → 03 - compareTagsOnly/02}/merged.json +0 -0
  71. package/test-fixtures/reducers/copy/03 - compareTagsOnly/02/metadata.json +5 -0
  72. package/test-fixtures/reducers/copy/{09 → 03 - compareTagsOnly/02}/source.json +0 -0
  73. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/01/base.json +24 -0
  74. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/01/merged.json +24 -0
  75. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/01/metadata.json +5 -0
  76. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/01/source.json +24 -0
  77. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/02/base.json +24 -0
  78. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/02/merged.json +39 -0
  79. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/02/metadata.json +5 -0
  80. package/test-fixtures/reducers/copy/04 - compareWithoutIndicators/02/source.json +24 -0
  81. package/test-fixtures/reducers/copy/05 - copyUnless/01/base.json +9 -0
  82. package/test-fixtures/reducers/copy/05 - copyUnless/01/merged.json +24 -0
  83. package/test-fixtures/reducers/copy/05 - copyUnless/01/metadata.json +5 -0
  84. package/test-fixtures/reducers/copy/05 - copyUnless/01/source.json +47 -0
  85. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/01/base.json +24 -0
  86. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/01/merged.json +39 -0
  87. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/01/metadata.json +5 -0
  88. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/01/source.json +24 -0
  89. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/02/base.json +24 -0
  90. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/02/merged.json +24 -0
  91. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/02/metadata.json +5 -0
  92. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/02/source.json +24 -0
  93. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/03/base.json +28 -0
  94. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/03/merged.json +43 -0
  95. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/03/metadata.json +5 -0
  96. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/03/source.json +24 -0
  97. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/04/base.json +28 -0
  98. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/04/merged.json +28 -0
  99. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/04/metadata.json +5 -0
  100. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/04/source.json +24 -0
  101. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/05/base.json +20 -0
  102. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/05/merged.json +35 -0
  103. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/05/metadata.json +5 -0
  104. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/05/source.json +24 -0
  105. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/06/base.json +20 -0
  106. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/06/merged.json +35 -0
  107. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/06/metadata.json +5 -0
  108. package/test-fixtures/reducers/copy/06 - subfieldsMustBeIdentical/06/source.json +24 -0
  109. package/test-fixtures/reducers/copy/{07 → 07 - excludeSubfields/01}/base.json +0 -0
  110. package/test-fixtures/reducers/copy/{07 → 07 - excludeSubfields/01}/merged.json +0 -0
  111. package/test-fixtures/reducers/copy/07 - excludeSubfields/01/metadata.json +8 -0
  112. package/test-fixtures/reducers/copy/{07 → 07 - excludeSubfields/01}/source.json +0 -0
  113. package/test-fixtures/reducers/copy/07 - excludeSubfields/02/base.json +39 -0
  114. package/test-fixtures/reducers/copy/07 - excludeSubfields/02/merged.json +58 -0
  115. package/test-fixtures/reducers/copy/07 - excludeSubfields/02/metadata.json +5 -0
  116. package/test-fixtures/reducers/copy/07 - excludeSubfields/02/source.json +43 -0
  117. package/test-fixtures/reducers/copy/{08 → 08 - dropSubfields/01}/base.json +0 -0
  118. package/test-fixtures/reducers/copy/{08/merged.json → 08 - dropSubfields/01/merged.json } +8 -0
  119. package/test-fixtures/reducers/copy/08 - dropSubfields/01/metadata.json +5 -0
  120. package/test-fixtures/reducers/copy/{08 → 08 - dropSubfields/01}/source.json +0 -0
  121. package/test-fixtures/reducers/copy/08 - dropSubfields/02/base.json +43 -0
  122. package/test-fixtures/reducers/copy/08 - dropSubfields/02/merged.json +58 -0
  123. package/test-fixtures/reducers/copy/08 - dropSubfields/02/metadata.json +5 -0
  124. package/test-fixtures/reducers/copy/08 - dropSubfields/02/source.json +32 -0
  125. package/test-fixtures/reducers/copy/08 - dropSubfields/03/base.json +43 -0
  126. package/test-fixtures/reducers/copy/08 - dropSubfields/03/merged.json +58 -0
  127. package/test-fixtures/reducers/copy/08 - dropSubfields/03/metadata.json +5 -0
  128. package/test-fixtures/reducers/copy/08 - dropSubfields/03/source.json +32 -0
  129. package/test-fixtures/reducers/copy/08 - dropSubfields/04/base.json +43 -0
  130. package/test-fixtures/reducers/copy/08 - dropSubfields/04/merged.json +43 -0
  131. package/test-fixtures/reducers/copy/08 - dropSubfields/04/metadata.json +5 -0
  132. package/test-fixtures/reducers/copy/08 - dropSubfields/04/source.json +32 -0
  133. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/01/base.json +9 -0
  134. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/01/merged.json +20 -0
  135. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/01/metadata.json +6 -0
  136. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/01/source.json +20 -0
  137. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/02/base.json +9 -0
  138. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/02/merged.json +20 -0
  139. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/02/metadata.json +6 -0
  140. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/02/source.json +20 -0
  141. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/03/base.json +9 -0
  142. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/03/merged.json +31 -0
  143. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/03/metadata.json +6 -0
  144. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/03/source.json +31 -0
  145. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/04/base.json +9 -0
  146. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/04/merged.json +42 -0
  147. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/04/metadata.json +6 -0
  148. package/test-fixtures/reducers/copy/09 - swapSubfieldCode/04/source.json +42 -0
  149. package/test-fixtures/reducers/copy/10 - swapTag/01/base.json +17 -0
  150. package/test-fixtures/reducers/copy/10 - swapTag/01/merged.json +28 -0
  151. package/test-fixtures/reducers/copy/10 - swapTag/01/metadata.json +6 -0
  152. package/test-fixtures/reducers/copy/10 - swapTag/01/source.json +20 -0
  153. package/test-fixtures/reducers/metadata.json +4 -0
  154. package/test-fixtures/reducers/select/01/metadata.json +5 -0
  155. package/test-fixtures/reducers/select/02/metadata.json +4 -0
  156. package/test-fixtures/reducers/select/03/metadata.json +4 -0
  157. package/test-fixtures/reducers/select/04/metadata.json +5 -0
  158. package/test-fixtures/reducers/select/05/metadata.json +4 -0
  159. package/test-fixtures/reducers/select/06/metadata.json +4 -0
  160. package/test-fixtures/reducers/select/07/metadata.json +5 -0
  161. package/test-fixtures/reducers/select/08/metadata.json +4 -0
  162. package/test-fixtures/reducers/select/09/metadata.json +4 -0
  163. package/test-fixtures/reducers/select/10/metadata.json +5 -0
  164. package/test-fixtures/reducers/select/11/metadata.json +4 -0
  165. package/test-fixtures/reducers/select/12/metadata.json +5 -0
  166. package/test-fixtures/reducers/select/13/metadata.json +4 -0
  167. package/test-fixtures/reducers/select/14/metadata.json +4 -0
  168. package/.drone.yml +0 -92
  169. package/.nyc_output/72717fff-b4ac-4aef-a145-37cae88e07f8.json +0 -1
  170. package/.nyc_output/processinfo/72717fff-b4ac-4aef-a145-37cae88e07f8.json +0 -1
  171. package/.nyc_output/processinfo/index.json +0 -1
  172. package/LICENSE.txt +0 -165
  173. package/coverage/base.css +0 -224
  174. package/coverage/block-navigation.js +0 -79
  175. package/coverage/copy.js.html +0 -500
  176. package/coverage/favicon.png +0 -0
  177. package/coverage/index.html +0 -126
  178. package/coverage/lcov-report/base.css +0 -224
  179. package/coverage/lcov-report/block-navigation.js +0 -79
  180. package/coverage/lcov-report/copy.js.html +0 -500
  181. package/coverage/lcov-report/favicon.png +0 -0
  182. package/coverage/lcov-report/index.html +0 -126
  183. package/coverage/lcov-report/prettify.css +0 -1
  184. package/coverage/lcov-report/prettify.js +0 -2
  185. package/coverage/lcov-report/select.js.html +0 -539
  186. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  187. package/coverage/lcov-report/sorter.js +0 -170
  188. package/coverage/lcov.info +0 -274
  189. package/coverage/prettify.css +0 -1
  190. package/coverage/prettify.js +0 -2
  191. package/coverage/select.js.html +0 -539
  192. package/coverage/sort-arrow-sprite.png +0 -0
  193. package/coverage/sorter.js +0 -170
  194. package/test-fixtures/reducers/copy/01/tagPattern.txt +0 -1
  195. package/test-fixtures/reducers/copy/02/tagPattern.txt +0 -1
  196. package/test-fixtures/reducers/copy/03/tagPattern.txt +0 -1
  197. package/test-fixtures/reducers/copy/04/tagPattern.txt +0 -1
  198. package/test-fixtures/reducers/copy/05/tagPattern.txt +0 -1
  199. package/test-fixtures/reducers/copy/06/compareTagsOnly.txt +0 -1
  200. package/test-fixtures/reducers/copy/06/tagPattern.txt +0 -1
  201. package/test-fixtures/reducers/copy/07/excludeSubfields.json +0 -1
  202. package/test-fixtures/reducers/copy/07/tagPattern.txt +0 -1
  203. package/test-fixtures/reducers/copy/08/dropSubfields.json +0 -1
  204. package/test-fixtures/reducers/copy/08/tagPattern.txt +0 -1
  205. package/test-fixtures/reducers/copy/09/compareTagsOnly.txt +0 -1
  206. package/test-fixtures/reducers/copy/09/tagPattern.txt +0 -1
  207. package/test-fixtures/reducers/select/01/expected-error.txt +0 -1
  208. package/test-fixtures/reducers/select/01/pattern.txt +0 -1
  209. package/test-fixtures/reducers/select/02/pattern.txt +0 -1
  210. package/test-fixtures/reducers/select/03/pattern.txt +0 -1
  211. package/test-fixtures/reducers/select/04/pattern.txt +0 -1
  212. package/test-fixtures/reducers/select/05/pattern.txt +0 -1
  213. package/test-fixtures/reducers/select/06/pattern.txt +0 -1
  214. package/test-fixtures/reducers/select/07/equalityFunction.txt +0 -1
  215. package/test-fixtures/reducers/select/07/pattern.txt +0 -1
  216. package/test-fixtures/reducers/select/08/pattern.txt +0 -1
  217. package/test-fixtures/reducers/select/09/pattern.txt +0 -1
  218. package/test-fixtures/reducers/select/10/equalityFunction.txt +0 -1
  219. package/test-fixtures/reducers/select/10/pattern.txt +0 -1
  220. package/test-fixtures/reducers/select/11/pattern.txt +0 -1
  221. package/test-fixtures/reducers/select/12/equalityFunction.txt +0 -1
  222. package/test-fixtures/reducers/select/12/pattern.txt +0 -1
  223. package/test-fixtures/reducers/select/13/pattern.txt +0 -1
  224. package/test-fixtures/reducers/select/14/pattern.txt +0 -1
@@ -0,0 +1,42 @@
1
+ {
2
+ "leader": "01331cam a22003494i 4500",
3
+ "fields": [
4
+ {
5
+ "tag": "001",
6
+ "value": "007346734"
7
+ },
8
+ {
9
+ "tag": "010",
10
+ "ind1": " ",
11
+ "ind2": " ",
12
+ "subfields": [
13
+ {
14
+ "code": "x",
15
+ "value": "##2002021a46"
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "tag": "010",
21
+ "ind1": " ",
22
+ "ind2": " ",
23
+ "subfields": [
24
+ {
25
+ "code": "b",
26
+ "value": "##2002021b46"
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "tag": "010",
32
+ "ind1": " ",
33
+ "ind2": " ",
34
+ "subfields": [
35
+ {
36
+ "code": "c",
37
+ "value": "##2002021c46"
38
+ }
39
+ ]
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "leader": "01331cam a22003494i 4500",
3
+ "fields": [
4
+ {
5
+ "tag": "001",
6
+ "value": "007346734"
7
+ },
8
+ {
9
+ "tag": "100",
10
+ "ind1": " ",
11
+ "ind2": " ",
12
+ "subfields": [
13
+ {"code": "a", "value": "original"}
14
+ ]
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "leader": "01331cam a22003494i 4500",
3
+ "fields": [
4
+ {
5
+ "tag": "001",
6
+ "value": "007346734"
7
+ },
8
+ {
9
+ "tag": "100",
10
+ "ind1": " ",
11
+ "ind2": " ",
12
+ "subfields": [
13
+ {"code": "a", "value": "original"}
14
+ ]
15
+ },
16
+ {
17
+ "tag": "700",
18
+ "ind1": " ",
19
+ "ind2": " ",
20
+ "subfields": [
21
+ {
22
+ "code": "a",
23
+ "value": "test"
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "description": "Swap tag from 100 to 700 if copied: swapped",
3
+ "tagPatternRegExp": "^100$",
4
+ "swapTag": [{"from": "^100$", "to": "700"}],
5
+ "only": false
6
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "leader": "01331cam a22003494i 4500",
3
+ "fields": [
4
+ {
5
+ "tag": "001",
6
+ "value": "007346734"
7
+ },
8
+ {
9
+ "tag": "100",
10
+ "ind1": " ",
11
+ "ind2": " ",
12
+ "subfields": [
13
+ {
14
+ "code": "a",
15
+ "value": "test"
16
+ }
17
+ ]
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "",
3
+ "tagPatternRegExp": "^$"
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "description": "The field is a control field (contains 'value') --> error message",
3
+ "tagPatternRegExp": "^010$",
4
+ "expectedError": "Invalid control field, expected data field"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "If there are multiple fields, return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Base and source tags are equal for one field --> return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "description": "Base and source tags are not equal --> return base",
3
+ "note": "to test for this, tagPattern has to allow two tags, otherwise the unequal tag does not even pass source.get(tagPattern)",
4
+ "tagPatternRegExp": "^(010|020)$"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Normalize subfield values (base and source are equal) --> return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Two subfields, both equal --> return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "description": "Two subfields, same codes, values of source are subsets of values of base --> replaceBasefieldWithSourcefield",
3
+ "tagPatternRegExp": "^010$",
4
+ "useSubsetEquality": true
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Two subfields, one is a subset, one has a different code --> return base",
3
+ "tagPatternRegExp": "^010"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Two subfields, same codes, values are not subsets --> return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "description": "SourceField is a proper superset of baseField (subfields a and b are equal, c is new) --> replaceBasefieldWithSourcefield",
3
+ "tagPatternRegExp": "^010$",
4
+ "useSubsetEquality": true
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "SourceField is not a proper superset of baseField (different values in a and b, also new subfield c) --> return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "description": "SourceField is a proper superset of baseField (base values a and b are subsets of source values a and b, c is new in source) --> replaceBasefieldWithSourcefield",
3
+ "tagPatternRegExp": "^010$",
4
+ "useSubsetEquality": true
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Opposite of test 12, baseField is a proper superset of sourceField --> return base",
3
+ "tagPatternRegExp": "^010$"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "description": "Normalization test with Cyrillic characters",
3
+ "tagPatternRegExp": "^010$"
4
+ }
package/.drone.yml DELETED
@@ -1,92 +0,0 @@
1
- ---
2
- kind: pipeline
3
- type: docker
4
- name: Default
5
-
6
- trigger:
7
- event:
8
- - push
9
- - tag
10
-
11
- steps:
12
-
13
- - name: audit
14
- image: node:12
15
- commands:
16
- - npm audit --package-lock-only --production --audit-level=moderate
17
-
18
- - name: install
19
- image: node:12
20
- environment:
21
- NPM_CONFIG_IGNORE_SCRIPTS: true
22
- commands:
23
- - npm install --no-optional
24
-
25
- - name: test
26
- image: node:12
27
- commands:
28
- - npm test
29
-
30
- - name: check-coverage
31
- image: node:12
32
- commands:
33
- - npm run coverage
34
-
35
- - name: build
36
- image: node:12
37
- commands:
38
- - npm run build
39
- - NPM_CONFIG_IGNORE_SCRIPTS=false npm ci --production
40
-
41
- - name: static-security-scan
42
- image: quay.io/natlibfi/njsscan
43
- commands:
44
- - njsscan dist
45
-
46
- - name: npm
47
- image: plugins/npm
48
- settings:
49
- registry: 'https://registry.npmjs.org/'
50
- token:
51
- from_secret: npm_token
52
- when:
53
- event: tag
54
- ---
55
- kind: pipeline
56
- type: docker
57
- name: Update dependencies
58
-
59
- trigger:
60
- event:
61
- - custom
62
- branch:
63
- - master
64
-
65
- steps:
66
-
67
- - name: publish
68
- image: quay.io/natlibfi/drone-npm-git-publish
69
- settings:
70
- git_user_name: natlibfi-melinda-automation
71
- git_user_email: 65649125+natlibfi-melinda-automation@users.noreply.github.com
72
- git_ssh_key:
73
- from_secret: ssh_key
74
- git_gpg_key:
75
- from_secret: gpg_key
76
- ---
77
- kind: secret
78
- name: npm_token
79
- data: IB5vm9V6fNh9O1FFF9rv2eBMNy+WiZpxjfNhlq9DIX5wDYXXY1Xk64llB1YwDXiBqJDW2kIjAIc8vXG+xU3jmw==
80
- ---
81
- kind: secret
82
- name: ssh_key
83
- data: ow0lyiEy3STIADta5Cg7MMQ9Xm/JbNJn5CNrlQr+Kxf9dZQgKvGPHayQJydSajIYB5FrAB+CWvU23qIUPc1ooxQcsvil2GkhNiJ87cqb1uLWQmGY/cXA2PlaOFIt97EzPeMGqarXMKp8a8VW/LA0cmq4DnpTBzl2aVKRHQxycO6j5cEG6OQeJ32K94nRnzUFFMnowuOqauQAe5T6n5lEgASO5oIs9OK/oCZ9byJ3i7iGE3+7ebJgnpTClEuS2MeAhO3j1hXbQZTApXZ6D/d5Hea/MFYShGkabQBP+D5WBfPxwTiadRDJ52qbwti0d+lloQrDhxWCM7b66/wLGDiqH+5SE0ERxnkRhwFYUPgDaF0mq+dSfRuH3m1KvCwYb+2TWrIbnnof+s1IC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kKyPIx8w/7LqecqIlkvNmcyyu69liPUy9NgZr9N1jHw10Va7uGkT9tHyzxtfr0z2hSdKHAu6CWYjjYRDN0OE9zj7fknm9/WzmIbAsLuE1PBskH+W3S+3mjlLulBdyaDI+72tU/qVTJDILmzBkJ14ScBqy5NRlv4+y7DePluPMMTR/k/+r8ub1n8n97nuXbDqLmMOKwxbZKG2VcQDzF6tDhagb8QuTu4dczF2reHvDv6yimQ0+yGX3ND5Ga9n63+VPpXKrDx+9r0LSFSYAUtHdzLDy+jEGS6FGGJM0FzRb6tTpYDOnEQV8T5XLfbH0FZO1Rl20XSvPyrUX8ArxCwTUs8REj58nmm7Mwr7zDv8Zm+7vlIaPHHgnwNEyjUeKubZT0hwP07QHmPVvm03k0pbCltB8AICf40LPAxXQu6yLI9lFrqFcTGgeRiphbXfZqKv4QJ8/IL1/lPAlkyKeiXW0syci3a25oH6CKKCYkcwr2793pkKa3WHXH5ZNivWwdgNfKkp3gjt4nNV5qGpPKCUWKfFAjNiZw9PHEYQ2OKz9LxoKBYIa9vGxxGL2RbHAMgsi28pSpIgD6G2fNuVhbW73wfOVMcNVGk9EQkFBA7rIj6LKQL6DR9oJ9kywRzzScwGqmXxEw02gDfHl5iEP5tz1fMs8o8G0OvkM9yf1WNkr9YNswpAgCTtXmwffaBFiZP54Tg5nvHLks3X/84PPnQ==
88
- ---
89
- kind: signature
90
- hmac: 4815f1484dffe80b54c0a0132b742f0976a7689354e933ba220c5b30835708c0
91
-
92
- ...
@@ -1 +0,0 @@
1
- {"/drone/src/src/reducers/copy.js":{"path":"/drone/src/src/reducers/copy.js","statementMap":{"0":{"start":{"line":42,"column":101},"end":{"line":140,"column":1}},"1":{"start":{"line":43,"column":16},"end":{"line":43,"column":64}},"2":{"start":{"line":44,"column":21},"end":{"line":44,"column":41}},"3":{"start":{"line":46,"column":23},"end":{"line":46,"column":65}},"4":{"start":{"line":47,"column":2},"end":{"line":47,"column":22}},"5":{"start":{"line":50,"column":23},"end":{"line":50,"column":59}},"6":{"start":{"line":50,"column":49},"end":{"line":50,"column":58}},"7":{"start":{"line":51,"column":4},"end":{"line":51,"column":63}},"8":{"start":{"line":51,"column":30},"end":{"line":51,"column":61}},"9":{"start":{"line":55,"column":4},"end":{"line":59,"column":5}},"10":{"start":{"line":56,"column":6},"end":{"line":56,"column":90}},"11":{"start":{"line":56,"column":32},"end":{"line":56,"column":88}},"12":{"start":{"line":57,"column":6},"end":{"line":57,"column":53}},"13":{"start":{"line":57,"column":32},"end":{"line":57,"column":51}},"14":{"start":{"line":58,"column":6},"end":{"line":58,"column":18}},"15":{"start":{"line":64,"column":4},"end":{"line":127,"column":5}},"16":{"start":{"line":65,"column":28},"end":{"line":114,"column":7}},"17":{"start":{"line":66,"column":8},"end":{"line":69,"column":9}},"18":{"start":{"line":67,"column":10},"end":{"line":67,"column":79}},"19":{"start":{"line":68,"column":10},"end":{"line":68,"column":68}},"20":{"start":{"line":70,"column":8},"end":{"line":73,"column":9}},"21":{"start":{"line":71,"column":10},"end":{"line":71,"column":76}},"22":{"start":{"line":72,"column":10},"end":{"line":72,"column":65}},"23":{"start":{"line":76,"column":10},"end":{"line":76,"column":63}},"24":{"start":{"line":80,"column":38},"end":{"line":80,"column":70}},"25":{"start":{"line":81,"column":40},"end":{"line":81,"column":74}},"26":{"start":{"line":82,"column":10},"end":{"line":82,"column":63}},"27":{"start":{"line":87,"column":10},"end":{"line":95,"column":11}},"28":{"start":{"line":91,"column":12},"end":{"line":91,"column":109}},"29":{"start":{"line":91,"column":44},"end":{"line":91,"column":107}},"30":{"start":{"line":93,"column":38},"end":{"line":93,"column":124}},"31":{"start":{"line":93,"column":77},"end":{"line":93,"column":123}},"32":{"start":{"line":94,"column":12},"end":{"line":94,"column":64}},"33":{"start":{"line":97,"column":10},"end":{"line":102,"column":11}},"34":{"start":{"line":101,"column":12},"end":{"line":101,"column":66}},"35":{"start":{"line":104,"column":12},"end":{"line":104,"column":68}},"36":{"start":{"line":107,"column":32},"end":{"line":107,"column":58}},"37":{"start":{"line":108,"column":12},"end":{"line":111,"column":15}},"38":{"start":{"line":109,"column":36},"end":{"line":109,"column":64}},"39":{"start":{"line":110,"column":14},"end":{"line":110,"column":51}},"40":{"start":{"line":116,"column":28},"end":{"line":116,"column":62}},"41":{"start":{"line":117,"column":6},"end":{"line":117,"column":54}},"42":{"start":{"line":117,"column":33},"end":{"line":117,"column":52}},"43":{"start":{"line":118,"column":6},"end":{"line":122,"column":7}},"44":{"start":{"line":119,"column":28},"end":{"line":119,"column":65}},"45":{"start":{"line":119,"column":55},"end":{"line":119,"column":64}},"46":{"start":{"line":120,"column":8},"end":{"line":120,"column":85}},"47":{"start":{"line":120,"column":35},"end":{"line":120,"column":83}},"48":{"start":{"line":121,"column":8},"end":{"line":121,"column":20}},"49":{"start":{"line":123,"column":6},"end":{"line":126,"column":7}},"50":{"start":{"line":124,"column":8},"end":{"line":124,"column":41}},"51":{"start":{"line":125,"column":8},"end":{"line":125,"column":20}},"52":{"start":{"line":128,"column":4},"end":{"line":128,"column":37}},"53":{"start":{"line":129,"column":4},"end":{"line":129,"column":16}},"54":{"start":{"line":133,"column":4},"end":{"line":136,"column":5}},"55":{"start":{"line":134,"column":6},"end":{"line":134,"column":102}},"56":{"start":{"line":134,"column":35},"end":{"line":134,"column":100}},"57":{"start":{"line":135,"column":6},"end":{"line":135,"column":143}},"58":{"start":{"line":135,"column":36},"end":{"line":135,"column":140}},"59":{"start":{"line":135,"column":95},"end":{"line":135,"column":138}},"60":{"start":{"line":137,"column":4},"end":{"line":137,"column":34}},"61":{"start":{"line":138,"column":4},"end":{"line":138,"column":18}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":42,"column":15},"end":{"line":42,"column":16}},"loc":{"start":{"line":42,"column":101},"end":{"line":140,"column":1}},"line":42},"1":{"name":"(anonymous_1)","decl":{"start":{"line":42,"column":101},"end":{"line":42,"column":102}},"loc":{"start":{"line":42,"column":119},"end":{"line":140,"column":1}},"line":42},"2":{"name":"copyFields","decl":{"start":{"line":49,"column":11},"end":{"line":49,"column":21}},"loc":{"start":{"line":49,"column":24},"end":{"line":130,"column":3}},"line":49},"3":{"name":"(anonymous_3)","decl":{"start":{"line":50,"column":40},"end":{"line":50,"column":41}},"loc":{"start":{"line":50,"column":49},"end":{"line":50,"column":58}},"line":50},"4":{"name":"(anonymous_4)","decl":{"start":{"line":51,"column":23},"end":{"line":51,"column":24}},"loc":{"start":{"line":51,"column":30},"end":{"line":51,"column":61}},"line":51},"5":{"name":"(anonymous_5)","decl":{"start":{"line":56,"column":25},"end":{"line":56,"column":26}},"loc":{"start":{"line":56,"column":32},"end":{"line":56,"column":88}},"line":56},"6":{"name":"(anonymous_6)","decl":{"start":{"line":57,"column":27},"end":{"line":57,"column":28}},"loc":{"start":{"line":57,"column":32},"end":{"line":57,"column":51}},"line":57},"7":{"name":"(anonymous_7)","decl":{"start":{"line":65,"column":28},"end":{"line":65,"column":29}},"loc":{"start":{"line":65,"column":50},"end":{"line":114,"column":7}},"line":65},"8":{"name":"normalizeControlField","decl":{"start":{"line":75,"column":17},"end":{"line":75,"column":38}},"loc":{"start":{"line":75,"column":46},"end":{"line":77,"column":9}},"line":75},"9":{"name":"isIdenticalControlField","decl":{"start":{"line":79,"column":17},"end":{"line":79,"column":40}},"loc":{"start":{"line":79,"column":52},"end":{"line":83,"column":9}},"line":79},"10":{"name":"isIdenticalDataField","decl":{"start":{"line":84,"column":17},"end":{"line":84,"column":37}},"loc":{"start":{"line":84,"column":49},"end":{"line":113,"column":9}},"line":84},"11":{"name":"(anonymous_11)","decl":{"start":{"line":91,"column":37},"end":{"line":91,"column":38}},"loc":{"start":{"line":91,"column":44},"end":{"line":91,"column":107}},"line":91},"12":{"name":"(anonymous_12)","decl":{"start":{"line":93,"column":65},"end":{"line":93,"column":66}},"loc":{"start":{"line":93,"column":77},"end":{"line":93,"column":123}},"line":93},"13":{"name":"normalizeSubfield","decl":{"start":{"line":103,"column":19},"end":{"line":103,"column":36}},"loc":{"start":{"line":103,"column":47},"end":{"line":105,"column":11}},"line":103},"14":{"name":"isIdenticalSubfield","decl":{"start":{"line":106,"column":19},"end":{"line":106,"column":38}},"loc":{"start":{"line":106,"column":48},"end":{"line":112,"column":11}},"line":106},"15":{"name":"(anonymous_15)","decl":{"start":{"line":108,"column":46},"end":{"line":108,"column":47}},"loc":{"start":{"line":108,"column":59},"end":{"line":111,"column":13}},"line":108},"16":{"name":"(anonymous_16)","decl":{"start":{"line":117,"column":28},"end":{"line":117,"column":29}},"loc":{"start":{"line":117,"column":33},"end":{"line":117,"column":52}},"line":117},"17":{"name":"(anonymous_17)","decl":{"start":{"line":119,"column":46},"end":{"line":119,"column":47}},"loc":{"start":{"line":119,"column":55},"end":{"line":119,"column":64}},"line":119},"18":{"name":"(anonymous_18)","decl":{"start":{"line":120,"column":28},"end":{"line":120,"column":29}},"loc":{"start":{"line":120,"column":35},"end":{"line":120,"column":83}},"line":120},"19":{"name":"checkDropSubfields","decl":{"start":{"line":132,"column":11},"end":{"line":132,"column":29}},"loc":{"start":{"line":132,"column":38},"end":{"line":139,"column":3}},"line":132},"20":{"name":"(anonymous_20)","decl":{"start":{"line":134,"column":28},"end":{"line":134,"column":29}},"loc":{"start":{"line":134,"column":35},"end":{"line":134,"column":100}},"line":134},"21":{"name":"(anonymous_21)","decl":{"start":{"line":135,"column":24},"end":{"line":135,"column":25}},"loc":{"start":{"line":135,"column":36},"end":{"line":135,"column":140}},"line":135},"22":{"name":"(anonymous_22)","decl":{"start":{"line":135,"column":81},"end":{"line":135,"column":82}},"loc":{"start":{"line":135,"column":95},"end":{"line":135,"column":138}},"line":135}},"branchMap":{"0":{"loc":{"start":{"line":42,"column":29},"end":{"line":42,"column":52}},"type":"default-arg","locations":[{"start":{"line":42,"column":47},"end":{"line":42,"column":52}}],"line":42},"1":{"loc":{"start":{"line":42,"column":54},"end":{"line":42,"column":75}},"type":"default-arg","locations":[{"start":{"line":42,"column":73},"end":{"line":42,"column":75}}],"line":42},"2":{"loc":{"start":{"line":42,"column":77},"end":{"line":42,"column":95}},"type":"default-arg","locations":[{"start":{"line":42,"column":93},"end":{"line":42,"column":95}}],"line":42},"3":{"loc":{"start":{"line":55,"column":4},"end":{"line":59,"column":5}},"type":"if","locations":[{"start":{"line":55,"column":4},"end":{"line":59,"column":5}},{"start":{"line":55,"column":4},"end":{"line":59,"column":5}}],"line":55},"4":{"loc":{"start":{"line":64,"column":4},"end":{"line":127,"column":5}},"type":"if","locations":[{"start":{"line":64,"column":4},"end":{"line":127,"column":5}},{"start":{"line":64,"column":4},"end":{"line":127,"column":5}}],"line":64},"5":{"loc":{"start":{"line":66,"column":8},"end":{"line":69,"column":9}},"type":"if","locations":[{"start":{"line":66,"column":8},"end":{"line":69,"column":9}},{"start":{"line":66,"column":8},"end":{"line":69,"column":9}}],"line":66},"6":{"loc":{"start":{"line":70,"column":8},"end":{"line":73,"column":9}},"type":"if","locations":[{"start":{"line":70,"column":8},"end":{"line":73,"column":9}},{"start":{"line":70,"column":8},"end":{"line":73,"column":9}}],"line":70},"7":{"loc":{"start":{"line":87,"column":10},"end":{"line":95,"column":11}},"type":"if","locations":[{"start":{"line":87,"column":10},"end":{"line":95,"column":11}},{"start":{"line":87,"column":10},"end":{"line":95,"column":11}}],"line":87},"8":{"loc":{"start":{"line":87,"column":14},"end":{"line":90,"column":47}},"type":"binary-expr","locations":[{"start":{"line":87,"column":14},"end":{"line":87,"column":41}},{"start":{"line":88,"column":12},"end":{"line":88,"column":45}},{"start":{"line":89,"column":12},"end":{"line":89,"column":47}},{"start":{"line":90,"column":12},"end":{"line":90,"column":47}}],"line":87},"9":{"loc":{"start":{"line":97,"column":10},"end":{"line":102,"column":11}},"type":"if","locations":[{"start":{"line":97,"column":10},"end":{"line":102,"column":11}},{"start":{"line":97,"column":10},"end":{"line":102,"column":11}}],"line":97},"10":{"loc":{"start":{"line":97,"column":14},"end":{"line":100,"column":73}},"type":"binary-expr","locations":[{"start":{"line":97,"column":14},"end":{"line":97,"column":47}},{"start":{"line":98,"column":14},"end":{"line":98,"column":49}},{"start":{"line":99,"column":14},"end":{"line":99,"column":49}},{"start":{"line":100,"column":14},"end":{"line":100,"column":73}}],"line":97},"11":{"loc":{"start":{"line":118,"column":6},"end":{"line":122,"column":7}},"type":"if","locations":[{"start":{"line":118,"column":6},"end":{"line":122,"column":7}},{"start":{"line":118,"column":6},"end":{"line":122,"column":7}}],"line":118},"12":{"loc":{"start":{"line":123,"column":6},"end":{"line":126,"column":7}},"type":"if","locations":[{"start":{"line":123,"column":6},"end":{"line":126,"column":7}},{"start":{"line":123,"column":6},"end":{"line":126,"column":7}}],"line":123},"13":{"loc":{"start":{"line":133,"column":4},"end":{"line":136,"column":5}},"type":"if","locations":[{"start":{"line":133,"column":4},"end":{"line":136,"column":5}},{"start":{"line":133,"column":4},"end":{"line":136,"column":5}}],"line":133}},"s":{"0":9,"1":9,"2":9,"3":9,"4":9,"5":9,"6":18,"7":9,"8":18,"9":9,"10":2,"11":5,"12":2,"13":5,"14":2,"15":7,"16":6,"17":12,"18":3,"19":3,"20":9,"21":9,"22":9,"23":6,"24":3,"25":3,"26":3,"27":14,"28":3,"29":6,"30":3,"31":6,"32":3,"33":11,"34":6,"35":38,"36":14,"37":14,"38":24,"39":24,"40":6,"41":6,"42":5,"43":6,"44":3,"45":5,"46":3,"47":5,"48":3,"49":3,"50":3,"51":3,"52":1,"53":1,"54":9,"55":1,"56":2,"57":1,"58":2,"59":5,"60":8,"61":8},"f":{"0":9,"1":9,"2":9,"3":18,"4":18,"5":5,"6":5,"7":12,"8":6,"9":3,"10":14,"11":6,"12":6,"13":38,"14":14,"15":24,"16":5,"17":5,"18":5,"19":9,"20":2,"21":2,"22":5},"b":{"0":[7],"1":[8],"2":[8],"3":[2,7],"4":[6,1],"5":[3,9],"6":[9,0],"7":[3,11],"8":[14,3,3,3],"9":[6,5],"10":[11,11,11,11],"11":[3,3],"12":[3,0],"13":[1,8]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"cd875b9856aff1192faffe889e4d62821888e99b","contentHash":"2f1037d59dde66cacdc378f40e146680d993d783f06112ba76f9e310c0b212de"},"/drone/src/src/reducers/select.js":{"path":"/drone/src/src/reducers/select.js","statementMap":{"0":{"start":{"line":51,"column":2},"end":{"line":52,"column":38}},"1":{"start":{"line":56,"column":2},"end":{"line":57,"column":103}},"2":{"start":{"line":60,"column":68},"end":{"line":153,"column":1}},"3":{"start":{"line":61,"column":16},"end":{"line":61,"column":64}},"4":{"start":{"line":62,"column":21},"end":{"line":62,"column":41}},"5":{"start":{"line":63,"column":23},"end":{"line":63,"column":45}},"6":{"start":{"line":64,"column":19},"end":{"line":64,"column":55}},"7":{"start":{"line":64,"column":45},"end":{"line":64,"column":54}},"8":{"start":{"line":65,"column":2},"end":{"line":65,"column":39}},"9":{"start":{"line":67,"column":2},"end":{"line":67,"column":29}},"10":{"start":{"line":68,"column":2},"end":{"line":68,"column":31}},"11":{"start":{"line":70,"column":2},"end":{"line":74,"column":3}},"12":{"start":{"line":71,"column":4},"end":{"line":71,"column":47}},"13":{"start":{"line":72,"column":4},"end":{"line":72,"column":32}},"14":{"start":{"line":73,"column":4},"end":{"line":73,"column":16}},"15":{"start":{"line":75,"column":22},"end":{"line":75,"column":32}},"16":{"start":{"line":76,"column":24},"end":{"line":76,"column":36}},"17":{"start":{"line":78,"column":2},"end":{"line":82,"column":3}},"18":{"start":{"line":79,"column":4},"end":{"line":79,"column":85}},"19":{"start":{"line":80,"column":4},"end":{"line":80,"column":32}},"20":{"start":{"line":81,"column":4},"end":{"line":81,"column":16}},"21":{"start":{"line":83,"column":19},"end":{"line":83,"column":38}},"22":{"start":{"line":84,"column":21},"end":{"line":84,"column":42}},"23":{"start":{"line":86,"column":29},"end":{"line":87,"column":75}},"24":{"start":{"line":87,"column":29},"end":{"line":87,"column":73}},"25":{"start":{"line":89,"column":31},"end":{"line":90,"column":75}},"26":{"start":{"line":90,"column":29},"end":{"line":90,"column":73}},"27":{"start":{"line":93,"column":29},"end":{"line":95,"column":78}},"28":{"start":{"line":94,"column":28},"end":{"line":95,"column":77}},"29":{"start":{"line":95,"column":30},"end":{"line":95,"column":76}},"30":{"start":{"line":96,"column":2},"end":{"line":96,"column":83}},"31":{"start":{"line":99,"column":31},"end":{"line":101,"column":76}},"32":{"start":{"line":100,"column":30},"end":{"line":101,"column":75}},"33":{"start":{"line":101,"column":28},"end":{"line":101,"column":74}},"34":{"start":{"line":102,"column":2},"end":{"line":102,"column":87}},"35":{"start":{"line":104,"column":2},"end":{"line":108,"column":3}},"36":{"start":{"line":105,"column":4},"end":{"line":105,"column":53}},"37":{"start":{"line":106,"column":4},"end":{"line":106,"column":32}},"38":{"start":{"line":107,"column":4},"end":{"line":107,"column":16}},"39":{"start":{"line":110,"column":2},"end":{"line":122,"column":3}},"40":{"start":{"line":111,"column":4},"end":{"line":111,"column":40}},"41":{"start":{"line":112,"column":36},"end":{"line":114,"column":42}},"42":{"start":{"line":113,"column":24},"end":{"line":113,"column":36}},"43":{"start":{"line":114,"column":30},"end":{"line":114,"column":41}},"44":{"start":{"line":115,"column":38},"end":{"line":117,"column":42}},"45":{"start":{"line":116,"column":24},"end":{"line":116,"column":36}},"46":{"start":{"line":117,"column":30},"end":{"line":117,"column":41}},"47":{"start":{"line":119,"column":4},"end":{"line":121,"column":5}},"48":{"start":{"line":120,"column":6},"end":{"line":120,"column":51}},"49":{"start":{"line":124,"column":2},"end":{"line":126,"column":3}},"50":{"start":{"line":125,"column":4},"end":{"line":125,"column":49}},"51":{"start":{"line":128,"column":2},"end":{"line":128,"column":30}},"52":{"start":{"line":129,"column":2},"end":{"line":129,"column":14}},"53":{"start":{"line":132,"column":18},"end":{"line":132,"column":69}},"54":{"start":{"line":132,"column":49},"end":{"line":132,"column":68}},"55":{"start":{"line":133,"column":4},"end":{"line":133,"column":46}},"56":{"start":{"line":134,"column":4},"end":{"line":134,"column":64}},"57":{"start":{"line":135,"column":4},"end":{"line":135,"column":16}},"58":{"start":{"line":139,"column":26},"end":{"line":144,"column":6}},"59":{"start":{"line":140,"column":6},"end":{"line":142,"column":7}},"60":{"start":{"line":141,"column":8},"end":{"line":141,"column":70}},"61":{"start":{"line":143,"column":6},"end":{"line":143,"column":19}},"62":{"start":{"line":145,"column":4},"end":{"line":145,"column":25}},"63":{"start":{"line":150,"column":24},"end":{"line":150,"column":56}},"64":{"start":{"line":151,"column":4},"end":{"line":151,"column":105}}},"fnMap":{"0":{"name":"strictEquality","decl":{"start":{"line":50,"column":16},"end":{"line":50,"column":30}},"loc":{"start":{"line":50,"column":53},"end":{"line":53,"column":1}},"line":50},"1":{"name":"subsetEquality","decl":{"start":{"line":55,"column":16},"end":{"line":55,"column":30}},"loc":{"start":{"line":55,"column":53},"end":{"line":58,"column":1}},"line":55},"2":{"name":"(anonymous_2)","decl":{"start":{"line":60,"column":15},"end":{"line":60,"column":16}},"loc":{"start":{"line":60,"column":68},"end":{"line":153,"column":1}},"line":60},"3":{"name":"(anonymous_3)","decl":{"start":{"line":60,"column":68},"end":{"line":60,"column":69}},"loc":{"start":{"line":60,"column":86},"end":{"line":153,"column":1}},"line":60},"4":{"name":"(anonymous_4)","decl":{"start":{"line":64,"column":36},"end":{"line":64,"column":37}},"loc":{"start":{"line":64,"column":45},"end":{"line":64,"column":54}},"line":64},"5":{"name":"(anonymous_5)","decl":{"start":{"line":87,"column":9},"end":{"line":87,"column":10}},"loc":{"start":{"line":87,"column":29},"end":{"line":87,"column":73}},"line":87},"6":{"name":"(anonymous_6)","decl":{"start":{"line":90,"column":9},"end":{"line":90,"column":10}},"loc":{"start":{"line":90,"column":29},"end":{"line":90,"column":73}},"line":90},"7":{"name":"(anonymous_7)","decl":{"start":{"line":94,"column":12},"end":{"line":94,"column":13}},"loc":{"start":{"line":94,"column":28},"end":{"line":95,"column":77}},"line":94},"8":{"name":"(anonymous_8)","decl":{"start":{"line":95,"column":12},"end":{"line":95,"column":13}},"loc":{"start":{"line":95,"column":30},"end":{"line":95,"column":76}},"line":95},"9":{"name":"(anonymous_9)","decl":{"start":{"line":100,"column":12},"end":{"line":100,"column":13}},"loc":{"start":{"line":100,"column":30},"end":{"line":101,"column":75}},"line":100},"10":{"name":"(anonymous_10)","decl":{"start":{"line":101,"column":12},"end":{"line":101,"column":13}},"loc":{"start":{"line":101,"column":28},"end":{"line":101,"column":74}},"line":101},"11":{"name":"(anonymous_11)","decl":{"start":{"line":113,"column":11},"end":{"line":113,"column":12}},"loc":{"start":{"line":113,"column":24},"end":{"line":113,"column":36}},"line":113},"12":{"name":"(anonymous_12)","decl":{"start":{"line":114,"column":14},"end":{"line":114,"column":15}},"loc":{"start":{"line":114,"column":30},"end":{"line":114,"column":41}},"line":114},"13":{"name":"(anonymous_13)","decl":{"start":{"line":116,"column":11},"end":{"line":116,"column":12}},"loc":{"start":{"line":116,"column":24},"end":{"line":116,"column":36}},"line":116},"14":{"name":"(anonymous_14)","decl":{"start":{"line":117,"column":14},"end":{"line":117,"column":15}},"loc":{"start":{"line":117,"column":30},"end":{"line":117,"column":41}},"line":117},"15":{"name":"replaceBasefieldWithSourcefield","decl":{"start":{"line":131,"column":11},"end":{"line":131,"column":42}},"loc":{"start":{"line":131,"column":49},"end":{"line":136,"column":3}},"line":131},"16":{"name":"(anonymous_16)","decl":{"start":{"line":132,"column":40},"end":{"line":132,"column":41}},"loc":{"start":{"line":132,"column":49},"end":{"line":132,"column":68}},"line":132},"17":{"name":"checkFieldType","decl":{"start":{"line":138,"column":11},"end":{"line":138,"column":25}},"loc":{"start":{"line":138,"column":34},"end":{"line":146,"column":3}},"line":138},"18":{"name":"(anonymous_18)","decl":{"start":{"line":139,"column":37},"end":{"line":139,"column":38}},"loc":{"start":{"line":139,"column":46},"end":{"line":144,"column":5}},"line":139},"19":{"name":"normalizeSubfieldValue","decl":{"start":{"line":148,"column":11},"end":{"line":148,"column":33}},"loc":{"start":{"line":148,"column":41},"end":{"line":152,"column":3}},"line":148}},"branchMap":{"0":{"loc":{"start":{"line":51,"column":9},"end":{"line":52,"column":37}},"type":"binary-expr","locations":[{"start":{"line":51,"column":9},"end":{"line":51,"column":42}},{"start":{"line":52,"column":2},"end":{"line":52,"column":37}}],"line":51},"1":{"loc":{"start":{"line":56,"column":9},"end":{"line":57,"column":102}},"type":"binary-expr","locations":[{"start":{"line":56,"column":9},"end":{"line":56,"column":42}},{"start":{"line":57,"column":3},"end":{"line":57,"column":50}},{"start":{"line":57,"column":54},"end":{"line":57,"column":101}}],"line":56},"2":{"loc":{"start":{"line":60,"column":29},"end":{"line":60,"column":62}},"type":"default-arg","locations":[{"start":{},"end":{}}],"line":60},"3":{"loc":{"start":{"line":70,"column":2},"end":{"line":74,"column":3}},"type":"if","locations":[{"start":{"line":70,"column":2},"end":{"line":74,"column":3}},{"start":{"line":70,"column":2},"end":{"line":74,"column":3}}],"line":70},"4":{"loc":{"start":{"line":70,"column":6},"end":{"line":70,"column":54}},"type":"binary-expr","locations":[{"start":{"line":70,"column":6},"end":{"line":70,"column":27}},{"start":{"line":70,"column":31},"end":{"line":70,"column":54}}],"line":70},"5":{"loc":{"start":{"line":78,"column":2},"end":{"line":82,"column":3}},"type":"if","locations":[{"start":{"line":78,"column":2},"end":{"line":82,"column":3}},{"start":{"line":78,"column":2},"end":{"line":82,"column":3}}],"line":78},"6":{"loc":{"start":{"line":104,"column":2},"end":{"line":108,"column":3}},"type":"if","locations":[{"start":{"line":104,"column":2},"end":{"line":108,"column":3}},{"start":{"line":104,"column":2},"end":{"line":108,"column":3}}],"line":104},"7":{"loc":{"start":{"line":104,"column":6},"end":{"line":104,"column":90}},"type":"binary-expr","locations":[{"start":{"line":104,"column":6},"end":{"line":104,"column":43}},{"start":{"line":104,"column":47},"end":{"line":104,"column":90}}],"line":104},"8":{"loc":{"start":{"line":110,"column":2},"end":{"line":122,"column":3}},"type":"if","locations":[{"start":{"line":110,"column":2},"end":{"line":122,"column":3}},{"start":{"line":110,"column":2},"end":{"line":122,"column":3}}],"line":110},"9":{"loc":{"start":{"line":110,"column":6},"end":{"line":110,"column":104}},"type":"binary-expr","locations":[{"start":{"line":110,"column":6},"end":{"line":110,"column":43}},{"start":{"line":110,"column":47},"end":{"line":110,"column":104}}],"line":110},"10":{"loc":{"start":{"line":119,"column":4},"end":{"line":121,"column":5}},"type":"if","locations":[{"start":{"line":119,"column":4},"end":{"line":121,"column":5}},{"start":{"line":119,"column":4},"end":{"line":121,"column":5}}],"line":119},"11":{"loc":{"start":{"line":124,"column":2},"end":{"line":126,"column":3}},"type":"if","locations":[{"start":{"line":124,"column":2},"end":{"line":126,"column":3}},{"start":{"line":124,"column":2},"end":{"line":126,"column":3}}],"line":124},"12":{"loc":{"start":{"line":124,"column":6},"end":{"line":124,"column":90}},"type":"binary-expr","locations":[{"start":{"line":124,"column":6},"end":{"line":124,"column":41}},{"start":{"line":124,"column":45},"end":{"line":124,"column":90}}],"line":124},"13":{"loc":{"start":{"line":140,"column":6},"end":{"line":142,"column":7}},"type":"if","locations":[{"start":{"line":140,"column":6},"end":{"line":142,"column":7}},{"start":{"line":140,"column":6},"end":{"line":142,"column":7}}],"line":140}},"s":{"0":66,"1":22,"2":13,"3":13,"4":13,"5":13,"6":13,"7":15,"8":13,"9":13,"10":13,"11":13,"12":1,"13":1,"14":1,"15":12,"16":12,"17":12,"18":1,"19":1,"20":1,"21":11,"22":11,"23":11,"24":23,"25":11,"26":25,"27":11,"28":23,"29":42,"30":11,"31":11,"32":25,"33":46,"34":11,"35":11,"36":2,"37":2,"38":2,"39":9,"40":5,"41":5,"42":10,"43":5,"44":5,"45":10,"46":5,"47":5,"48":1,"49":8,"50":2,"51":6,"52":6,"53":3,"54":6,"55":3,"56":3,"57":3,"58":26,"59":29,"60":0,"61":29,"62":26,"63":48,"64":48},"f":{"0":66,"1":22,"2":13,"3":13,"4":15,"5":23,"6":25,"7":23,"8":42,"9":25,"10":46,"11":10,"12":5,"13":10,"14":5,"15":3,"16":6,"17":26,"18":29,"19":48},"b":{"0":[66,32],"1":[22,12,4],"2":[10],"3":[1,12],"4":[13,12],"5":[1,11],"6":[2,9],"7":[11,7],"8":[5,4],"9":[9,5],"10":[1,4],"11":[2,6],"12":[8,3],"13":[0,29]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"eaf9dddca6fbdda5d22379ad760aaf228f9d929f","contentHash":"11fa5255c362448f00c6d666b3581d44678315f08ca147ed8ff253874683aab5"}}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":67,"argv":["/usr/local/bin/node","/drone/src/node_modules/.bin/mocha","--require","@babel/register","src/reducers/copy.spec.js","src/reducers/select.spec.js"],"execArgv":[],"cwd":"/drone/src","time":1623928604447,"ppid":56,"coverageFilename":"/drone/src/.nyc_output/72717fff-b4ac-4aef-a145-37cae88e07f8.json","externalId":"","uuid":"72717fff-b4ac-4aef-a145-37cae88e07f8","files":["/drone/src/src/reducers/copy.js","/drone/src/src/reducers/select.js"]}
@@ -1 +0,0 @@
1
- {"processes":{"72717fff-b4ac-4aef-a145-37cae88e07f8":{"parent":null,"children":[]}},"files":{"/drone/src/src/reducers/copy.js":["72717fff-b4ac-4aef-a145-37cae88e07f8"],"/drone/src/src/reducers/select.js":["72717fff-b4ac-4aef-a145-37cae88e07f8"]},"externalIds":{}}
package/LICENSE.txt DELETED
@@ -1,165 +0,0 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
-
9
- This version of the GNU Lesser General Public License incorporates
10
- the terms and conditions of version 3 of the GNU General Public
11
- License, supplemented by the additional permissions listed below.
12
-
13
- 0. Additional Definitions.
14
-
15
- As used herein, "this License" refers to version 3 of the GNU Lesser
16
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
- General Public License.
18
-
19
- "The Library" refers to a covered work governed by this License,
20
- other than an Application or a Combined Work as defined below.
21
-
22
- An "Application" is any work that makes use of an interface provided
23
- by the Library, but which is not otherwise based on the Library.
24
- Defining a subclass of a class defined by the Library is deemed a mode
25
- of using an interface provided by the Library.
26
-
27
- A "Combined Work" is a work produced by combining or linking an
28
- Application with the Library. The particular version of the Library
29
- with which the Combined Work was made is also called the "Linked
30
- Version".
31
-
32
- The "Minimal Corresponding Source" for a Combined Work means the
33
- Corresponding Source for the Combined Work, excluding any source code
34
- for portions of the Combined Work that, considered in isolation, are
35
- based on the Application, and not on the Linked Version.
36
-
37
- The "Corresponding Application Code" for a Combined Work means the
38
- object code and/or source code for the Application, including any data
39
- and utility programs needed for reproducing the Combined Work from the
40
- Application, but excluding the System Libraries of the Combined Work.
41
-
42
- 1. Exception to Section 3 of the GNU GPL.
43
-
44
- You may convey a covered work under sections 3 and 4 of this License
45
- without being bound by section 3 of the GNU GPL.
46
-
47
- 2. Conveying Modified Versions.
48
-
49
- If you modify a copy of the Library, and, in your modifications, a
50
- facility refers to a function or data to be supplied by an Application
51
- that uses the facility (other than as an argument passed when the
52
- facility is invoked), then you may convey a copy of the modified
53
- version:
54
-
55
- a) under this License, provided that you make a good faith effort to
56
- ensure that, in the event an Application does not supply the
57
- function or data, the facility still operates, and performs
58
- whatever part of its purpose remains meaningful, or
59
-
60
- b) under the GNU GPL, with none of the additional permissions of
61
- this License applicable to that copy.
62
-
63
- 3. Object Code Incorporating Material from Library Header Files.
64
-
65
- The object code form of an Application may incorporate material from
66
- a header file that is part of the Library. You may convey such object
67
- code under terms of your choice, provided that, if the incorporated
68
- material is not limited to numerical parameters, data structure
69
- layouts and accessors, or small macros, inline functions and templates
70
- (ten or fewer lines in length), you do both of the following:
71
-
72
- a) Give prominent notice with each copy of the object code that the
73
- Library is used in it and that the Library and its use are
74
- covered by this License.
75
-
76
- b) Accompany the object code with a copy of the GNU GPL and this license
77
- document.
78
-
79
- 4. Combined Works.
80
-
81
- You may convey a Combined Work under terms of your choice that,
82
- taken together, effectively do not restrict modification of the
83
- portions of the Library contained in the Combined Work and reverse
84
- engineering for debugging such modifications, if you also do each of
85
- the following:
86
-
87
- a) Give prominent notice with each copy of the Combined Work that
88
- the Library is used in it and that the Library and its use are
89
- covered by this License.
90
-
91
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
- document.
93
-
94
- c) For a Combined Work that displays copyright notices during
95
- execution, include the copyright notice for the Library among
96
- these notices, as well as a reference directing the user to the
97
- copies of the GNU GPL and this license document.
98
-
99
- d) Do one of the following:
100
-
101
- 0) Convey the Minimal Corresponding Source under the terms of this
102
- License, and the Corresponding Application Code in a form
103
- suitable for, and under terms that permit, the user to
104
- recombine or relink the Application with a modified version of
105
- the Linked Version to produce a modified Combined Work, in the
106
- manner specified by section 6 of the GNU GPL for conveying
107
- Corresponding Source.
108
-
109
- 1) Use a suitable shared library mechanism for linking with the
110
- Library. A suitable mechanism is one that (a) uses at run time
111
- a copy of the Library already present on the user's computer
112
- system, and (b) will operate properly with a modified version
113
- of the Library that is interface-compatible with the Linked
114
- Version.
115
-
116
- e) Provide Installation Information, but only if you would otherwise
117
- be required to provide such information under section 6 of the
118
- GNU GPL, and only to the extent that such information is
119
- necessary to install and execute a modified version of the
120
- Combined Work produced by recombining or relinking the
121
- Application with a modified version of the Linked Version. (If
122
- you use option 4d0, the Installation Information must accompany
123
- the Minimal Corresponding Source and Corresponding Application
124
- Code. If you use option 4d1, you must provide the Installation
125
- Information in the manner specified by section 6 of the GNU GPL
126
- for conveying Corresponding Source.)
127
-
128
- 5. Combined Libraries.
129
-
130
- You may place library facilities that are a work based on the
131
- Library side by side in a single library together with other library
132
- facilities that are not Applications and are not covered by this
133
- License, and convey such a combined library under terms of your
134
- choice, if you do both of the following:
135
-
136
- a) Accompany the combined library with a copy of the same work based
137
- on the Library, uncombined with any other library facilities,
138
- conveyed under the terms of this License.
139
-
140
- b) Give prominent notice with the combined library that part of it
141
- is a work based on the Library, and explaining where to find the
142
- accompanying uncombined form of the same work.
143
-
144
- 6. Revised Versions of the GNU Lesser General Public License.
145
-
146
- The Free Software Foundation may publish revised and/or new versions
147
- of the GNU Lesser General Public License from time to time. Such new
148
- versions will be similar in spirit to the present version, but may
149
- differ in detail to address new problems or concerns.
150
-
151
- Each version is given a distinguishing version number. If the
152
- Library as you received it specifies that a certain numbered version
153
- of the GNU Lesser General Public License "or any later version"
154
- applies to it, you have the option of following the terms and
155
- conditions either of that published version or of any later version
156
- published by the Free Software Foundation. If the Library as you
157
- received it does not specify a version number of the GNU Lesser
158
- General Public License, you may choose any version of the GNU Lesser
159
- General Public License ever published by the Free Software Foundation.
160
-
161
- If the Library as you received it specifies that a proxy can decide
162
- whether future versions of the GNU Lesser General Public License shall
163
- apply, that proxy's public statement of acceptance of any version is
164
- permanent authorization for you to choose that version for the
165
- Library.