@natlibfi/melinda-commons 14.0.0-alpha.1 → 14.0.0-alpha.3

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/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { MarcRecord } from "@natlibfi/marc-record";
2
2
  MarcRecord.setValidationOptions({ subfieldValues: false });
3
- import { createSubrecordPicker } from "./subRecordPicker";
4
- export * from "./utils";
5
- export { default as Error } from "./error";
3
+ import { createSubrecordPicker } from "./subRecordPicker.js";
4
+ export * from "./utils.js";
5
+ export { default as Error } from "./error.js";
6
6
  export { createSubrecordPicker };
7
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/index.js"],
4
- "sourcesContent": ["import {MarcRecord} from '@natlibfi/marc-record';\n\n// Aleph creates partial subfields...\nMarcRecord.setValidationOptions({subfieldValues: false});\n\nimport {createSubrecordPicker} from './subRecordPicker';\n\nexport * from './utils';\n\nexport {default as Error} from './error';\nexport {createSubrecordPicker};\n"],
4
+ "sourcesContent": ["import {MarcRecord} from '@natlibfi/marc-record';\n\n// Aleph creates partial subfields...\nMarcRecord.setValidationOptions({subfieldValues: false});\n\nimport {createSubrecordPicker} from './subRecordPicker.js';\n\nexport * from './utils.js';\n\nexport {default as Error} from './error.js';\nexport {createSubrecordPicker};\n"],
5
5
  "mappings": "AAAA,SAAQ,kBAAiB;AAGzB,WAAW,qBAAqB,EAAC,gBAAgB,MAAK,CAAC;AAEvD,SAAQ,6BAA4B;AAEpC,cAAc;AAEd,SAAQ,WAAW,aAAY;AAC/B,SAAQ;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "url": "git@github.com:natlibfi/melinda-commons-js.git"
15
15
  },
16
16
  "license": "MIT",
17
- "version": "14.0.0-alpha.1",
17
+ "version": "14.0.0-alpha.3",
18
18
  "main": "./dist/index.js",
19
19
  "type": "module",
20
20
  "engines": {
@@ -38,13 +38,13 @@
38
38
  "@natlibfi/marc-record": "^10.0.0-alpha.1",
39
39
  "@natlibfi/marc-record-serializers": "^11.0.0-alpha.2",
40
40
  "@natlibfi/sru-client": "^7.0.0-alpha.1",
41
- "debug": "^4.4.1",
42
- "esbuild": "^0.25.8"
41
+ "debug": "^4.4.1"
43
42
  },
44
43
  "devDependencies": {
45
44
  "@natlibfi/fixugen-http-client": "^4.0.0-alpha.1",
46
45
  "@natlibfi/fixura": "^4.0.0-alpha.12",
47
46
  "cross-env": "^7.0.3",
47
+ "esbuild": "^0.25.8",
48
48
  "eslint": "^9.32.0"
49
49
  }
50
50
  }
package/src/index.js CHANGED
@@ -3,9 +3,9 @@ import {MarcRecord} from '@natlibfi/marc-record';
3
3
  // Aleph creates partial subfields...
4
4
  MarcRecord.setValidationOptions({subfieldValues: false});
5
5
 
6
- import {createSubrecordPicker} from './subRecordPicker';
6
+ import {createSubrecordPicker} from './subRecordPicker.js';
7
7
 
8
- export * from './utils';
8
+ export * from './utils.js';
9
9
 
10
- export {default as Error} from './error';
10
+ export {default as Error} from './error.js';
11
11
  export {createSubrecordPicker};