@canopycanopycanopy/b-ber-reader-react 3.0.8-nav.0 → 3.0.8-next.100

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/index.d.ts CHANGED
@@ -100,7 +100,7 @@ export interface NavigationHeaderProps {
100
100
  uiOptions: UiOptions
101
101
  showSidebar: SidebarName | null
102
102
  spine: Spine
103
- currentSpineItemIndex:number
103
+ currentSpineItemIndex: number
104
104
  metadata: Metadata
105
105
  }
106
106
 
package/package.json CHANGED
@@ -1,22 +1,15 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-reader-react",
3
- "version": "3.0.8-nav.0+24db1e6b",
3
+ "version": "3.0.8-next.100+20b74691",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
- "prepublish": "npm test",
8
- "preversion": "npm test",
9
- "webpack:src": "./scripts/webpack.sh",
10
- "webpack:dist": "NODE_ENV=production ./scripts/webpack.sh",
11
- "clean": "rimraf dist && rimraf stats.json",
12
- "analyze": "./scripts/analyze.sh",
13
- "watch": "./scripts/watch.sh",
14
- "build": "./scripts/build.sh",
15
- "start": "./scripts/start.sh",
7
+ "version": "node ./scripts/version.js",
8
+ "clean": "rimraf dist",
9
+ "build": "vite build --config vite.config.lib.js",
10
+ "start": "vite --config vite.config.js",
16
11
  "test:watch": "jest --watch",
17
12
  "test": "jest",
18
- "webpack": "webpack",
19
- "webpack-bundle-analyzer": "webpack-bundle-analyzer",
20
13
  "bundle": "npm run build && npm pack"
21
14
  },
22
15
  "author": "Triple Canopy <b-ber@canopycanopycanopy.com> (https://triplecanopy.github.io/)",
@@ -25,63 +18,35 @@
25
18
  "access": "public"
26
19
  },
27
20
  "devDependencies": {
28
- "@babel/cli": "^7.10.5",
29
- "@babel/core": "^7.10.5",
30
- "@babel/plugin-proposal-class-properties": "^7.10.4",
31
- "@babel/plugin-proposal-object-rest-spread": "^7.10.4",
32
- "@babel/plugin-proposal-optional-chaining": "^7.10.4",
33
- "@babel/plugin-transform-runtime": "^7.10.5",
34
- "@babel/preset-env": "^7.10.4",
35
- "@babel/preset-react": "^7.10.4",
21
+ "@testing-library/dom": "^10.4.0",
22
+ "@testing-library/react": "^16.3.0",
23
+ "@vitejs/plugin-react": "^6.0.2",
36
24
  "autoprefixer": "^9.6.1",
37
- "babel-eslint": "^8.2.2",
38
- "babel-loader": "^8.2.3",
39
25
  "buffer": "^6.0.3",
40
26
  "concurrently": "^3.5.1",
41
27
  "core-js": "^3.6.4",
42
- "css-loader": "^0.28.10",
43
28
  "cssnano": "^4.1.10",
44
- "eslint": "^7.32.0",
45
- "eslint-config-airbnb": "^19.0.4",
46
- "eslint-config-airbnb-base": "^15.0.0",
47
- "eslint-plugin-babel": "^4.1.2",
48
- "eslint-plugin-import": "^2.22.1",
49
- "eslint-plugin-jsx-a11y": "^6.0.3",
50
- "eslint-plugin-react": "^7.7.0",
51
29
  "express": "^4.17.3",
52
- "file-loader": "^6.2.0",
53
30
  "handlebars": "^4.7.7",
54
- "html-webpack-plugin": "^4.5.2",
55
- "jest": "^26.6.3",
56
- "jest-environment-jsdom": "^23.1.0",
57
- "jest-environment-jsdom-global": "^1.1.0",
31
+ "jest": "^29.7.0",
32
+ "jest-environment-jsdom": "^29.7.0",
33
+ "jest-environment-jsdom-global": "^4.0.0",
58
34
  "material-icons": "^1.0.0",
59
- "mini-css-extract-plugin": "^1.6.2",
60
35
  "nodemon": "^2.0.15",
61
36
  "os-browserify": "^0.3.0",
62
37
  "postcss": "^7.0.14",
63
38
  "postcss-cssnext": "^3.1.0",
64
39
  "postcss-import": "^11.1.0",
65
- "postcss-loader": "^2.1.1",
66
40
  "prop-types": "^15.6.1",
67
- "react-test-renderer": ">=16.4 <=17",
41
+ "react-test-renderer": ">=16.4 <=19",
68
42
  "redux-mock-store": "^1.5.4",
69
43
  "resize-observer-polyfill": "^1.5.0",
70
44
  "rimraf": "^2.7.1",
71
- "sass": "^1.49.8",
72
- "sass-loader": "^13.0.2",
45
+ "sass": "^1.70.0",
73
46
  "setimmediate": "^1.0.5",
74
47
  "stream-browserify": "^3.0.0",
75
- "style-loader": "^0.20.2",
76
- "sugarss": "^1.0.1",
77
48
  "tar": "^6.1.11",
78
- "url-loader": "^4.1.1",
79
- "webpack": "^5.74.0",
80
- "webpack-bundle-analyzer": "^4.6.1",
81
- "webpack-cleanup-plugin": "^0.5.1",
82
- "webpack-cli": "^4.10.0",
83
- "webpack-dev-server": "^4.11.1",
84
- "webpack-remove-empty-scripts": "^1.0.1",
49
+ "vite": "^8.0.16",
85
50
  "xmlhttprequest-ssl": "^2.0.0"
86
51
  },
