Skip to content

Commit

Permalink
Testing keeping require and doing a version bump on strip-ansi
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasavluchinske committed Jan 2, 2024
1 parent 561320a commit 90e3f0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const each = require('lodash.foreach');
const fromPairs = require('lodash.frompairs');
const toPairs = require('lodash.topairs');
const stripAnsi = require('strip-ansi');
// const loadStripAnsi = async () => await import('strip-ansi');
// const stripAnsi = loadStripAnsi();

function getAssetPath(compilation, name) {
return path.join(compilation.getPath(compilation.compiler.outputPath), name.split('?')[0]);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"lodash.frompairs": "^4.0.1",
"lodash.get": "^4.4.2",
"lodash.topairs": "^4.3.0",
"strip-ansi": "^6.0.1"
"strip-ansi": "^7.1.0"
},
"devDependencies": {
"@types/babel__traverse": "7.0.6",
Expand Down

0 comments on commit 90e3f0b

Please sign in to comment.