ccgauge 1.1.1 → 1.1.2

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.
Files changed (109) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/app-build-manifest.json +39 -39
  3. package/.next/standalone/.next/app-path-routes-manifest.json +6 -6
  4. package/.next/standalone/.next/build-manifest.json +2 -2
  5. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  6. package/.next/standalone/.next/server/app/api/blocks/route_client-reference-manifest.js +1 -1
  7. package/.next/standalone/.next/server/app/api/export/usage/route_client-reference-manifest.js +1 -1
  8. package/.next/standalone/.next/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  9. package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  10. package/.next/standalone/.next/server/app/api/scan/route_client-reference-manifest.js +1 -1
  11. package/.next/standalone/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  12. package/.next/standalone/.next/server/app/api/usage/route_client-reference-manifest.js +1 -1
  13. package/.next/standalone/.next/server/app/models/page_client-reference-manifest.js +1 -1
  14. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/.next/server/app/projects/[id]/page_client-reference-manifest.js +1 -1
  16. package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  17. package/.next/standalone/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/.next/server/app/settings/page.js +1 -1
  20. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/.next/server/app/usage/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/.next/server/app-paths-manifest.json +6 -6
  23. package/.next/standalone/.next/server/chunks/567.js +2 -2
  24. package/.next/standalone/.next/server/chunks/716.js +1 -1
  25. package/.next/standalone/.next/server/functions-config-manifest.json +3 -3
  26. package/.next/standalone/.next/server/middleware-manifest.json +1 -1
  27. package/.next/standalone/.next/server/pages/500.html +1 -1
  28. package/.next/standalone/.next/static/chunks/148-edf90b0918345dc2.js +1 -0
  29. package/.next/standalone/.next/static/chunks/app/{layout-78960a03a026ecdf.js → layout-af71188a257674b5.js} +1 -1
  30. package/.next/standalone/.next/static/css/{e69fbe3cba63076e.css → fabb40b2545c70dd.css} +1 -1
  31. package/.next/standalone/package.json +2 -2
  32. package/.next/standalone/public/codex-logo.webp +0 -0
  33. package/CHANGELOG.md +75 -0
  34. package/dist/mcp/server.mjs +2 -2
  35. package/dist/report/index.mjs +36 -8158
  36. package/package.json +2 -2
  37. package/.next/standalone/.next/static/chunks/148-f2cba0b76260b8d3.js +0 -1
  38. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/constants.js +0 -10
  39. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/fontkit/index.js +0 -1
  40. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/format-available-values.js +0 -9
  41. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/fetch-css-from-google-fonts.js +0 -28
  42. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/fetch-font-file.js +0 -24
  43. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/fetch-resource.js +0 -46
  44. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/find-font-files-in-css.js +0 -34
  45. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/font-data.json +0 -17669
  46. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-fallback-font-override-metrics.js +0 -62
  47. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-font-axes.js +0 -66
  48. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-google-fonts-url.js +0 -55
  49. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/get-proxy-agent.js +0 -23
  50. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/google-fonts-metadata.js +0 -8
  51. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/loader.js +0 -175
  52. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/retry.js +0 -18
  53. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/sort-fonts-variant-values.js +0 -26
  54. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/google/validate-google-font-function-call.js +0 -101
  55. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/get-fallback-metrics-from-font-file.js +0 -85
  56. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/loader.js +0 -78
  57. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/pick-font-file-for-fallback-generation.js +0 -85
  58. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/local/validate-local-font-function-call.js +0 -66
  59. package/.next/standalone/node_modules/next/dist/compiled/@next/font/dist/next-font-error.js +0 -11
  60. package/.next/standalone/node_modules/next/dist/compiled/@next/font/google/loader.js +0 -1
  61. package/.next/standalone/node_modules/next/dist/compiled/@next/font/local/loader.js +0 -1
  62. package/.next/standalone/node_modules/next/dist/compiled/@next/font/package.json +0 -1
  63. package/.next/standalone/node_modules/next/dist/compiled/amphtml-validator/index.js +0 -1
  64. package/.next/standalone/node_modules/next/dist/compiled/amphtml-validator/package.json +0 -1
  65. package/.next/standalone/node_modules/next/dist/compiled/amphtml-validator/validator_wasm.js +0 -2672
  66. package/.next/standalone/node_modules/next/dist/compiled/babel/bundle.js +0 -227
  67. package/.next/standalone/node_modules/next/dist/compiled/babel/code-frame.js +0 -1
  68. package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-block-hoist-plugin.js +0 -1
  69. package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-config.js +0 -1
  70. package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-normalize-file.js +0 -1
  71. package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-normalize-opts.js +0 -1
  72. package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-plugin-pass.js +0 -1
  73. package/.next/standalone/node_modules/next/dist/compiled/babel/core.js +0 -1
  74. package/.next/standalone/node_modules/next/dist/compiled/babel/generator.js +0 -1
  75. package/.next/standalone/node_modules/next/dist/compiled/babel/package.json +0 -1
  76. package/.next/standalone/node_modules/next/dist/compiled/babel/parser.js +0 -1
  77. package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-syntax-jsx.js +0 -1
  78. package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-transform-define.js +0 -1
  79. package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-transform-modules-commonjs.js +0 -1
  80. package/.next/standalone/node_modules/next/dist/compiled/babel/preset-typescript.js +0 -1
  81. package/.next/standalone/node_modules/next/dist/compiled/babel/traverse.js +0 -1
  82. package/.next/standalone/node_modules/next/dist/compiled/babel/types.js +0 -1
  83. package/.next/standalone/node_modules/next/dist/compiled/babel-packages/package.json +0 -1
  84. package/.next/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +0 -335
  85. package/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json +0 -181516
  86. package/.next/standalone/node_modules/next/node_modules/@img/sharp-darwin-arm64/LICENSE +0 -191
  87. package/.next/standalone/node_modules/next/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  88. package/.next/standalone/node_modules/next/node_modules/@img/sharp-darwin-arm64/package.json +0 -40
  89. package/.next/standalone/node_modules/next/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +0 -1
  90. package/.next/standalone/node_modules/next/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
  91. package/.next/standalone/node_modules/next/node_modules/@img/sharp-libvips-darwin-arm64/package.json +0 -36
  92. package/.next/standalone/node_modules/next/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +0 -30
  93. package/.next/standalone/node_modules/next/node_modules/sharp/lib/channel.js +0 -177
  94. package/.next/standalone/node_modules/next/node_modules/sharp/lib/colour.js +0 -195
  95. package/.next/standalone/node_modules/next/node_modules/sharp/lib/composite.js +0 -212
  96. package/.next/standalone/node_modules/next/node_modules/sharp/lib/constructor.js +0 -499
  97. package/.next/standalone/node_modules/next/node_modules/sharp/lib/index.js +0 -16
  98. package/.next/standalone/node_modules/next/node_modules/sharp/lib/input.js +0 -809
  99. package/.next/standalone/node_modules/next/node_modules/sharp/lib/is.js +0 -143
  100. package/.next/standalone/node_modules/next/node_modules/sharp/lib/libvips.js +0 -207
  101. package/.next/standalone/node_modules/next/node_modules/sharp/lib/operation.js +0 -1016
  102. package/.next/standalone/node_modules/next/node_modules/sharp/lib/output.js +0 -1666
  103. package/.next/standalone/node_modules/next/node_modules/sharp/lib/resize.js +0 -595
  104. package/.next/standalone/node_modules/next/node_modules/sharp/lib/sharp.js +0 -121
  105. package/.next/standalone/node_modules/next/node_modules/sharp/lib/utility.js +0 -291
  106. package/.next/standalone/node_modules/next/node_modules/sharp/package.json +0 -202
  107. package/.next/standalone/public/codex-logo.png +0 -0
  108. /package/.next/standalone/.next/static/{7PsGBJ1-BFrm7kVcPye-n → EQqRlXV5HyaCYSZWOVllH}/_buildManifest.js +0 -0
  109. /package/.next/standalone/.next/static/{7PsGBJ1-BFrm7kVcPye-n → EQqRlXV5HyaCYSZWOVllH}/_ssgManifest.js +0 -0
