Skip to content

Comments

Gitattributes eol typo#1086

Draft
cursor[bot] wants to merge 3099 commits intounbeta_license_featuresfrom
cursor/gitattributes-eol-typo-efb3
Draft

Gitattributes eol typo#1086
cursor[bot] wants to merge 3099 commits intounbeta_license_featuresfrom
cursor/gitattributes-eol-typo-efb3

Conversation

@cursor
Copy link

@cursor cursor bot commented Feb 21, 2026

Correct eol=lfs to eol=lf in .gitattributes to ensure proper line-ending normalization.


mtorp and others added 26 commits December 9, 2025 09:49
* use proper tmp directory in fix e2e tests

* rename fixture to simple-npm

* create e2e tests for the socket scan reach and socket scan reach --reach-exclude-paths commands

* e2e test --reach-ecosystems

* add requirements.txt fixture

* assert correct recahability structure in one of the e2e tests

* fix lint issues

* add reachability e2e tests to test the --cwd option and target argument

* upgrade @coana-tech/cli to v14.12.117

* fix typo

* ignore all fixtures

* upgrade coana to version 14.12.118

* increase e2e test timeout
* add flag --reach-use-only-pregenerated-sboms

* prepare for 1.1.45

* update @coana-tech/cli to 14.12.122
* update coana to v14.12.126
* fix tags
* add `--debug` option to `socket fix`
bump coana version for better logging when `pnpm install` fails during `socket fix`

* updated descrition for `socket fix` option `--debug`
)

* feat(telemetry): adding initial telemetry functionality to the cli

* feat(cr): cr

---------

Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
…pper (#985)

Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
…king alerts were found. (#986)

This is the expected behaviour based on our docs: https://docs.socket.dev/docs/socket-ci#non-zero-exit-code

Co-authored-by: Graydon Hope <graydonhope@mac.lan>
* Use @socketsecurity/socket-patch for patch command

- Replace inline patch implementation with @socketsecurity/socket-patch@1.0.0
- Use runPatch() from socket-patch/run for programmatic invocation
- Remove deleted handle-patch.mts, manifest-schema.mts, output-patch-result.mts
- Add SOCKET_PATCH_PROXY_URL environment variable support
- Forward socket-cli environment to socket-patch options

* update lockfile

---------

Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
* feat(config): use EditableJson for non-destructive config saving

Use EditableJson for preserving existing properties and key order when
updating config values. This prevents overwriting unrelated config
properties during partial updates.

- Add standalone EditableJson implementation in src/utils/editable-json.mts
- Update config.mts to use EditableJson for config file writes
- Fix socketAppDataPath usage to include config.json filename
- Add resetConfigForTesting() helper for test isolation
- Update tests to use Node.js built-in fs functions

* fix: address PR review feedback

- Preserve JSON formatting by using editor's indent/newline symbols
- Handle deleted config keys explicitly (editor.update only merges)
- Capture config snapshot at write time, not schedule time
- Fix load method create parameter to actually create empty state

* fix: TypeScript compilation errors

- Fix symbol index type errors with type assertions
- Remove unused getDefaultFormatting function
- Add null check for match[1] in detectIndent
- Remove unused contentWithoutImport variable

* fix: ESLint errors in config and editable-json

- Fix import sort order in config.test.mts (promises as fs sorted by alias name)
- Add no-await-in-loop eslint-disable comments for retry loops in editable-json.mts
- Remove unused eslint-disable directive

* chore: remove unused imports from config.test.mts
* add --reach-lazy-mode. update coana to v138

* add missing option validation

---------

Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
* add --silence flag to suppress non-output stdout/stderr when running socket fix

* fix silence bug. debug output to e2e reachability tests

* upgrade coana. fix formatting
…1014)

* set scanType to socket_tier1 when creating reachability full scans

* fix changelog link
* fix(glob): add dot:true to match dotfiles and dot directories

Ensures fastGlob matches files and directories starting with a dot in
gitIgnoreStream and globWorkspace functions.

* fix(glob): add dot:true to micromatch for dot directory matching

Adds { dot: true } option to micromatch.some() calls in
filterBySupportedScanFiles() and isReportSupportedFile() to ensure
patterns like **/poetry.lock match files in dot directories such as
.mcp-servers/neo4j/poetry.lock.

* style: fix linting issues
…1006)

Removes the semver-based Node version check that was filtering manifest
entries, allowing all Socket registry overrides to be applied regardless
of the Node version specified in package engines.
* fix: prevent heap overflow in large monorepo scans

Add streaming-based filtering to globWithGitIgnore to prevent heap overflow
when scanning large monorepos with 100k+ files. Instead of accumulating all
file paths and filtering afterwards, files are now filtered during streaming
which dramatically reduces memory usage.

Changes:
- Add `filter` option to globWithGitIgnore for early filtering during streaming
- Add createSupportedFilesFilter helper to create filter from supported files
- Update getPackageFilesForScan to use streaming filter
- Add comprehensive tests for the new filter functionality

Fixes SMO-522


* Update src/utils/glob.mts

Signed-off-by: John-David Dalton <jdalton@users.noreply.github.com>

---------

Signed-off-by: John-David Dalton <jdalton@users.noreply.github.com>
Co-authored-by: John-David Dalton <jdalton@users.noreply.github.com>
Update socket-patch dependency from v1.0.0 to v1.2.0, which includes:
- Progress spinner for scan command
- Improved test coverage

This update addresses reviewer feedback in depscan PR #16387 regarding
the socket-patch version mismatch.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
License related alerts are no longer experimental
@cursor
Copy link
Author

cursor bot commented Feb 21, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@cursor cursor bot mentioned this pull request Feb 21, 2026
@ammkrn ammkrn force-pushed the unbeta_license_features branch from 600799b to 050cf80 Compare February 21, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.