@openapi-qraft/plugin 2.15.0-beta.7 → 2.15.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @openapi-qraft/plugin
2
2
 
3
+ ## 2.15.0-beta.8
4
+
5
+ ### Minor Changes
6
+
7
+ - 67008b3: Replaced `micromatch` with `picomatch`.
8
+
9
+ ### Patch Changes
10
+
11
+ - @qraft/plugin@1.0.0-beta.7
12
+
3
13
  ## 2.15.0-beta.7
4
14
 
5
15
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import micromatch from 'micromatch';
1
+ import picomatch from 'picomatch';
2
2
  /**
3
3
  * Create a function to match service paths
4
4
  * @param servicesGlob
@@ -15,7 +15,7 @@ export const createServicePathMatch = (servicesGlob) => {
15
15
  ignore: [],
16
16
  });
17
17
  return function isServicePatchMatch(path) {
18
- return micromatch.isMatch(path, servicePathGlobs.match, {
18
+ return picomatch.isMatch(path, servicePathGlobs.match, {
19
19
  ignore: servicePathGlobs.ignore,
20
20
  });
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"createServicePathMatch.js","sourceRoot":"","sources":["../../src/lib/createServicePathMatch.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,YAAsB,EAAE,EAAE;IAC/D,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAG1C,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QACZ,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;YAAE,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;;YACpD,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1B,OAAO,GAAG,CAAC;IACb,CAAC,EACD;QACE,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX,CACF,CAAC;IAEF,OAAO,SAAS,mBAAmB,CAAC,IAAY;QAC9C,OAAO,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC,KAAK,EAAE;YACtD,MAAM,EAAE,gBAAgB,CAAC,MAAM;SAChC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"createServicePathMatch.js","sourceRoot":"","sources":["../../src/lib/createServicePathMatch.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,YAAsB,EAAE,EAAE;IAC/D,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAG1C,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QACZ,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;YAAE,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;;YACpD,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1B,OAAO,GAAG,CAAC;IACb,CAAC,EACD;QACE,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX,CACF,CAAC;IAEF,OAAO,SAAS,mBAAmB,CAAC,IAAY;QAC9C,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC,KAAK,EAAE;YACrD,MAAM,EAAE,gBAAgB,CAAC,MAAM;SAChC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const packageVersion = "2.15.0-beta.7";
1
+ export declare const packageVersion = "2.15.0-beta.8";
2
2
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // This file was generated automatically
2
- export const packageVersion = '2.15.0-beta.7';
2
+ export const packageVersion = '2.15.0-beta.8';
3
3
  //# sourceMappingURL=packageVersion.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-qraft/plugin",
3
- "version": "2.15.0-beta.7",
3
+ "version": "2.15.0-beta.8",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -33,26 +33,26 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@qraft/plugin": "1.0.0-beta.6",
36
+ "@qraft/plugin": "1.0.0-beta.7",
37
37
  "@redocly/openapi-core": "^1.34.11",
38
38
  "ansi-colors": "^4.1.3",
39
39
  "camelcase": "^8.0.0",
40
40
  "commander": "^14.0.3",
41
- "micromatch": "^4.0.8",
42
41
  "openapi-typescript": "^7.13.0",
43
- "ora": "^9.3.0"
42
+ "ora": "^9.3.0",
43
+ "picomatch": "^4.0.4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@openapi-qraft/eslint-config": "1.1.0-beta.0",
47
47
  "@openapi-qraft/test-fixtures": "1.2.0-beta.1",
48
- "@types/micromatch": "^4.0.10",
49
- "@types/node": "^20.19.37",
48
+ "@types/node": "^22.19.17",
49
+ "@types/picomatch": "^4.0.3",
50
50
  "@vitest/coverage-v8": "^4.1.2",
51
- "eslint": "^10.1.0",
51
+ "eslint": "^10.2.0",
52
52
  "memfs": "^4.57.1",
53
53
  "rimraf": "^6.1.3",
54
54
  "typescript": "^5.9.3",
55
- "vitest": "^4.1.2"
55
+ "vitest": "^4.1.4"
56
56
  },
57
57
  "files": [
58
58
  "dist",
@@ -1,4 +1,4 @@
1
- import micromatch from 'micromatch';
1
+ import picomatch from 'picomatch';
2
2
 
3
3
  /**
4
4
  * Create a function to match service paths
@@ -20,7 +20,7 @@ export const createServicePathMatch = (servicesGlob: string[]) => {
20
20
  );
21
21
 
22
22
  return function isServicePatchMatch(path: string) {
23
- return micromatch.isMatch(path, servicePathGlobs.match, {
23
+ return picomatch.isMatch(path, servicePathGlobs.match, {
24
24
  ignore: servicePathGlobs.ignore,
25
25
  });
26
26
  };
@@ -1,2 +1,2 @@
1
1
  // This file was generated automatically
2
- export const packageVersion = '2.15.0-beta.7';
2
+ export const packageVersion = '2.15.0-beta.8';