Skip to content

Commit bd34a19

Browse files
Merge pull request #18 from PDFTron/fix-issues-found-when-creating-release
Fixed issue when trying to do release
2 parents 63b1926 + 6594994 commit bd34a19

File tree

3 files changed

+54
-52
lines changed

3 files changed

+54
-52
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pdftron/webviewer-react-toolkit",
3-
"version": "0.7.3",
3+
"version": "0.7.2",
44
"description": "A React component library for integrating with PDFTron WebViewer API.",
55
"license": "SEE LICENSE IN LICENSE",
66
"repository": {
@@ -51,7 +51,7 @@
5151
"classnames": "^2.2.6",
5252
"react-dnd": "^10.0.2",
5353
"react-dnd-html5-backend": "^10.0.2",
54-
"react-dnd-multi-backend": "^5.0.0",
54+
"react-dnd-multi-backend": "^5.0.1",
5555
"react-dnd-touch-backend": "^10.0.2",
5656
"react-motion": "^0.5.2",
5757
"react-virtualized-auto-sizer": "^1.0.2",

webpack.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import OptimizeCSSAssetsPlugin from 'optimize-css-assets-webpack-plugin';
44
import path from 'path';
55
import TerserPlugin from 'terser-webpack-plugin';
66
import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin';
7-
import webpack from 'webpack';
7+
import webpack, { Plugin } from 'webpack';
88
import nodeExternals from 'webpack-node-externals';
99

1010
export const BASE_URL = 'src';
@@ -13,6 +13,8 @@ const SASS_PATH = 'dist/sass';
1313
export const CSS_PATH = 'dist/css';
1414
const LIBRARY_NAME = 'webviewer-react-toolkit';
1515

16+
const miniCssExtractPlugin = new MiniCssExtractPlugin({ filename: `${CSS_PATH}/style.css` });
17+
1618
const config: webpack.Configuration = {
1719
mode: 'production',
1820
entry: [`./${BASE_URL}/index.ts`, `./${BASE_URL}/index.scss`],
@@ -22,7 +24,7 @@ const config: webpack.Configuration = {
2224
},
2325
externals: [nodeExternals()],
2426
plugins: [
25-
new MiniCssExtractPlugin({ filename: `${CSS_PATH}/style.css` }),
27+
miniCssExtractPlugin as unknown as Plugin,
2628
new CopyPlugin([
2729
{
2830
from: `${BASE_URL}/styles/_variables.scss`,

yarn.lock

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
dependencies:
2424
"@babel/highlight" "^7.8.3"
2525

26-
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.14.5":
27-
version "7.14.5"
28-
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb"
29-
integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==
26+
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.14.5", "@babel/code-frame@^7.15.8":
27+
version "7.15.8"
28+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.15.8.tgz#45990c47adadb00c03677baa89221f7cc23d2503"
29+
integrity sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==
3030
dependencies:
3131
"@babel/highlight" "^7.14.5"
3232

@@ -58,32 +58,32 @@
5858
source-map "^0.5.0"
5959

6060
"@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.3", "@babel/core@^7.4.5", "@babel/core@^7.7.4", "@babel/core@^7.7.5":
61-
version "7.15.5"
62-
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9"
63-
integrity sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg==
61+
version "7.15.8"
62+
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.8.tgz#195b9f2bffe995d2c6c159e72fe525b4114e8c10"
63+
integrity sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==
6464
dependencies:
65-
"@babel/code-frame" "^7.14.5"
66-
"@babel/generator" "^7.15.4"
65+
"@babel/code-frame" "^7.15.8"
66+
"@babel/generator" "^7.15.8"
6767
"@babel/helper-compilation-targets" "^7.15.4"
68-
"@babel/helper-module-transforms" "^7.15.4"
68+
"@babel/helper-module-transforms" "^7.15.8"
6969
"@babel/helpers" "^7.15.4"
70-
"@babel/parser" "^7.15.5"
70+
"@babel/parser" "^7.15.8"
7171
"@babel/template" "^7.15.4"
7272
"@babel/traverse" "^7.15.4"
73-
"@babel/types" "^7.15.4"
73+
"@babel/types" "^7.15.6"
7474
convert-source-map "^1.7.0"
7575
debug "^4.1.0"
7676
gensync "^1.0.0-beta.2"
7777
json5 "^2.1.2"
7878
semver "^6.3.0"
7979
source-map "^0.5.0"
8080

81-
"@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.15.4", "@babel/generator@^7.8.4":
82-
version "7.15.4"
83-
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.4.tgz#85acb159a267ca6324f9793986991ee2022a05b0"
84-
integrity sha512-d3itta0tu+UayjEORPNz6e1T3FtvWlP5N4V5M+lhp/CxT4oAA7/NcScnpRyspUMLK6tu9MNHmQHxRykuN2R7hw==
81+
"@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.15.4", "@babel/generator@^7.15.8", "@babel/generator@^7.8.4":
82+
version "7.15.8"
83+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.8.tgz#fa56be6b596952ceb231048cf84ee499a19c0cd1"
84+
integrity sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==
8585
dependencies:
86-
"@babel/types" "^7.15.4"
86+
"@babel/types" "^7.15.6"
8787
jsesc "^2.5.1"
8888
source-map "^0.5.0"
8989

@@ -190,10 +190,10 @@
190190
dependencies:
191191
"@babel/types" "^7.15.4"
192192

193-
"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.14.5", "@babel/helper-module-transforms@^7.15.4":
194-
version "7.15.7"
195-
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.7.tgz#7da80c8cbc1f02655d83f8b79d25866afe50d226"
196-
integrity sha512-ZNqjjQG/AuFfekFTY+7nY4RgBSklgTu970c7Rj3m/JOhIu5KPBUuTA9AY6zaKcUvk4g6EbDXdBnhi35FAssdSw==
193+
"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.14.5", "@babel/helper-module-transforms@^7.15.4", "@babel/helper-module-transforms@^7.15.8":
194+
version "7.15.8"
195+
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz#d8c0e75a87a52e374a8f25f855174786a09498b2"
196+
integrity sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==
197197
dependencies:
198198
"@babel/helper-module-imports" "^7.15.4"
199199
"@babel/helper-replace-supers" "^7.15.4"
@@ -299,10 +299,10 @@
299299
chalk "^2.0.0"
300300
js-tokens "^4.0.0"
301301

302-
"@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.12.7", "@babel/parser@^7.13.12", "@babel/parser@^7.15.0", "@babel/parser@^7.15.4", "@babel/parser@^7.15.5", "@babel/parser@^7.6.0", "@babel/parser@^7.8.4", "@babel/parser@^7.9.6":
303-
version "7.15.7"
304-
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.7.tgz#0c3ed4a2eb07b165dfa85b3cc45c727334c4edae"
305-
integrity sha512-rycZXvQ+xS9QyIcJ9HXeDWf1uxqlbVFAUq0Rq0dbc50Zb/+wUe/ehyfzGfm9KZZF0kBejYgxltBXocP+gKdL2g==
302+
"@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.12.7", "@babel/parser@^7.13.12", "@babel/parser@^7.15.0", "@babel/parser@^7.15.4", "@babel/parser@^7.15.8", "@babel/parser@^7.6.0", "@babel/parser@^7.8.4", "@babel/parser@^7.9.6":
303+
version "7.15.8"
304+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.8.tgz#7bacdcbe71bdc3ff936d510c15dcea7cf0b99016"
305+
integrity sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==
306306

307307
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.15.4":
308308
version "7.15.4"
@@ -313,10 +313,10 @@
313313
"@babel/helper-skip-transparent-expression-wrappers" "^7.15.4"
314314
"@babel/plugin-proposal-optional-chaining" "^7.14.5"
315315

316-
"@babel/plugin-proposal-async-generator-functions@^7.15.4", "@babel/plugin-proposal-async-generator-functions@^7.8.3":
317-
version "7.15.4"
318-
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.4.tgz#f82aabe96c135d2ceaa917feb9f5fca31635277e"
319-
integrity sha512-2zt2g5vTXpMC3OmK6uyjvdXptbhBXfA77XGrd3gh93zwG8lZYBLOBImiGBEG0RANu3JqKEACCz5CGk73OJROBw==
316+
"@babel/plugin-proposal-async-generator-functions@^7.15.8", "@babel/plugin-proposal-async-generator-functions@^7.8.3":
317+
version "7.15.8"
318+
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz#a3100f785fab4357987c4223ab1b02b599048403"
319+
integrity sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==
320320
dependencies:
321321
"@babel/helper-plugin-utils" "^7.14.5"
322322
"@babel/helper-remap-async-to-generator" "^7.15.4"
@@ -857,13 +857,13 @@
857857
dependencies:
858858
"@babel/helper-plugin-utils" "^7.14.5"
859859

860-
"@babel/plugin-transform-spread@^7.14.6", "@babel/plugin-transform-spread@^7.8.3":
861-
version "7.14.6"
862-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.14.6.tgz#6bd40e57fe7de94aa904851963b5616652f73144"
863-
integrity sha512-Zr0x0YroFJku7n7+/HH3A2eIrGMjbmAIbJSVv0IZ+t3U2WUQUA64S/oeied2e+MaGSjmt4alzBCsK9E8gh+fag==
860+
"@babel/plugin-transform-spread@^7.15.8", "@babel/plugin-transform-spread@^7.8.3":
861+
version "7.15.8"
862+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz#79d5aa27f68d700449b2da07691dfa32d2f6d468"
863+
integrity sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==
864864
dependencies:
865865
"@babel/helper-plugin-utils" "^7.14.5"
866-
"@babel/helper-skip-transparent-expression-wrappers" "^7.14.5"
866+
"@babel/helper-skip-transparent-expression-wrappers" "^7.15.4"
867867

868868
"@babel/plugin-transform-sticky-regex@^7.14.5", "@babel/plugin-transform-sticky-regex@^7.8.3":
869869
version "7.14.5"
@@ -887,9 +887,9 @@
887887
"@babel/helper-plugin-utils" "^7.14.5"
888888

889889
"@babel/plugin-transform-typescript@^7.15.0":
890-
version "7.15.4"
891-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.4.tgz#db7a062dcf8be5fc096bc0eeb40a13fbfa1fa251"
892-
integrity sha512-sM1/FEjwYjXvMwu1PJStH11kJ154zd/lpY56NQJ5qH2D0mabMv1CAy/kdvS9RP4Xgfj9fBBA3JiSLdDHgXdzOA==
890+
version "7.15.8"
891+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.8.tgz#ff0e6a47de9b2d58652123ab5a879b2ff20665d8"
892+
integrity sha512-ZXIkJpbaf6/EsmjeTbiJN/yMxWPFWvlr7sEG1P95Xb4S4IBcrf2n7s/fItIhsAmOf8oSh3VJPDppO6ExfAfKRQ==
893893
dependencies:
894894
"@babel/helper-create-class-features-plugin" "^7.15.4"
895895
"@babel/helper-plugin-utils" "^7.14.5"
@@ -977,16 +977,16 @@
977977
semver "^5.5.0"
978978

979979
"@babel/preset-env@^7.1.6", "@babel/preset-env@^7.12.1", "@babel/preset-env@^7.4.5", "@babel/preset-env@^7.8.4":
980-
version "7.15.6"
981-
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.6.tgz#0f3898db9d63d320f21b17380d8462779de57659"
982-
integrity sha512-L+6jcGn7EWu7zqaO2uoTDjjMBW+88FXzV8KvrBl2z6MtRNxlsmUNRlZPaNNPUTgqhyC5DHNFk/2Jmra+ublZWw==
980+
version "7.15.8"
981+
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.8.tgz#f527ce5bcb121cd199f6b502bf23e420b3ff8dba"
982+
integrity sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==
983983
dependencies:
984984
"@babel/compat-data" "^7.15.0"
985985
"@babel/helper-compilation-targets" "^7.15.4"
986986
"@babel/helper-plugin-utils" "^7.14.5"
987987
"@babel/helper-validator-option" "^7.14.5"
988988
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.15.4"
989-
"@babel/plugin-proposal-async-generator-functions" "^7.15.4"
989+
"@babel/plugin-proposal-async-generator-functions" "^7.15.8"
990990
"@babel/plugin-proposal-class-properties" "^7.14.5"
991991
"@babel/plugin-proposal-class-static-block" "^7.15.4"
992992
"@babel/plugin-proposal-dynamic-import" "^7.14.5"
@@ -1041,7 +1041,7 @@
10411041
"@babel/plugin-transform-regenerator" "^7.14.5"
10421042
"@babel/plugin-transform-reserved-words" "^7.14.5"
10431043
"@babel/plugin-transform-shorthand-properties" "^7.14.5"
1044-
"@babel/plugin-transform-spread" "^7.14.6"
1044+
"@babel/plugin-transform-spread" "^7.15.8"
10451045
"@babel/plugin-transform-sticky-regex" "^7.14.5"
10461046
"@babel/plugin-transform-template-literals" "^7.14.5"
10471047
"@babel/plugin-transform-typeof-symbol" "^7.14.5"
@@ -1050,7 +1050,7 @@
10501050
"@babel/preset-modules" "^0.1.4"
10511051
"@babel/types" "^7.15.6"
10521052
babel-plugin-polyfill-corejs2 "^0.2.2"
1053-
babel-plugin-polyfill-corejs3 "^0.2.2"
1053+
babel-plugin-polyfill-corejs3 "^0.2.5"
10541054
babel-plugin-polyfill-regenerator "^0.2.2"
10551055
core-js-compat "^3.16.0"
10561056
semver "^6.3.0"
@@ -1123,9 +1123,9 @@
11231123
regenerator-runtime "^0.13.4"
11241124

11251125
"@babel/standalone@^7.4.5":
1126-
version "7.15.7"
1127-
resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.15.7.tgz#97c04d0dda7c3b2b8d2679957d619ac581471d4d"
1128-
integrity sha512-1dPLi+eQEJE0g1GnUM0Ik2GcS5SMXivoxt6meQxQxGWEd/DCdSBRJClUVlQ25Vbqe49g1HG5Ej0ULhmsqtSMmg==
1126+
version "7.15.8"
1127+
resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.15.8.tgz#3cb40b81892a702968a3e0bba2bdd1115f034876"
1128+
integrity sha512-EF2uQLeuwflnPRGetWH2Z400ITOSK7YbkXIKxY91EWSiOJ8xsbupT3sx3sFRwVyQgjsHSILFDzLcSo/rGspLhQ==
11291129

11301130
"@babel/template@^7.12.7", "@babel/template@^7.15.4", "@babel/template@^7.3.3":
11311131
version "7.15.4"
@@ -4723,7 +4723,7 @@ babel-plugin-polyfill-corejs2@^0.2.2:
47234723
"@babel/helper-define-polyfill-provider" "^0.2.2"
47244724
semver "^6.1.1"
47254725

4726-
babel-plugin-polyfill-corejs3@^0.2.2:
4726+
babel-plugin-polyfill-corejs3@^0.2.5:
47274727
version "0.2.5"
47284728
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz#2779846a16a1652244ae268b1e906ada107faf92"
47294729
integrity sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==
@@ -13539,7 +13539,7 @@ react-dnd-html5-backend@^10.0.2:
1353913539
dependencies:
1354013540
dnd-core "^10.0.2"
1354113541

13542-
react-dnd-multi-backend@^5.0.0:
13542+
react-dnd-multi-backend@^5.0.1:
1354313543
version "5.1.1"
1354413544
resolved "https://registry.yarnpkg.com/react-dnd-multi-backend/-/react-dnd-multi-backend-5.1.1.tgz#1ddb243cea74e41efa3932e6403bb84d0a8cd11b"
1354513545
integrity sha512-u085U6tIAfkFzaBhe0AhZZIhs9Ta1sRcp+S/A7JR81B1TjtPVLYIoTyqCO91wG1Iz5+MEVL88aYuRPayMY4HXQ==

0 commit comments

Comments
 (0)