From 4ef47897d8ebaf98ce89799c2f54a45ef8b4c0a8 Mon Sep 17 00:00:00 2001 From: isaacs Date: Sat, 1 Apr 2023 20:40:43 -0700 Subject: [PATCH 1/2] fix another two imports ughhhhh esm and ts are so annoyingggggg --- src/ast.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ast.ts b/src/ast.ts index bfd93d68..e6d5bb0b 100644 --- a/src/ast.ts +++ b/src/ast.ts @@ -1,7 +1,8 @@ // parse a single path portion -import { MinimatchOptions, MMRegExp } from '.' +import { MinimatchOptions, MMRegExp } from './index.js' import { parseClass } from './brace-expressions.js' +import { unescape } from './unescape.js' // classes [] are handled by the parseClass method // for positive extglobs, we sub-parse the contents, and combine, @@ -72,7 +73,6 @@ const star = qmark + '*?' const starNoEmpty = qmark + '+?' // remove the \ chars that we added if we end up doing a nonmagic compare -import { unescape } from './unescape' // const deslash = (s: string) => s.replace(/\\(.)/g, '$1') export class AST { From cb1b69080ca4f972ce913e2a7ea6720a14b96e39 Mon Sep 17 00:00:00 2001 From: isaacs Date: Sat, 1 Apr 2023 20:40:51 -0700 Subject: [PATCH 2/2] 8.0.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 248f5ee2..0f440973 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "minimatch", - "version": "8.0.1", + "version": "8.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "minimatch", - "version": "8.0.1", + "version": "8.0.2", "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" diff --git a/package.json b/package.json index f9acd30f..0dfd7049 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Isaac Z. Schlueter (http://blog.izs.me)", "name": "minimatch", "description": "a glob matcher in javascript", - "version": "8.0.1", + "version": "8.0.2", "repository": { "type": "git", "url": "git://github.com/isaacs/minimatch.git"