@@ -1,143 +0,0 @@
1
- /*!
2
- Copyright 2013 Lovell Fuller and others.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
-
6
- /**
7
- * Is this value defined and not null?
8
- * @private
9
- */
10
- const defined = (val) => typeof val !== 'undefined' && val !== null;
11
-
12
- /**
13
- * Is this value an object?
14
- * @private
15
- */
16
- const object = (val) => typeof val === 'object';
17
-
18
- /**
19
- * Is this value a plain object?
20
- * @private
21
- */
22
- const plainObject = (val) => Object.prototype.toString.call(val) === '[object Object]';
23
-
24
- /**
25
- * Is this value a function?
26
- * @private
27
- */
28
- const fn = (val) => typeof val === 'function';
29
-
30
- /**
31
- * Is this value a boolean?
32
- * @private
33
- */
34
- const bool = (val) => typeof val === 'boolean';
35
-
36
- /**
37
- * Is this value a Buffer object?
38
- * @private
39
- */
40
- const buffer = (val) => val instanceof Buffer;
41
-
42
- /**
43
- * Is this value a typed array object?. E.g. Uint8Array or Uint8ClampedArray?
44
- * @private
45
- */
46
- const typedArray = (val) => {
47
- if (defined(val)) {
48
- switch (val.constructor) {
49
- case Uint8Array:
50
- case Uint8ClampedArray:
51
- case Int8Array:
52
- case Uint16Array:
53
- case Int16Array:
54
- case Uint32Array:
55
- case Int32Array:
56
- case Float32Array:
57
- case Float64Array:
58
- return true;
59
- }
60
- }
61
-
62
- return false;
63
- };
64
-
65
- /**
66
- * Is this value an ArrayBuffer object?
67
- * @private
68
- */
69
- const arrayBuffer = (val) => val instanceof ArrayBuffer;
70
-
71
- /**
72
- * Is this value a non-empty string?
73
- * @private
74
- */
75
- const string = (val) => typeof val === 'string' && val.length > 0;
76
-
77
- /**
78
- * Is this value a real number?
79
- * @private
80
- */
81
- const number = (val) => typeof val === 'number' && !Number.isNaN(val);
82
-
83
- /**
84
- * Is this value an integer?
85
- * @private
86
- */
87
- const integer = (val) => Number.isInteger(val);
88
-
89
- /**
90
- * Is this value within an inclusive given range?
91
- * @private
92
- */
93
- const inRange = (val, min, max) => val >= min && val <= max;
94
-
95
- /**
96
- * Is this value within the elements of an array?
97
- * @private
98
- */
99
- const inArray = (val, list) => list.includes(val);
100
-
101
- /**
102
- * Create an Error with a message relating to an invalid parameter.
103
- *
104
- * @param {string} name - parameter name.
105
- * @param {string} expected - description of the type/value/range expected.
106
- * @param {*} actual - the value received.
107
- * @returns {Error} Containing the formatted message.
108
- * @private
109
- */
110
- const invalidParameterError = (name, expected, actual) => new Error(
111
- `Expected ${expected} for ${name} but received ${actual} of type ${typeof actual}`
112
- );
113
-
114
- /**
115
- * Ensures an Error from C++ contains a JS stack.
116
- *
117
- * @param {Error} native - Error with message from C++.
118
- * @param {Error} context - Error with stack from JS.
119
- * @returns {Error} Error with message and stack.
120
- * @private
121
- */
122
- const nativeError = (native, context) => {
123
- context.message = native.message;
124
- return context;
125
- };
126
-
127
- module.exports = {
128
- defined,
129
- object,
130
- plainObject,
131
- fn,
132
- bool,
133
- buffer,
134
- typedArray,
135
- arrayBuffer,
136
- string,
137
- number,
138
- integer,
139
- inRange,
140
- inArray,
141
- invalidParameterError,
142
- nativeError
143
- };
@@ -1,207 +0,0 @@
1
- /*!
2
- Copyright 2013 Lovell Fuller and others.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
-
6
- const { spawnSync } = require('node:child_process');
7
- const { createHash } = require('node:crypto');
8
- const semverCoerce = require('semver/functions/coerce');
9
- const semverGreaterThanOrEqualTo = require('semver/functions/gte');
10
- const semverSatisfies = require('semver/functions/satisfies');
11
- const detectLibc = require('detect-libc');
12
-
13
- const { config, engines, optionalDependencies } = require('../package.json');
14
-
15
- /* node:coverage ignore next */
16
- const minimumLibvipsVersionLabelled = process.env.npm_package_config_libvips || config.libvips;
17
- const minimumLibvipsVersion = semverCoerce(minimumLibvipsVersionLabelled).version;
18
-
19
- const prebuiltPlatforms = [
20
- 'darwin-arm64', 'darwin-x64',
21
- 'linux-arm', 'linux-arm64', 'linux-ppc64', 'linux-riscv64', 'linux-s390x', 'linux-x64',
22
- 'linuxmusl-arm64', 'linuxmusl-x64',
23
- 'win32-arm64', 'win32-ia32', 'win32-x64'
24
- ];
25
-
26
- const spawnSyncOptions = {
27
- encoding: 'utf8',
28
- shell: true
29
- };
30
-
31
- const log = (item) => {
32
- if (item instanceof Error) {
33
- console.error(`sharp: Installation error: ${item.message}`);
34
- } else {
35
- console.log(`sharp: ${item}`);
36
- }
37
- };
38
-
39
- /* node:coverage ignore next */
40
- const runtimeLibc = () => detectLibc.isNonGlibcLinuxSync() ? detectLibc.familySync() : '';
41
-
42
- const runtimePlatformArch = () => `${process.platform}${runtimeLibc()}-${process.arch}`;
43
-
44
- const buildPlatformArch = () => {
45
- /* node:coverage ignore next 3 */
46
- if (isEmscripten()) {
47
- return 'wasm32';
48
- }
49
- const { npm_config_arch, npm_config_platform, npm_config_libc } = process.env;
50
- const libc = typeof npm_config_libc === 'string' ? npm_config_libc : runtimeLibc();
51
- return `${npm_config_platform || process.platform}${libc}-${npm_config_arch || process.arch}`;
52
- };
53
-
54
- const buildSharpLibvipsIncludeDir = () => {
55
- try {
56
- return require(`@img/sharp-libvips-dev-${buildPlatformArch()}/include`);
57
- } catch {
58
- /* node:coverage ignore next 5 */
59
- try {
60
- return require('@img/sharp-libvips-dev/include');
61
- } catch {}
62
- }
63
- return '';
64
- };
65
-
66
- const buildSharpLibvipsCPlusPlusDir = () => {
67
- /* node:coverage ignore next 4 */
68
- try {
69
- return require('@img/sharp-libvips-dev/cplusplus');
70
- } catch {}
71
- return '';
72
- };
73
-
74
- const buildSharpLibvipsLibDir = () => {
75
- try {
76
- return require(`@img/sharp-libvips-dev-${buildPlatformArch()}/lib`);
77
- } catch {
78
- /* node:coverage ignore next 5 */
79
- try {
80
- return require(`@img/sharp-libvips-${buildPlatformArch()}/lib`);
81
- } catch {}
82
- }
83
- return '';
84
- };
85
-
86
- /* node:coverage disable */
87
-
88
- const isUnsupportedNodeRuntime = () => {
89
- if (process.release?.name === 'node' && process.versions) {
90
- if (!semverSatisfies(process.versions.node, engines.node)) {
91
- return { found: process.versions.node, expected: engines.node };
92
- }
93
- }
94
- };
95
-
96
- const isEmscripten = () => {
97
- const { CC } = process.env;
98
- return Boolean(CC?.endsWith('/emcc'));
99
- };
100
-
101
- const isRosetta = () => {
102
- if (process.platform === 'darwin' && process.arch === 'x64') {
103
- const translated = spawnSync('sysctl sysctl.proc_translated', spawnSyncOptions).stdout;
104
- return (translated || '').trim() === 'sysctl.proc_translated: 1';
105
- }
106
- return false;
107
- };
108
-
109
- /* node:coverage enable */
110
-
111
- const sha512 = (s) => createHash('sha512').update(s).digest('hex');
112
-
113
- const yarnLocator = () => {
114
- try {
115
- const identHash = sha512(`imgsharp-libvips-${buildPlatformArch()}`);
116
- const npmVersion = semverCoerce(optionalDependencies[`@img/sharp-libvips-${buildPlatformArch()}`], {
117
- includePrerelease: true
118
- }).version;
119
- return sha512(`${identHash}npm:${npmVersion}`).slice(0, 10);
120
- } catch {}
121
- return '';
122
- };
123
-
124
- /* node:coverage disable */
125
-
126
- const spawnRebuild = () =>
127
- spawnSync(`node-gyp rebuild --directory=src ${isEmscripten() ? '--nodedir=emscripten' : ''}`, {
128
- ...spawnSyncOptions,
129
- stdio: 'inherit'
130
- }).status;
131
-
132
- const globalLibvipsVersion = () => {
133
- if (process.platform !== 'win32') {
134
- const globalLibvipsVersion = spawnSync('pkg-config --modversion vips-cpp', {
135
- ...spawnSyncOptions,
136
- env: {
137
- ...process.env,
138
- PKG_CONFIG_PATH: pkgConfigPath()
139
- }
140
- }).stdout;
141
- return (globalLibvipsVersion || '').trim();
142
- } else {
143
- return '';
144
- }
145
- };
146
-
147
- /* node:coverage enable */
148
-
149
- const pkgConfigPath = () => {
150
- if (process.platform !== 'win32') {
151
- /* node:coverage ignore next 4 */
152
- const brewPkgConfigPath = spawnSync(
153
- 'which brew >/dev/null 2>&1 && brew environment --plain | grep PKG_CONFIG_LIBDIR | cut -d" " -f2',
154
- spawnSyncOptions
155
- ).stdout || '';
156
- return [
157
- brewPkgConfigPath.trim(),
158
- process.env.PKG_CONFIG_PATH,
159
- '/usr/local/lib/pkgconfig',
160
- '/usr/lib/pkgconfig',
161
- '/usr/local/libdata/pkgconfig',
162
- '/usr/libdata/pkgconfig'
163
- ].filter(Boolean).join(':');
164
- } else {
165
- return '';
166
- }
167
- };
168
-
169
- const skipSearch = (status, reason, logger) => {
170
- if (logger) {
171
- logger(`Detected ${reason}, skipping search for globally-installed libvips`);
172
- }
173
- return status;
174
- };
175
-
176
- const useGlobalLibvips = (logger) => {
177
- if (Boolean(process.env.SHARP_IGNORE_GLOBAL_LIBVIPS) === true) {
178
- return skipSearch(false, 'SHARP_IGNORE_GLOBAL_LIBVIPS', logger);
179
- }
180
- if (Boolean(process.env.SHARP_FORCE_GLOBAL_LIBVIPS) === true) {
181
- return skipSearch(true, 'SHARP_FORCE_GLOBAL_LIBVIPS', logger);
182
- }
183
- /* node:coverage ignore next 3 */
184
- if (isRosetta()) {
185
- return skipSearch(false, 'Rosetta', logger);
186
- }
187
- const globalVipsVersion = globalLibvipsVersion();
188
- /* node:coverage ignore next */
189
- return !!globalVipsVersion && semverGreaterThanOrEqualTo(globalVipsVersion, minimumLibvipsVersion);
190
- };
191
-
192
- module.exports = {
193
- minimumLibvipsVersion,
194
- prebuiltPlatforms,
195
- buildPlatformArch,
196
- buildSharpLibvipsIncludeDir,
197
- buildSharpLibvipsCPlusPlusDir,
198
- buildSharpLibvipsLibDir,
199
- isUnsupportedNodeRuntime,
200
- runtimePlatformArch,
201
- log,
202
- yarnLocator,
203
- spawnRebuild,
204
- globalLibvipsVersion,
205
- pkgConfigPath,
206
- useGlobalLibvips
207
- };