Skip to content

fix(context): avoid prototype for scopes#899

Merged
harttle merged 1 commit into
masterfrom
fix/disallow-scope-proto
May 15, 2026
Merged

fix(context): avoid prototype for scopes#899
harttle merged 1 commit into
masterfrom
fix/disallow-scope-proto

Conversation

@harttle
Copy link
Copy Markdown
Owner

@harttle harttle commented May 15, 2026

  • Add createScope() building Object.create(null) with optional own props

  • Initialize context stack bottom with createScope() for assign/capture

  • Push null-proto scopes from for, tablerow, block, layout, include (incl. Jekyll)

- Add createScope() building Object.create(null) with optional own props

- Initialize context stack bottom with createScope() for assign/capture

- Push null-proto scopes from for, tablerow, block, layout, include (incl. Jekyll)

Co-authored-by: Cursor <cursoragent@cursor.com>
@harttle harttle changed the title feat(context): null-prototype scope frames via createScope fix(context): avoid prototype for scopes May 15, 2026
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25934047552

Warning

No base build found for commit c20c0af on master.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 99.543%

Details

  • Patch coverage: 18 of 18 lines across 7 files are fully covered (100%).

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 3015
Covered Lines: 3008
Line Coverage: 99.77%
Relevant Branches: 1141
Covered Branches: 1129
Branch Coverage: 98.95%
Branches in Coverage %: Yes
Coverage Strength: 21334.49 hits per line

💛 - Coveralls

@harttle harttle merged commit 47d3f1b into master May 15, 2026
15 checks passed
github-actions Bot pushed a commit that referenced this pull request May 15, 2026
# [10.27.0](v10.26.0...v10.27.0) (2026-05-15)

### Features

* **context:** null-prototype scope frames via createScope ([#899](#899)) ([47d3f1b](47d3f1b))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 10.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants