Skip to content

Commit 2010c64

Browse files
authored
Fix/util promisify not function (#665)
* Remove assert dependency * add core modules * make esbuild versions fixed * Update change log
1 parent f82f4e0 commit 2010c64

File tree

4 files changed

+21
-63
lines changed

4 files changed

+21
-63
lines changed

Changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ This project does _not_ adhere to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
88
every new version is a new major version.
99

10-
## 68 - 2023-07-05
10+
## 68 - 2023-07-04
1111

1212
### Fixed
1313

14+
- A fresh npm i without `package-lock.json` and no `node_modules` folder
15+
resulted in `util.promisify` is not a function
1416
- Button lost x-padding with the addition of tailwind
1517

1618
## 67 - 2023-07-04

package-lock.json

Lines changed: 4 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,75 +48,74 @@
4848
"@testing-library/react": "10.4.9",
4949
"@types/adm-zip": "^0.5.0",
5050
"@types/date-fns": "^2.6.0",
51-
"@types/enzyme-adapter-react-16": "1.0.6",
5251
"@types/enzyme": "3.10.12",
52+
"@types/enzyme-adapter-react-16": "1.0.6",
5353
"@types/ftp": "0.3.33",
5454
"@types/klaw": "3.0.3",
5555
"@types/lodash.range": "3.2.7",
5656
"@types/mousetrap": "1.6.11",
57+
"@types/react": "17.0.55",
5758
"@types/react-dom": "17.0.19",
5859
"@types/react-redux": "7.1.25",
59-
"@types/react": "17.0.55",
6060
"@types/semver": "7.3.13",
6161
"@types/shasum": "1.0.0",
6262
"@types/triple-beam": "1.3.2",
6363
"@types/uuid": "8.3.4",
6464
"@typescript-eslint/eslint-plugin": "5.57.1",
6565
"@typescript-eslint/parser": "5.57.1",
6666
"adm-zip": "^0.5.5",
67-
"assert": "2.0.0",
6867
"autoprefixer": "10.4.14",
6968
"bootstrap": "4.6.2",
7069
"commander": "10.0.0",
7170
"date-fns": "2.29.3",
72-
"electron-store": "8.1.0",
7371
"electron": "22.3.5",
72+
"electron-store": "8.1.0",
73+
"enzyme": "3.11.0",
7474
"enzyme-adapter-react-16": "1.15.7",
7575
"enzyme-to-json": "3.6.2",
76-
"enzyme": "3.11.0",
77-
"esbuild-sass-plugin": "^2.9.0",
76+
"esbuild": "0.17.18",
77+
"esbuild-sass-plugin": "2.9.0",
7878
"esbuild-style-plugin": "1.6.2",
79-
"esbuild": "^0.17.18",
79+
"eslint": "8.37.0",
8080
"eslint-config-airbnb": "19.0.4",
8181
"eslint-config-prettier": "8.8.0",
8282
"eslint-import-resolver-typescript": "3.5.5",
8383
"eslint-plugin-import": "2.27.5",
8484
"eslint-plugin-jsx-a11y": "6.7.1",
8585
"eslint-plugin-md": "^1.0.19",
8686
"eslint-plugin-prettier": "^4.2.1",
87-
"eslint-plugin-react-hooks": "4.6.0",
8887
"eslint-plugin-react": "7.32.2",
88+
"eslint-plugin-react-hooks": "4.6.0",
8989
"eslint-plugin-simple-import-sort": "10.0.0",
9090
"eslint-plugin-testing-library": "^5.6.0",
91-
"eslint": "8.37.0",
9291
"events": "3.3.0",
9392
"fast-glob": "3.2.12",
9493
"focus-visible": "5.2.0",
9594
"ftp": "0.3.10",
9695
"husky": "8.0.3",
97-
"jest-environment-jsdom": "29.5.0",
9896
"jest": "29.5.0",
97+
"jest-environment-jsdom": "29.5.0",
9998
"klaw": "4.1.0",
10099
"lodash.range": "3.2.0",
101100
"mousetrap": "1.6.5",
102101
"npm-run-all2": "6.0.5",
103102
"nrf-intel-hex": "^1.3.0",
104-
"postcss-modules": "^6.0.0",
105103
"postcss": "8.4.24",
104+
"postcss-modules": "^6.0.0",
106105
"prettier": "2.8.8",
107106
"prettysize": "2.0.0",
108107
"protobufjs": "^7.0.0",
108+
"react": "16.14.0",
109109
"react-bootstrap": "1.6.6",
110110
"react-dom": "16.14.0",
111111
"react-flip-toolkit": "7.0.17",
112112
"react-markdown": "4.3.1",
113113
"react-redux": "7.2.9",
114114
"react-resize-detector": "6.7.8",
115115
"react-test-renderer": "16.14.0",
116-
"react": "16.14.0",
116+
"redux": "4.2.1",
117117
"redux-devtools-extension": "2.13.9",
118118
"redux-thunk": "2.4.2",
119-
"redux": "4.2.1",
120119
"rimraf": "3.0.2",
121120
"roboto-fontface": "0.10.0",
122121
"semver": "7.3.8",

scripts/esbuild-renderer.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const join = require('path').join;
99
const { sassPlugin, postcssModules } = require('esbuild-sass-plugin');
1010
const esbuild = require('esbuild');
1111
const svgr = require('@svgr/core').transform;
12-
12+
const builtinModules = require('module').builtinModules;
1313
const postCssPlugin = require('esbuild-style-plugin');
1414
const tailwindcss = require('tailwindcss');
1515
const autoprefixer = require('autoprefixer');
@@ -36,21 +36,7 @@ function options(additionalOptions) {
3636
bundle: true,
3737
logLevel: 'info',
3838
external: [
39-
// node
40-
'fs',
41-
'zlib',
42-
'os',
43-
'http',
44-
'child_process',
45-
'crypto',
46-
'path',
47-
'https',
48-
'net',
49-
'stream',
50-
'url',
51-
'module',
52-
'constants',
53-
'buffer',
39+
...builtinModules,
5440

5541
// launcher includes
5642
'electron',

0 commit comments

Comments
 (0)