openvino-tokenizers-node 2024.6.0-preview → 2025.1.0

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/README.md CHANGED
@@ -27,4 +27,4 @@ core.addExtension(openvinoTokenizers.path); // Add tokenizers extension
27
27
 
28
28
  [License](https://github.com/openvinotoolkit/openvino/blob/master/LICENSE)
29
29
 
30
- Copyright © 2018-2024 Intel Corporation
30
+ Copyright © 2018-2025 Intel Corporation
@@ -19,19 +19,19 @@ function getPathToBinary(osProps) {
19
19
  __dirname,
20
20
  'bin/runtime',
21
21
  libOrBin(platform),
22
- getDirnameByArch(arch),
22
+ getDirnameByArchAndPlatform(arch, platform),
23
23
  platform === 'linux' ? '' : 'Release',
24
24
  getBinaryFilename(platform),
25
25
  );
26
26
  }
27
27
 
28
- function getDirnameByArch(arch) {
28
+ function getDirnameByArchAndPlatform(arch, platform) {
29
29
  switch (arch) {
30
30
  case 'x64':
31
31
  return 'intel64';
32
32
  case 'arm64':
33
33
  case 'armhf':
34
- return 'arm64';
34
+ return platform === 'darwin' ? 'arm64' : 'aarch64';
35
35
  default:
36
36
  throw new Error(`Unsupported architecture: ${arch}`);
37
37
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "openvino-tokenizers-node",
3
- "version": "2024.6.0-preview",
3
+ "version": "2025.1.0",
4
4
  "description": "OpenVINO™ Tokenizers adds text processing operations to openvino-node package",
5
5
  "repository": {
6
- "url": "https://github.com/openvinotoolkit/openvino.git",
6
+ "url": "https://github.com/openvinotoolkit/openvino_tokenizers.git",
7
7
  "type": "git"
8
8
  },
9
9
  "license": "Apache-2.0",
@@ -20,7 +20,7 @@
20
20
  "test": "node --test ./tests/*.test.js"
21
21
  },
22
22
  "binary": {
23
- "version": "2024.6.0.0",
23
+ "version": "2025.1.0.0",
24
24
  "module_path": "./bin/",
25
25
  "remote_path": "./repositories/openvino_tokenizers/packages/{version}/",
26
26
  "package_name": "openvino_tokenizers_{platform}_{version}_{arch}.{extension}",
@@ -41,6 +41,6 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "adm-zip": "^0.5.16",
44
- "openvino-node": "2024.6.0"
44
+ "openvino-node": "2025.1.0"
45
45
  }
46
46
  }