@sezzle/sezzle-react-widget 3.1.5 → 3.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sezzle/sezzle-react-widget",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "description": "A react component of sezzle widget where props are used to provide config",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -14,30 +14,30 @@
14
14
  "test": "cross-env CI=1 react-scripts test --env=jsdom --passWithNoTests",
15
15
  "test:watch": "react-scripts test --env=jsdom",
16
16
  "build": "rollup -c --bundleConfigAsCjs",
17
- "prepublishOnly": "npm run build",
18
17
  "start": "rollup -c --bundleConfigAsCjs -w",
19
- "predeploy": "cd example && npm install && npm run build",
18
+ "predeploy": "cd example && bun install && bun run build",
20
19
  "deploy": "gh-pages -d example/build",
21
- "translate": "npm run translate:pull && npm run translate:extract && npm run translate:push && echo \"\nPlease wait...\" && sleep 10 && npm run translate:pull",
20
+ "translate": "bun run translate:pull && bun run translate:extract && bun run translate:push && echo \"\nPlease wait...\" && sleep 10 && bun run translate:pull",
22
21
  "translate:extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.{d,spec,test}.{tsx,tsx}' --out-file src/translations/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format simple",
23
- "translate:pull": "PROJECT_ID='6216764765ddb7e40d89d2.91078896' babel-node --presets @babel/preset-env -- internals/scripts/pull_translations.js",
24
- "translate:push": "PROJECT_ID='6216764765ddb7e40d89d2.91078896' babel-node --presets @babel/preset-env -- internals/scripts/push_translations.js"
22
+ "translate:pull": "PROJECT_ID='6216764765ddb7e40d89d2.91078896' bun internals/scripts/pull_translations.js",
23
+ "translate:push": "PROJECT_ID='6216764765ddb7e40d89d2.91078896' bun internals/scripts/push_translations.js"
25
24
  },
25
+ "packageManager": "bun@1.3.10",
26
26
  "peerDependencies": {
27
27
  "prop-types": "^15.8.1",
28
- "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
29
- "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
28
+ "react": "^19.1.0",
29
+ "react-dom": "^19.1.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@babel/core": "^7.25.9",
33
- "@babel/eslint-parser": "^7.25.9",
32
+ "@babel/core": "^7.29.0",
33
+ "@babel/eslint-parser": "^7.28.6",
34
34
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
35
- "@babel/preset-env": "^7.25.9",
36
- "@babel/preset-react": "^7.25.9",
37
- "@rollup/plugin-babel": "^6.0.4",
38
- "@rollup/plugin-commonjs": "^28.0.1",
35
+ "@babel/preset-env": "^7.29.2",
36
+ "@babel/preset-react": "^7.28.5",
37
+ "@rollup/plugin-babel": "^6.1.0",
38
+ "@rollup/plugin-commonjs": "^28.0.9",
39
39
  "@rollup/plugin-json": "^6.1.0",
40
- "@rollup/plugin-node-resolve": "^15.3.0",
40
+ "@rollup/plugin-node-resolve": "^15.3.1",
41
41
  "@rollup/plugin-url": "^8.0.2",
42
42
  "@svgr/rollup": "^8.1.0",
43
43
  "cross-env": "^7.0.3",
@@ -45,11 +45,11 @@
45
45
  "eslint-config-standard": "^17.1.0",
46
46
  "eslint-config-standard-react": "^13.0.0",
47
47
  "eslint-plugin-jsx": "^0.1.0",
48
- "eslint-plugin-react": "^7.37.2",
48
+ "eslint-plugin-react": "^7.37.5",
49
49
  "eslint-plugin-standard": "^5.0.0",
50
- "gh-pages": "^6.2.0",
50
+ "gh-pages": "^6.3.0",
51
51
  "nth-check": "^2.1.1",
52
- "postcss": "^8.4.47",
52
+ "postcss": "^8.5.12",
53
53
  "react-scripts": "^5.0.1",
54
54
  "rollup-plugin-peer-deps-external": "^2.2.4",
55
55
  "rollup-plugin-postcss": "^4.0.2",
@@ -63,7 +63,8 @@
63
63
  "overrides": {
64
64
  "nth-check": "$nth-check",
65
65
  "postcss": "$postcss",
66
- "html-minifier-terser": "npm:html-minifier-next@^4.17.0"
66
+ "html-minifier-terser": "npm:html-minifier-next@^4.17.0",
67
+ "baseline-browser-mapping": "2.10.23"
67
68
  },
68
69
  "files": [
69
70
  "dist"