Skip to content

Commit

Permalink
Fixes (#1)
Browse files Browse the repository at this point in the history
* Resolving windows incompatibilities

* chore: Updating vulnerable dependency version
  • Loading branch information
robdmoore authored Feb 2, 2024
1 parent 1fc7622 commit da6d10a
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 64 deletions.
185 changes: 123 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "npm publish --dry-run",
"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",
"prepublishOnly": "npm run test:dist",
"clean": "rimraf build dist dist.*",
"clean": "rimraf build dist dist.es5+esm dist.umd",
"test": "mocha 'test/**/*.test.ts'",
"test:dist": "npm run lint && npm run test && npm run test:browser && npm run test:deno",
"test:cover": "npm run cover:clean && npx nyc --no-clean npm run 'test' && npm run cover:report",
Expand Down Expand Up @@ -63,6 +63,7 @@
"eslint-config-prettier": "latest",
"eslint-plugin-import": "latest",
"eslint-plugin-tsdoc": "latest",
"glob": "^10.3.10",
"ieee754": "latest",
"karma": "latest",
"karma-chrome-launcher": "latest",
Expand Down
3 changes: 2 additions & 1 deletion tools/esmify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
/* eslint-disable no-console */

import fs from "fs";
import {globSync} from "glob";

const files = process.argv.slice(2);
const files = globSync(process.argv.slice(2));

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

0 comments on commit da6d10a

Please sign in to comment.