bloom-player 2.0.93 → 2.0.97

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.
@@ -8,7 +8,7 @@
8
8
  </head>
9
9
  <body style="background-color: #2e2e2e;">
10
10
  <div id="root"><span style="color: #d65649">Loading Bloom Player...</span></div>
11
- <script type="text/javascript" src="bloomPlayer-602536b36b54e91753bc.min.js"></script></body>
11
+ <script type="text/javascript" src="bloomPlayer-39bc83d4a8293e743491.min.js"></script></body>
12
12
  <!-- At build time, we insert a script tag pointing at bloomPlayer.min.js but with a hash created at build time,
13
13
  to avoid getting a stale version from a cache (while allowing us to cache it for a long time).
14
14
  It has a style sheet which sets the same color on the body, but it takes a while to fetch and load,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "// The major and minor version numbers shown here are used by the TeamCity build, so they are meaningful.": "",
6
6
  "// Local builds will always get this exact version number, but that should be okay.": "",
7
7
  "// There's no need to update the patch value before committing and merging: the TeamCity process ensures a new patch number for each merge.": "",
8
- "version": "2.0.93",
8
+ "version": "2.0.97",
9
9
  "description": "A library for displaying Bloom books in iframes or WebViews",
10
10
  "main": "bloomPlayer.min.js",
11
11
  "author": "SIL International",
@@ -33,7 +33,7 @@
33
33
  "build": "shx rm -rf dist/ && webpack --config webpack-config-prod.js",
34
34
  "build-dev": "shx rm -rf dist/ && webpack --config webpack.config.js",
35
35
  "tslint": "tslint --project tsconfig.json",
36
- "test": "jest --env=jsdom",
36
+ "test": "jest",
37
37
  "// bloom-library doesn't normally *have* this code; instead, it goes and gets it from s3.": "",
38
38
  "// To make use of this code while you are developing how BP works in BL, you have to uncomment a line in BloomLibrary's readBook-controller.js": "",
39
39
  "// Don't forget to run 'yarn chrome' from bloom-library.": "",
@@ -63,7 +63,7 @@
63
63
  "@storybook/addon-viewport": "^5.1.11",
64
64
  "@storybook/addons": "^5.1.11",
65
65
  "@storybook/react": "^5.1.11",
66
- "@types/jest": "^24.0.11",
66
+ "@types/jest": "^27.4.0",
67
67
  "@types/jquery": "^3.5.5",
68
68
  "@types/jquery.nicescroll": "^3.7.1",
69
69
  "@types/node": "^16.3.1",
@@ -72,7 +72,7 @@
72
72
  "@types/storybook__addon-info": "^4.1.2",
73
73
  "@types/storybook__react": "^4.0.2",
74
74
  "axios": "^0.18.0",
75
- "babel-jest": "^24.7.1",
75
+ "babel-jest": "^27.4.6",
76
76
  "babel-loader": "^8.0.6",
77
77
  "before-build-webpack": "^0.2.11",
78
78
  "concurrently": "^4.1.1",
@@ -83,8 +83,9 @@
83
83
  "file-loader": "^3.0.1",
84
84
  "globule": "^1.2.1",
85
85
  "html-webpack-plugin": "^3.2.0",
86
- "jest": "^24.7.1",
86
+ "jest": "^27.4.7",
87
87
  "jest-teamcity-reporter": "^0.9.0",
88
+ "jest-transform-css": "^3.0.0",
88
89
  "less": "^3.9.0",
89
90
  "less-loader": "^4.1.0",
90
91
  "prettier": "^1.16.4",
@@ -97,7 +98,7 @@
97
98
  "style-scoped": "^0.2.1",
98
99
  "swiper": "^4.5.0",
99
100
  "terser-webpack-plugin": "^1.3.0",
100
- "ts-jest": "^24.0.2",
101
+ "ts-jest": "^27.1.3",
101
102
  "ts-loader": "^5.3.3",
102
103
  "tslint": "^5.15.0",
103
104
  "tslint-config-prettier": "^1.18.0",
@@ -106,7 +107,7 @@
106
107
  "url-loader": "^1.1.2",
107
108
  "webpack": "^4.39.2",
108
109
  "webpack-bundle-analyzer": "^3.3.2",
109
- "webpack-cli": "^4.9.1",
110
+ "webpack-cli": "3.3.0",
110
111
  "webpack-dev-server": "^3.7.2",
111
112
  "webpack-merge": "^4.2.1",
112
113
  "yarn": "^1.15.2"
@@ -119,9 +120,6 @@
119
120
  "dist/*.css",
120
121
  "dist/*.tsv"
121
122
  ],
122
- "jest": {
123
- "testEnvironment": "jsdom"
124
- },
125
123
  "dependencies": {
126
124
  "dynamic-import-polyfill": "^0.1.1",
127
125
  "jquery.nicescroll": "^3.7.6"