87
52
  "dependencies": {
@@ -96,15 +61,15 @@
96
61
  "quote": "^0.4.0",
97
62
  "react-attr-converter": "^0.3.1",
98
63
  "react-player": "^2.10.1",
99
- "react-redux": "^7.1.3",
100
- "redux": "^4.0.5",
101
- "redux-thunk": "^2.3.0",
64
+ "react-redux": "^9.2.0",
65
+ "redux": "^5.0.0",
66
+ "redux-thunk": "^3.1.0",
102
67
  "url-search-params-polyfill": "^4.0.0",
103
68
  "xml-js": "^1.6.2"
104
69
  },
105
70
  "peerDependencies": {
106
- "react": ">=16.2.0 <=17",
107
- "react-dom": ">=16.2.0 <=17"
71
+ "react": ">=16.2.0 <=19",
72
+ "react-dom": ">=16.2.0 <=19"
108
73
  },
109
74
  "files": [
110
75
  "dist",
@@ -124,5 +89,5 @@
124
89
  "url": "https://maxwellsimmer.com"
125
90
  }
126
91
  ],
127
- "gitHead": "24db1e6bb491faae0d52c6dadc09d974a5a31cf5"
92
+ "gitHead": "20b746918e81513be00a2f04971b00b296850f61"
128
93
  }
Binary file
Binary file
Binary file
Binary file
@@ -1,46 +0,0 @@
1
- /*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /*!
8
- * The buffer module from node.js, for the browser.
9
- *
10
- * @author Feross Aboukhadijeh <https://feross.org>
11
- * @license MIT
12
- */
13
-
14
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
15
-
16
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
17
-
18
- /*! npm.im/object-fit-images 3.2.4 */
19
-
20
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
21
-
22
- /**
23
- *
24
- *
25
- * @author Jerry Bendy <jerry@icewingcc.com>
26
- * @licence MIT
27
- *
28
- */
29
-
30
- /** @license React v16.13.1
31
- * react-is.production.min.js
32
- *
33
- * Copyright (c) Facebook, Inc. and its affiliates.
34
- *
35
- * This source code is licensed under the MIT license found in the
36
- * LICENSE file in the root directory of this source tree.
37
- */
38
-
39
- /** @license React v17.0.2
40
- * react-is.production.min.js
41
- *
42
- * Copyright (c) Facebook, Inc. and its affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */