@quantiya/codevibe-codex-plugin 2.0.6 → 2.0.8
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 +20 -23
- package/dist/server.js +21 -21
- package/hooks/common.sh +506 -19
- package/{bin/codevibe-codex → libexec/companion-launcher} +37 -76
- package/node_modules/@quantiya/codevibe-core/README.md +7 -5
- package/node_modules/@quantiya/codevibe-core/dist/agy-cli-contract.d.ts +14 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +229 -61
- package/node_modules/@quantiya/codevibe-core/dist/appsync/event-throttle.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/index.d.ts +3 -2
- package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +6 -2
- package/node_modules/@quantiya/codevibe-core/dist/auth/auth-telemetry.d.ts +26 -0
- package/node_modules/@quantiya/codevibe-core/dist/auth/keychain-cli.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/auth/vendor-key-cli.d.ts +49 -0
- package/node_modules/@quantiya/codevibe-core/dist/companion-mode/index.d.ts +50 -22
- package/node_modules/@quantiya/codevibe-core/dist/companion-mode/persist-preference.d.ts +1 -5
- package/node_modules/@quantiya/codevibe-core/dist/companion-mode/resolve-agent.d.ts +5 -4
- package/node_modules/@quantiya/codevibe-core/dist/config/config.d.ts +0 -5
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/__tests__/oauth-refresh.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/__tests__/upstream-result-helpers.d.ts +21 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/broker.d.ts +196 -12
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/chatgpt-config.d.ts +40 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/index.d.ts +4 -1
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/oauth-account-lock.d.ts +150 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/oauth-refresh.d.ts +72 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/types.d.ts +165 -17
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/upstream-client.d.ts +3 -2
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/vendor-key-store.d.ts +32 -1
- package/node_modules/@quantiya/codevibe-core/dist/crypto/__tests__/encrypt-for-emit.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/crypto/__tests__/open-prompt-id.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/crypto/encrypt-for-emit.d.ts +39 -0
- package/node_modules/@quantiya/codevibe-core/dist/crypto/index.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/crypto/open-prompt-id.d.ts +36 -0
- package/node_modules/@quantiya/codevibe-core/dist/daemon/__tests__/process-guards.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/daemon/index.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/daemon/process-guards.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/dist/e1/__tests__/prompt-raise.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/e1/index.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/e1/prompt-raise.d.ts +65 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +20 -2
- package/node_modules/@quantiya/codevibe-core/dist/index.js +4543 -288
- package/node_modules/@quantiya/codevibe-core/dist/keychain/__tests__/keychain-manager.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/keychain/__tests__/keychain-migrate.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-backend.d.ts +105 -0
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-manager.d.ts +40 -5
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-migrate.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/anchored-fs.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/bounded-directory.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/bounded-output.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/durable-directory.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/hosted-class-a-sink.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/process-identity.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/process-tree.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/publication-authority-capability.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/reviewer-rationale-flag.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/snapshot-merge.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/workspace-authority-fixture.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/workspace-authority.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/workspace-materializer.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/agentic-disposable-repo.d.ts +23 -6
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/agentic-resolve.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/anchored-fs.d.ts +243 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/bounded-directory.d.ts +64 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/bounded-helper.d.ts +22 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/bounded-output.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/class-a-emit.d.ts +13 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/class-a-sign.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/durable-directory.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/durable-store.d.ts +217 -25
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/group-decision-outcome.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/hosted-class-a-sink.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/implementor-argv.d.ts +89 -7
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/index.d.ts +3 -2
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/local-executor-impl.d.ts +177 -76
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/merge-conflict-resolve.d.ts +19 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/process-identity.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/process-tree.d.ts +123 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/revert-reconcile.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/revert-runner.d.ts +14 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/reviewer-rationale-flag.d.ts +10 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/snapshot-merge.d.ts +124 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/task-group-types.d.ts +7 -6
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/team-execution-flag.d.ts +2 -2
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/track-registry.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/types.d.ts +34 -2
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/build.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/deploy-preflight.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/diff-sanity.d.ts +12 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/hostile-grep.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/lint.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/shell-runner.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/source-traceability.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/tests.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/typecheck.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-runner.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-authority.d.ts +45 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-materializer.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-shadow.d.ts +378 -85
- package/node_modules/@quantiya/codevibe-core/dist/local-model/manager.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-model/ollama.d.ts +40 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/__tests__/detect-agents.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/detect-agents.d.ts +10 -30
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/index.d.ts +1 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/a1a-planner-offers.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/a6-cli-surface.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/advisory-attachment-journal.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/advisory-attachments-dir-race.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/advisory-multi-mention-panel.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/advisory-panel-attachments.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/advisory-quota-stdout-result.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/agent-turn-context-batch.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/bounded-shutdown.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/brainstorm-quorum-wiring.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/brainstorm-quorum.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/cli-team-session-key.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/command-intent.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/context-compaction.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/context-items-hosted-sync.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/context-items-wiring.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/context-items.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/cp8-full-team-events.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/cp8-team-decomposed-zk.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/explicit-tty-exit.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/mention-suggest.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/planner-offer-e1.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/route-browse-summarize-recovery.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/workspace-shutdown.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/advisory-attachment-journal.d.ts +165 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/attachments.d.ts +53 -8
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/bounded-shutdown.d.ts +22 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/brainstorm-quorum.d.ts +118 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +97 -70
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +51847 -33465
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/command-intent.d.ts +56 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/components/InputBar.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/components/OrchestrationApp.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-compaction.d.ts +264 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-items-hosted-sync.d.ts +19 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-items.d.ts +408 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-store.d.ts +162 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/declared-test-runner.d.ts +21 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/emit-shell-event.d.ts +41 -13
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/explicit-tty-exit.d.ts +17 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-decision-submit.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-prompts.d.ts +78 -3
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +309 -37
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/mention-suggest.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/mode-selection.d.ts +4 -22
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/planner-offer-e1.d.ts +97 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +603 -77
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/reducer.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/task-progress.d.ts +17 -4
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/team-decompose.d.ts +47 -29
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/types.d.ts +103 -6
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/workspace-shutdown.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/planner/index.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/planner/local-advisory.d.ts +12 -0
- package/node_modules/@quantiya/codevibe-core/dist/planner/local-gemma.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/planner/types.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/index.d.ts +0 -2
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/output-parser.d.ts +19 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/provider.d.ts +9 -6
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/antigravity.d.ts +2 -3
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/registry.d.ts +9 -4
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/token-usage.d.ts +10 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/types.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/verdict-classifier.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/__tests__/device-registration-lease.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/__tests__/pending-session-create.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/__tests__/session-rekey-fingerprint.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/__tests__/session-resume-key-reconciliation.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/__tests__/session-resume-pending-first.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/device-key-watcher.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/index.d.ts +4 -2
- package/node_modules/@quantiya/codevibe-core/dist/session/pending-session-create.d.ts +61 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/register-device-key.d.ts +11 -1
- package/node_modules/@quantiya/codevibe-core/dist/session/session-rekey.d.ts +8 -8
- package/node_modules/@quantiya/codevibe-core/dist/session/session-resume.d.ts +21 -1
- package/node_modules/@quantiya/codevibe-core/dist/substrate/command-runner.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate/docker.d.ts +14 -32
- package/node_modules/@quantiya/codevibe-core/dist/substrate/index.d.ts +0 -1
- package/node_modules/@quantiya/codevibe-core/dist/substrate/sandbox-exec.d.ts +17 -16
- package/node_modules/@quantiya/codevibe-core/dist/substrate/types.d.ts +39 -5
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/__tests__/reviewer-credential-preflight.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/apikey-bootstrap.d.ts +24 -1
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/engage-substrate.d.ts +20 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/index.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/reviewer-credential-preflight.d.ts +50 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/sanitized-env.d.ts +5 -5
- package/node_modules/@quantiya/codevibe-core/dist/test-publication-authority-setup.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/consolidator.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/digest.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/flock-rollout-lock.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/ledger.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/outbox.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/replay-cursor.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/session-map.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/__tests__/socket-rollout-lock.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/atomic-file.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/consolidator.d.ts +253 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/digest.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/flock-rollout-lock.d.ts +68 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/index.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/ledger.d.ts +274 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/outbox.d.ts +60 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/replay-cursor.d.ts +190 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/session-map.d.ts +133 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/socket-rollout-lock.d.ts +57 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/types.d.ts +368 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/encryption.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/events.d.ts +29 -4
- package/node_modules/@quantiya/codevibe-core/dist/types/session.d.ts +32 -2
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/README.md +207 -163
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/index.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/index.js +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/max.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/max.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/native.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/native.js +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/nil.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/package.json +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/parse.js +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/regex.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/rng.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/sha1.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/stringify.js +39 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/types.d.ts +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/types.js +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v1.js +87 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v3.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v35.js +44 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v4.js +29 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v5.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v6.js +22 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/v7.js +69 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/validate.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/version.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs/version.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/index.js +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/max.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/native.js +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/package.json +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/types.js +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v35.js +44 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v6.js +22 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/cjs-browser/version.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/bin/uuid +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/index.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/{esm-node → esm}/index.js +9 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/max.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/max.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/md5.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/md5.js +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/native.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/native.js +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/nil.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/nil.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/parse.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/parse.js +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/regex.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/regex.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/rng.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/rng.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/sha1.js +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/stringify.js +35 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/types.d.ts +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/types.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v1.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v1.js +83 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v3.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v3.js +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v35.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v35.js +39 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v4.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v4.js +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v5.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v5.js +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v6.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v6.js +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v7.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/v7.js +65 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/validate.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/validate.js +5 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/version.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm/version.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/index.js +9 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/max.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/md5.js +113 -193
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/native.js +1 -3
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/nil.js +1 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/parse.js +6 -32
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/regex.js +1 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/rng.js +6 -13
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/sha1.js +62 -88
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/stringify.js +27 -25
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/types.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v1.js +78 -90
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v3.js +8 -3
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v35.js +30 -57
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v4.js +21 -23
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v5.js +8 -3
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v6.js +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/v7.js +65 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/validate.js +2 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-browser/version.js +5 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/package.json +73 -76
- package/node_modules/@quantiya/codevibe-core/package.json +7 -6
- package/node_modules/fs-ext/.eslintrc +53 -0
- package/node_modules/fs-ext/.github/workflows/node.js.yml +31 -0
- package/node_modules/fs-ext/.travis.yml +25 -0
- package/node_modules/fs-ext/LICENSE.txt +18 -0
- package/node_modules/fs-ext/README.md +130 -0
- package/node_modules/fs-ext/appveyor.yml +20 -0
- package/node_modules/fs-ext/binding.gyp +11 -0
- package/node_modules/fs-ext/build/Makefile +347 -0
- package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +1 -0
- package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +165 -0
- package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
- package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
- package/node_modules/fs-ext/build/binding.Makefile +6 -0
- package/node_modules/fs-ext/build/config.gypi +504 -0
- package/node_modules/fs-ext/build/fs_ext.target.mk +183 -0
- package/node_modules/fs-ext/build/gyp-mac-tool +768 -0
- package/node_modules/fs-ext/example.js +57 -0
- package/node_modules/fs-ext/fs-ext.cc +622 -0
- package/node_modules/fs-ext/fs-ext.js +131 -0
- package/node_modules/fs-ext/package.json +42 -0
- package/node_modules/fs-ext/run_tests.js +17 -0
- package/node_modules/fs-ext/tests/test-fs-fcntl.js +350 -0
- package/node_modules/fs-ext/tests/test-fs-flock.js +452 -0
- package/node_modules/fs-ext/tests/test-fs-flock_stress.js +239 -0
- package/node_modules/fs-ext/tests/test-fs-seek.js +607 -0
- package/node_modules/fs-ext/tests/test-fs-seek_stress.js +313 -0
- package/node_modules/fs-ext/tests/test-fs-statvfs.js +15 -0
- package/node_modules/fs-ext/tests/worker-test.js +56 -0
- package/node_modules/fs-ext/wscript +15 -0
- package/node_modules/nan/.github/workflows/ci.yml +46 -0
- package/node_modules/nan/.pre-commit-config.yaml +8 -0
- package/node_modules/nan/CHANGELOG.md +605 -0
- package/node_modules/nan/CMakeLists.txt +138 -0
- package/node_modules/nan/LICENSE.md +9 -0
- package/node_modules/nan/README.md +457 -0
- package/node_modules/nan/doc/asyncworker.md +146 -0
- package/node_modules/nan/doc/buffers.md +54 -0
- package/node_modules/nan/doc/callback.md +76 -0
- package/node_modules/nan/doc/converters.md +41 -0
- package/node_modules/nan/doc/errors.md +226 -0
- package/node_modules/nan/doc/json.md +62 -0
- package/node_modules/nan/doc/maybe_types.md +583 -0
- package/node_modules/nan/doc/methods.md +689 -0
- package/node_modules/nan/doc/new.md +147 -0
- package/node_modules/nan/doc/node_misc.md +123 -0
- package/node_modules/nan/doc/object_wrappers.md +263 -0
- package/node_modules/nan/doc/persistent.md +296 -0
- package/node_modules/nan/doc/scopes.md +73 -0
- package/node_modules/nan/doc/script.md +58 -0
- package/node_modules/nan/doc/string_bytes.md +81 -0
- package/node_modules/nan/doc/v8_internals.md +211 -0
- package/node_modules/nan/doc/v8_misc.md +85 -0
- package/node_modules/nan/include_dirs.js +1 -0
- package/node_modules/nan/nan.h +3202 -0
- package/node_modules/nan/nan_callbacks.h +141 -0
- package/node_modules/nan/nan_callbacks_12_inl.h +730 -0
- package/node_modules/nan/nan_callbacks_pre_12_inl.h +528 -0
- package/node_modules/nan/nan_converters.h +72 -0
- package/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/node_modules/nan/nan_implementation_12_inl.h +446 -0
- package/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/node_modules/nan/nan_json.h +166 -0
- package/node_modules/nan/nan_maybe_43_inl.h +360 -0
- package/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/node_modules/nan/nan_new.h +340 -0
- package/node_modules/nan/nan_object_wrap.h +156 -0
- package/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/node_modules/nan/nan_private.h +73 -0
- package/node_modules/nan/nan_scriptorigin.h +97 -0
- package/node_modules/nan/nan_string_bytes.h +305 -0
- package/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/node_modules/nan/nan_weak.h +453 -0
- package/node_modules/nan/package.json +38 -0
- package/node_modules/nan/tools/1to2.js +412 -0
- package/node_modules/nan/tools/README.md +14 -0
- package/node_modules/nan/tools/package.json +19 -0
- package/package.json +5 -5
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/orchestration-cli.d.ts +0 -12
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-bootstrap.d.ts +0 -146
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-failure-recourse.d.ts +0 -23
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-save.d.ts +0 -47
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-seat-picker.d.ts +0 -72
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-telemetry.d.ts +0 -54
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-test-agents.d.ts +0 -108
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-types.d.ts +0 -146
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-wizard.d.ts +0 -57
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cohort-flag.d.ts +0 -16
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/providers/gemini.d.ts +0 -109
- package/node_modules/@quantiya/codevibe-core/dist/substrate/git-proxy.d.ts +0 -35
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/CHANGELOG.md +0 -274
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/native.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/stringify.js +0 -33
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v35.js +0 -66
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v4.js +0 -29
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/native-browser.js +0 -11
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/native.js +0 -15
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/rng-browser.js +0 -25
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/stringify.js +0 -44
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v35.js +0 -80
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v4.js +0 -43
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@quantiya/codevibe-core/node_modules/uuid/wrapper.mjs +0 -10
- /package/node_modules/@quantiya/codevibe-core/dist/{companion-mode/__tests__/detect-parallel.test.d.ts → appsync/__tests__/appsync-client-context-items.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration-shell/__tests__/cli-stub-session-adapter.test.d.ts → appsync/__tests__/heartbeat-active.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-bootstrap.test.d.ts → appsync/__tests__/orphan-sweep-null-heartbeat.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-failure-recourse.test.d.ts → appsync/__tests__/refresh-open-prompt-ttl-chunk.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-save.test.d.ts → auth/__tests__/keychain-cli.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-seat-picker.test.d.ts → auth/__tests__/vendor-key-cli.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-telemetry.test.d.ts → companion-mode/__tests__/mode-selected-emit.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-test-agents.test.d.ts → companion-mode/__tests__/private-launcher-detection.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-types.test.d.ts → companion-mode/__tests__/private-launcher-path.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration/__tests__/setup-wizard.test.d.ts → credential-broker/__tests__/broker-c4.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{reviewer/providers/__tests__/gemini-live-smoke.test.d.ts → credential-broker/__tests__/broker-streaming.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{reviewer/providers/__tests__/gemini.test.d.ts → credential-broker/__tests__/chatgpt-config.test.d.ts} +0 -0
- /package/node_modules/@quantiya/codevibe-core/dist/{substrate/__tests__/git-proxy.test.d.ts → credential-broker/__tests__/oauth-account-lock.test.d.ts} +0 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* NAN - Native Abstractions for Node.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 NAN contributors
|
|
5
|
+
*
|
|
6
|
+
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
|
|
7
|
+
********************************************************************/
|
|
8
|
+
|
|
9
|
+
#ifndef NAN_MAYBE_43_INL_H_
|
|
10
|
+
#define NAN_MAYBE_43_INL_H_
|
|
11
|
+
|
|
12
|
+
template<typename T>
|
|
13
|
+
using MaybeLocal = v8::MaybeLocal<T>;
|
|
14
|
+
|
|
15
|
+
inline
|
|
16
|
+
MaybeLocal<v8::String> ToDetailString(v8::Local<v8::Value> val) {
|
|
17
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
18
|
+
v8::EscapableHandleScope scope(isolate);
|
|
19
|
+
return scope.Escape(val->ToDetailString(isolate->GetCurrentContext())
|
|
20
|
+
.FromMaybe(v8::Local<v8::String>()));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
inline
|
|
24
|
+
MaybeLocal<v8::Uint32> ToArrayIndex(v8::Local<v8::Value> val) {
|
|
25
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
26
|
+
v8::EscapableHandleScope scope(isolate);
|
|
27
|
+
return scope.Escape(val->ToArrayIndex(isolate->GetCurrentContext())
|
|
28
|
+
.FromMaybe(v8::Local<v8::Uint32>()));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
inline
|
|
32
|
+
Maybe<bool> Equals(v8::Local<v8::Value> a, v8::Local<v8::Value>(b)) {
|
|
33
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
34
|
+
v8::HandleScope scope(isolate);
|
|
35
|
+
return a->Equals(isolate->GetCurrentContext(), b);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
inline
|
|
39
|
+
MaybeLocal<v8::Object> NewInstance(v8::Local<v8::Function> h) {
|
|
40
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
41
|
+
v8::EscapableHandleScope scope(isolate);
|
|
42
|
+
return scope.Escape(h->NewInstance(isolate->GetCurrentContext())
|
|
43
|
+
.FromMaybe(v8::Local<v8::Object>()));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
inline
|
|
47
|
+
MaybeLocal<v8::Object> NewInstance(
|
|
48
|
+
v8::Local<v8::Function> h
|
|
49
|
+
, int argc
|
|
50
|
+
, v8::Local<v8::Value> argv[]) {
|
|
51
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
52
|
+
v8::EscapableHandleScope scope(isolate);
|
|
53
|
+
return scope.Escape(h->NewInstance(isolate->GetCurrentContext(), argc, argv)
|
|
54
|
+
.FromMaybe(v8::Local<v8::Object>()));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
inline
|
|
58
|
+
MaybeLocal<v8::Object> NewInstance(v8::Local<v8::ObjectTemplate> h) {
|
|
59
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
60
|
+
v8::EscapableHandleScope scope(isolate);
|
|
61
|
+
return scope.Escape(h->NewInstance(isolate->GetCurrentContext())
|
|
62
|
+
.FromMaybe(v8::Local<v8::Object>()));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
inline MaybeLocal<v8::Function> GetFunction(
|
|
67
|
+
v8::Local<v8::FunctionTemplate> t) {
|
|
68
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
69
|
+
v8::EscapableHandleScope scope(isolate);
|
|
70
|
+
return scope.Escape(t->GetFunction(isolate->GetCurrentContext())
|
|
71
|
+
.FromMaybe(v8::Local<v8::Function>()));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
inline Maybe<bool> Set(
|
|
75
|
+
v8::Local<v8::Object> obj
|
|
76
|
+
, v8::Local<v8::Value> key
|
|
77
|
+
, v8::Local<v8::Value> value) {
|
|
78
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
79
|
+
v8::HandleScope scope(isolate);
|
|
80
|
+
return obj->Set(isolate->GetCurrentContext(), key, value);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
inline Maybe<bool> Set(
|
|
84
|
+
v8::Local<v8::Object> obj
|
|
85
|
+
, uint32_t index
|
|
86
|
+
, v8::Local<v8::Value> value) {
|
|
87
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
88
|
+
v8::HandleScope scope(isolate);
|
|
89
|
+
return obj->Set(isolate->GetCurrentContext(), index, value);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#if NODE_MODULE_VERSION < NODE_4_0_MODULE_VERSION
|
|
93
|
+
#include "nan_define_own_property_helper.h" // NOLINT(build/include_subdir)
|
|
94
|
+
#endif
|
|
95
|
+
|
|
96
|
+
inline Maybe<bool> DefineOwnProperty(
|
|
97
|
+
v8::Local<v8::Object> obj
|
|
98
|
+
, v8::Local<v8::String> key
|
|
99
|
+
, v8::Local<v8::Value> value
|
|
100
|
+
, v8::PropertyAttribute attribs = v8::None) {
|
|
101
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
102
|
+
v8::HandleScope scope(isolate);
|
|
103
|
+
#if NODE_MODULE_VERSION >= NODE_4_0_MODULE_VERSION
|
|
104
|
+
return obj->DefineOwnProperty(isolate->GetCurrentContext(), key, value,
|
|
105
|
+
attribs);
|
|
106
|
+
#else
|
|
107
|
+
Maybe<v8::PropertyAttribute> maybeCurrent =
|
|
108
|
+
obj->GetPropertyAttributes(isolate->GetCurrentContext(), key);
|
|
109
|
+
if (maybeCurrent.IsNothing()) {
|
|
110
|
+
return Nothing<bool>();
|
|
111
|
+
}
|
|
112
|
+
v8::PropertyAttribute current = maybeCurrent.FromJust();
|
|
113
|
+
return imp::DefineOwnPropertyHelper(current, obj, key, value, attribs);
|
|
114
|
+
#endif
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
NAN_DEPRECATED inline Maybe<bool> ForceSet(
|
|
118
|
+
v8::Local<v8::Object> obj
|
|
119
|
+
, v8::Local<v8::Value> key
|
|
120
|
+
, v8::Local<v8::Value> value
|
|
121
|
+
, v8::PropertyAttribute attribs = v8::None) {
|
|
122
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
123
|
+
v8::HandleScope scope(isolate);
|
|
124
|
+
#if NODE_MODULE_VERSION >= NODE_9_0_MODULE_VERSION
|
|
125
|
+
return key->IsName()
|
|
126
|
+
? obj->DefineOwnProperty(isolate->GetCurrentContext(),
|
|
127
|
+
key.As<v8::Name>(), value, attribs)
|
|
128
|
+
: Nothing<bool>();
|
|
129
|
+
#else
|
|
130
|
+
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
|
|
131
|
+
#endif
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
inline MaybeLocal<v8::Value> Get(
|
|
135
|
+
v8::Local<v8::Object> obj
|
|
136
|
+
, v8::Local<v8::Value> key) {
|
|
137
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
138
|
+
v8::EscapableHandleScope scope(isolate);
|
|
139
|
+
return scope.Escape(obj->Get(isolate->GetCurrentContext(), key)
|
|
140
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
inline
|
|
144
|
+
MaybeLocal<v8::Value> Get(v8::Local<v8::Object> obj, uint32_t index) {
|
|
145
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
146
|
+
v8::EscapableHandleScope scope(isolate);
|
|
147
|
+
return scope.Escape(obj->Get(isolate->GetCurrentContext(), index)
|
|
148
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
inline v8::PropertyAttribute GetPropertyAttributes(
|
|
152
|
+
v8::Local<v8::Object> obj
|
|
153
|
+
, v8::Local<v8::Value> key) {
|
|
154
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
155
|
+
v8::HandleScope scope(isolate);
|
|
156
|
+
return obj->GetPropertyAttributes(isolate->GetCurrentContext(), key)
|
|
157
|
+
.FromJust();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
inline Maybe<bool> Has(
|
|
161
|
+
v8::Local<v8::Object> obj
|
|
162
|
+
, v8::Local<v8::String> key) {
|
|
163
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
164
|
+
v8::HandleScope scope(isolate);
|
|
165
|
+
return obj->Has(isolate->GetCurrentContext(), key);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
inline Maybe<bool> Has(v8::Local<v8::Object> obj, uint32_t index) {
|
|
169
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
170
|
+
v8::HandleScope scope(isolate);
|
|
171
|
+
return obj->Has(isolate->GetCurrentContext(), index);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
inline Maybe<bool> Delete(
|
|
175
|
+
v8::Local<v8::Object> obj
|
|
176
|
+
, v8::Local<v8::String> key) {
|
|
177
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
178
|
+
v8::HandleScope scope(isolate);
|
|
179
|
+
return obj->Delete(isolate->GetCurrentContext(), key);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
inline
|
|
183
|
+
Maybe<bool> Delete(v8::Local<v8::Object> obj, uint32_t index) {
|
|
184
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
185
|
+
v8::HandleScope scope(isolate);
|
|
186
|
+
return obj->Delete(isolate->GetCurrentContext(), index);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
inline
|
|
190
|
+
MaybeLocal<v8::Array> GetPropertyNames(v8::Local<v8::Object> obj) {
|
|
191
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
192
|
+
v8::EscapableHandleScope scope(isolate);
|
|
193
|
+
return scope.Escape(obj->GetPropertyNames(isolate->GetCurrentContext())
|
|
194
|
+
.FromMaybe(v8::Local<v8::Array>()));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
inline
|
|
198
|
+
MaybeLocal<v8::Array> GetOwnPropertyNames(v8::Local<v8::Object> obj) {
|
|
199
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
200
|
+
v8::EscapableHandleScope scope(isolate);
|
|
201
|
+
return scope.Escape(obj->GetOwnPropertyNames(isolate->GetCurrentContext())
|
|
202
|
+
.FromMaybe(v8::Local<v8::Array>()));
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
inline Maybe<bool> SetPrototype(
|
|
206
|
+
v8::Local<v8::Object> obj
|
|
207
|
+
, v8::Local<v8::Value> prototype) {
|
|
208
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
209
|
+
v8::HandleScope scope(isolate);
|
|
210
|
+
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION >= 14)
|
|
211
|
+
return obj->SetPrototypeV2(isolate->GetCurrentContext(), prototype);
|
|
212
|
+
#else
|
|
213
|
+
return obj->SetPrototype(isolate->GetCurrentContext(), prototype);
|
|
214
|
+
#endif
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
inline MaybeLocal<v8::String> ObjectProtoToString(
|
|
218
|
+
v8::Local<v8::Object> obj) {
|
|
219
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
220
|
+
v8::EscapableHandleScope scope(isolate);
|
|
221
|
+
return scope.Escape(obj->ObjectProtoToString(isolate->GetCurrentContext())
|
|
222
|
+
.FromMaybe(v8::Local<v8::String>()));
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
inline Maybe<bool> HasOwnProperty(
|
|
226
|
+
v8::Local<v8::Object> obj
|
|
227
|
+
, v8::Local<v8::String> key) {
|
|
228
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
229
|
+
v8::HandleScope scope(isolate);
|
|
230
|
+
return obj->HasOwnProperty(isolate->GetCurrentContext(), key);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
inline Maybe<bool> HasRealNamedProperty(
|
|
234
|
+
v8::Local<v8::Object> obj
|
|
235
|
+
, v8::Local<v8::String> key) {
|
|
236
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
237
|
+
v8::HandleScope scope(isolate);
|
|
238
|
+
return obj->HasRealNamedProperty(isolate->GetCurrentContext(), key);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
inline Maybe<bool> HasRealIndexedProperty(
|
|
242
|
+
v8::Local<v8::Object> obj
|
|
243
|
+
, uint32_t index) {
|
|
244
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
245
|
+
v8::HandleScope scope(isolate);
|
|
246
|
+
return obj->HasRealIndexedProperty(isolate->GetCurrentContext(), index);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
inline Maybe<bool> HasRealNamedCallbackProperty(
|
|
250
|
+
v8::Local<v8::Object> obj
|
|
251
|
+
, v8::Local<v8::String> key) {
|
|
252
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
253
|
+
v8::HandleScope scope(isolate);
|
|
254
|
+
return obj->HasRealNamedCallbackProperty(isolate->GetCurrentContext(), key);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
inline MaybeLocal<v8::Value> GetRealNamedPropertyInPrototypeChain(
|
|
258
|
+
v8::Local<v8::Object> obj
|
|
259
|
+
, v8::Local<v8::String> key) {
|
|
260
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
261
|
+
v8::EscapableHandleScope scope(isolate);
|
|
262
|
+
return scope.Escape(obj->GetRealNamedPropertyInPrototypeChain(
|
|
263
|
+
isolate->GetCurrentContext(), key)
|
|
264
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
inline MaybeLocal<v8::Value> GetRealNamedProperty(
|
|
268
|
+
v8::Local<v8::Object> obj
|
|
269
|
+
, v8::Local<v8::String> key) {
|
|
270
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
271
|
+
v8::EscapableHandleScope scope(isolate);
|
|
272
|
+
return scope.Escape(
|
|
273
|
+
obj->GetRealNamedProperty(isolate->GetCurrentContext(), key)
|
|
274
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
inline MaybeLocal<v8::Value> CallAsFunction(
|
|
278
|
+
v8::Local<v8::Object> obj
|
|
279
|
+
, v8::Local<v8::Object> recv
|
|
280
|
+
, int argc
|
|
281
|
+
, v8::Local<v8::Value> argv[]) {
|
|
282
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
283
|
+
v8::EscapableHandleScope scope(isolate);
|
|
284
|
+
return scope.Escape(
|
|
285
|
+
obj->CallAsFunction(isolate->GetCurrentContext(), recv, argc, argv)
|
|
286
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
inline MaybeLocal<v8::Value> CallAsConstructor(
|
|
290
|
+
v8::Local<v8::Object> obj
|
|
291
|
+
, int argc, v8::Local<v8::Value> argv[]) {
|
|
292
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
293
|
+
v8::EscapableHandleScope scope(isolate);
|
|
294
|
+
return scope.Escape(
|
|
295
|
+
obj->CallAsConstructor(isolate->GetCurrentContext(), argc, argv)
|
|
296
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
inline
|
|
300
|
+
MaybeLocal<v8::String> GetSourceLine(v8::Local<v8::Message> msg) {
|
|
301
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
302
|
+
v8::EscapableHandleScope scope(isolate);
|
|
303
|
+
return scope.Escape(msg->GetSourceLine(isolate->GetCurrentContext())
|
|
304
|
+
.FromMaybe(v8::Local<v8::String>()));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
inline Maybe<int> GetLineNumber(v8::Local<v8::Message> msg) {
|
|
308
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
309
|
+
v8::HandleScope scope(isolate);
|
|
310
|
+
return msg->GetLineNumber(isolate->GetCurrentContext());
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
inline Maybe<int> GetStartColumn(v8::Local<v8::Message> msg) {
|
|
314
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
315
|
+
v8::HandleScope scope(isolate);
|
|
316
|
+
return msg->GetStartColumn(isolate->GetCurrentContext());
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
inline Maybe<int> GetEndColumn(v8::Local<v8::Message> msg) {
|
|
320
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
321
|
+
v8::HandleScope scope(isolate);
|
|
322
|
+
return msg->GetEndColumn(isolate->GetCurrentContext());
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
inline MaybeLocal<v8::Object> CloneElementAt(
|
|
326
|
+
v8::Local<v8::Array> array
|
|
327
|
+
, uint32_t index) {
|
|
328
|
+
#if (NODE_MODULE_VERSION >= NODE_6_0_MODULE_VERSION)
|
|
329
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
330
|
+
v8::EscapableHandleScope scope(isolate);
|
|
331
|
+
v8::Local<v8::Context> context = isolate->GetCurrentContext();
|
|
332
|
+
v8::Local<v8::Value> elem;
|
|
333
|
+
v8::Local<v8::Object> obj;
|
|
334
|
+
if (!array->Get(context, index).ToLocal(&elem)) {
|
|
335
|
+
return scope.Escape(obj);
|
|
336
|
+
}
|
|
337
|
+
if (!elem->ToObject(context).ToLocal(&obj)) {
|
|
338
|
+
return scope.Escape(v8::Local<v8::Object>());
|
|
339
|
+
}
|
|
340
|
+
return scope.Escape(obj->Clone());
|
|
341
|
+
#else
|
|
342
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
343
|
+
v8::EscapableHandleScope scope(isolate);
|
|
344
|
+
return scope.Escape(array->CloneElementAt(isolate->GetCurrentContext(), index)
|
|
345
|
+
.FromMaybe(v8::Local<v8::Object>()));
|
|
346
|
+
#endif
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
inline MaybeLocal<v8::Value> Call(
|
|
350
|
+
v8::Local<v8::Function> fun
|
|
351
|
+
, v8::Local<v8::Object> recv
|
|
352
|
+
, int argc
|
|
353
|
+
, v8::Local<v8::Value> argv[]) {
|
|
354
|
+
v8::Isolate *isolate = v8::Isolate::GetCurrent();
|
|
355
|
+
v8::EscapableHandleScope scope(isolate);
|
|
356
|
+
return scope.Escape(fun->Call(isolate->GetCurrentContext(), recv, argc, argv)
|
|
357
|
+
.FromMaybe(v8::Local<v8::Value>()));
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
#endif // NAN_MAYBE_43_INL_H_
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* NAN - Native Abstractions for Node.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 NAN contributors
|
|
5
|
+
*
|
|
6
|
+
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
|
|
7
|
+
********************************************************************/
|
|
8
|
+
|
|
9
|
+
#ifndef NAN_MAYBE_PRE_43_INL_H_
|
|
10
|
+
#define NAN_MAYBE_PRE_43_INL_H_
|
|
11
|
+
|
|
12
|
+
template<typename T>
|
|
13
|
+
class MaybeLocal {
|
|
14
|
+
public:
|
|
15
|
+
inline MaybeLocal() : val_(v8::Local<T>()) {}
|
|
16
|
+
|
|
17
|
+
template<typename S>
|
|
18
|
+
# if NODE_MODULE_VERSION >= NODE_0_12_MODULE_VERSION
|
|
19
|
+
inline
|
|
20
|
+
MaybeLocal(v8::Local<S> that) : val_(that) {} // NOLINT(runtime/explicit)
|
|
21
|
+
# else
|
|
22
|
+
inline
|
|
23
|
+
MaybeLocal(v8::Local<S> that) : // NOLINT(runtime/explicit)
|
|
24
|
+
val_(*reinterpret_cast<v8::Local<T>*>(&that)) {}
|
|
25
|
+
# endif
|
|
26
|
+
|
|
27
|
+
inline bool IsEmpty() const { return val_.IsEmpty(); }
|
|
28
|
+
|
|
29
|
+
template<typename S>
|
|
30
|
+
inline bool ToLocal(v8::Local<S> *out) const {
|
|
31
|
+
*out = val_;
|
|
32
|
+
return !IsEmpty();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
inline v8::Local<T> ToLocalChecked() const {
|
|
36
|
+
#if defined(V8_ENABLE_CHECKS)
|
|
37
|
+
assert(!IsEmpty() && "ToLocalChecked is Empty");
|
|
38
|
+
#endif // V8_ENABLE_CHECKS
|
|
39
|
+
return val_;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
template<typename S>
|
|
43
|
+
inline v8::Local<S> FromMaybe(v8::Local<S> default_value) const {
|
|
44
|
+
return IsEmpty() ? default_value : v8::Local<S>(val_);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
private:
|
|
48
|
+
v8::Local<T> val_;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
inline
|
|
52
|
+
MaybeLocal<v8::String> ToDetailString(v8::Handle<v8::Value> val) {
|
|
53
|
+
return MaybeLocal<v8::String>(val->ToDetailString());
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
inline
|
|
57
|
+
MaybeLocal<v8::Uint32> ToArrayIndex(v8::Handle<v8::Value> val) {
|
|
58
|
+
return MaybeLocal<v8::Uint32>(val->ToArrayIndex());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
inline
|
|
62
|
+
Maybe<bool> Equals(v8::Handle<v8::Value> a, v8::Handle<v8::Value>(b)) {
|
|
63
|
+
return Just<bool>(a->Equals(b));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
inline
|
|
67
|
+
MaybeLocal<v8::Object> NewInstance(v8::Handle<v8::Function> h) {
|
|
68
|
+
return MaybeLocal<v8::Object>(h->NewInstance());
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
inline
|
|
72
|
+
MaybeLocal<v8::Object> NewInstance(
|
|
73
|
+
v8::Local<v8::Function> h
|
|
74
|
+
, int argc
|
|
75
|
+
, v8::Local<v8::Value> argv[]) {
|
|
76
|
+
return MaybeLocal<v8::Object>(h->NewInstance(argc, argv));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
inline
|
|
80
|
+
MaybeLocal<v8::Object> NewInstance(v8::Handle<v8::ObjectTemplate> h) {
|
|
81
|
+
return MaybeLocal<v8::Object>(h->NewInstance());
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
inline
|
|
85
|
+
MaybeLocal<v8::Function> GetFunction(v8::Handle<v8::FunctionTemplate> t) {
|
|
86
|
+
return MaybeLocal<v8::Function>(t->GetFunction());
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
inline Maybe<bool> Set(
|
|
90
|
+
v8::Handle<v8::Object> obj
|
|
91
|
+
, v8::Handle<v8::Value> key
|
|
92
|
+
, v8::Handle<v8::Value> value) {
|
|
93
|
+
return Just<bool>(obj->Set(key, value));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
inline Maybe<bool> Set(
|
|
97
|
+
v8::Handle<v8::Object> obj
|
|
98
|
+
, uint32_t index
|
|
99
|
+
, v8::Handle<v8::Value> value) {
|
|
100
|
+
return Just<bool>(obj->Set(index, value));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
#include "nan_define_own_property_helper.h" // NOLINT(build/include_subdir)
|
|
104
|
+
|
|
105
|
+
inline Maybe<bool> DefineOwnProperty(
|
|
106
|
+
v8::Handle<v8::Object> obj
|
|
107
|
+
, v8::Handle<v8::String> key
|
|
108
|
+
, v8::Handle<v8::Value> value
|
|
109
|
+
, v8::PropertyAttribute attribs = v8::None) {
|
|
110
|
+
v8::PropertyAttribute current = obj->GetPropertyAttributes(key);
|
|
111
|
+
return imp::DefineOwnPropertyHelper(current, obj, key, value, attribs);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
NAN_DEPRECATED inline Maybe<bool> ForceSet(
|
|
115
|
+
v8::Handle<v8::Object> obj
|
|
116
|
+
, v8::Handle<v8::Value> key
|
|
117
|
+
, v8::Handle<v8::Value> value
|
|
118
|
+
, v8::PropertyAttribute attribs = v8::None) {
|
|
119
|
+
return Just<bool>(obj->ForceSet(key, value, attribs));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
inline MaybeLocal<v8::Value> Get(
|
|
123
|
+
v8::Handle<v8::Object> obj
|
|
124
|
+
, v8::Handle<v8::Value> key) {
|
|
125
|
+
return MaybeLocal<v8::Value>(obj->Get(key));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
inline MaybeLocal<v8::Value> Get(
|
|
129
|
+
v8::Handle<v8::Object> obj
|
|
130
|
+
, uint32_t index) {
|
|
131
|
+
return MaybeLocal<v8::Value>(obj->Get(index));
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
inline Maybe<v8::PropertyAttribute> GetPropertyAttributes(
|
|
135
|
+
v8::Handle<v8::Object> obj
|
|
136
|
+
, v8::Handle<v8::Value> key) {
|
|
137
|
+
return Just<v8::PropertyAttribute>(obj->GetPropertyAttributes(key));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
inline Maybe<bool> Has(
|
|
141
|
+
v8::Handle<v8::Object> obj
|
|
142
|
+
, v8::Handle<v8::String> key) {
|
|
143
|
+
return Just<bool>(obj->Has(key));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
inline Maybe<bool> Has(
|
|
147
|
+
v8::Handle<v8::Object> obj
|
|
148
|
+
, uint32_t index) {
|
|
149
|
+
return Just<bool>(obj->Has(index));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
inline Maybe<bool> Delete(
|
|
153
|
+
v8::Handle<v8::Object> obj
|
|
154
|
+
, v8::Handle<v8::String> key) {
|
|
155
|
+
return Just<bool>(obj->Delete(key));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
inline Maybe<bool> Delete(
|
|
159
|
+
v8::Handle<v8::Object> obj
|
|
160
|
+
, uint32_t index) {
|
|
161
|
+
return Just<bool>(obj->Delete(index));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
inline
|
|
165
|
+
MaybeLocal<v8::Array> GetPropertyNames(v8::Handle<v8::Object> obj) {
|
|
166
|
+
return MaybeLocal<v8::Array>(obj->GetPropertyNames());
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
inline
|
|
170
|
+
MaybeLocal<v8::Array> GetOwnPropertyNames(v8::Handle<v8::Object> obj) {
|
|
171
|
+
return MaybeLocal<v8::Array>(obj->GetOwnPropertyNames());
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
inline Maybe<bool> SetPrototype(
|
|
175
|
+
v8::Handle<v8::Object> obj
|
|
176
|
+
, v8::Handle<v8::Value> prototype) {
|
|
177
|
+
return Just<bool>(obj->SetPrototype(prototype));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
inline MaybeLocal<v8::String> ObjectProtoToString(
|
|
181
|
+
v8::Handle<v8::Object> obj) {
|
|
182
|
+
return MaybeLocal<v8::String>(obj->ObjectProtoToString());
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
inline Maybe<bool> HasOwnProperty(
|
|
186
|
+
v8::Handle<v8::Object> obj
|
|
187
|
+
, v8::Handle<v8::String> key) {
|
|
188
|
+
return Just<bool>(obj->HasOwnProperty(key));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
inline Maybe<bool> HasRealNamedProperty(
|
|
192
|
+
v8::Handle<v8::Object> obj
|
|
193
|
+
, v8::Handle<v8::String> key) {
|
|
194
|
+
return Just<bool>(obj->HasRealNamedProperty(key));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
inline Maybe<bool> HasRealIndexedProperty(
|
|
198
|
+
v8::Handle<v8::Object> obj
|
|
199
|
+
, uint32_t index) {
|
|
200
|
+
return Just<bool>(obj->HasRealIndexedProperty(index));
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
inline Maybe<bool> HasRealNamedCallbackProperty(
|
|
204
|
+
v8::Handle<v8::Object> obj
|
|
205
|
+
, v8::Handle<v8::String> key) {
|
|
206
|
+
return Just<bool>(obj->HasRealNamedCallbackProperty(key));
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
inline MaybeLocal<v8::Value> GetRealNamedPropertyInPrototypeChain(
|
|
210
|
+
v8::Handle<v8::Object> obj
|
|
211
|
+
, v8::Handle<v8::String> key) {
|
|
212
|
+
return MaybeLocal<v8::Value>(
|
|
213
|
+
obj->GetRealNamedPropertyInPrototypeChain(key));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
inline MaybeLocal<v8::Value> GetRealNamedProperty(
|
|
217
|
+
v8::Handle<v8::Object> obj
|
|
218
|
+
, v8::Handle<v8::String> key) {
|
|
219
|
+
return MaybeLocal<v8::Value>(obj->GetRealNamedProperty(key));
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
inline MaybeLocal<v8::Value> CallAsFunction(
|
|
223
|
+
v8::Handle<v8::Object> obj
|
|
224
|
+
, v8::Handle<v8::Object> recv
|
|
225
|
+
, int argc
|
|
226
|
+
, v8::Handle<v8::Value> argv[]) {
|
|
227
|
+
return MaybeLocal<v8::Value>(obj->CallAsFunction(recv, argc, argv));
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
inline MaybeLocal<v8::Value> CallAsConstructor(
|
|
231
|
+
v8::Handle<v8::Object> obj
|
|
232
|
+
, int argc
|
|
233
|
+
, v8::Local<v8::Value> argv[]) {
|
|
234
|
+
return MaybeLocal<v8::Value>(obj->CallAsConstructor(argc, argv));
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
inline
|
|
238
|
+
MaybeLocal<v8::String> GetSourceLine(v8::Handle<v8::Message> msg) {
|
|
239
|
+
return MaybeLocal<v8::String>(msg->GetSourceLine());
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
inline Maybe<int> GetLineNumber(v8::Handle<v8::Message> msg) {
|
|
243
|
+
return Just<int>(msg->GetLineNumber());
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
inline Maybe<int> GetStartColumn(v8::Handle<v8::Message> msg) {
|
|
247
|
+
return Just<int>(msg->GetStartColumn());
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
inline Maybe<int> GetEndColumn(v8::Handle<v8::Message> msg) {
|
|
251
|
+
return Just<int>(msg->GetEndColumn());
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
inline MaybeLocal<v8::Object> CloneElementAt(
|
|
255
|
+
v8::Handle<v8::Array> array
|
|
256
|
+
, uint32_t index) {
|
|
257
|
+
return MaybeLocal<v8::Object>(array->CloneElementAt(index));
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
inline MaybeLocal<v8::Value> Call(
|
|
261
|
+
v8::Local<v8::Function> fun
|
|
262
|
+
, v8::Local<v8::Object> recv
|
|
263
|
+
, int argc
|
|
264
|
+
, v8::Local<v8::Value> argv[]) {
|
|
265
|
+
return MaybeLocal<v8::Value>(fun->Call(recv, argc, argv));
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
#endif // NAN_MAYBE_PRE_43_INL_H_
|