nirs4all 0.2.2 → 0.2.4

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 +10 -6
  2. package/src/index.js +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nirs4all",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Portable nirs4all aggregate binding for JavaScript and WASM",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,7 +24,7 @@
24
24
  "license": "(CECILL-2.1 OR AGPL-3.0-or-later)",
25
25
  "repository": {
26
26
  "type": "git",
27
- "url": "git+https://github.com/GBeurier/nirs4all-lite.git",
27
+ "url": "git+https://github.com/GBeurier/nirs4all-core.git",
28
28
  "directory": "bindings/wasm"
29
29
  },
30
30
  "keywords": [
@@ -44,17 +44,17 @@
44
44
  "@nirs4all/methods-wasm": "*",
45
45
  "dag-ml-data-wasm": "*",
46
46
  "dag-ml-wasm": "*",
47
- "nirs4all-formats-wasm": "*",
48
- "nirs4all-io-wasm": "*"
47
+ "@nirs4all/formats-wasm": "*",
48
+ "@nirs4all/io-wasm": "*"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "@nirs4all/methods-wasm": {
52
52
  "optional": true
53
53
  },
54
- "nirs4all-formats-wasm": {
54
+ "@nirs4all/formats-wasm": {
55
55
  "optional": true
56
56
  },
57
- "nirs4all-io-wasm": {
57
+ "@nirs4all/io-wasm": {
58
58
  "optional": true
59
59
  },
60
60
  "@nirs4all/datasets-wasm": {
@@ -66,5 +66,9 @@
66
66
  "dag-ml-data-wasm": {
67
67
  "optional": true
68
68
  }
69
+ },
70
+ "publishConfig": {
71
+ "access": "public",
72
+ "provenance": true
69
73
  }
70
74
  }
package/src/index.js CHANGED
@@ -13,12 +13,12 @@ export const upstreams = Object.freeze([
13
13
  },
14
14
  {
15
15
  key: 'formats',
16
- candidates: ['nirs4all-formats-wasm'],
16
+ candidates: ['@nirs4all/formats-wasm'],
17
17
  role: 'Spectroscopy/NIRS vendor file readers',
18
18
  },
19
19
  {
20
20
  key: 'io',
21
- candidates: ['nirs4all-io-wasm'],
21
+ candidates: ['@nirs4all/io-wasm'],
22
22
  role: 'Dataset assembly bridge',
23
23
  },
24
24
  {
@@ -201,10 +201,10 @@ function importUpstreamCandidate(candidate) {
201
201
  return import('dag-ml-wasm');
202
202
  case 'dag-ml-data-wasm':
203
203
  return import('dag-ml-data-wasm');
204
- case 'nirs4all-formats-wasm':
205
- return import('nirs4all-formats-wasm');
206
- case 'nirs4all-io-wasm':
207
- return import('nirs4all-io-wasm');
204
+ case '@nirs4all/formats-wasm':
205
+ return import('@nirs4all/formats-wasm');
206
+ case '@nirs4all/io-wasm':
207
+ return import('@nirs4all/io-wasm');
208
208
  case '@nirs4all/datasets-wasm':
209
209
  return import('@nirs4all/datasets-wasm');
210
210
  case '@nirs4all/methods-wasm':