Skip to content

Commit

Permalink
chore: remove deprecated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Harminder Virk authored and Harminder Virk committed Dec 18, 2023
1 parent b47505b commit 56596dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"dependencies": {
"chokidar": "^3.5.3",
"emittery": "^1.0.1",
"mem": "^10.0.0",
"memoize": "^10.0.0",
"picomatch": "^3.0.1",
"slash": "^5.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/source_files_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* file that was distributed with this source code.
*/

import mem from 'mem'
import slash from 'slash'
import memoize from 'memoize'
import { join } from 'node:path'
import picomatch from 'picomatch'
import type tsStatic from 'typescript'
Expand Down Expand Up @@ -36,7 +36,7 @@ export class SourceFilesManager {
* A memoized function to match the file path against included and excluded
* picomatch patterns
*/
#matchAgainstPattern = mem((filePath: string) => {
#matchAgainstPattern = memoize((filePath: string) => {
filePath = slash(filePath)

if (!this.#included(filePath)) {
Expand Down

0 comments on commit 56596dd

Please sign in to comment.