flaglint 0.5.3 → 0.5.4

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/README.md CHANGED
@@ -1,3 +1,26 @@
1
+ <p align="center">
2
+ <img src="docs/assets/logo.png" alt="FlagLint" width="400" />
3
+ </p>
4
+
5
+ <p align="center">
6
+ <strong>Standardize LaunchDarkly usage on OpenFeature.</strong>
7
+ </p>
8
+
9
+ <p align="center">
10
+ <a href="https://github.com/flaglint/flaglint/actions/workflows/ci.yml">
11
+ <img src="https://github.com/flaglint/flaglint/actions/workflows/ci.yml/badge.svg" alt="CI" />
12
+ </a>
13
+ <a href="https://www.npmjs.com/package/flaglint">
14
+ <img src="https://img.shields.io/npm/v/flaglint.svg" alt="npm version" />
15
+ </a>
16
+ <a href="https://www.npmjs.com/package/flaglint">
17
+ <img src="https://img.shields.io/npm/dm/flaglint.svg" alt="downloads" />
18
+ </a>
19
+ <a href="https://opensource.org/licenses/MIT">
20
+ <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="MIT License" />
21
+ </a>
22
+ </p>
23
+
1
24
  # FlagLint
2
25
 
3
26
  **Standardize LaunchDarkly usage on OpenFeature.**
@@ -6,7 +29,7 @@ FlagLint inventories direct LaunchDarkly Node.js SDK calls, generates reviewable
6
29
  and prevents new vendor-coupled flag access from entering your codebase.
7
30
  LaunchDarkly remains your provider. OpenFeature becomes the evaluation API your application code calls.
8
31
 
9
- **[Documentation](https://flaglint.dev/docs/quickstart)** · **[Quickstart](https://flaglint.dev/docs/quickstart)** · **[Enterprise Demo](https://flaglint.dev/docs/enterprise-demo)** · **[npm](https://npmjs.com/package/flaglint)** · **[Issues](https://github.com/flaglint/flaglint/issues)**
32
+ **[Documentation](https://flaglint.dev/docs)** · **[Quickstart](https://flaglint.dev/docs/quickstart)** · **[Enterprise Demo](https://flaglint.dev/docs/enterprise-demo)** · **[npm](https://npmjs.com/package/flaglint)** · **[Issues](https://github.com/flaglint/flaglint/issues)**
10
33
 
11
34
  ---
12
35
 
@@ -106,4 +129,4 @@ transmitted to any external service. No outbound network connections during scan
106
129
 
107
130
  ## Links
108
131
 
109
- [Security](./SECURITY.md) · [Contributing](./CONTRIBUTING.md) · [Changelog](./CHANGELOG.md) · [License](./LICENSE) · [Full docs](https://flaglint.dev/docs/quickstart)
132
+ [Security](./SECURITY.md) · [Contributing](./CONTRIBUTING.md) · [Changelog](./CHANGELOG.md) · [License](./LICENSE) · [Full docs](https://flaglint.dev/docs)
@@ -763,7 +763,7 @@ function formatHTML(result, options) {
763
763
  <div class="card"><div class="card-num orange">${manualCount}</div><div class="card-label">Manual Review (${manualPct}%)</div></div>
764
764
  <div class="card"><div class="card-num blue">${detailBulkCount}</div><div class="card-label">Detail/Bulk Calls</div></div>` : "";
765
765
  const title = options.title ? esc(options.title) : "FlagLint Scan Report";
766
- const version = true ? "0.5.3" : "0.1.0";
766
+ const version = true ? "0.5.4" : "0.1.0";
767
767
  return `<!DOCTYPE html>
768
768
  <html lang="en">
769
769
  <head>
@@ -1216,7 +1216,7 @@ function formatMigrationReport(analysis) {
1216
1216
  unsupportedUnknownCount
1217
1217
  } = analysis;
1218
1218
  const date = (/* @__PURE__ */ new Date()).toLocaleDateString();
1219
- const version = true ? "0.5.3" : "0.1.0";
1219
+ const version = true ? "0.5.4" : "0.1.0";
1220
1220
  const lines = [];
1221
1221
  lines.push("# OpenFeature Migration Inventory");
1222
1222
  lines.push(`Generated by FlagLint v${version} on ${date}`);
@@ -1980,7 +1980,7 @@ Examples:
1980
1980
  // src/cli.ts
1981
1981
  function createCLI() {
1982
1982
  const program2 = new Command();
1983
- program2.name("flaglint").description("LaunchDarkly Node.js server SDK -> OpenFeature migration.").version("0.5.3", "-v, --version", "output the current version").addHelpText(
1983
+ program2.name("flaglint").description("LaunchDarkly Node.js server SDK -> OpenFeature migration.").version("0.5.4", "-v, --version", "output the current version").addHelpText(
1984
1984
  "after",
1985
1985
  `
1986
1986
  Examples:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flaglint",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "LaunchDarkly Node.js server SDK -> OpenFeature migration.",
5
5
  "type": "module",
6
6
  "bin": {