Skip to content

Commit da6d10a

Browse files
authored
Fixes (#1)
* Resolving windows incompatibilities * chore: Updating vulnerable dependency version
1 parent 1fc7622 commit da6d10a

File tree

3 files changed

+127
-64
lines changed

3 files changed

+127
-64
lines changed

package-lock.json

+123-62
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "npm publish --dry-run",
1515
"prepare": "npm run clean && webpack --bail && tsc --build tsconfig.dist.json tsconfig.dist.es5+esm.json && ts-node tools/esmify.ts dist.es5+esm/*.js dist.es5+esm/*/*.js",
1616
"prepublishOnly": "npm run test:dist",
17-
"clean": "rimraf build dist dist.*",
17+
"clean": "rimraf build dist dist.es5+esm dist.umd",
1818
"test": "mocha 'test/**/*.test.ts'",
1919
"test:dist": "npm run lint && npm run test && npm run test:browser && npm run test:deno",
2020
"test:cover": "npm run cover:clean && npx nyc --no-clean npm run 'test' && npm run cover:report",
@@ -63,6 +63,7 @@
6363
"eslint-config-prettier": "latest",
6464
"eslint-plugin-import": "latest",
6565
"eslint-plugin-tsdoc": "latest",
66+
"glob": "^10.3.10",
6667
"ieee754": "latest",
6768
"karma": "latest",
6869
"karma-chrome-launcher": "latest",

tools/esmify.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
/* eslint-disable no-console */
33

44
import fs from "fs";
5+
import {globSync} from "glob";
56

6-
const files = process.argv.slice(2);
7+
const files = globSync(process.argv.slice(2));
78

89
for (const file of files) {
910
const fileMjs = file.replace(/\.js$/, ".mjs");

0 commit comments

Comments
 (0)