Skip to content

feat(affine-js): capability-restricted sandbox loader for untrusted guests#681

Merged
hyperpolymath merged 1 commit into
mainfrom
worktree-affine-js-capability-sandbox
Jul 7, 2026
Merged

feat(affine-js): capability-restricted sandbox loader for untrusted guests#681
hyperpolymath merged 1 commit into
mainfrom
worktree-affine-js-capability-sandbox

feat(affine-js): capability-restricted sandbox loader for untrusted g…

b5a11bb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 7, 2026 in 23s

Annotations

Check failure on line 94 in packages/affine-js/sandbox.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_affinescript&issues=AZ88GrXXQZdd3tcyl0r0&open=AZ88GrXXQZdd3tcyl0r0&pullRequest=681

Check warning on line 151 in packages/affine-js/sandbox.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment of "importObject[imp.module]" from this expression.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_affinescript&issues=AZ88GrXXQZdd3tcyl0r1&open=AZ88GrXXQZdd3tcyl0r1&pullRequest=681