@bizon/amazon-ids 5.0.0 → 5.0.1

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/README.md +4 -4
  2. package/package.json +14 -13
package/README.md CHANGED
@@ -24,7 +24,7 @@ npm install --save @bizon/amazon-ids
24
24
  ### `marketplaces`
25
25
 
26
26
  ```js
27
- const { marketplaces } = require("@bizon/amazon-ids");
27
+ import { marketplaces } from "@bizon/amazon-ids";
28
28
 
29
29
  for (const marketplace of marketplaces) {
30
30
  // console.log(marketplace)
@@ -34,7 +34,7 @@ for (const marketplace of marketplaces) {
34
34
  ### `getMarketplaceById(id)`
35
35
 
36
36
  ```js
37
- const { getMarketplaceById } = require("@bizon/amazon-ids");
37
+ import { getMarketplaceById } from "@bizon/amazon-ids";
38
38
 
39
39
  getMarketplaceById("ATVPDKIKX0DER");
40
40
 
@@ -74,7 +74,7 @@ getMarketplaceById("A2ZV50J4W1RKNI");
74
74
  ### `getMarketplaceByCode(code)`
75
75
 
76
76
  ```js
77
- const { getMarketplaceByCode } = require("@bizon/amazon-ids");
77
+ import { getMarketplaceByCode } from "@bizon/amazon-ids";
78
78
 
79
79
  getMarketplaceByCode("DE");
80
80
 
@@ -98,7 +98,7 @@ getMarketplaceByCode("DE");
98
98
  ### `getMarketplaceByDomain(domain)`
99
99
 
100
100
  ```js
101
- const { getMarketplaceByDomain } = require("@bizon/amazon-ids");
101
+ import { getMarketplaceByDomain } from "@bizon/amazon-ids";
102
102
 
103
103
  getMarketplaceByDomain("Amazon.com.mx");
104
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizon/amazon-ids",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Collection of Amazon identifiers",
5
5
  "repository": "https://github.com/bizon/amazon-ids",
6
6
  "author": "Bertrand Marron <bertrand.marron@gmail.com>",
@@ -33,19 +33,20 @@
33
33
  "dev": "tsup --watch"
34
34
  },
35
35
  "devDependencies": {
36
- "@bizon/semantic-release-config": "^3.0.2",
37
- "@jest/types": "^29.6.3",
38
- "@swc/core": "^1.11.13",
39
- "@swc/jest": "^0.2.37",
40
- "@tsconfig/node22": "^22.0.1",
41
- "@types/jest": "^29.5.14",
42
- "@types/node": "^22.13.14",
36
+ "@bizon/semantic-release-config": "^3.1.0",
37
+ "@jest/types": "^30.2.0",
38
+ "@swc/core": "^1.15.8",
39
+ "@swc/jest": "^0.2.39",
40
+ "@tsconfig/node24": "^24.0.3",
41
+ "@types/jest": "^30.0.0",
42
+ "@types/node": "^24.10.4",
43
43
  "eslint-config-xo-bizon": "^3.0.3",
44
- "jest": "^29.7.0",
45
- "semantic-release": "^24.2.3",
44
+ "jest": "^30.2.0",
45
+ "jest-junit": "^16.0.0",
46
+ "semantic-release": "^25.0.2",
46
47
  "ts-node": "^10.9.2",
47
- "tsup": "^8.4.0",
48
- "typescript": "^5.8.2",
48
+ "tsup": "^8.5.1",
49
+ "typescript": "^5.9.3",
49
50
  "xo": "^0.60.0"
50
51
  },
51
52
  "keywords": [
@@ -77,5 +78,5 @@
77
78
  "sourcemap": true,
78
79
  "dts": true
79
80
  },
80
- "packageManager": "pnpm@10.6.4+sha512.da3d715bfd22a9a105e6e8088cfc7826699332ded60c423b14ec613a185f1602206702ff0fe4c438cb15c979081ce4cb02568e364b15174503a63c7a8e2a5f6c"
81
+ "packageManager": "pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8"
81
82
  }