@lab1207/wednesday-runtime-win32-x64 0.1.0-dev.0 → 0.2.0-beta.6
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/package.json +1 -1
- package/runtime/node_modules/.bin/anthropic-ai-sdk +1 -1
- package/runtime/node_modules/.bin/cordis +1 -1
- package/runtime/node_modules/.bin/js-yaml +1 -1
- package/runtime/node_modules/.bin/openai +1 -1
- package/runtime/node_modules/.bin/pi-ai +1 -1
- package/runtime/node_modules/.bin/yaml +1 -1
- package/runtime/node_modules/.modules.yaml +77 -53
- package/runtime/node_modules/.pnpm/lock.yaml +498 -361
- package/runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +45 -15
- package/runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +22 -10
- package/runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +104 -1549
- package/runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -1
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +0 -2
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +6 -0
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +4 -4
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -7
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +20 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -7
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +3 -8
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +20 -0
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +11 -10
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
- package/runtime/node_modules/@aws-sdk/core/package.json +8 -9
- package/runtime/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/CHANGELOG.md +45 -0
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +84 -29
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +23 -11
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +26 -2
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +30 -15
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +10 -1
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +10 -1
- package/runtime/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +3 -3
- package/runtime/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/runtime/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/runtime/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +5 -1
- package/runtime/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +5 -1
- package/runtime/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +4 -1
- package/runtime/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/runtime/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/runtime/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/runtime/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
- package/runtime/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
- package/runtime/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/runtime/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/runtime/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/runtime/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
- package/runtime/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +4 -2
- package/runtime/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +2 -1
- package/runtime/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +2 -1
- package/runtime/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
- package/runtime/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +15 -4
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -4
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +10 -4
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -4
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +24 -12
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +9 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +11 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +7 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +9 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +12 -7
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +12 -39
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +11 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +24 -4
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +7 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/CHANGELOG.md +45 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +84 -29
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +23 -11
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +26 -2
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +30 -15
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +10 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +10 -1
- package/runtime/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +3 -3
- package/runtime/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/runtime/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/runtime/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +4 -0
- package/runtime/node_modules/@aws-sdk/types/package.json +2 -2
- package/runtime/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/runtime/node_modules/@babel/runtime/helpers/asyncIterator.js +1 -1
- package/runtime/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +1 -1
- package/runtime/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +16 -19
- package/runtime/node_modules/@babel/runtime/helpers/esm/regenerator.js +1 -1
- package/runtime/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +5 -5
- package/runtime/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +16 -19
- package/runtime/node_modules/@babel/runtime/helpers/regenerator.js +1 -1
- package/runtime/node_modules/@babel/runtime/helpers/toPrimitive.js +5 -5
- package/runtime/node_modules/@babel/runtime/package.json +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/README.md +57 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/README.zh.md +57 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/lib/index.js +411 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/lib/invariant.js +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/lib/types/index.d.ts +127 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/lib/types/invariant.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/lib/types/resolve.d.ts +28 -0
- package/runtime/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-subprocess-local/node_modules/.bin/cordis +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +126 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +126 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +452 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/invariant.js +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/types/background.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/types/index.d.ts +38 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/types/invariant.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/types/render.d.ts +45 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +70 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/README.md +154 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +154 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +852 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/lib/invariant.js +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/lib/types/fetch.d.ts +108 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/lib/types/index.d.ts +54 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/lib/types/invariant.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/lib/types/search.d.ts +111 -0
- package/runtime/node_modules/@deepseek-ai/dsh-tool-web/package.json +63 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/README.md +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/README.zh.md +61 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/lib/index.js +143 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/lib/invariant.js +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/lib/types/index.d.ts +92 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/lib/types/invariant.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/lib/types/types.d.ts +126 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web/package.json +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +6 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/README.md +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/README.zh.md +51 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +415 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/invariant.js +23 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/types/index.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/types/invariant.d.ts +16 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/types/policy.d.ts +63 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/types/provider.d.ts +49 -0
- package/runtime/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +49 -0
- package/runtime/node_modules/@joplin/turndown-plugin-gfm/LICENSE +21 -0
- package/runtime/node_modules/@joplin/turndown-plugin-gfm/README.md +64 -0
- package/runtime/node_modules/@joplin/turndown-plugin-gfm/lib/turndown-plugin-gfm.cjs.js +472 -0
- package/runtime/node_modules/@joplin/turndown-plugin-gfm/package.json +46 -0
- package/runtime/node_modules/@koromix/koffi-win32-x64/package.json +1 -1
- package/runtime/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.node +0 -0
- package/runtime/node_modules/@mixmark-io/domino/.gitmodules +6 -0
- package/runtime/node_modules/@mixmark-io/domino/.mocharc.json +8 -0
- package/runtime/node_modules/@mixmark-io/domino/.nvmrc +1 -0
- package/runtime/node_modules/@mixmark-io/domino/.yarn/plugins/@yarnpkg/plugin-version.cjs +550 -0
- package/runtime/node_modules/@mixmark-io/domino/.yarn/versions/78b6ef77.yml +0 -0
- package/runtime/node_modules/@mixmark-io/domino/CHANGELOG.md +294 -0
- package/runtime/node_modules/@mixmark-io/domino/CONTRIBUTING.md +4 -0
- package/runtime/node_modules/@mixmark-io/domino/LICENSE +25 -0
- package/runtime/node_modules/@mixmark-io/domino/README.md +141 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/CSSStyleDeclaration.js +234 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/CharacterData.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/ChildNode.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Comment.js +40 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/ContainerNode.js +80 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/CustomEvent.js +12 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/DOMException.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/DOMImplementation.js +94 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/DOMTokenList.js +186 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Document.js +884 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/DocumentFragment.js +71 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/DocumentType.js +36 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Element.js +1228 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Event.js +66 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/EventTarget.js +298 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/FilteredElementList.js +92 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/HTMLParser.js +7254 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Leaf.js +37 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/LinkedList.js +44 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Location.js +56 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/MouseEvent.js +52 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/MutationConstants.js +9 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NamedNodeMap.js +41 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NavigatorID.js +17 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Node.js +764 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeFilter.js +24 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeIterator.js +217 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeList.es5.js +15 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeList.es6.js +12 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeList.js +13 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeTraversal.js +87 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NodeUtils.js +246 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/NonDocumentTypeChildNode.js +26 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/ProcessingInstruction.js +44 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Text.js +75 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/TreeWalker.js +336 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/UIEvent.js +19 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/URL.js +194 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/URLUtils.js +270 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/Window.js +60 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/WindowTimers.js +11 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/attributes.js +152 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/config.js +7 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/defineElement.js +71 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/events.js +7 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/htmlelts.js +1499 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/impl.js +27 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/index.d.ts +5 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/index.js +80 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/select.js +933 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/style_parser.js +106 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/svg.js +59 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/utils.js +85 -0
- package/runtime/node_modules/@mixmark-io/domino/lib/xmlnames.js +91 -0
- package/runtime/node_modules/@mixmark-io/domino/package.json +22 -0
- package/runtime/node_modules/@mixmark-io/domino/test/domino.js +1500 -0
- package/runtime/node_modules/@mixmark-io/domino/test/fixture/doc.html +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/fixture/jquery-1.9.1.js +9597 -0
- package/runtime/node_modules/@mixmark-io/domino/test/fixture/jquery-2.2.0.js +9831 -0
- package/runtime/node_modules/@mixmark-io/domino/test/html5lib-tests.json +80692 -0
- package/runtime/node_modules/@mixmark-io/domino/test/index.js +2 -0
- package/runtime/node_modules/@mixmark-io/domino/test/parsing.js +66 -0
- package/runtime/node_modules/@mixmark-io/domino/test/tools/update-entities.js +90 -0
- package/runtime/node_modules/@mixmark-io/domino/test/tools/update-html5lib-tests.js +355 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/README.md +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/harness/DomTestCase.js +438 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/harness/index.js +95 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/index.js +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/documentgetdoctypenodtd.js +110 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/documentinvalidcharacterexceptioncreatepi.js +143 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/documentinvalidcharacterexceptioncreatepi1.js +140 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/.cvsignore +0 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/hc_nodtdstaff.html +10 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/hc_staff.html +48 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/files/staff.dtd +17 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataappenddata.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataappenddatagetdata.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedatabegining.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedataend.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedataexceedslength.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedatagetlengthanddata.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatadeletedatamiddle.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatagetdata.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatagetlength.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatainsertdatabeginning.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatainsertdataend.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatainsertdatamiddle.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedatabegining.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedataend.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedataexceedslengthofarg.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedataexceedslengthofdata.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatareplacedatamiddle.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatasetnodevalue.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatasubstringexceedsvalue.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_characterdatasubstringvalue.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_commentgetcomment.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreatecomment.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreatedocumentfragment.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreateelement.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreateelementcasesensitive.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentcreatetextnode.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetdoctype.js +149 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetelementsbytagnamelength.js +110 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetelementsbytagnametotallength.js +221 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetelementsbytagnamevalue.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetimplementation.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentgetrootnode.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentinvalidcharacterexceptioncreateelement.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_domimplementationfeaturenoversion.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_domimplementationfeaturenull.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_domimplementationfeaturexml.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementaddnewattribute.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementchangeattributevalue.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagname.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagnameaccessnodelist.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagnamenomatch.js +110 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgetelementsbytagnamespecialvalue.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementgettagname.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementinvalidcharacterexception.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementinvalidcharacterexception1.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementnormalize.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementremoveattribute.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementretrieveallattributes.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementretrieveattrvalue.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_elementretrievetagname.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_entitiesremovenameditem1.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_entitiessetnameditem1.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_namednodemapchildnoderange.js +141 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_namednodemapnumberofnodes.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchild.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildchildexists.js +160 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchilddocfragment.js +158 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildgetnodename.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildnewchilddiffdocument.js +145 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeappendchildnodeancestor.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeattributenodeattribute.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodechildnodes.js +149 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodechildnodesappendchild.js +159 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodechildnodesempty.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecloneattributescopied.js +149 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonefalsenocopytext.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonegetparentnull.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonenodefalse.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonenodetrue.js +145 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeclonetruecopytext.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodeattributes.js +135 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodename.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodetype.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodecommentnodevalue.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentfragmentnodename.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentfragmentnodetype.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentfragmentnodevalue.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodeattribute.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodename.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodetype.js +110 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodedocumentnodevalue.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodeattributes.js +145 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodename.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodetype.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeelementnodevalue.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetfirstchild.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetfirstchildnull.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetlastchild.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetlastchildnull.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetnextsibling.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetnextsiblingnull.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetownerdocument.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetownerdocumentnull.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetprevioussibling.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodegetprevioussiblingnull.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodehaschildnodes.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodehaschildnodesfalse.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbefore.js +153 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforedocfragment.js +141 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenewchilddiffdocument.js +148 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenewchildexists.js +151 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenodeancestor.js +135 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforenodename.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforerefchildnonexistent.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeinsertbeforerefchildnull.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexequalzero.js +135 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexgetlength.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexgetlengthofemptylist.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistindexnotzero.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistreturnfirstitem.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelistreturnlastitem.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodelisttraverselist.js +149 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeparentnode.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodeparentnodenull.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechild.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechildgetnodename.js +128 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechildnode.js +160 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_noderemovechildoldchildnonexistent.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechild.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnewchilddiffdocument.js +148 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnewchildexists.js +155 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnodeancestor.js +135 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildnodename.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodereplacechildoldchildnonexistent.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodeattribute.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodename.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodetype.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodetextnodevalue.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue04.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue06.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue07.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_nodevalue08.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_notationsremovenameditem1.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_notationssetnameditem1.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textindexsizeerrnegativeoffset.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textindexsizeerroffsetoutofbounds.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textparseintolistofelements.js +169 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittextfour.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittextone.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittextthree.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textsplittexttwo.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/hc_textwithnomarkup.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/documentinvalidcharacterexceptioncreateentref.js +143 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/documentinvalidcharacterexceptioncreateentref1.js +140 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild1.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild2.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild3.js +138 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild4.js +152 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild5.js +141 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrappendchild6.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrchildnodes1.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrchildnodes2.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrclonenode1.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrcreatedocumentfragment.js +138 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrcreatetextnode.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrcreatetextnode2.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attreffectivevalue.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrfirstchild.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrgetvalue1.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrgetvalue2.js +146 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrhaschildnodes.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore1.js +140 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore2.js +141 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore3.js +146 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore4.js +147 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore5.js +153 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore6.js +142 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrinsertbefore7.js +160 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrlastchild.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrname.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrnextsiblingnull.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrnormalize.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrparentnodenull.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrprevioussiblingnull.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrremovechild1.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrremovechild2.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrreplacechild1.js +135 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrreplacechild2.js +141 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrsetvalue1.js +135 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrsetvalue2.js +138 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrspecifiedvalue.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_attrspecifiedvaluechanged.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_documentcreateattribute.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_documentinvalidcharacterexceptioncreateattribute.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_documentinvalidcharacterexceptioncreateattribute1.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementassociatedattribute.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementcreatenewattribute.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementgetattributenode.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementgetattributenodenull.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementgetelementempty.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementinuseattributeerr.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementnormalize2.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementnotfounderr.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementremoveattributeaftercreate.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementremoveattributenode.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementreplaceattributewithself.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementreplaceexistingattribute.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementreplaceexistingattributegevalue.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementsetattributenodenull.js +120 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_elementwrongdocumenterr.js +147 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapgetnameditem.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapinuseattributeerr.js +139 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapnotfounderr.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapremovenameditem.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnattrnode.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnfirstitem.js +150 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnlastitem.js +152 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapreturnnull.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditem.js +131 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditemreturnvalue.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditemthatexists.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapsetnameditemwithnewvalue.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_namednodemapwrongdocumenterr.js +149 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeappendchildinvalidnodetype.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeattributenodename.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeattributenodetype.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeattributenodevalue.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodeinsertbeforeinvalidnodetype.js +136 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodereplacechildinvalidnodetype.js +136 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/core/obsolete/hc_nodevalue03.js +138 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement10.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement11.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement12.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement13.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAnchorElement14.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement07.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLAreaElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement01.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement06.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLButtonElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument01.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument15.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument16.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument17.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument18.js +102 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument19.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument20.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLDocument21.js +138 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement09.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement10.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement100.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement101.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement102.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement103.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement104.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement105.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement106.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement107.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement108.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement109.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement11.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement110.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement111.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement112.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement113.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement114.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement115.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement116.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement117.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement118.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement119.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement12.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement120.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement121.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement122.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement123.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement124.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement125.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement126.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement127.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement128.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement129.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement13.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement130.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement131.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement132.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement133.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement134.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement135.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement136.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement137.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement138.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement139.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement14.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement140.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement141.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement142.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement143.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement144.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement145.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement15.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement16.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement17.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement18.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement19.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement20.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement21.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement22.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement23.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement24.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement25.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement26.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement27.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement28.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement29.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement30.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement31.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement32.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement33.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement34.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement35.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement36.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement37.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement38.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement39.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement40.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement41.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement42.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement43.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement44.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement45.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement46.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement47.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement48.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement49.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement50.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement51.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement52.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement53.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement54.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement55.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement56.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement57.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement58.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement59.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement60.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement61.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement62.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement63.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement64.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement65.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement66.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement67.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement68.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement69.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement70.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement71.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement72.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement73.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement74.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement75.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement76.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement77.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement78.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement79.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement80.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement81.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement82.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement83.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement84.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement85.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement86.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement87.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement88.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement89.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement90.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement91.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement92.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement93.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement94.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement95.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement96.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement97.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement98.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLElement99.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFieldSetElement01.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFieldSetElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLFormElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLIFrameElement10.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement05.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement06.js +128 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement09.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement11.js +128 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLImageElement12.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement03.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement05.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement08.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement11.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement12.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement13.js +130 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement14.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement15.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement16.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement18.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLInputElement21.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLIElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement01.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLabelElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLLinkElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMapElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLMetaElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLModElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOListElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOListElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement01.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement11.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement13.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement14.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement15.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement16.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement17.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement18.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLObjectElement19.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptGroupElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptGroupElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement01.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLOptionElement08.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLParamElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLQuoteElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLQuoteElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement06.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLScriptElement07.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement03.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement06.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement08.js +134 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement09.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement11.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement12.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLSelectElement13.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLStyleElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLStyleElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLStyleElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement15.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement16.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement23.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement24.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableCellElement25.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableColElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableColElement08.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement07.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableElement12.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableRowElement05.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableSectionElement13.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableSectionElement14.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTableSectionElement15.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement02.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTextAreaElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/HTMLTitleElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/anchor01.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/anchor04.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/anchor05.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/area01.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/area02.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/area03.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/area04.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button01.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button05.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button06.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button07.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button08.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/button09.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/doc01.js +106 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/.cvsignore +6 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/HTMLDocument04.html +36 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/anchor.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/anchor2.html +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/applet.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/applet2.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/area.html +14 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/area2.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/base.html +11 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/base2.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/basefont.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/body.html +10 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/br.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/button.html +21 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/collection.html +79 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/directory.html +14 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/div.html +10 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/dl.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/document.html +36 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/element.html +81 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/fieldset.html +23 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/font.html +10 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/form.html +17 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/form2.html +17 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/form3.html +17 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/frame.html +14 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/frameset.html +14 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/head.html +11 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/heading.html +16 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/hr.html +11 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/html.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/iframe.html +10 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/img.html +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/input.html +60 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/isindex.html +14 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/label.html +21 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/legend.html +22 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/li.html +23 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/link.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/link2.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/map.html +16 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/menu.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/meta.html +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/mod.html +15 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/object.html +18 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/object2.html +17 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/olist.html +32 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/optgroup.html +25 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/option.html +36 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/paragraph.html +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/param.html +14 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/pre.html +17 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/quote.html +16 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/script.html +11 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/select.html +44 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/style.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/table.html +78 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/table1.html +12 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablecaption.html +25 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablecell.html +23 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablecol.html +35 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablerow.html +59 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/tablesection.html +62 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/textarea.html +26 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/title.html +13 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/files/ulist.html +36 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/hasFeature01.js +96 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument02.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument03.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument04.js +110 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument10.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLDocument12.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLFormElement01.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLFormElement09.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLFormElement10.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLInputElement19.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLInputElement20.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLInputElement22.js +108 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement14.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement15.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement16.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement17.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement18.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLSelectElement19.js +137 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement08.js +129 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement09.js +132 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement19.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement20.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement21.js +139 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement22.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement23.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement24.js +139 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement25.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement26.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement27.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement28.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement29.js +137 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement30.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement31.js +138 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement32.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableElement33.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTableRowElement01.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTextAreaElement13.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTextAreaElement14.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/nyi/HTMLTextAreaElement15.js +107 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object01.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object07.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object08.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object10.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object11.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object12.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object13.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/object14.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAnchorElement09.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement07.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement08.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement09.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement10.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLAppletElement11.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBRElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBaseFontElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBaseFontElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBaseFontElement03.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLBodyElement06.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection01.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection02.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection03.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection04.js +133 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection05.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection06.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection07.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection08.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection09.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection10.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection11.js +123 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLCollection12.js +121 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDirectoryElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDivElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDlistElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument11.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument13.js +109 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLDocument14.js +110 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFontElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFontElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFontElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFormElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement01.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement05.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameElement08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameSetElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLFrameSetElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHRElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement03.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement05.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHeadingElement06.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLHtmlElement01.js +124 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement02.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement06.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIFrameElement08.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement10.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLImageElement14.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLInputElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLInputElement17.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIsIndexElement01.js +122 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIsIndexElement02.js +119 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLIsIndexElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLIElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement01.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLegendElement04.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLinkElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLinkElement07.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLLinkElement09.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLMapElement01.js +116 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLMenuElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOListElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement09.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLObjectElement12.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOptionElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOptionElement05.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLOptionElement09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParagraphElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParamElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParamElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLParamElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLPreElement01.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCaptionElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement02.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement03.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement04.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement05.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement07.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement08.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement09.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement11.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement12.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement13.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement14.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement17.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement18.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement19.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement20.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement21.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement22.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement26.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement27.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement28.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement29.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableCellElement30.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement05.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement06.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement09.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement11.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableColElement12.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement01.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement03.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement05.js +117 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement11.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement13.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement14.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement15.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement16.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement17.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableElement18.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement07.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement11.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement12.js +143 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement13.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableRowElement14.js +144 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement05.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement07.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement08.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement09.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement11.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement12.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement16.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement17.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement18.js +126 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement19.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement20.js +127 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement21.js +128 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement22.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement23.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTableSectionElement24.js +125 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTextAreaElement01.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTextAreaElement11.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLTextAreaElement12.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLUListElement01.js +114 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/HTMLUListElement02.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/anchor02.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/anchor03.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/anchor06.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/basefont01.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/body01.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/dlist01.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object02.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object03.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object04.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object05.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object09.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/object15.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table02.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table03.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table04.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table06.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table07.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table08.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table09.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table10.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table12.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table15.js +118 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table17.js +115 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table18.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table19.js +113 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table20.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table21.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table22.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table23.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table24.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table26.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table27.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table29.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table30.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table31.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table32.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table33.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table35.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table36.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table37.js +111 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table38.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table39.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table40.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table41.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table42.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table43.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table44.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table45.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table46.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table47.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table48.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table49.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table50.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table52.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/obsolete/table53.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/table01.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/table25.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/table28.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/table34.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/w3c/level1/html/table51.js +112 -0
- package/runtime/node_modules/@mixmark-io/domino/test/web-platform-blocklist.json +4688 -0
- package/runtime/node_modules/@mixmark-io/domino/test/web-platform-tests.js +353 -0
- package/runtime/node_modules/@mixmark-io/domino/test/xss.js +361 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +18202 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.cts +16384 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.mts +16384 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +16385 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +325 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.cts +294 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.mts +294 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +295 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +4929 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.cts +4418 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.mts +4418 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +4419 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +2619 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.cts +7 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.mts +7 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +7 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +670 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index.d.cts +6 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index.d.mts +6 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +6 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.cjs +20 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.mjs +20 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.cjs +1326 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.d.cts +1456 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.d.mts +1456 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.mjs +1188 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +2038 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.cts +1840 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.mts +1840 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +1841 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.cjs +9 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.d.cts +8 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.d.mts +8 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.mjs +9 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +378 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.cts +325 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.mts +325 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +326 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.cjs +2508 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.cjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.d.cts +2667 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.d.cts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.d.mts +2667 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.d.mts.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.mjs +2236 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.mjs.map +1 -0
- package/runtime/node_modules/@opentelemetry/semantic-conventions/package.json +27 -42
- package/runtime/node_modules/@smithy/core/CHANGELOG.md +85 -0
- package/runtime/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +67 -90
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +100 -23
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +4 -2
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +12 -6
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +28 -9
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +28 -9
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1785 -19
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +61 -23
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +65 -25
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
- package/runtime/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +34 -59
- package/runtime/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
- package/runtime/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
- package/runtime/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
- package/runtime/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -16
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +25 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +44 -5
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
- package/runtime/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
- package/runtime/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +12 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +53 -10
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +9 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +79 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +169 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +202 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +213 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +532 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/json/parseJsonBody.js +104 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +2 -2
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/retries-2026-config.js +6 -6
- package/runtime/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
- package/runtime/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
- package/runtime/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js +3 -0
- package/runtime/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
- package/runtime/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/runtime/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
- package/runtime/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
- package/runtime/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +10 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +38 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +16 -6
- package/runtime/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
- package/runtime/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/submodules/serde/writeKey.d.ts +4 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +7 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +16 -6
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/writeKey.d.ts +4 -0
- package/runtime/node_modules/@smithy/core/package.json +3 -2
- package/runtime/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +6 -0
- package/runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -4
- package/runtime/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +6 -2
- package/runtime/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
- package/runtime/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
- package/runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
- package/runtime/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/runtime/node_modules/@smithy/signature-v4/CHANGELOG.md +15 -0
- package/runtime/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -12
- package/runtime/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
- package/runtime/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
- package/runtime/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +9 -2
- package/runtime/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
- package/runtime/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
- package/runtime/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
- package/runtime/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
- package/runtime/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
- package/runtime/node_modules/@smithy/signature-v4/package.json +3 -3
- package/runtime/node_modules/@smithy/types/CHANGELOG.md +12 -0
- package/runtime/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
- package/runtime/node_modules/@smithy/types/dist-types/middleware.d.ts +11 -0
- package/runtime/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
- package/runtime/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +11 -0
- package/runtime/node_modules/@smithy/types/package.json +1 -1
- package/runtime/node_modules/@types/node/README.md +2 -2
- package/runtime/node_modules/@types/node/package.json +2 -17
- package/runtime/node_modules/@types/node/zlib.d.ts +6 -0
- package/runtime/node_modules/bowser/README.md +26 -3
- package/runtime/node_modules/bowser/bowser.mjs +2225 -0
- package/runtime/node_modules/bowser/bundled.js +14 -1
- package/runtime/node_modules/bowser/es5.js +14 -1
- package/runtime/node_modules/bowser/index.d.mts +45 -0
- package/runtime/node_modules/bowser/package.json +90 -31
- package/runtime/node_modules/bowser/src/bowser.js +9 -1
- package/runtime/node_modules/bowser/src/constants.js +7 -0
- package/runtime/node_modules/bowser/src/parser-browsers.js +73 -7
- package/runtime/node_modules/bowser/src/parser-engines.js +12 -0
- package/runtime/node_modules/bowser/src/parser-os.js +3 -1
- package/runtime/node_modules/bowser/src/parser-platforms.js +3 -1
- package/runtime/node_modules/bowser/src/parser.js +22 -5
- package/runtime/node_modules/bowser/src/utils.js +16 -0
- package/runtime/node_modules/koffi/CHANGELOG.md +81 -0
- package/runtime/node_modules/koffi/cnoke.cjs +9 -0
- package/runtime/node_modules/koffi/doc/benchmarks.md +1 -1
- package/runtime/node_modules/koffi/doc/load.md +2 -2
- package/runtime/node_modules/koffi/doc/misc.md +5 -3
- package/runtime/node_modules/koffi/index.d.ts +9 -1
- package/runtime/node_modules/koffi/lib/native/base/base.cc +925 -401
- package/runtime/node_modules/koffi/lib/native/base/base.hh +943 -402
- package/runtime/node_modules/koffi/package.json +21 -21
- package/runtime/node_modules/koffi/src/koffi/CMakeLists.txt +39 -27
- package/runtime/node_modules/koffi/src/koffi/index.cjs +1 -13
- package/runtime/node_modules/koffi/src/koffi/index.js +1 -13
- package/runtime/node_modules/koffi/src/koffi/indirect.cjs +1 -13
- package/runtime/node_modules/koffi/src/koffi/indirect.js +1 -13
- package/runtime/node_modules/koffi/src/koffi/src/abi/arm32.cc +8 -8
- package/runtime/node_modules/koffi/src/koffi/src/abi/arm64.cc +11 -11
- package/runtime/node_modules/koffi/src/koffi/src/abi/ppc64.cc +5 -5
- package/runtime/node_modules/koffi/src/koffi/src/abi/riscv64.cc +19 -4
- package/runtime/node_modules/koffi/src/koffi/src/abi/x64sysv.cc +3 -3
- package/runtime/node_modules/koffi/src/koffi/src/abi/x64win.cc +3 -3
- package/runtime/node_modules/koffi/src/koffi/src/abi/x86.cc +4 -4
- package/runtime/node_modules/koffi/src/koffi/src/abi/x86_asm.S +3 -1
- package/runtime/node_modules/koffi/src/koffi/src/abi/x86_asm.asm +3 -1
- package/runtime/node_modules/koffi/src/koffi/src/call.cc +410 -383
- package/runtime/node_modules/koffi/src/koffi/src/call.hh +67 -48
- package/runtime/node_modules/koffi/src/koffi/src/ffi.cc +805 -638
- package/runtime/node_modules/koffi/src/koffi/src/ffi.hh +66 -30
- package/runtime/node_modules/koffi/src/koffi/src/interp.cc +157 -151
- package/runtime/node_modules/koffi/src/koffi/src/interp.hh +8 -8
- package/runtime/node_modules/koffi/src/koffi/src/parser.cc +0 -2
- package/runtime/node_modules/koffi/src/koffi/src/type.cc +288 -156
- package/runtime/node_modules/koffi/src/koffi/src/type.hh +9 -4
- package/runtime/node_modules/koffi/src/koffi/src/util.cc +7 -4
- package/runtime/node_modules/koffi/src/koffi/src/util.hh +41 -50
- package/runtime/node_modules/koffi/src/koffi/src/uv.cc +55 -43
- package/runtime/node_modules/koffi/src/koffi/src/uv.hh +5 -1
- package/runtime/node_modules/koffi/vendor/node-addon-api/napi-inl.h +0 -4
- package/runtime/node_modules/koffi/vendor/node-addon-api/napi.h +0 -1
- package/runtime/node_modules/tslib/README.md +3 -8
- package/runtime/node_modules/tslib/package.json +1 -1
- package/runtime/node_modules/tslib/tslib.d.ts +4 -2
- package/runtime/node_modules/tslib/tslib.es6.js +10 -1
- package/runtime/node_modules/tslib/tslib.es6.mjs +10 -1
- package/runtime/node_modules/tslib/tslib.js +10 -1
- package/runtime/node_modules/turndown/LICENSE +21 -0
- package/runtime/node_modules/turndown/README.md +234 -0
- package/runtime/node_modules/turndown/dist/turndown.js +803 -0
- package/runtime/node_modules/turndown/lib/turndown.browser.cjs.js +800 -0
- package/runtime/node_modules/turndown/lib/turndown.browser.es.js +798 -0
- package/runtime/node_modules/turndown/lib/turndown.browser.umd.js +806 -0
- package/runtime/node_modules/turndown/lib/turndown.cjs.js +777 -0
- package/runtime/node_modules/turndown/lib/turndown.es.js +775 -0
- package/runtime/node_modules/turndown/lib/turndown.umd.js +783 -0
- package/runtime/node_modules/turndown/package.json +61 -0
- package/runtime/node_modules/ws/README.md +22 -31
- package/runtime/node_modules/ws/lib/buffer-util.js +13 -2
- package/runtime/node_modules/ws/lib/receiver.js +8 -0
- package/runtime/node_modules/ws/lib/sender.js +4 -1
- package/runtime/node_modules/ws/lib/websocket-server.js +3 -0
- package/runtime/node_modules/ws/lib/websocket.js +83 -19
- package/runtime/node_modules/ws/package.json +1 -1
- package/runtime/node_modules/zod/package.json +1 -1
- package/runtime/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
- package/runtime/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
- package/runtime/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
- package/runtime/node_modules/zod/src/v4/core/compile.ts +9 -0
- package/runtime/node_modules/zod/src/v4/core/schemas.ts +35 -1
- package/runtime/node_modules/zod/src/v4/core/util.ts +13 -0
- package/runtime/node_modules/zod/src/v4/core/versions.ts +1 -1
- package/runtime/node_modules/zod/v4/core/compile.cjs +8 -0
- package/runtime/node_modules/zod/v4/core/compile.js +8 -0
- package/runtime/node_modules/zod/v4/core/schemas.cjs +30 -0
- package/runtime/node_modules/zod/v4/core/schemas.d.cts +3 -1
- package/runtime/node_modules/zod/v4/core/schemas.d.ts +3 -1
- package/runtime/node_modules/zod/v4/core/schemas.js +30 -0
- package/runtime/node_modules/zod/v4/core/util.cjs +15 -0
- package/runtime/node_modules/zod/v4/core/util.d.cts +2 -0
- package/runtime/node_modules/zod/v4/core/util.d.ts +2 -0
- package/runtime/node_modules/zod/v4/core/util.js +14 -0
- package/runtime/node_modules/zod/v4/core/versions.cjs +1 -1
- package/runtime/node_modules/zod/v4/core/versions.js +1 -1
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +0 -160
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +0 -193
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +0 -200
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +0 -519
- package/runtime/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +0 -89
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
- package/runtime/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +0 -22
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +0 -4
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -11
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -9
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +0 -1
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
- package/runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +0 -14984
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +0 -14991
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.d.ts +0 -291
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +0 -298
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +0 -4053
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +0 -4060
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.d.ts +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +0 -13
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/index.d.ts +0 -6
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +0 -16
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.d.ts +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +0 -23
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.d.ts +0 -1453
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +0 -1250
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +0 -10
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +0 -1726
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +0 -1733
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.d.ts +0 -5
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +0 -12
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.d.ts +0 -308
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +0 -315
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.d.ts +0 -2664
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +0 -2360
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +0 -10
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/version.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.d.ts +0 -14984
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +0 -14991
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.d.ts +0 -291
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +0 -298
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +0 -4053
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +0 -4060
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.d.ts +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +0 -13
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.d.ts +0 -6
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +0 -16
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.d.ts +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +0 -23
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.d.ts +0 -1453
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +0 -1250
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +0 -10
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +0 -1726
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +0 -1733
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.d.ts +0 -5
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +0 -12
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.d.ts +0 -308
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +0 -315
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.d.ts +0 -2664
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +0 -2360
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +0 -10
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.d.ts +0 -14984
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +0 -15049
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.d.ts +0 -291
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +0 -301
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +0 -4053
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +0 -4072
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.d.ts +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +0 -29
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/index.d.ts +0 -6
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +0 -32
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.d.ts +0 -7
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +0 -27
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.d.ts +0 -1453
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +0 -1255
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +0 -26
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +0 -1726
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +0 -1759
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.d.ts +0 -5
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +0 -15
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.d.ts +0 -308
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +0 -319
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.d.ts +0 -2664
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +0 -2368
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +0 -26
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js.map +0 -1
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/version.d.ts +0 -2
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +0 -10
- package/runtime/node_modules/@opentelemetry/semantic-conventions/build/src/version.js.map +0 -1
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
- /package/runtime/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
|
@@ -27,9 +27,6 @@
|
|
|
27
27
|
#include <dlfcn.h>
|
|
28
28
|
#include <unistd.h>
|
|
29
29
|
#include <sys/mman.h>
|
|
30
|
-
#if !defined(MAP_STACK)
|
|
31
|
-
#define MAP_STACK 0
|
|
32
|
-
#endif
|
|
33
30
|
#endif
|
|
34
31
|
#include <wchar.h>
|
|
35
32
|
|
|
@@ -47,10 +44,10 @@ const napi_type_tag CastMarker = { 0x77f459614a0a412f, 0x80b3dda1341dc8df };
|
|
|
47
44
|
SharedData shared;
|
|
48
45
|
|
|
49
46
|
// Some Node-API functions are loaded dynamically to work around bugs or because they are recent
|
|
47
|
+
napi_status (NAPI_CDECL *node_api_post_finalizer)(node_api_basic_env env, napi_finalize finalize_cb, void* finalize_data, void* finalize_hint);
|
|
50
48
|
napi_status (NAPI_CDECL *node_api_delete_reference)(node_api_basic_env env, napi_ref ref);
|
|
51
49
|
napi_status (NAPI_CDECL *node_api_get_buffer_info)(napi_env env, napi_value value, void **data, size_t *length);
|
|
52
50
|
napi_status (NAPI_CDECL *node_api_create_property_key_utf8)(napi_env env, const char* str, size_t length, napi_value* result);
|
|
53
|
-
napi_status (NAPI_CDECL *node_api_post_finalizer)(node_api_basic_env env, napi_finalize finalize_cb, void* finalize_data, void* finalize_hint);
|
|
54
51
|
napi_status (NAPI_CDECL *node_api_create_object_with_properties)(napi_env env, napi_value prototype_or_null, const napi_value *property_names,
|
|
55
52
|
const napi_value *property_values, size_t property_count, napi_value *result);
|
|
56
53
|
|
|
@@ -74,14 +71,6 @@ static bool ChangeSize(InstanceData *instance, const char *name, Napi::Value val
|
|
|
74
71
|
return true;
|
|
75
72
|
}
|
|
76
73
|
|
|
77
|
-
static bool ChangeMemorySize(InstanceData *instance, const char *name, Napi::Value value, Size *out_size)
|
|
78
|
-
{
|
|
79
|
-
const Size MinSize = Kibibytes(1);
|
|
80
|
-
const Size MaxSize = Mebibytes(16);
|
|
81
|
-
|
|
82
|
-
return ChangeSize(instance, name, value, MinSize, MaxSize, out_size);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
74
|
static bool ChangeAsyncLimit(InstanceData *instance, const char *name, Napi::Value value, int max, int *out_limit)
|
|
86
75
|
{
|
|
87
76
|
Napi::Env env = value.Env();
|
|
@@ -102,62 +91,65 @@ static bool ChangeAsyncLimit(InstanceData *instance, const char *name, Napi::Val
|
|
|
102
91
|
return true;
|
|
103
92
|
}
|
|
104
93
|
|
|
105
|
-
static
|
|
94
|
+
static napi_value GetSetConfig(napi_env env, napi_callback_info info)
|
|
106
95
|
{
|
|
107
|
-
|
|
108
|
-
|
|
96
|
+
napi_value arg;
|
|
97
|
+
size_t count = 1;
|
|
98
|
+
InstanceData *instance;
|
|
109
99
|
|
|
110
|
-
|
|
111
|
-
|
|
100
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
101
|
+
|
|
102
|
+
if (count >= 1) {
|
|
103
|
+
if (instance->sync_memory.IsAllocated()) {
|
|
112
104
|
ThrowError<Napi::Error>(env, "Cannot change Koffi configuration once a library has been loaded");
|
|
113
|
-
return
|
|
105
|
+
return nullptr;
|
|
114
106
|
}
|
|
115
107
|
|
|
116
|
-
if (!IsObject(env,
|
|
117
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for config, expected object", GetValueType(instance,
|
|
118
|
-
return
|
|
108
|
+
if (!IsObject(env, arg)) {
|
|
109
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for config, expected object", GetValueType(instance, arg));
|
|
110
|
+
return nullptr;
|
|
119
111
|
}
|
|
120
112
|
|
|
121
113
|
decltype(instance->config) new_config = instance->config;
|
|
122
114
|
int max_async_calls = new_config.resident_async_pools + new_config.max_temporaries;
|
|
123
115
|
|
|
124
|
-
Napi::Object obj
|
|
125
|
-
Napi::Array keys = GetOwnPropertyNames(env, obj);
|
|
116
|
+
Napi::Object obj { env, arg };
|
|
117
|
+
Napi::Array keys = Napi::Array(env, GetOwnPropertyNames(env, obj));
|
|
126
118
|
|
|
127
119
|
for (uint32_t i = 0; i < keys.Length(); i++) {
|
|
128
120
|
std::string key = keys.Get(i).As<Napi::String>();
|
|
129
121
|
Napi::Value value = obj[key];
|
|
130
122
|
|
|
131
123
|
if (key == "sync_stack_size") {
|
|
132
|
-
if (!
|
|
133
|
-
return
|
|
124
|
+
if (!ChangeSize(instance, key.c_str(), value, Kibibytes(64), Mebibytes(16), &new_config.sync_stack_size))
|
|
125
|
+
return nullptr;
|
|
134
126
|
} else if (key == "sync_heap_size") {
|
|
135
|
-
if (!
|
|
136
|
-
return
|
|
127
|
+
if (!ChangeSize(instance, key.c_str(), value, 0, Mebibytes(16), &new_config.sync_heap_size))
|
|
128
|
+
return nullptr;
|
|
137
129
|
} else if (key == "async_stack_size") {
|
|
138
|
-
if (!
|
|
139
|
-
return
|
|
130
|
+
if (!ChangeSize(instance, key.c_str(), value, Kibibytes(64), Mebibytes(16), &new_config.async_stack_size))
|
|
131
|
+
return nullptr;
|
|
140
132
|
} else if (key == "async_heap_size") {
|
|
141
|
-
if (!
|
|
142
|
-
return
|
|
133
|
+
if (!ChangeSize(instance, key.c_str(), value, 0, Mebibytes(16), &new_config.async_heap_size))
|
|
134
|
+
return nullptr;
|
|
143
135
|
} else if (key == "resident_async_pools") {
|
|
144
|
-
if (!ChangeAsyncLimit(instance, key.c_str(), value,
|
|
145
|
-
return
|
|
136
|
+
if (!ChangeAsyncLimit(instance, key.c_str(), value, MaxResidentAsyncPools, &new_config.resident_async_pools))
|
|
137
|
+
return nullptr;
|
|
146
138
|
} else if (key == "max_async_calls") {
|
|
147
139
|
if (!ChangeAsyncLimit(instance, key.c_str(), value, MaxAsyncCalls, &max_async_calls))
|
|
148
|
-
return
|
|
140
|
+
return nullptr;
|
|
149
141
|
} else if (key == "max_type_size") {
|
|
150
142
|
if (!ChangeSize(instance, key.c_str(), value, 32, Mebibytes(512), &new_config.max_type_size))
|
|
151
|
-
return
|
|
143
|
+
return nullptr;
|
|
152
144
|
} else {
|
|
153
145
|
ThrowError<Napi::Error>(env, "Unexpected config member '%1'", key.c_str());
|
|
154
|
-
return
|
|
146
|
+
return nullptr;
|
|
155
147
|
}
|
|
156
148
|
}
|
|
157
149
|
|
|
158
150
|
if (max_async_calls < new_config.resident_async_pools) {
|
|
159
151
|
ThrowError<Napi::Error>(env, "Setting max_async_calls must be >= to resident_async_pools");
|
|
160
|
-
return
|
|
152
|
+
return nullptr;
|
|
161
153
|
}
|
|
162
154
|
|
|
163
155
|
new_config.max_temporaries = max_async_calls - new_config.resident_async_pools;
|
|
@@ -177,10 +169,10 @@ static Napi::Value GetSetConfig(const Napi::CallbackInfo &info)
|
|
|
177
169
|
return obj;
|
|
178
170
|
}
|
|
179
171
|
|
|
180
|
-
static
|
|
172
|
+
static napi_value GetStats(napi_env env, napi_callback_info info)
|
|
181
173
|
{
|
|
182
|
-
|
|
183
|
-
|
|
174
|
+
InstanceData *instance;
|
|
175
|
+
NAPI_OK(napi_get_cb_info(env, info, nullptr, nullptr, nullptr, (void **)&instance));
|
|
184
176
|
|
|
185
177
|
Size callbacks;
|
|
186
178
|
{
|
|
@@ -190,6 +182,7 @@ static Napi::Value GetStats(const Napi::CallbackInfo &info)
|
|
|
190
182
|
|
|
191
183
|
Napi::Object obj = Napi::Object::New(env);
|
|
192
184
|
|
|
185
|
+
obj.Set("types", instance->types.Count());
|
|
193
186
|
obj.Set("disposed", instance->stats.disposed);
|
|
194
187
|
obj.Set("callbacks", callbacks);
|
|
195
188
|
|
|
@@ -281,12 +274,12 @@ static Napi::Value CreateStructType(const Napi::CallbackInfo &info, bool pad)
|
|
|
281
274
|
|
|
282
275
|
Napi::String name = info[0].As<Napi::String>();
|
|
283
276
|
Napi::Object obj = info[skip].As<Napi::Object>();
|
|
284
|
-
Napi::Array keys = GetOwnPropertyNames(env, obj);
|
|
277
|
+
Napi::Array keys = Napi::Array(env, GetOwnPropertyNames(env, obj));
|
|
285
278
|
|
|
286
|
-
K_DEFER_NC(err_guard, count = instance->types.
|
|
279
|
+
K_DEFER_NC(err_guard, count = instance->types.Count()) {
|
|
287
280
|
Size start = count + !skip;
|
|
288
281
|
|
|
289
|
-
for (Size i = start; i < instance->types.
|
|
282
|
+
for (Size i = start; i < instance->types.Count(); i++) {
|
|
290
283
|
const TypeInfo *it = &instance->types[i];
|
|
291
284
|
const TypeInfo **ptr = instance->types_map.Find(it->name);
|
|
292
285
|
|
|
@@ -322,7 +315,7 @@ static Napi::Value CreateStructType(const Napi::CallbackInfo &info, bool pad)
|
|
|
322
315
|
return env.Null();
|
|
323
316
|
} else {
|
|
324
317
|
type->instance = instance;
|
|
325
|
-
type->name = Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.
|
|
318
|
+
type->name = Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.Count()).ptr;
|
|
326
319
|
}
|
|
327
320
|
|
|
328
321
|
type->primitive = PrimitiveKind::Void;
|
|
@@ -474,12 +467,12 @@ static Napi::Value CreateUnionType(const Napi::CallbackInfo &info)
|
|
|
474
467
|
|
|
475
468
|
Napi::String name = info[0].As<Napi::String>();
|
|
476
469
|
Napi::Object obj = info[skip].As<Napi::Object>();
|
|
477
|
-
Napi::Array keys = GetOwnPropertyNames(env, obj);
|
|
470
|
+
Napi::Array keys = Napi::Array(env, GetOwnPropertyNames(env, obj));
|
|
478
471
|
|
|
479
|
-
K_DEFER_NC(err_guard, count = instance->types.
|
|
472
|
+
K_DEFER_NC(err_guard, count = instance->types.Count()) {
|
|
480
473
|
Size start = count + !skip;
|
|
481
474
|
|
|
482
|
-
for (Size i = start; i < instance->types.
|
|
475
|
+
for (Size i = start; i < instance->types.Count(); i++) {
|
|
483
476
|
const TypeInfo *it = &instance->types[i];
|
|
484
477
|
const TypeInfo **ptr = instance->types_map.Find(it->name);
|
|
485
478
|
|
|
@@ -515,7 +508,7 @@ static Napi::Value CreateUnionType(const Napi::CallbackInfo &info)
|
|
|
515
508
|
return env.Null();
|
|
516
509
|
} else {
|
|
517
510
|
type->instance = instance;
|
|
518
|
-
type->name = Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.
|
|
511
|
+
type->name = Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.Count()).ptr;
|
|
519
512
|
}
|
|
520
513
|
|
|
521
514
|
type->primitive = PrimitiveKind::Void;
|
|
@@ -660,7 +653,7 @@ static Napi::Value CreateOpaqueType(const Napi::CallbackInfo &info)
|
|
|
660
653
|
|
|
661
654
|
type->instance = instance;
|
|
662
655
|
type->name = named ? DuplicateString(name.Utf8Value().c_str(), &instance->str_alloc).ptr
|
|
663
|
-
: Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.
|
|
656
|
+
: Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.Count()).ptr;
|
|
664
657
|
|
|
665
658
|
type->primitive = PrimitiveKind::Void;
|
|
666
659
|
type->size = 0;
|
|
@@ -748,28 +741,31 @@ static Napi::Value CreatePointerType(const Napi::CallbackInfo &info)
|
|
|
748
741
|
return Napi::Value(env, wrapper);
|
|
749
742
|
}
|
|
750
743
|
|
|
751
|
-
static
|
|
744
|
+
static napi_value MarkPointer(napi_env env, napi_callback_info info, int directions)
|
|
752
745
|
{
|
|
753
746
|
K_ASSERT(directions >= 1 && directions <= 3);
|
|
754
747
|
|
|
755
|
-
|
|
756
|
-
|
|
748
|
+
napi_value arg;
|
|
749
|
+
size_t count = 1;
|
|
750
|
+
InstanceData *instance;
|
|
757
751
|
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
752
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
753
|
+
|
|
754
|
+
if (count < 1) {
|
|
755
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
756
|
+
return nullptr;
|
|
761
757
|
}
|
|
762
758
|
|
|
763
|
-
const TypeInfo *type = ResolveType(instance,
|
|
759
|
+
const TypeInfo *type = ResolveType(instance, arg);
|
|
764
760
|
if (!type)
|
|
765
|
-
return
|
|
761
|
+
return nullptr;
|
|
766
762
|
|
|
767
763
|
if (type->primitive != PrimitiveKind::Pointer &&
|
|
768
764
|
type->primitive != PrimitiveKind::String &&
|
|
769
765
|
type->primitive != PrimitiveKind::String16 &&
|
|
770
766
|
type->primitive != PrimitiveKind::String32) {
|
|
771
767
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 type, expected pointer or string type", type->name);
|
|
772
|
-
return
|
|
768
|
+
return nullptr;
|
|
773
769
|
}
|
|
774
770
|
|
|
775
771
|
// Embed direction in unused pointer bits
|
|
@@ -781,21 +777,6 @@ static Napi::Value EncodePointerDirection(const Napi::CallbackInfo &info, int di
|
|
|
781
777
|
return external;
|
|
782
778
|
}
|
|
783
779
|
|
|
784
|
-
static Napi::Value MarkIn(const Napi::CallbackInfo &info)
|
|
785
|
-
{
|
|
786
|
-
return EncodePointerDirection(info, 1);
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
static Napi::Value MarkOut(const Napi::CallbackInfo &info)
|
|
790
|
-
{
|
|
791
|
-
return EncodePointerDirection(info, 2);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
static Napi::Value MarkInOut(const Napi::CallbackInfo &info)
|
|
795
|
-
{
|
|
796
|
-
return EncodePointerDirection(info, 3);
|
|
797
|
-
}
|
|
798
|
-
|
|
799
780
|
static Napi::Value CreateDisposableType(const Napi::CallbackInfo &info)
|
|
800
781
|
{
|
|
801
782
|
Napi::Env env = info.Env();
|
|
@@ -871,7 +852,7 @@ static Napi::Value CreateDisposableType(const Napi::CallbackInfo &info)
|
|
|
871
852
|
static_assert(!std::is_polymorphic_v<Napi::ObjectReference>);
|
|
872
853
|
|
|
873
854
|
type->name = named ? DuplicateString(name.Utf8Value().c_str(), &instance->str_alloc).ptr
|
|
874
|
-
: Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.
|
|
855
|
+
: Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.Count()).ptr;
|
|
875
856
|
|
|
876
857
|
type->dispose = dispose;
|
|
877
858
|
NAPI_OK(napi_create_reference(env, dispose_func, 1, &type->dispose_ref));
|
|
@@ -892,92 +873,99 @@ static Napi::Value CreateDisposableType(const Napi::CallbackInfo &info)
|
|
|
892
873
|
return Napi::Value(env, wrapper);
|
|
893
874
|
}
|
|
894
875
|
|
|
895
|
-
static
|
|
876
|
+
static napi_value CallAlloc(napi_env env, napi_callback_info info)
|
|
896
877
|
{
|
|
897
|
-
|
|
898
|
-
|
|
878
|
+
napi_value args[2];
|
|
879
|
+
size_t count = 2;
|
|
880
|
+
InstanceData *instance;
|
|
899
881
|
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected number", GetValueType(instance, info[1]));
|
|
906
|
-
return env.Null();
|
|
882
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
883
|
+
|
|
884
|
+
if (count < 2) {
|
|
885
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", count);
|
|
886
|
+
return nullptr;
|
|
907
887
|
}
|
|
908
888
|
|
|
909
|
-
const TypeInfo *type = ResolveType(instance,
|
|
889
|
+
const TypeInfo *type = ResolveType(instance, args[0], false);
|
|
910
890
|
if (!type)
|
|
911
|
-
return
|
|
912
|
-
|
|
891
|
+
return nullptr;
|
|
913
892
|
if (!type->size) [[unlikely]] {
|
|
914
893
|
ThrowError<Napi::TypeError>(env, "Cannot allocate memory for zero-sized type %1", type->name);
|
|
915
|
-
return
|
|
894
|
+
return nullptr;
|
|
916
895
|
}
|
|
917
896
|
|
|
918
|
-
|
|
919
|
-
|
|
897
|
+
Size len;
|
|
898
|
+
if (!TryNumber(env, args[1], &len)) {
|
|
899
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected number", GetValueType(instance, args[1]));
|
|
900
|
+
return nullptr;
|
|
901
|
+
}
|
|
920
902
|
if (len <= 0) [[unlikely]] {
|
|
921
903
|
ThrowError<Napi::Error>(env, "Size must be greater than 0");
|
|
922
|
-
return
|
|
904
|
+
return nullptr;
|
|
923
905
|
}
|
|
924
906
|
if (len > INT32_MAX / type->size) [[unlikely]] {
|
|
925
907
|
ThrowError<Napi::Error>(env, "Cannot allocate more than %1 objects of type %2", INT32_MAX / type->size, type->name);
|
|
926
|
-
return
|
|
908
|
+
return nullptr;
|
|
927
909
|
}
|
|
928
910
|
|
|
929
911
|
void *ptr = calloc((size_t)len, (size_t)type->size);
|
|
930
912
|
|
|
931
913
|
if (!ptr) [[unlikely]] {
|
|
914
|
+
// Might overflow, who cares at this stage
|
|
932
915
|
Size size = (Size)(len * type->size);
|
|
933
916
|
|
|
934
917
|
ThrowError<Napi::Error>(env, "Failed to allocate %1 of memory", FmtMemSize((Size)size));
|
|
935
|
-
return
|
|
918
|
+
return nullptr;
|
|
936
919
|
}
|
|
937
920
|
|
|
938
|
-
|
|
939
|
-
return Napi::Value(env, wrapper);
|
|
921
|
+
return WrapPointer(env, ptr);
|
|
940
922
|
}
|
|
941
923
|
|
|
942
|
-
static
|
|
924
|
+
static napi_value CallFree(napi_env env, napi_callback_info info)
|
|
943
925
|
{
|
|
944
|
-
|
|
945
|
-
|
|
926
|
+
napi_value arg;
|
|
927
|
+
size_t count = 1;
|
|
928
|
+
InstanceData *instance;
|
|
946
929
|
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
930
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
931
|
+
|
|
932
|
+
if (count < 1) {
|
|
933
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
934
|
+
return nullptr;
|
|
950
935
|
}
|
|
951
936
|
|
|
952
937
|
void *ptr = nullptr;
|
|
953
|
-
if (!TryPointer(env,
|
|
954
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance,
|
|
955
|
-
return
|
|
938
|
+
if (!TryPointer(env, arg, &ptr)) {
|
|
939
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, arg));
|
|
940
|
+
return nullptr;
|
|
956
941
|
}
|
|
957
942
|
|
|
958
943
|
free(ptr);
|
|
959
944
|
|
|
960
|
-
return
|
|
945
|
+
return nullptr;
|
|
961
946
|
}
|
|
962
947
|
|
|
963
|
-
static
|
|
948
|
+
static napi_value GetOrSetErrno(napi_env env, napi_callback_info info)
|
|
964
949
|
{
|
|
965
|
-
|
|
966
|
-
|
|
950
|
+
napi_value arg;
|
|
951
|
+
size_t count = 1;
|
|
952
|
+
InstanceData *instance;
|
|
967
953
|
|
|
968
|
-
|
|
969
|
-
Napi::Number value = info[0].As<Napi::Number>();
|
|
954
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
970
955
|
|
|
971
|
-
|
|
972
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for errno, expected integer", GetValueType(instance, value));
|
|
973
|
-
return env.Null();
|
|
974
|
-
}
|
|
956
|
+
int32_t value;
|
|
975
957
|
|
|
958
|
+
if (count >= 1) {
|
|
959
|
+
if (!TryNumber(env, arg, &value)) {
|
|
960
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for errno, expected integer", GetValueType(instance, arg));
|
|
961
|
+
return nullptr;
|
|
962
|
+
}
|
|
976
963
|
errno = value;
|
|
964
|
+
} else {
|
|
965
|
+
value = (int32_t)errno;
|
|
977
966
|
}
|
|
978
967
|
|
|
979
|
-
|
|
980
|
-
return Napi::Value(env, ret);
|
|
968
|
+
return NewInt(env, value);
|
|
981
969
|
}
|
|
982
970
|
|
|
983
971
|
static ArrayHint SelectTypedHint(const TypeInfo *ref)
|
|
@@ -1016,101 +1004,97 @@ static ArrayHint SelectTypedHint(const TypeInfo *ref)
|
|
|
1016
1004
|
K_UNREACHABLE();
|
|
1017
1005
|
}
|
|
1018
1006
|
|
|
1019
|
-
static
|
|
1007
|
+
static napi_value CreateArrayType(napi_env env, napi_callback_info info)
|
|
1020
1008
|
{
|
|
1021
|
-
|
|
1022
|
-
|
|
1009
|
+
napi_value args[4];
|
|
1010
|
+
size_t count = 4;
|
|
1011
|
+
InstanceData *instance;
|
|
1023
1012
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1013
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1014
|
+
|
|
1015
|
+
if (count < 2) {
|
|
1016
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 to 4 arguments, got %1", count);
|
|
1017
|
+
return nullptr;
|
|
1027
1018
|
}
|
|
1028
1019
|
|
|
1029
|
-
const TypeInfo *ref = ResolveType(instance,
|
|
1020
|
+
const TypeInfo *ref = ResolveType(instance, args[0]);
|
|
1030
1021
|
if (!ref)
|
|
1031
|
-
return
|
|
1022
|
+
return nullptr;
|
|
1032
1023
|
|
|
1033
|
-
|
|
1024
|
+
char countedby[512];
|
|
1025
|
+
bool dynamic = (napi_get_value_string_utf8(env, args[1], countedby, K_SIZE(countedby), nullptr) == napi_ok);
|
|
1034
1026
|
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
}
|
|
1039
|
-
if (!info[1 + dynamic].IsNumber()) {
|
|
1040
|
-
if (info.Length() == 2 && info[1].IsString()) {
|
|
1027
|
+
Size len;
|
|
1028
|
+
if (!TryNumber(env, args[1 + dynamic], &len)) [[unlikely]] {
|
|
1029
|
+
if (count == 2 && dynamic) {
|
|
1041
1030
|
ThrowError<Napi::TypeError>(env, "Missing maxLen argument");
|
|
1031
|
+
} else if (dynamic) {
|
|
1032
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for maxLen, expected integer", GetValueType(instance, args[1 + dynamic]));
|
|
1042
1033
|
} else {
|
|
1043
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for
|
|
1034
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for len, expected integer", GetValueType(instance, args[1 + dynamic]));
|
|
1044
1035
|
}
|
|
1045
|
-
return
|
|
1036
|
+
return nullptr;
|
|
1046
1037
|
}
|
|
1047
1038
|
|
|
1048
|
-
int64_t len = info[1 + dynamic].As<Napi::Number>().Int64Value();
|
|
1049
|
-
|
|
1050
1039
|
if (len <= 0) {
|
|
1051
1040
|
ThrowError<Napi::TypeError>(env, "Array length must be positive and non-zero");
|
|
1052
|
-
return
|
|
1041
|
+
return nullptr;
|
|
1053
1042
|
}
|
|
1054
1043
|
if (len > instance->config.max_type_size / ref->size) {
|
|
1055
1044
|
ThrowError<Napi::TypeError>(env, "Array length is too high (max = %1)", instance->config.max_type_size / ref->size);
|
|
1056
|
-
return
|
|
1045
|
+
return nullptr;
|
|
1057
1046
|
}
|
|
1058
1047
|
|
|
1059
|
-
|
|
1048
|
+
ArrayHint hint = ref->hint;
|
|
1060
1049
|
|
|
1061
|
-
if (
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
return env.Null();
|
|
1065
|
-
}
|
|
1050
|
+
if (count >= 3u + dynamic) {
|
|
1051
|
+
char hint_str[32];
|
|
1052
|
+
bool hinted = (napi_get_value_string_utf8(env, args[2 + dynamic], hint_str, K_SIZE(hint_str), nullptr) == napi_ok);
|
|
1066
1053
|
|
|
1067
|
-
|
|
1068
|
-
|
|
1054
|
+
if (hinted) {
|
|
1055
|
+
hint_str[0] = UpperAscii(hint_str[0]);
|
|
1069
1056
|
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1057
|
+
if (TestStr(hint_str, "Typed")) {
|
|
1058
|
+
if (ref->hint == ArrayHint::Array) {
|
|
1059
|
+
ThrowError<Napi::Error>(env, "Array hint 'Typed' cannot be used with type %1", ref->name);
|
|
1060
|
+
return nullptr;
|
|
1061
|
+
}
|
|
1075
1062
|
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1063
|
+
hint = SelectTypedHint(ref);
|
|
1064
|
+
} else if (TestStr(hint_str, "Buffer")) {
|
|
1065
|
+
if (ref->hint == ArrayHint::Array) {
|
|
1066
|
+
ThrowError<Napi::Error>(env, "Array hint 'Buffer' cannot be used with type %1", ref->name);
|
|
1067
|
+
return nullptr;
|
|
1068
|
+
}
|
|
1082
1069
|
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1070
|
+
hint = ArrayHint::Buffer;
|
|
1071
|
+
} else if (TestStr(hint_str, "Array")) {
|
|
1072
|
+
hint = ArrayHint::Array;
|
|
1073
|
+
} else if (TestStr(hint_str,"String")) {
|
|
1074
|
+
if (ref->primitive == PrimitiveKind::Int8) {
|
|
1075
|
+
hint = ArrayHint::String8;
|
|
1076
|
+
} else if (ref->primitive == PrimitiveKind::Int16) {
|
|
1077
|
+
hint = ArrayHint::String16;
|
|
1078
|
+
} else if (ref->primitive == PrimitiveKind::Int32) {
|
|
1079
|
+
hint = ArrayHint::String32;
|
|
1080
|
+
} else {
|
|
1081
|
+
ThrowError<Napi::Error>(env, "Array hint 'String' can only be used with 8, 16 and 32-bit signed integer types");
|
|
1082
|
+
return nullptr;
|
|
1083
|
+
}
|
|
1093
1084
|
} else {
|
|
1094
|
-
ThrowError<Napi::Error>(env, "Array hint
|
|
1095
|
-
return
|
|
1085
|
+
ThrowError<Napi::Error>(env, "Array conversion hint must be 'Typed', 'Array' or 'String'");
|
|
1086
|
+
return nullptr;
|
|
1096
1087
|
}
|
|
1097
|
-
} else {
|
|
1098
|
-
ThrowError<Napi::
|
|
1099
|
-
return
|
|
1088
|
+
} else if (!IsNullOrUndefined(env, args[2 + dynamic])) {
|
|
1089
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for hint, expected string", GetValueType(instance, args[2 + dynamic]));
|
|
1090
|
+
return nullptr;
|
|
1100
1091
|
}
|
|
1101
|
-
|
|
1102
|
-
type = MakeArrayType(instance, ref, (Size)len, hint);
|
|
1103
|
-
} else {
|
|
1104
|
-
type = MakeArrayType(instance, ref, (Size)len);
|
|
1105
1092
|
}
|
|
1106
1093
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
type->countedby = DuplicateString(str.Utf8Value().c_str(), &instance->str_alloc).ptr;
|
|
1110
|
-
}
|
|
1094
|
+
// Make the damn thing
|
|
1095
|
+
std::unique_ptr<TypeInfo> type = MakeArrayType(instance, ref, (Size)len, dynamic ? countedby : nullptr, hint);
|
|
1111
1096
|
|
|
1112
|
-
|
|
1113
|
-
return Napi::Value(env, wrapper);
|
|
1097
|
+
return WrapType(instance, std::move(type));
|
|
1114
1098
|
}
|
|
1115
1099
|
|
|
1116
1100
|
static bool ParseClassicFunction(const Napi::CallbackInfo &info, bool concrete, FunctionInfo *out_func)
|
|
@@ -1188,7 +1172,7 @@ static bool ParseClassicFunction(const Napi::CallbackInfo &info, bool concrete,
|
|
|
1188
1172
|
for (uint32_t j = 0; j < parameters_len; j++) {
|
|
1189
1173
|
ParameterInfo param = {};
|
|
1190
1174
|
|
|
1191
|
-
param.type = ResolveType(instance, parameters[j].AsValue(), ¶m.directions);
|
|
1175
|
+
param.type = ResolveType(instance, parameters[j].AsValue(), true, ¶m.directions);
|
|
1192
1176
|
|
|
1193
1177
|
if (!param.type)
|
|
1194
1178
|
return false;
|
|
@@ -1201,8 +1185,6 @@ static bool ParseClassicFunction(const Napi::CallbackInfo &info, bool concrete,
|
|
|
1201
1185
|
return false;
|
|
1202
1186
|
}
|
|
1203
1187
|
|
|
1204
|
-
param.offset = (int8_t)j;
|
|
1205
|
-
|
|
1206
1188
|
out_func->parameters.Append(param);
|
|
1207
1189
|
}
|
|
1208
1190
|
|
|
@@ -1222,6 +1204,9 @@ static Napi::Value CreateFunctionType(const Napi::CallbackInfo &info)
|
|
|
1222
1204
|
func->env = env;
|
|
1223
1205
|
func->instance = instance;
|
|
1224
1206
|
|
|
1207
|
+
// Helps reduce dependent pointer chasing during call preparation
|
|
1208
|
+
func->sync_memory = &instance->sync_memory;
|
|
1209
|
+
|
|
1225
1210
|
if (info.Length() >= 2) {
|
|
1226
1211
|
if (!ParseClassicFunction(info, false, func))
|
|
1227
1212
|
return env.Null();
|
|
@@ -1242,7 +1227,7 @@ static Napi::Value CreateFunctionType(const Napi::CallbackInfo &info)
|
|
|
1242
1227
|
bool named = func->name;
|
|
1243
1228
|
|
|
1244
1229
|
if (!named) {
|
|
1245
|
-
func->name = Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.
|
|
1230
|
+
func->name = Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.Count()).ptr;
|
|
1246
1231
|
}
|
|
1247
1232
|
|
|
1248
1233
|
if (!func->variadic && !PreparePlan(instance, func))
|
|
@@ -1295,20 +1280,20 @@ static Napi::Value CreateEnumType(const Napi::CallbackInfo &info)
|
|
|
1295
1280
|
|
|
1296
1281
|
Napi::String name = info[0].As<Napi::String>();
|
|
1297
1282
|
Napi::Object obj = info[named].As<Napi::Object>();
|
|
1298
|
-
Napi::Array keys = GetOwnPropertyNames(env, obj);
|
|
1283
|
+
Napi::Array keys = Napi::Array(env, GetOwnPropertyNames(env, obj));
|
|
1299
1284
|
|
|
1300
1285
|
TypeInfo *type = instance->types.AppendDefault();
|
|
1301
1286
|
K_DEFER_N(err_guard) { instance->types.RemoveLast(1); };
|
|
1302
1287
|
|
|
1303
1288
|
type->instance = instance;
|
|
1304
1289
|
type->name = named ? DuplicateString(name.Utf8Value().c_str(), &instance->str_alloc).ptr
|
|
1305
|
-
: Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.
|
|
1290
|
+
: Fmt(&instance->str_alloc, "<anonymous_%1>", instance->types.Count()).ptr;
|
|
1306
1291
|
|
|
1307
1292
|
Napi::Object values = Napi::Object::New(env);
|
|
1308
1293
|
|
|
1309
1294
|
// Determine needed storage type
|
|
1310
1295
|
if (typed) {
|
|
1311
|
-
const TypeInfo *storage = ResolveType(instance, info[1 + named]);
|
|
1296
|
+
const TypeInfo *storage = ResolveType(instance, info[1 + named], false);
|
|
1312
1297
|
if (!storage)
|
|
1313
1298
|
return env.Null();
|
|
1314
1299
|
|
|
@@ -1434,125 +1419,179 @@ static Napi::Value CreateEnumType(const Napi::CallbackInfo &info)
|
|
|
1434
1419
|
return Napi::Value(env, wrapper);
|
|
1435
1420
|
}
|
|
1436
1421
|
|
|
1437
|
-
static
|
|
1422
|
+
static napi_value CreateTypeAlias(napi_env env, napi_callback_info info)
|
|
1438
1423
|
{
|
|
1439
|
-
|
|
1440
|
-
|
|
1424
|
+
napi_value args[2];
|
|
1425
|
+
size_t count = 2;
|
|
1426
|
+
InstanceData *instance;
|
|
1441
1427
|
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for name, expected string", GetValueType(instance, info[0]));
|
|
1448
|
-
return env.Null();
|
|
1428
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1429
|
+
|
|
1430
|
+
if (count < 2) {
|
|
1431
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", count);
|
|
1432
|
+
return nullptr;
|
|
1449
1433
|
}
|
|
1450
1434
|
|
|
1451
|
-
|
|
1452
|
-
|
|
1435
|
+
char name[512];
|
|
1436
|
+
if (napi_get_value_string_utf8(env, args[0], name, K_SIZE(name), nullptr) != napi_ok) {
|
|
1437
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for name, expected string", GetValueType(instance, args[0]));
|
|
1438
|
+
return nullptr;
|
|
1439
|
+
}
|
|
1453
1440
|
|
|
1454
|
-
const TypeInfo *type = ResolveType(instance,
|
|
1441
|
+
const TypeInfo *type = ResolveType(instance, args[1]);
|
|
1455
1442
|
if (!type)
|
|
1456
|
-
return
|
|
1443
|
+
return nullptr;
|
|
1444
|
+
|
|
1445
|
+
const char *alias = DuplicateString(name, &instance->str_alloc).ptr;
|
|
1457
1446
|
|
|
1458
1447
|
// Alias the type
|
|
1459
1448
|
if (!MapType(env, instance, type, alias))
|
|
1460
|
-
return
|
|
1449
|
+
return nullptr;
|
|
1461
1450
|
|
|
1462
|
-
|
|
1463
|
-
return Napi::Value(env, wrapper);
|
|
1451
|
+
return WrapType(instance, type);
|
|
1464
1452
|
}
|
|
1465
1453
|
|
|
1466
|
-
static
|
|
1454
|
+
static napi_value GetResolvedType(napi_env env, napi_callback_info info)
|
|
1467
1455
|
{
|
|
1468
|
-
|
|
1469
|
-
|
|
1456
|
+
napi_value arg;
|
|
1457
|
+
size_t count = 1;
|
|
1458
|
+
InstanceData *instance;
|
|
1470
1459
|
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1460
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
1461
|
+
|
|
1462
|
+
if (count < 1) {
|
|
1463
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
1464
|
+
return nullptr;
|
|
1474
1465
|
}
|
|
1475
1466
|
|
|
1476
|
-
const TypeInfo *type = ResolveType(instance,
|
|
1467
|
+
const TypeInfo *type = ResolveType(instance, arg, false);
|
|
1477
1468
|
if (!type)
|
|
1478
|
-
return
|
|
1469
|
+
return nullptr;
|
|
1479
1470
|
|
|
1480
|
-
|
|
1481
|
-
return Napi::Value(env, wrapper);
|
|
1471
|
+
return WrapType(instance, type);
|
|
1482
1472
|
}
|
|
1483
1473
|
|
|
1484
|
-
static
|
|
1474
|
+
static napi_value GetTypeSize(napi_env env, napi_callback_info info)
|
|
1485
1475
|
{
|
|
1486
|
-
|
|
1487
|
-
|
|
1476
|
+
napi_value arg;
|
|
1477
|
+
size_t count = 1;
|
|
1478
|
+
InstanceData *instance;
|
|
1488
1479
|
|
|
1489
|
-
|
|
1480
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
1481
|
+
|
|
1482
|
+
if (count < 1) {
|
|
1483
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
1484
|
+
return nullptr;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
const TypeInfo *type = ResolveType(instance, arg, false);
|
|
1488
|
+
if (!type)
|
|
1489
|
+
return nullptr;
|
|
1490
|
+
|
|
1491
|
+
return NewInt(env, type->size);
|
|
1490
1492
|
}
|
|
1491
1493
|
|
|
1492
|
-
|
|
1494
|
+
static napi_value GetTypeAlign(napi_env env, napi_callback_info info)
|
|
1493
1495
|
{
|
|
1494
|
-
|
|
1496
|
+
napi_value arg;
|
|
1497
|
+
size_t count = 1;
|
|
1498
|
+
InstanceData *instance;
|
|
1495
1499
|
|
|
1496
|
-
|
|
1497
|
-
InstanceMemory *mem = instance->memories[i];
|
|
1500
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
1498
1501
|
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
}
|
|
1502
|
+
if (count < 1) {
|
|
1503
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
1504
|
+
return nullptr;
|
|
1503
1505
|
}
|
|
1504
1506
|
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
if (temporary && instance->temporaries >= instance->config.max_temporaries)
|
|
1507
|
+
const TypeInfo *type = ResolveType(instance, arg, false);
|
|
1508
|
+
if (!type)
|
|
1508
1509
|
return nullptr;
|
|
1509
1510
|
|
|
1510
|
-
|
|
1511
|
-
|
|
1511
|
+
return NewInt(env, type->align);
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
static napi_value GetMemberOffset(napi_env env, napi_callback_info info)
|
|
1515
|
+
{
|
|
1516
|
+
napi_value args[2];
|
|
1517
|
+
size_t count = 2;
|
|
1518
|
+
InstanceData *instance;
|
|
1512
1519
|
|
|
1513
|
-
|
|
1520
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1514
1521
|
|
|
1515
|
-
if (
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
} else {
|
|
1519
|
-
instance->memories.Append(mem);
|
|
1520
|
-
mem->temporary = false;
|
|
1522
|
+
if (count < 2) {
|
|
1523
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", count);
|
|
1524
|
+
return nullptr;
|
|
1521
1525
|
}
|
|
1522
1526
|
|
|
1523
|
-
|
|
1527
|
+
const TypeInfo *type = ResolveType(instance, args[0], false);
|
|
1528
|
+
if (!type)
|
|
1529
|
+
return nullptr;
|
|
1530
|
+
if (type->primitive != PrimitiveKind::Record) {
|
|
1531
|
+
ThrowError<Napi::TypeError>(env, "The offsetof() function can only be used with record types");
|
|
1532
|
+
return nullptr;
|
|
1533
|
+
}
|
|
1524
1534
|
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1535
|
+
char name[512];
|
|
1536
|
+
if (napi_get_value_string_utf8(env, args[1], name, K_SIZE(name), nullptr) != napi_ok) {
|
|
1537
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for member, expected string", GetValueType(instance, args[1]));
|
|
1538
|
+
return nullptr;
|
|
1539
|
+
}
|
|
1528
1540
|
|
|
1529
|
-
|
|
1530
|
-
{
|
|
1531
|
-
std::lock_guard<std::mutex> lock(instance->mem_mutex);
|
|
1541
|
+
const RecordMember *member = std::find_if(type->members.begin(), type->members.end(),
|
|
1542
|
+
[&](const RecordMember &member) { return TestStr(member.name, name); });
|
|
1532
1543
|
|
|
1533
|
-
if (
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
} else {
|
|
1537
|
-
mem->busy = false;
|
|
1544
|
+
if (member == type->members.end()) {
|
|
1545
|
+
ThrowError<Napi::TypeError>(env, "Record type %1 does not have member '%2'", type->name, name);
|
|
1546
|
+
return nullptr;
|
|
1538
1547
|
}
|
|
1548
|
+
|
|
1549
|
+
return NewInt(env, member->offset);
|
|
1539
1550
|
}
|
|
1540
1551
|
|
|
1541
|
-
|
|
1552
|
+
static void InitMemories(InstanceData *instance)
|
|
1542
1553
|
{
|
|
1543
|
-
if (
|
|
1554
|
+
if (instance->sync_memory.IsAllocated()) [[likely]]
|
|
1544
1555
|
return;
|
|
1545
1556
|
|
|
1546
|
-
|
|
1557
|
+
instance->sync_memory.Allocate(instance->config.sync_stack_size, instance->config.sync_heap_size);
|
|
1558
|
+
instance->async_calls = new ObjectPool<AsyncCall>(instance->config.resident_async_pools);
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
AsyncCall *AllocateAsyncCall(InstanceData *instance)
|
|
1562
|
+
{
|
|
1563
|
+
K_ASSERT(instance->async_calls);
|
|
1564
|
+
|
|
1565
|
+
AsyncCall *async = instance->async_calls->AcquireObject();
|
|
1566
|
+
|
|
1567
|
+
if (async) [[likely]] {
|
|
1568
|
+
if (!async->IsReady()) {
|
|
1569
|
+
async->Init(instance, true);
|
|
1570
|
+
}
|
|
1571
|
+
return async;
|
|
1572
|
+
}
|
|
1547
1573
|
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1574
|
+
if (instance->async_temporaries++ >= instance->config.max_temporaries) {
|
|
1575
|
+
instance->async_temporaries--;
|
|
1576
|
+
return nullptr;
|
|
1551
1577
|
}
|
|
1552
1578
|
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1579
|
+
async = new AsyncCall();
|
|
1580
|
+
async->Init(instance, false);
|
|
1581
|
+
|
|
1582
|
+
return async;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
void ReleaseAsyncCall(InstanceData *instance, AsyncCall *async)
|
|
1586
|
+
{
|
|
1587
|
+
if (async->IsResident()) {
|
|
1588
|
+
instance->async_calls->Release(async);
|
|
1589
|
+
} else {
|
|
1590
|
+
instance->async_temporaries--;
|
|
1591
|
+
|
|
1592
|
+
async->Release();
|
|
1593
|
+
delete async;
|
|
1594
|
+
}
|
|
1556
1595
|
}
|
|
1557
1596
|
|
|
1558
1597
|
Napi::Function LibraryHandle::InitClass(InstanceData *instance)
|
|
@@ -1605,9 +1644,12 @@ Napi::Value LibraryHandle::Func(const Napi::CallbackInfo &info)
|
|
|
1605
1644
|
FunctionInfo *func = new FunctionInfo();
|
|
1606
1645
|
K_DEFER { func->Unref(); };
|
|
1607
1646
|
|
|
1647
|
+
func->lib = lib->Ref();
|
|
1608
1648
|
func->env = env;
|
|
1609
1649
|
func->instance = instance;
|
|
1610
|
-
|
|
1650
|
+
|
|
1651
|
+
// Helps reduce dependent pointer chasing during call preparation
|
|
1652
|
+
func->sync_memory = &instance->sync_memory;
|
|
1611
1653
|
|
|
1612
1654
|
if (info.Length() >= 2) {
|
|
1613
1655
|
if (!ParseClassicFunction(info, true, func))
|
|
@@ -1705,29 +1747,39 @@ Napi::Value LibraryHandle::Unload(const Napi::CallbackInfo &info)
|
|
|
1705
1747
|
return env.Undefined();
|
|
1706
1748
|
}
|
|
1707
1749
|
|
|
1708
|
-
static
|
|
1750
|
+
static napi_value LoadSharedLibrary(napi_env env, napi_callback_info info)
|
|
1709
1751
|
{
|
|
1710
|
-
|
|
1711
|
-
|
|
1752
|
+
napi_value args[2];
|
|
1753
|
+
size_t count = 2;
|
|
1754
|
+
InstanceData *instance;
|
|
1712
1755
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1756
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1757
|
+
|
|
1758
|
+
if (count < 1) {
|
|
1759
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 or 2 arguments, got %1", count);
|
|
1760
|
+
return nullptr;
|
|
1716
1761
|
}
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
if (
|
|
1722
|
-
|
|
1723
|
-
|
|
1762
|
+
|
|
1763
|
+
char filename[4096];
|
|
1764
|
+
[[maybe_unused]] int flags = 0;
|
|
1765
|
+
|
|
1766
|
+
if (napi_status ret = napi_get_value_string_utf8(env, args[0], filename, K_SIZE(filename), nullptr); ret != napi_ok) {
|
|
1767
|
+
if (ret == napi_string_expected && IsNullOrUndefined(env, args[0])) {
|
|
1768
|
+
filename[0] = 0;
|
|
1769
|
+
} else {
|
|
1770
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for filename, expected string or null", GetValueType(instance, args[0]));
|
|
1771
|
+
return nullptr;
|
|
1772
|
+
}
|
|
1724
1773
|
}
|
|
1725
1774
|
|
|
1726
|
-
|
|
1727
|
-
|
|
1775
|
+
if (count >= 2) {
|
|
1776
|
+
if (!IsObject(env, args[1])) {
|
|
1777
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for options, expected object", GetValueType(instance, args[1]));
|
|
1778
|
+
return nullptr;
|
|
1779
|
+
}
|
|
1728
1780
|
|
|
1729
|
-
|
|
1730
|
-
Napi::Object options
|
|
1781
|
+
#if !defined(_WIN32)
|
|
1782
|
+
Napi::Object options(env, args[1]);
|
|
1731
1783
|
|
|
1732
1784
|
flags |= options.Get("lazy").ToBoolean() ? RTLD_LAZY : RTLD_NOW;
|
|
1733
1785
|
flags |= options.Get("global").ToBoolean() ? RTLD_GLOBAL : RTLD_LOCAL;
|
|
@@ -1736,34 +1788,33 @@ static Napi::Value LoadSharedLibrary(const Napi::CallbackInfo &info)
|
|
|
1736
1788
|
#endif
|
|
1737
1789
|
} else {
|
|
1738
1790
|
flags = RTLD_NOW | RTLD_LOCAL;
|
|
1739
|
-
}
|
|
1740
1791
|
#endif
|
|
1792
|
+
}
|
|
1741
1793
|
|
|
1742
|
-
|
|
1794
|
+
InitMemories(instance);
|
|
1743
1795
|
|
|
1744
1796
|
// Load shared library
|
|
1745
1797
|
void *module = nullptr;
|
|
1798
|
+
|
|
1746
1799
|
#if defined(_WIN32)
|
|
1747
|
-
if (
|
|
1748
|
-
|
|
1749
|
-
module = LoadWindowsLibrary(env, filename.c_str());
|
|
1800
|
+
if (filename[0]) {
|
|
1801
|
+
module = LoadWindowsLibrary(env, filename);
|
|
1750
1802
|
|
|
1751
1803
|
if (!module)
|
|
1752
|
-
return
|
|
1804
|
+
return nullptr;
|
|
1753
1805
|
} else {
|
|
1754
1806
|
module = GetModuleHandle(nullptr);
|
|
1755
1807
|
K_ASSERT(module);
|
|
1756
1808
|
}
|
|
1757
1809
|
#else
|
|
1758
|
-
if (
|
|
1759
|
-
|
|
1760
|
-
module = dlopen(filename.c_str(), flags);
|
|
1810
|
+
if (filename[0]) {
|
|
1811
|
+
module = dlopen(filename, flags);
|
|
1761
1812
|
|
|
1762
1813
|
if (!module) {
|
|
1763
1814
|
const char *msg = dlerror();
|
|
1764
1815
|
|
|
1765
|
-
if (StartsWith(msg, filename
|
|
1766
|
-
msg += filename
|
|
1816
|
+
if (StartsWith(msg, filename)) {
|
|
1817
|
+
msg += strlen(filename);
|
|
1767
1818
|
|
|
1768
1819
|
while (strchr(": ", msg[0]) && msg[0]) {
|
|
1769
1820
|
msg++;
|
|
@@ -1771,7 +1822,7 @@ static Napi::Value LoadSharedLibrary(const Napi::CallbackInfo &info)
|
|
|
1771
1822
|
}
|
|
1772
1823
|
|
|
1773
1824
|
ThrowError<Napi::Error>(env, "Failed to load shared library: %1", msg);
|
|
1774
|
-
return
|
|
1825
|
+
return nullptr;
|
|
1775
1826
|
}
|
|
1776
1827
|
} else {
|
|
1777
1828
|
module = RTLD_DEFAULT;
|
|
@@ -1787,33 +1838,36 @@ static Napi::Value LoadSharedLibrary(const Napi::CallbackInfo &info)
|
|
|
1787
1838
|
return obj;
|
|
1788
1839
|
}
|
|
1789
1840
|
|
|
1790
|
-
static
|
|
1841
|
+
static napi_value RegisterCallback(napi_env env, napi_callback_info info)
|
|
1791
1842
|
{
|
|
1792
|
-
|
|
1793
|
-
|
|
1843
|
+
napi_value args[2];
|
|
1844
|
+
size_t count = 2;
|
|
1845
|
+
InstanceData *instance;
|
|
1794
1846
|
|
|
1795
|
-
|
|
1847
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1848
|
+
|
|
1849
|
+
if (count < 2) {
|
|
1850
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", count);
|
|
1851
|
+
return nullptr;
|
|
1852
|
+
}
|
|
1796
1853
|
|
|
1797
1854
|
if (!InitAsyncBroker(instance)) [[unlikely]]
|
|
1798
|
-
return
|
|
1855
|
+
return nullptr;
|
|
1856
|
+
InitMemories(instance);
|
|
1799
1857
|
|
|
1800
|
-
|
|
1801
|
-
ThrowError<Napi::TypeError>(env, "Expected 2, got %1", info.Length());
|
|
1802
|
-
return env.Null();
|
|
1803
|
-
}
|
|
1804
|
-
if (!info[0u].IsFunction()) {
|
|
1805
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for func, expected function", GetValueType(instance, info[0]));
|
|
1806
|
-
return env.Null();
|
|
1807
|
-
}
|
|
1858
|
+
napi_value func = args[0];
|
|
1808
1859
|
|
|
1809
|
-
|
|
1860
|
+
if (GetKindOf(env, func) != napi_function) {
|
|
1861
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for func, expected function", GetValueType(instance, args[0]));
|
|
1862
|
+
return nullptr;
|
|
1863
|
+
}
|
|
1810
1864
|
|
|
1811
|
-
const TypeInfo *type = ResolveType(instance,
|
|
1865
|
+
const TypeInfo *type = ResolveType(instance, args[1]);
|
|
1812
1866
|
if (!type)
|
|
1813
|
-
return
|
|
1867
|
+
return nullptr;
|
|
1814
1868
|
if (type->primitive != PrimitiveKind::Callback) {
|
|
1815
1869
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 type, expected <callback> * type", type->name);
|
|
1816
|
-
return
|
|
1870
|
+
return nullptr;
|
|
1817
1871
|
}
|
|
1818
1872
|
|
|
1819
1873
|
int16_t idx;
|
|
@@ -1822,7 +1876,7 @@ static Napi::Value RegisterCallback(const Napi::CallbackInfo &info)
|
|
|
1822
1876
|
|
|
1823
1877
|
if (!shared.available.len) [[unlikely]] {
|
|
1824
1878
|
ThrowError<Napi::Error>(env, "Too many callbacks are in use (max = %1)", MaxTrampolines);
|
|
1825
|
-
return
|
|
1879
|
+
return nullptr;
|
|
1826
1880
|
}
|
|
1827
1881
|
|
|
1828
1882
|
idx = shared.available.data[--shared.available.len];
|
|
@@ -1838,32 +1892,34 @@ static Napi::Value RegisterCallback(const Napi::CallbackInfo &info)
|
|
|
1838
1892
|
NAPI_OK(napi_create_reference(env, func, 1, &trampoline->func));
|
|
1839
1893
|
|
|
1840
1894
|
void *ptr = GetTrampolinePointer(idx);
|
|
1841
|
-
napi_value wrapper = WrapPointer(env, ptr);
|
|
1842
1895
|
|
|
1843
|
-
return
|
|
1896
|
+
return WrapPointer(env, ptr);
|
|
1844
1897
|
}
|
|
1845
1898
|
|
|
1846
|
-
static
|
|
1899
|
+
static napi_value UnregisterCallback(napi_env env, napi_callback_info info)
|
|
1847
1900
|
{
|
|
1848
|
-
|
|
1849
|
-
|
|
1901
|
+
napi_value arg;
|
|
1902
|
+
size_t count = 1;
|
|
1903
|
+
InstanceData *instance;
|
|
1850
1904
|
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1905
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
1906
|
+
|
|
1907
|
+
if (count < 1) {
|
|
1908
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
1909
|
+
return nullptr;
|
|
1854
1910
|
}
|
|
1855
1911
|
|
|
1856
1912
|
void *ptr;
|
|
1857
|
-
if (!TryPointer(env,
|
|
1858
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for id, expected registered callback", GetValueType(instance,
|
|
1859
|
-
return
|
|
1913
|
+
if (!TryPointer(env, arg, &ptr)) {
|
|
1914
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for id, expected registered callback", GetValueType(instance, arg));
|
|
1915
|
+
return nullptr;
|
|
1860
1916
|
}
|
|
1861
1917
|
|
|
1862
1918
|
Size idx = GetTrampolineIndex(ptr);
|
|
1863
1919
|
|
|
1864
1920
|
if (idx < 0 || idx >= MaxTrampolines) [[unlikely]] {
|
|
1865
1921
|
ThrowError<Napi::Error>(env, "Could not find matching registered callback");
|
|
1866
|
-
return
|
|
1922
|
+
return nullptr;
|
|
1867
1923
|
}
|
|
1868
1924
|
|
|
1869
1925
|
// Release shared trampoline safely
|
|
@@ -1874,7 +1930,7 @@ static Napi::Value UnregisterCallback(const Napi::CallbackInfo &info)
|
|
|
1874
1930
|
|
|
1875
1931
|
if (trampoline->instance != instance || !trampoline->func) [[unlikely]] {
|
|
1876
1932
|
ThrowError<Napi::Error>(env, "Could not find matching registered callback");
|
|
1877
|
-
return
|
|
1933
|
+
return nullptr;
|
|
1878
1934
|
}
|
|
1879
1935
|
|
|
1880
1936
|
trampoline->state = 0;
|
|
@@ -1884,37 +1940,38 @@ static Napi::Value UnregisterCallback(const Napi::CallbackInfo &info)
|
|
|
1884
1940
|
shared.available.Append((int16_t)idx);
|
|
1885
1941
|
}
|
|
1886
1942
|
|
|
1887
|
-
return
|
|
1943
|
+
return nullptr;
|
|
1888
1944
|
}
|
|
1889
1945
|
|
|
1890
|
-
static
|
|
1946
|
+
static napi_value CastValue(napi_env env, napi_callback_info info)
|
|
1891
1947
|
{
|
|
1892
|
-
|
|
1893
|
-
|
|
1948
|
+
napi_value args[2];
|
|
1949
|
+
size_t count = 2;
|
|
1950
|
+
InstanceData *instance;
|
|
1894
1951
|
|
|
1895
|
-
|
|
1896
|
-
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", info.Length());
|
|
1897
|
-
return env.Null();
|
|
1898
|
-
}
|
|
1952
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1899
1953
|
|
|
1900
|
-
|
|
1954
|
+
if (count < 2) [[unlikely]] {
|
|
1955
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", count);
|
|
1956
|
+
return nullptr;
|
|
1957
|
+
}
|
|
1901
1958
|
|
|
1902
|
-
const TypeInfo *type = ResolveType(instance,
|
|
1959
|
+
const TypeInfo *type = ResolveType(instance, args[1]);
|
|
1903
1960
|
if (!type) [[unlikely]]
|
|
1904
|
-
return
|
|
1961
|
+
return nullptr;
|
|
1905
1962
|
if (type->primitive != PrimitiveKind::Pointer &&
|
|
1906
1963
|
type->primitive != PrimitiveKind::Callback &&
|
|
1907
1964
|
type->primitive != PrimitiveKind::String &&
|
|
1908
1965
|
type->primitive != PrimitiveKind::String16 &&
|
|
1909
1966
|
type->primitive != PrimitiveKind::String32) [[unlikely]] {
|
|
1910
1967
|
ThrowError<Napi::TypeError>(env, "Only pointer or string types can be used for casting");
|
|
1911
|
-
return
|
|
1968
|
+
return nullptr;
|
|
1912
1969
|
}
|
|
1913
1970
|
|
|
1914
1971
|
ValueCast *cast = new ValueCast();
|
|
1915
1972
|
|
|
1916
1973
|
cast->env = env;
|
|
1917
|
-
NAPI_OK(napi_create_reference(env,
|
|
1974
|
+
NAPI_OK(napi_create_reference(env, args[0], 1, &cast->ref));
|
|
1918
1975
|
cast->type = type;
|
|
1919
1976
|
|
|
1920
1977
|
Napi::External<ValueCast> external = Napi::External<ValueCast>::New(env, cast, [](Napi::BasicEnv, ValueCast *cast) { delete cast; });
|
|
@@ -1923,92 +1980,100 @@ static Napi::Value CastValue(const Napi::CallbackInfo &info)
|
|
|
1923
1980
|
return external;
|
|
1924
1981
|
}
|
|
1925
1982
|
|
|
1926
|
-
static
|
|
1983
|
+
static bool CheckAccessLength(napi_env env, const TypeInfo *type, Size available, Size offset)
|
|
1927
1984
|
{
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
return env.Null();
|
|
1985
|
+
if (offset < 0) [[unlikely]] {
|
|
1986
|
+
ThrowError<Napi::Error>(env, "Offset must be >= 0");
|
|
1987
|
+
return false;
|
|
1988
|
+
}
|
|
1989
|
+
if (available - offset < type->size) [[unlikely]] {
|
|
1990
|
+
ThrowError<Napi::Error>(env, "Expected buffer with size superior or equal to type %1 (%2 bytes)",
|
|
1991
|
+
type->name, type->size + offset);
|
|
1992
|
+
return false;
|
|
1937
1993
|
}
|
|
1938
1994
|
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
return env.Null();
|
|
1995
|
+
return true;
|
|
1996
|
+
}
|
|
1942
1997
|
|
|
1943
|
-
|
|
1944
|
-
|
|
1998
|
+
static napi_value DecodeValue(napi_env env, napi_callback_info info)
|
|
1999
|
+
{
|
|
2000
|
+
napi_value args[4];
|
|
2001
|
+
size_t count = 4;
|
|
2002
|
+
InstanceData *instance;
|
|
2003
|
+
|
|
2004
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
1945
2005
|
|
|
2006
|
+
int64_t offset = 0;
|
|
2007
|
+
Size len = 0;
|
|
1946
2008
|
const void *src = nullptr;
|
|
1947
2009
|
Size src_len = 0;
|
|
1948
|
-
napi_valuetype src_kind;
|
|
1949
2010
|
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
2011
|
+
bool has_offset = (count >= 2) && TryNumber(env, args[1], &offset);
|
|
2012
|
+
bool has_len = (count >= 3u + has_offset) && TryNumber(env, args[2 + has_offset], &len);
|
|
2013
|
+
|
|
2014
|
+
if (count < 2u + has_offset) [[unlikely]] {
|
|
2015
|
+
ThrowError<Napi::TypeError>(env, "Expected %1 to 4 arguments, got %2", 2 + has_offset, count);
|
|
2016
|
+
return nullptr;
|
|
1953
2017
|
}
|
|
1954
2018
|
|
|
2019
|
+
if (!TryPointer(env, args[0], (void **)&src, &src_len)) {
|
|
2020
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for reference, expected pointer", GetValueType(instance, args[0]));
|
|
2021
|
+
return nullptr;
|
|
2022
|
+
}
|
|
1955
2023
|
if (!src) [[unlikely]] {
|
|
1956
2024
|
ThrowError<Napi::Error>(env, "Cannot encode data in NULL pointer");
|
|
1957
|
-
return
|
|
2025
|
+
return nullptr;
|
|
1958
2026
|
}
|
|
1959
2027
|
|
|
2028
|
+
const TypeInfo *type = ResolveType(instance, args[1 + has_offset], false);
|
|
2029
|
+
if (!type) [[unlikely]]
|
|
2030
|
+
return nullptr;
|
|
2031
|
+
|
|
1960
2032
|
src = (const void *)((const uint8_t *)src + offset);
|
|
1961
2033
|
|
|
1962
2034
|
if (has_len) {
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
if (len >= 0) {
|
|
1966
|
-
type = MakeArrayType(instance, type, len);
|
|
1967
|
-
} else {
|
|
2035
|
+
if (len < 0) {
|
|
1968
2036
|
switch (type->primitive) {
|
|
1969
2037
|
case PrimitiveKind::Int8:
|
|
1970
2038
|
case PrimitiveKind::UInt8: {
|
|
1971
|
-
|
|
1972
|
-
type = MakeArrayType(instance, type, count);
|
|
2039
|
+
len = (src_len >= 0) ? strnlen((const char *)src, (size_t)src_len) : strlen((const char *)src);
|
|
1973
2040
|
} break;
|
|
1974
2041
|
case PrimitiveKind::Int16:
|
|
1975
2042
|
case PrimitiveKind::UInt16: {
|
|
1976
|
-
|
|
1977
|
-
type = MakeArrayType(instance, type, count);
|
|
2043
|
+
len = (src_len >= 0) ? NullTerminatedLength((const char16_t *)src, src_len) : NullTerminatedLength((const char16_t *)src);
|
|
1978
2044
|
} break;
|
|
1979
2045
|
case PrimitiveKind::Int32:
|
|
1980
2046
|
case PrimitiveKind::UInt32: {
|
|
1981
|
-
|
|
1982
|
-
type = MakeArrayType(instance, type, count);
|
|
2047
|
+
len = (src_len >= 0) ? NullTerminatedLength((const char32_t *)src, src_len) : NullTerminatedLength((const char32_t *)src);
|
|
1983
2048
|
} break;
|
|
1984
2049
|
|
|
1985
2050
|
case PrimitiveKind::Pointer: {
|
|
1986
|
-
|
|
1987
|
-
type = MakeArrayType(instance, type, count);
|
|
2051
|
+
len = (src_len >= 0) ? NullTerminatedLength((const void **)src, src_len) : NullTerminatedLength((const void **)src);
|
|
1988
2052
|
} break;
|
|
1989
2053
|
|
|
1990
2054
|
default: {
|
|
1991
2055
|
ThrowError<Napi::TypeError>(env, "Cannot determine null-terminated length for type %1", type->name);
|
|
1992
|
-
return
|
|
2056
|
+
return nullptr;
|
|
1993
2057
|
} break;
|
|
1994
2058
|
}
|
|
1995
2059
|
}
|
|
1996
|
-
}
|
|
1997
2060
|
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
if (src_len - offset < type->size) [[unlikely]] {
|
|
2004
|
-
ThrowError<Napi::Error>(env, "Expected buffer with size superior or equal to type %1 (%2 bytes)",
|
|
2005
|
-
type->name, type->size + offset);
|
|
2006
|
-
return env.Null();
|
|
2007
|
-
}
|
|
2008
|
-
}
|
|
2061
|
+
// We make a fake type when the user passes a length
|
|
2062
|
+
TypeInfo array = {};
|
|
2063
|
+
array.instance = instance;
|
|
2064
|
+
array.name = "<temporary>";
|
|
2065
|
+
InitArrayAttributes(&array, type, len);
|
|
2009
2066
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2067
|
+
if (src_len >= 0 && !CheckAccessLength(env, &array, src_len, offset)) [[unlikely]]
|
|
2068
|
+
return nullptr;
|
|
2069
|
+
|
|
2070
|
+
return Decode(instance, (const uint8_t *)src, &array);
|
|
2071
|
+
} else {
|
|
2072
|
+
if (src_len >= 0 && !CheckAccessLength(env, type, src_len, offset)) [[unlikely]]
|
|
2073
|
+
return nullptr;
|
|
2074
|
+
|
|
2075
|
+
return Decode(instance, (const uint8_t *)src, type);
|
|
2076
|
+
}
|
|
2012
2077
|
}
|
|
2013
2078
|
|
|
2014
2079
|
template <typename T>
|
|
@@ -2022,13 +2087,13 @@ static K_FORCE_INLINE napi_value DecodeInteger(napi_env env, napi_callback_info
|
|
|
2022
2087
|
|
|
2023
2088
|
if (count < 1) [[unlikely]] {
|
|
2024
2089
|
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
2025
|
-
return
|
|
2090
|
+
return nullptr;
|
|
2026
2091
|
}
|
|
2027
2092
|
|
|
2028
2093
|
void *ptr = nullptr;
|
|
2029
2094
|
if (!TryPointer(env, arg, &ptr)) [[unlikely]] {
|
|
2030
2095
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, arg));
|
|
2031
|
-
return
|
|
2096
|
+
return nullptr;
|
|
2032
2097
|
}
|
|
2033
2098
|
|
|
2034
2099
|
T i;
|
|
@@ -2048,13 +2113,13 @@ static K_FORCE_INLINE napi_value DecodeIntegerSwap(napi_env env, napi_callback_i
|
|
|
2048
2113
|
|
|
2049
2114
|
if (count < 1) [[unlikely]] {
|
|
2050
2115
|
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
2051
|
-
return
|
|
2116
|
+
return nullptr;
|
|
2052
2117
|
}
|
|
2053
2118
|
|
|
2054
2119
|
void *ptr = nullptr;
|
|
2055
2120
|
if (!TryPointer(env, arg, &ptr)) [[unlikely]] {
|
|
2056
2121
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, arg));
|
|
2057
|
-
return
|
|
2122
|
+
return nullptr;
|
|
2058
2123
|
}
|
|
2059
2124
|
|
|
2060
2125
|
T i;
|
|
@@ -2089,13 +2154,13 @@ static napi_value DecodeFloat(napi_env env, napi_callback_info info)
|
|
|
2089
2154
|
|
|
2090
2155
|
if (count < 1) [[unlikely]] {
|
|
2091
2156
|
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
2092
|
-
return
|
|
2157
|
+
return nullptr;
|
|
2093
2158
|
}
|
|
2094
2159
|
|
|
2095
2160
|
void *ptr = nullptr;
|
|
2096
2161
|
if (!TryPointer(env, arg, &ptr)) [[unlikely]] {
|
|
2097
2162
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, arg));
|
|
2098
|
-
return
|
|
2163
|
+
return nullptr;
|
|
2099
2164
|
}
|
|
2100
2165
|
|
|
2101
2166
|
float f;
|
|
@@ -2114,13 +2179,13 @@ static napi_value DecodeDouble(napi_env env, napi_callback_info info)
|
|
|
2114
2179
|
|
|
2115
2180
|
if (count < 1) [[unlikely]] {
|
|
2116
2181
|
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
2117
|
-
return
|
|
2182
|
+
return nullptr;
|
|
2118
2183
|
}
|
|
2119
2184
|
|
|
2120
2185
|
void *ptr = nullptr;
|
|
2121
2186
|
if (!TryPointer(env, arg, &ptr)) [[unlikely]] {
|
|
2122
2187
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, arg));
|
|
2123
|
-
return
|
|
2188
|
+
return nullptr;
|
|
2124
2189
|
}
|
|
2125
2190
|
|
|
2126
2191
|
double d;
|
|
@@ -2139,20 +2204,20 @@ static napi_value DecodeString(napi_env env, napi_callback_info info)
|
|
|
2139
2204
|
|
|
2140
2205
|
if (count < 1) [[unlikely]] {
|
|
2141
2206
|
ThrowError<Napi::TypeError>(env, "Expected 1 to 2 arguments, got %1", count);
|
|
2142
|
-
return
|
|
2207
|
+
return nullptr;
|
|
2143
2208
|
}
|
|
2144
2209
|
|
|
2145
2210
|
void *ptr = nullptr;
|
|
2146
2211
|
if (!TryPointer(env, args[0], &ptr)) [[unlikely]] {
|
|
2147
2212
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, args[0]));
|
|
2148
|
-
return
|
|
2213
|
+
return nullptr;
|
|
2149
2214
|
}
|
|
2150
2215
|
|
|
2151
2216
|
if (count >= 2) {
|
|
2152
2217
|
Size len;
|
|
2153
2218
|
if (!TryNumber(env, args[1], &len)) [[unlikely]] {
|
|
2154
2219
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected number", GetValueType(instance, args[1]));
|
|
2155
|
-
return
|
|
2220
|
+
return nullptr;
|
|
2156
2221
|
}
|
|
2157
2222
|
|
|
2158
2223
|
return NewString(env, (const char *)ptr, (size_t)len);
|
|
@@ -2171,20 +2236,20 @@ static napi_value DecodeString16(napi_env env, napi_callback_info info)
|
|
|
2171
2236
|
|
|
2172
2237
|
if (count < 1) [[unlikely]] {
|
|
2173
2238
|
ThrowError<Napi::TypeError>(env, "Expected 1 to 2 arguments, got %1", count);
|
|
2174
|
-
return
|
|
2239
|
+
return nullptr;
|
|
2175
2240
|
}
|
|
2176
2241
|
|
|
2177
2242
|
void *ptr = nullptr;
|
|
2178
2243
|
if (!TryPointer(env, args[0], &ptr)) [[unlikely]] {
|
|
2179
2244
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, args[0]));
|
|
2180
|
-
return
|
|
2245
|
+
return nullptr;
|
|
2181
2246
|
}
|
|
2182
2247
|
|
|
2183
2248
|
if (count >= 2) {
|
|
2184
2249
|
Size len;
|
|
2185
2250
|
if (!TryNumber(env, args[1], &len)) [[unlikely]] {
|
|
2186
2251
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected number", GetValueType(instance, args[1]));
|
|
2187
|
-
return
|
|
2252
|
+
return nullptr;
|
|
2188
2253
|
}
|
|
2189
2254
|
|
|
2190
2255
|
return NewString(env, (const char16_t *)ptr, (size_t)len);
|
|
@@ -2203,20 +2268,20 @@ static napi_value DecodeString32(napi_env env, napi_callback_info info)
|
|
|
2203
2268
|
|
|
2204
2269
|
if (count < 1) [[unlikely]] {
|
|
2205
2270
|
ThrowError<Napi::TypeError>(env, "Expected 1 to 2 arguments, got %1", count);
|
|
2206
|
-
return
|
|
2271
|
+
return nullptr;
|
|
2207
2272
|
}
|
|
2208
2273
|
|
|
2209
2274
|
void *ptr = nullptr;
|
|
2210
2275
|
if (!TryPointer(env, args[0], &ptr)) [[unlikely]] {
|
|
2211
2276
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, args[0]));
|
|
2212
|
-
return
|
|
2277
|
+
return nullptr;
|
|
2213
2278
|
}
|
|
2214
2279
|
|
|
2215
2280
|
if (count >= 2) {
|
|
2216
2281
|
Size len;
|
|
2217
2282
|
if (!TryNumber(env, args[1], &len)) [[unlikely]] {
|
|
2218
2283
|
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected number", GetValueType(instance, args[1]));
|
|
2219
|
-
return
|
|
2284
|
+
return nullptr;
|
|
2220
2285
|
}
|
|
2221
2286
|
|
|
2222
2287
|
return NewString(env, (const char32_t *)ptr, len);
|
|
@@ -2225,203 +2290,188 @@ static napi_value DecodeString32(napi_env env, napi_callback_info info)
|
|
|
2225
2290
|
}
|
|
2226
2291
|
}
|
|
2227
2292
|
|
|
2228
|
-
static
|
|
2293
|
+
static napi_value GetPointerAddress(napi_env env, napi_callback_info info)
|
|
2229
2294
|
{
|
|
2230
|
-
|
|
2231
|
-
|
|
2295
|
+
napi_value arg;
|
|
2296
|
+
size_t count = 1;
|
|
2297
|
+
InstanceData *instance;
|
|
2232
2298
|
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2299
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, &arg, nullptr, (void **)&instance));
|
|
2300
|
+
|
|
2301
|
+
if (count < 1) {
|
|
2302
|
+
ThrowError<Napi::TypeError>(env, "Expected 1 argument, got %1", count);
|
|
2303
|
+
return nullptr;
|
|
2236
2304
|
}
|
|
2237
2305
|
|
|
2238
2306
|
void *ptr = nullptr;
|
|
2239
|
-
if (!TryPointer(env,
|
|
2240
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance,
|
|
2241
|
-
return
|
|
2307
|
+
if (!TryPointer(env, arg, &ptr)) {
|
|
2308
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, arg));
|
|
2309
|
+
return nullptr;
|
|
2242
2310
|
}
|
|
2243
2311
|
|
|
2244
|
-
|
|
2245
|
-
|
|
2312
|
+
napi_value value;
|
|
2313
|
+
NAPI_OK(napi_create_bigint_uint64(env, (uint64_t)(uintptr_t)ptr, &value));
|
|
2246
2314
|
|
|
2247
|
-
return
|
|
2315
|
+
return value;
|
|
2248
2316
|
}
|
|
2249
2317
|
|
|
2250
|
-
static
|
|
2318
|
+
static napi_value CallPointerSync(napi_env env, napi_callback_info info)
|
|
2251
2319
|
{
|
|
2252
|
-
|
|
2253
|
-
InstanceData *instance = (InstanceData *)info.Data();
|
|
2320
|
+
static_assert(MaxParameters >= 8);
|
|
2254
2321
|
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2322
|
+
napi_value args[MaxParameters + 3];
|
|
2323
|
+
size_t count = 8;
|
|
2324
|
+
InstanceData *instance;
|
|
2325
|
+
|
|
2326
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
2327
|
+
|
|
2328
|
+
if (count > 8) {
|
|
2329
|
+
count = std::min(count, (size_t)MaxParameters + 2);
|
|
2330
|
+
|
|
2331
|
+
size_t copy = count;
|
|
2332
|
+
NAPI_OK(napi_get_cb_info(env, info, ©, args, nullptr, nullptr));
|
|
2333
|
+
}
|
|
2334
|
+
if (count < 2) [[unlikely]] {
|
|
2335
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 or more arguments, got %1", count);
|
|
2336
|
+
return nullptr;
|
|
2258
2337
|
}
|
|
2259
2338
|
|
|
2260
2339
|
void *ptr = nullptr;
|
|
2261
|
-
if (!TryPointer(env,
|
|
2262
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance,
|
|
2263
|
-
return
|
|
2340
|
+
if (!TryPointer(env, args[0], &ptr)) {
|
|
2341
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, args[0]));
|
|
2342
|
+
return nullptr;
|
|
2264
2343
|
}
|
|
2265
2344
|
|
|
2266
|
-
const TypeInfo *type = ResolveType(instance,
|
|
2345
|
+
const TypeInfo *type = ResolveType(instance, args[1]);
|
|
2267
2346
|
if (!type) [[unlikely]]
|
|
2268
|
-
return
|
|
2347
|
+
return nullptr;
|
|
2269
2348
|
if (type->primitive != PrimitiveKind::Prototype) [[unlikely]] {
|
|
2270
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for type, expected function type", GetValueType(instance,
|
|
2271
|
-
return
|
|
2349
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for type, expected function type", GetValueType(instance, args[1]));
|
|
2350
|
+
return nullptr;
|
|
2272
2351
|
}
|
|
2273
2352
|
|
|
2274
|
-
|
|
2275
|
-
|
|
2353
|
+
// The native function pointer shall come just after arguments
|
|
2354
|
+
args[count] = (napi_value)ptr;
|
|
2355
|
+
|
|
2356
|
+
return CallPointer(env, type->proto, args + 2, count - 2);
|
|
2276
2357
|
}
|
|
2277
2358
|
|
|
2278
|
-
static
|
|
2359
|
+
static napi_value EncodeValue(napi_env env, napi_callback_info info)
|
|
2279
2360
|
{
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
bool has_offset = (info.Length() >= 2 && info[1].IsNumber());
|
|
2284
|
-
bool has_len = (info.Length() >= 4u + has_offset && info[3 + has_offset].IsNumber());
|
|
2285
|
-
|
|
2286
|
-
if (info.Length() < 3u + has_offset) [[unlikely]] {
|
|
2287
|
-
ThrowError<Napi::TypeError>(env, "Expected %1 to 5 arguments, got %2", 3 + has_offset, info.Length());
|
|
2288
|
-
return env.Null();
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
const TypeInfo *type = ResolveType(instance, info[1u + has_offset]);
|
|
2292
|
-
if (!type) [[unlikely]]
|
|
2293
|
-
return env.Null();
|
|
2361
|
+
napi_value args[5];
|
|
2362
|
+
size_t count = 5;
|
|
2363
|
+
InstanceData *instance;
|
|
2294
2364
|
|
|
2295
|
-
|
|
2296
|
-
int64_t offset = has_offset ? info[1].As<Napi::Number>().Int64Value() : 0;
|
|
2297
|
-
Napi::Value value = info[2 + has_offset];
|
|
2365
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
2298
2366
|
|
|
2367
|
+
int64_t offset = 0;
|
|
2368
|
+
Size len = 0;
|
|
2299
2369
|
void *dest = nullptr;
|
|
2300
2370
|
Size dest_len = 0;
|
|
2301
|
-
napi_valuetype dest_kind;
|
|
2302
2371
|
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2372
|
+
bool has_offset = (count >= 2) && TryNumber(env, args[1], &offset);
|
|
2373
|
+
bool has_len = (count >= 4u + has_offset) && TryNumber(env, args[3 + has_offset], &len);
|
|
2374
|
+
|
|
2375
|
+
if (count < 3u + has_offset) [[unlikely]] {
|
|
2376
|
+
ThrowError<Napi::TypeError>(env, "Expected %1 to 5 arguments, got %2", 3 + has_offset, count);
|
|
2377
|
+
return nullptr;
|
|
2306
2378
|
}
|
|
2307
2379
|
|
|
2380
|
+
const TypeInfo *type = ResolveType(instance, args[1 + has_offset], false);
|
|
2381
|
+
if (!type) [[unlikely]]
|
|
2382
|
+
return nullptr;
|
|
2383
|
+
|
|
2384
|
+
if (!TryPointer(env, args[0], &dest, &dest_len)) {
|
|
2385
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for reference, expected pointer", GetValueType(instance, args[0]));
|
|
2386
|
+
return nullptr;
|
|
2387
|
+
}
|
|
2308
2388
|
if (!dest) [[unlikely]] {
|
|
2309
2389
|
ThrowError<Napi::Error>(env, "Cannot encode data in NULL pointer");
|
|
2310
|
-
return
|
|
2390
|
+
return nullptr;
|
|
2311
2391
|
}
|
|
2312
2392
|
|
|
2313
2393
|
dest = (void *)((uint8_t *)dest + offset);
|
|
2314
2394
|
|
|
2315
2395
|
if (has_len) {
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
} else {
|
|
2324
|
-
ThrowError<Napi::TypeError>(env, "Automatic (negative) length cannot work with slim pointers");
|
|
2325
|
-
return env.Null();
|
|
2396
|
+
if (len < 0) {
|
|
2397
|
+
if (dest_len >= 0 && type->size > 0) {
|
|
2398
|
+
len = dest_len / type->size;
|
|
2399
|
+
} else {
|
|
2400
|
+
ThrowError<Napi::TypeError>(env, "Automatic (negative) length cannot work with slim pointers");
|
|
2401
|
+
return nullptr;
|
|
2402
|
+
}
|
|
2326
2403
|
}
|
|
2327
|
-
}
|
|
2328
2404
|
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
if (dest_len - offset < type->size) [[unlikely]] {
|
|
2335
|
-
ThrowError<Napi::Error>(env, "Expected buffer with size superior or equal to type %1 (%2 bytes)",
|
|
2336
|
-
type->name, type->size + offset);
|
|
2337
|
-
return env.Null();
|
|
2338
|
-
}
|
|
2339
|
-
}
|
|
2405
|
+
// We make a fake type when the user passes a length
|
|
2406
|
+
TypeInfo array = {};
|
|
2407
|
+
array.instance = instance;
|
|
2408
|
+
array.name = "<temporary>";
|
|
2409
|
+
InitArrayAttributes(&array, type, len);
|
|
2340
2410
|
|
|
2341
|
-
|
|
2342
|
-
|
|
2411
|
+
if (dest_len >= 0 && !CheckAccessLength(env, &array, dest_len, offset)) [[unlikely]]
|
|
2412
|
+
return nullptr;
|
|
2343
2413
|
|
|
2344
|
-
|
|
2414
|
+
Encode(instance, (uint8_t *)dest, args[2 + has_offset], &array);
|
|
2415
|
+
return nullptr;
|
|
2416
|
+
} else {
|
|
2417
|
+
if (dest_len >= 0 && !CheckAccessLength(env, type, dest_len, offset)) [[unlikely]]
|
|
2418
|
+
return nullptr;
|
|
2419
|
+
|
|
2420
|
+
Encode(instance, (uint8_t *)dest, args[2 + has_offset], type);
|
|
2421
|
+
return nullptr;
|
|
2422
|
+
}
|
|
2345
2423
|
}
|
|
2346
2424
|
|
|
2347
|
-
static
|
|
2425
|
+
static napi_value CreateView(napi_env env, napi_callback_info info)
|
|
2348
2426
|
{
|
|
2349
|
-
|
|
2350
|
-
|
|
2427
|
+
napi_value args[2];
|
|
2428
|
+
size_t count = 2;
|
|
2429
|
+
InstanceData *instance;
|
|
2351
2430
|
|
|
2352
|
-
|
|
2353
|
-
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", info.Length());
|
|
2354
|
-
return env.Null();
|
|
2355
|
-
}
|
|
2356
|
-
if (!info[1].IsNumber()) {
|
|
2357
|
-
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected integer", GetValueType(instance, info[1]));
|
|
2358
|
-
return env.Null();
|
|
2359
|
-
}
|
|
2431
|
+
NAPI_OK(napi_get_cb_info(env, info, &count, args, nullptr, (void **)&instance));
|
|
2360
2432
|
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
return env.Null();
|
|
2433
|
+
if (count < 2) {
|
|
2434
|
+
ThrowError<Napi::TypeError>(env, "Expected 2 arguments, got %1", count);
|
|
2435
|
+
return nullptr;
|
|
2365
2436
|
}
|
|
2366
2437
|
|
|
2367
|
-
|
|
2438
|
+
void *ptr = nullptr;
|
|
2439
|
+
Size len = 0;
|
|
2368
2440
|
|
|
2369
|
-
if (
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2441
|
+
if (!TryPointer(env, args[0], &ptr)) {
|
|
2442
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for ptr, expected pointer", GetValueType(instance, args[0]));
|
|
2443
|
+
return nullptr;
|
|
2444
|
+
}
|
|
2445
|
+
if (!TryNumber(env, args[1], &len)) {
|
|
2446
|
+
ThrowError<Napi::TypeError>(env, "Unexpected %1 value for length, expected integer", GetValueType(instance, args[1]));
|
|
2447
|
+
return nullptr;
|
|
2448
|
+
}
|
|
2374
2449
|
|
|
2450
|
+
if (len > 0) [[likely]] {
|
|
2375
2451
|
Napi::ArrayBuffer view = Napi::ArrayBuffer::New(env, ptr, (size_t)len);
|
|
2376
2452
|
|
|
2377
2453
|
if (!view.ByteLength()) {
|
|
2378
2454
|
ThrowError<Napi::Error>(env, "This runtime does not support external buffers");
|
|
2379
|
-
return
|
|
2455
|
+
return nullptr;
|
|
2380
2456
|
}
|
|
2381
2457
|
|
|
2382
2458
|
return view;
|
|
2383
|
-
} else {
|
|
2459
|
+
} else if (!len) {
|
|
2384
2460
|
return Napi::ArrayBuffer::New(env, 0);
|
|
2461
|
+
} else {
|
|
2462
|
+
ThrowError<Napi::TypeError>(env, "Array length must be positive and non-zero");
|
|
2463
|
+
return nullptr;
|
|
2385
2464
|
}
|
|
2386
2465
|
}
|
|
2387
2466
|
|
|
2388
|
-
static
|
|
2467
|
+
static napi_value ResetKoffi(napi_env env, napi_callback_info info)
|
|
2389
2468
|
{
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
if (instance->broker) {
|
|
2394
|
-
napi_release_threadsafe_function(instance->broker, napi_tsfn_abort);
|
|
2395
|
-
instance->broker = nullptr;
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
instance->types.RemoveFrom(instance->base_types_count);
|
|
2399
|
-
|
|
2400
|
-
{
|
|
2401
|
-
HashSet<const void *> base_types;
|
|
2402
|
-
HashMap<const char *, const TypeInfo *> new_map;
|
|
2403
|
-
|
|
2404
|
-
for (const TypeInfo &type: instance->types) {
|
|
2405
|
-
base_types.Set(&type);
|
|
2406
|
-
}
|
|
2407
|
-
|
|
2408
|
-
for (const auto &bucket: instance->types_map.table) {
|
|
2409
|
-
if (base_types.Find(bucket.value)) {
|
|
2410
|
-
new_map.Set(bucket.key, bucket.value);
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
|
-
std::swap(instance->types_map, new_map);
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
instance->callbacks.Clear();
|
|
2469
|
+
InstanceData *instance;
|
|
2470
|
+
NAPI_OK(napi_get_cb_info(env, info, nullptr, nullptr, nullptr, (void **)&instance));
|
|
2418
2471
|
|
|
2419
|
-
|
|
2420
|
-
delete mem;
|
|
2421
|
-
}
|
|
2422
|
-
instance->memories.Clear();
|
|
2472
|
+
ReleaseInstance(instance, true);
|
|
2423
2473
|
|
|
2424
|
-
return
|
|
2474
|
+
return nullptr;
|
|
2425
2475
|
}
|
|
2426
2476
|
|
|
2427
2477
|
void LibraryHolder::Unload()
|
|
@@ -2449,24 +2499,12 @@ FunctionInfo::~FunctionInfo()
|
|
|
2449
2499
|
if (lib) {
|
|
2450
2500
|
lib->Unref();
|
|
2451
2501
|
}
|
|
2452
|
-
}
|
|
2453
2502
|
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
}
|
|
2460
|
-
if (heap.ptr) {
|
|
2461
|
-
VirtualFree(heap.ptr, 0, MEM_RELEASE);
|
|
2462
|
-
}
|
|
2463
|
-
#else
|
|
2464
|
-
if (stack.ptr) {
|
|
2465
|
-
munmap(stack.ptr, stack.end - stack.ptr);
|
|
2466
|
-
}
|
|
2467
|
-
if (heap.ptr) {
|
|
2468
|
-
munmap(heap.ptr, heap.end - heap.ptr);
|
|
2469
|
-
}
|
|
2503
|
+
#if defined(K_DEBUG)
|
|
2504
|
+
MemSet(plan.sync.ptr, 0, plan.sync.len * K_SIZE(*plan.sync.ptr));
|
|
2505
|
+
MemSet(plan.async.ptr, 0, plan.async.len * K_SIZE(*plan.async.ptr));
|
|
2506
|
+
MemSet(plan.relay.ptr, 0, plan.relay.len * K_SIZE(*plan.relay.ptr));
|
|
2507
|
+
MemSet(small_sync, 0, K_SIZE(small_sync));
|
|
2470
2508
|
#endif
|
|
2471
2509
|
}
|
|
2472
2510
|
|
|
@@ -2475,37 +2513,111 @@ void InstanceMemory::Allocate(Size stack_size, Size heap_size)
|
|
|
2475
2513
|
K_ASSERT(!stack.ptr);
|
|
2476
2514
|
K_ASSERT(!heap.ptr);
|
|
2477
2515
|
|
|
2478
|
-
|
|
2516
|
+
Size page_size = GetPageSize();
|
|
2517
|
+
|
|
2518
|
+
stack_size = AlignLen(stack_size, page_size);
|
|
2519
|
+
heap_size = AlignLen(heap_size, page_size);
|
|
2479
2520
|
|
|
2480
2521
|
#if defined(_WIN32)
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2522
|
+
{
|
|
2523
|
+
Size alloc = page_size + stack_size + page_size;
|
|
2524
|
+
uint8_t *base = (uint8_t *)VirtualAlloc(nullptr, alloc, MEM_RESERVE, PAGE_NOACCESS);
|
|
2484
2525
|
|
|
2485
|
-
|
|
2526
|
+
K_CRITICAL(base, "Failed to allocate %1 of memory", FmtMemSize(alloc));
|
|
2527
|
+
K_CRITICAL(VirtualAlloc(base + page_size, stack_size, MEM_COMMIT, PAGE_READWRITE), "Failed to initialize stack memory");
|
|
2528
|
+
|
|
2529
|
+
mappings[0] = { base, alloc };
|
|
2530
|
+
}
|
|
2486
2531
|
#else
|
|
2487
|
-
|
|
2488
|
-
|
|
2532
|
+
{
|
|
2533
|
+
Size alloc = page_size + stack_size + page_size;
|
|
2534
|
+
|
|
2535
|
+
#if defined(MAP_STACK)
|
|
2536
|
+
uint8_t *base = (uint8_t *)mmap(nullptr, alloc, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_STACK, -1, 0);
|
|
2537
|
+
K_CRITICAL(base != MAP_FAILED, "Failed to allocate %1 of memory", FmtMemSize(alloc));
|
|
2538
|
+
#else
|
|
2539
|
+
uint8_t *base = (uint8_t *)mmap(nullptr, alloc, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
|
|
2540
|
+
K_CRITICAL(base != MAP_FAILED, "Failed to allocate %1 of memory", FmtMemSize(alloc));
|
|
2541
|
+
#endif
|
|
2489
2542
|
|
|
2490
|
-
|
|
2543
|
+
#if defined(__linux__) || !defined(MAP_STACK)
|
|
2544
|
+
// Best effort, OS-dependent
|
|
2545
|
+
mprotect(base, page_size, PROT_NONE);
|
|
2491
2546
|
#endif
|
|
2492
2547
|
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
stack.end -= 16;
|
|
2548
|
+
mappings[0] = { base, alloc };
|
|
2549
|
+
}
|
|
2496
2550
|
#endif
|
|
2497
2551
|
|
|
2498
2552
|
#if defined(_WIN32)
|
|
2499
|
-
|
|
2500
|
-
|
|
2553
|
+
{
|
|
2554
|
+
uint8_t *heap = (uint8_t *)VirtualAlloc(nullptr, heap_size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
|
|
2555
|
+
K_CRITICAL(heap, "Failed to allocate %1 of memory", heap_size);
|
|
2501
2556
|
|
|
2502
|
-
|
|
2557
|
+
mappings[1] = { heap, heap_size };
|
|
2558
|
+
}
|
|
2503
2559
|
#else
|
|
2504
|
-
|
|
2560
|
+
{
|
|
2561
|
+
uint8_t *heap = (uint8_t *)mmap(nullptr, heap_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
|
|
2562
|
+
K_CRITICAL(heap != MAP_FAILED, "Failed to allocate %1 of memory", heap_size);
|
|
2563
|
+
|
|
2564
|
+
mappings[1] = { heap, heap_size };
|
|
2565
|
+
}
|
|
2566
|
+
#endif
|
|
2567
|
+
|
|
2568
|
+
stack.ptr = mappings[0].ptr + page_size;
|
|
2569
|
+
stack.end = stack.ptr + stack_size;
|
|
2570
|
+
heap.ptr = mappings[1].ptr;
|
|
2505
2571
|
heap.end = heap.ptr + heap_size;
|
|
2572
|
+
stack0 = stack;
|
|
2573
|
+
}
|
|
2506
2574
|
|
|
2507
|
-
|
|
2575
|
+
void InstanceMemory::Release()
|
|
2576
|
+
{
|
|
2577
|
+
for (Size i = 0; i < K_LEN(mappings); i++) {
|
|
2578
|
+
Span<uint8_t> &mapping = mappings[i];
|
|
2579
|
+
|
|
2580
|
+
#if defined(_WIN32)
|
|
2581
|
+
if (mapping.ptr) {
|
|
2582
|
+
VirtualFree(mapping.ptr, 0, MEM_RELEASE);
|
|
2583
|
+
}
|
|
2584
|
+
#else
|
|
2585
|
+
if (mapping.ptr) {
|
|
2586
|
+
munmap(mapping.ptr, mapping.len);
|
|
2587
|
+
}
|
|
2508
2588
|
#endif
|
|
2589
|
+
|
|
2590
|
+
mapping = {};
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
stack = {};
|
|
2594
|
+
heap = {};
|
|
2595
|
+
stack0 = {};
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
void TransientAllocator::Reclaim()
|
|
2599
|
+
{
|
|
2600
|
+
heap->ReleaseAll();
|
|
2601
|
+
|
|
2602
|
+
if (trampolines.len) {
|
|
2603
|
+
std::lock_guard<std::mutex> lock(shared.mutex);
|
|
2604
|
+
|
|
2605
|
+
for (Size i = trampolines.len - 1; i >= 0; i--) {
|
|
2606
|
+
int16_t idx = trampolines[i];
|
|
2607
|
+
TrampolineInfo *trampoline = &shared.trampolines[idx];
|
|
2608
|
+
|
|
2609
|
+
K_ASSERT(trampoline->instance == instance);
|
|
2610
|
+
K_ASSERT(trampoline->func);
|
|
2611
|
+
|
|
2612
|
+
trampoline->state = 0;
|
|
2613
|
+
node_api_delete_reference(instance->env, trampoline->func);
|
|
2614
|
+
trampoline->func = nullptr;
|
|
2615
|
+
|
|
2616
|
+
shared.available.Append(idx);
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
trampolines.len = 0;
|
|
2620
|
+
}
|
|
2509
2621
|
}
|
|
2510
2622
|
|
|
2511
2623
|
static void RegisterPrimitiveType(InstanceData *instance, Napi::Object map, std::initializer_list<const char *> names,
|
|
@@ -2659,6 +2771,8 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2659
2771
|
napi_get_node_version(env, &node_version);
|
|
2660
2772
|
napi_get_version(env, &napi_version);
|
|
2661
2773
|
|
|
2774
|
+
node_api_post_finalizer = SYMBOL(node_api_post_finalizer);
|
|
2775
|
+
|
|
2662
2776
|
if (CanCallNapiGetBufferInfoDirectly(*node_version, napi_version)) {
|
|
2663
2777
|
node_api_get_buffer_info = napi_get_buffer_info;
|
|
2664
2778
|
} else {
|
|
@@ -2683,10 +2797,12 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2683
2797
|
// napi_delete_reference cannot be safely used in older Node versions because it
|
|
2684
2798
|
// errors out (or even asserts) if it gets called in a finalizer. In this case,
|
|
2685
2799
|
// use experimental API to try to run it later.
|
|
2686
|
-
node_api_post_finalizer = SYMBOL(node_api_post_finalizer);
|
|
2687
2800
|
|
|
2688
2801
|
if (node_api_post_finalizer) {
|
|
2689
2802
|
node_api_delete_reference = [](node_api_basic_env env, napi_ref ref) {
|
|
2803
|
+
if (!ref)
|
|
2804
|
+
return napi_ok;
|
|
2805
|
+
|
|
2690
2806
|
node_api_post_finalizer((napi_env)env, [](napi_env env, void *data, void *) {
|
|
2691
2807
|
napi_ref ref = (napi_ref)data;
|
|
2692
2808
|
napi_delete_reference(env, ref);
|
|
@@ -2718,8 +2834,8 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2718
2834
|
NewFloat(env, 0.0);
|
|
2719
2835
|
#endif
|
|
2720
2836
|
|
|
2721
|
-
exports.Set("config",
|
|
2722
|
-
exports.Set("stats",
|
|
2837
|
+
exports.Set("config", CreateFunction(instance, GetSetConfig, "config"));
|
|
2838
|
+
exports.Set("stats", CreateFunction(instance, GetStats, "stats"));
|
|
2723
2839
|
|
|
2724
2840
|
exports.Set("struct", Napi::Function::New(env, CreatePaddedStructType, "struct", instance));
|
|
2725
2841
|
exports.Set("pack", Napi::Function::New(env, CreatePackedStructType, "pack", instance));
|
|
@@ -2727,83 +2843,87 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2727
2843
|
exports.Set("Union", Napi::Function::New(env, InstantiateUnion, "Union", instance));
|
|
2728
2844
|
exports.Set("opaque", Napi::Function::New(env, CreateOpaqueType, "opaque", instance));
|
|
2729
2845
|
exports.Set("pointer", Napi::Function::New(env, CreatePointerType, "pointer", instance));
|
|
2730
|
-
exports.Set("
|
|
2846
|
+
exports.Set("disposable", Napi::Function::New(env, CreateDisposableType, "disposable", instance));
|
|
2847
|
+
exports.Set("array", CreateFunction(instance, CreateArrayType, "array"));
|
|
2731
2848
|
exports.Set("proto", Napi::Function::New(env, CreateFunctionType, "proto", instance));
|
|
2732
|
-
exports.Set("alias", Napi::Function::New(env, CreateTypeAlias, "alias", instance));
|
|
2733
2849
|
exports.Set("enumeration", Napi::Function::New(env, CreateEnumType, "enumeration", instance));
|
|
2850
|
+
exports.Set("alias", CreateFunction(instance, CreateTypeAlias, "alias"));
|
|
2734
2851
|
|
|
2735
|
-
exports.Set("type",
|
|
2852
|
+
exports.Set("type", CreateFunction(instance, GetResolvedType, "type"));
|
|
2853
|
+
exports.Set("sizeof", CreateFunction(instance, GetTypeSize, "sizeof"));
|
|
2854
|
+
exports.Set("alignof", CreateFunction(instance, GetTypeAlign, "alignof"));
|
|
2855
|
+
exports.Set("offsetof", CreateFunction(instance, GetMemberOffset, "offsetof"));
|
|
2736
2856
|
|
|
2737
|
-
exports.Set("load",
|
|
2857
|
+
exports.Set("load", CreateFunction(instance, LoadSharedLibrary, "load"));
|
|
2738
2858
|
|
|
2739
|
-
exports.Set("in",
|
|
2740
|
-
exports.Set("out",
|
|
2741
|
-
exports.Set("inout",
|
|
2859
|
+
exports.Set("in", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return MarkPointer(env, info, 1); }, "in"));
|
|
2860
|
+
exports.Set("out", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return MarkPointer(env, info, 2); }, "out"));
|
|
2861
|
+
exports.Set("inout", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return MarkPointer(env, info, 3); }, "inout"));
|
|
2742
2862
|
|
|
2743
|
-
exports.Set("
|
|
2744
|
-
exports.Set("
|
|
2745
|
-
exports.Set("free", Napi::Function::New(env, CallFree, "free", instance));
|
|
2863
|
+
exports.Set("alloc", CreateFunction(instance, CallAlloc, "alloc"));
|
|
2864
|
+
exports.Set("free", CreateFunction(instance, CallFree, "free"));
|
|
2746
2865
|
|
|
2747
|
-
exports.Set("register",
|
|
2748
|
-
exports.Set("unregister",
|
|
2866
|
+
exports.Set("register", CreateFunction(instance, RegisterCallback, "register"));
|
|
2867
|
+
exports.Set("unregister", CreateFunction(instance, UnregisterCallback, "unregister"));
|
|
2749
2868
|
|
|
2750
|
-
exports.Set("as",
|
|
2751
|
-
exports.Set("address",
|
|
2752
|
-
exports.Set("call",
|
|
2753
|
-
exports.Set("encode",
|
|
2754
|
-
exports.Set("view",
|
|
2869
|
+
exports.Set("as", CreateFunction(instance, CastValue, "as"));
|
|
2870
|
+
exports.Set("address", CreateFunction(instance, GetPointerAddress, "address"));
|
|
2871
|
+
exports.Set("call", CreateFunction(instance, CallPointerSync, "call"));
|
|
2872
|
+
exports.Set("encode", CreateFunction(instance, EncodeValue, "encode"));
|
|
2873
|
+
exports.Set("view", CreateFunction(instance, CreateView, "view"));
|
|
2755
2874
|
|
|
2756
2875
|
{
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2876
|
+
napi_value decode = CreateFunction(instance, DecodeValue, "decode");
|
|
2877
|
+
Napi::Function obj(env, decode);
|
|
2878
|
+
|
|
2879
|
+
obj.Set("char", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<char>(env, info); }, "char"));
|
|
2880
|
+
obj.Set("uchar", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<unsigned char>(env, info); }, "uchar"));
|
|
2881
|
+
obj.Set("short", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<short>(env, info); }, "short"));
|
|
2882
|
+
obj.Set("ushort", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<unsigned short>(env, info); }, "ushort"));
|
|
2883
|
+
obj.Set("int", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<int>(env, info); }, "int"));
|
|
2884
|
+
obj.Set("uint", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<unsigned int>(env, info); }, "uint"));
|
|
2885
|
+
obj.Set("long", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<long>(env, info); }, "long"));
|
|
2886
|
+
obj.Set("ulong", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<unsigned long>(env, info); }, "ulong"));
|
|
2887
|
+
obj.Set("longlong", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<long long>(env, info); }, "longlong"));
|
|
2888
|
+
obj.Set("ulonglong", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<unsigned long long>(env, info); }, "ulonglong"));
|
|
2889
|
+
obj.Set("int8", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<int8_t>(env, info); }, "int8"));
|
|
2890
|
+
obj.Set("uint8", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<uint8_t>(env, info); }, "uint8"));
|
|
2891
|
+
obj.Set("int16", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<int16_t>(env, info); }, "int16"));
|
|
2892
|
+
obj.Set("int16le", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerLE<int16_t>(env, info); }, "int16le"));
|
|
2893
|
+
obj.Set("int16be", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerBE<int16_t>(env, info); }, "int16be"));
|
|
2894
|
+
obj.Set("uint16", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<uint16_t>(env, info); }, "uint16"));
|
|
2895
|
+
obj.Set("uint16le", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerLE<uint16_t>(env, info); }, "uint16le"));
|
|
2896
|
+
obj.Set("uint16be", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerBE<uint16_t>(env, info); }, "uint16be"));
|
|
2897
|
+
obj.Set("int32", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<int32_t>(env, info); }, "int32"));
|
|
2898
|
+
obj.Set("int32le", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerLE<int32_t>(env, info); }, "int32le"));
|
|
2899
|
+
obj.Set("int32be", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerBE<int32_t>(env, info); }, "int32be"));
|
|
2900
|
+
obj.Set("uint32", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<uint32_t>(env, info); }, "uint32"));
|
|
2901
|
+
obj.Set("uint32le", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerLE<uint32_t>(env, info); }, "uint32le"));
|
|
2902
|
+
obj.Set("uint32be", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerBE<uint32_t>(env, info); }, "uint32be"));
|
|
2903
|
+
obj.Set("int64", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<int64_t>(env, info); }, "int64"));
|
|
2904
|
+
obj.Set("int64le", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerLE<int64_t>(env, info); }, "int64le"));
|
|
2905
|
+
obj.Set("int64be", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerBE<int64_t>(env, info); }, "int64be"));
|
|
2906
|
+
obj.Set("uint64", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeInteger<uint64_t>(env, info); }, "uint64"));
|
|
2907
|
+
obj.Set("uint64le", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerLE<uint64_t>(env, info); }, "uint64le"));
|
|
2908
|
+
obj.Set("uint64be", CreateFunction(instance, [](napi_env env, napi_callback_info info) { return DecodeIntegerBE<uint64_t>(env, info); }, "uint64be"));
|
|
2909
|
+
obj.Set("float", CreateFunction(instance, DecodeFloat, "float"));
|
|
2910
|
+
obj.Set("double", CreateFunction(instance, DecodeDouble, "double"));
|
|
2911
|
+
obj.Set("string", CreateFunction(instance, DecodeString, "string"));
|
|
2912
|
+
obj.Set("string16", CreateFunction(instance, DecodeString16, "string16"));
|
|
2913
|
+
obj.Set("string32", CreateFunction(instance, DecodeString32, "string32"));
|
|
2794
2914
|
if constexpr (K_SIZE(wchar_t) == 2) {
|
|
2795
|
-
|
|
2915
|
+
obj.Set("wstring", CreateFunction(instance, DecodeString16, "wstring"));
|
|
2796
2916
|
} else if constexpr (K_SIZE(wchar_t) == 4) {
|
|
2797
|
-
|
|
2917
|
+
obj.Set("wstring", CreateFunction(instance, DecodeString32, "wstring"));
|
|
2798
2918
|
}
|
|
2799
2919
|
static_assert(K_SIZE(wchar_t) == 2 || K_SIZE(wchar_t) == 4);
|
|
2800
2920
|
|
|
2801
2921
|
exports.Set("decode", decode);
|
|
2802
2922
|
}
|
|
2803
2923
|
|
|
2804
|
-
exports.Set("reset",
|
|
2924
|
+
exports.Set("reset", CreateFunction(instance, ResetKoffi, "reset"));
|
|
2805
2925
|
|
|
2806
|
-
exports.Set("errno",
|
|
2926
|
+
exports.Set("errno", CreateFunction(instance, GetOrSetErrno, "errno"));
|
|
2807
2927
|
|
|
2808
2928
|
// Export useful OS info
|
|
2809
2929
|
{
|
|
@@ -2907,7 +3027,7 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2907
3027
|
instance->str32_type = instance->types_map.FindValue("char32_t *", nullptr);
|
|
2908
3028
|
instance->double_type = instance->types_map.FindValue("double", nullptr);
|
|
2909
3029
|
|
|
2910
|
-
instance->base_types_count = instance->types.
|
|
3030
|
+
instance->base_types_count = instance->types.Count();
|
|
2911
3031
|
}
|
|
2912
3032
|
|
|
2913
3033
|
// Expose internal Node stuff
|
|
@@ -2917,7 +3037,7 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2917
3037
|
|
|
2918
3038
|
node.Set("env", WrapPointer(env, (napi_env)env));
|
|
2919
3039
|
|
|
2920
|
-
node.Set("poll",
|
|
3040
|
+
node.Set("poll", CreateFunction(instance, &Poll, "poll"));
|
|
2921
3041
|
node.Set("PollHandle", instance->construct_poll.Value());
|
|
2922
3042
|
}
|
|
2923
3043
|
|
|
@@ -2937,25 +3057,33 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports)
|
|
|
2937
3057
|
napi_add_env_cleanup_hook(env, [](void *udata) {
|
|
2938
3058
|
InstanceData *instance = (InstanceData *)udata;
|
|
2939
3059
|
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
// the InstanceData destructor runs, so run in the env cleanup hook instead,
|
|
2943
|
-
// where it seems to go okay.
|
|
2944
|
-
napi_release_threadsafe_function(instance->broker, napi_tsfn_abort);
|
|
2945
|
-
}
|
|
3060
|
+
ReleaseInstance(instance, false);
|
|
3061
|
+
delete instance;
|
|
2946
3062
|
}, instance);
|
|
2947
3063
|
|
|
2948
3064
|
return exports;
|
|
2949
3065
|
}
|
|
2950
3066
|
|
|
2951
|
-
InstanceData
|
|
3067
|
+
void ReleaseInstance(InstanceData *instance, bool reusable)
|
|
2952
3068
|
{
|
|
2953
|
-
|
|
3069
|
+
Napi::Env env = instance->env;
|
|
2954
3070
|
|
|
2955
|
-
|
|
2956
|
-
|
|
3071
|
+
if (instance->broker) {
|
|
3072
|
+
// This deadlocks if we try to do this when the module is destroyed, when
|
|
3073
|
+
// the InstanceData destructor runs, so run in the env cleanup hook instead,
|
|
3074
|
+
// where it seems to go okay.
|
|
3075
|
+
napi_release_threadsafe_function(instance->broker, napi_tsfn_abort);
|
|
3076
|
+
instance->broker = nullptr;
|
|
2957
3077
|
}
|
|
2958
3078
|
|
|
3079
|
+
// Clear variadic cache
|
|
3080
|
+
delete instance->variadic_func;
|
|
3081
|
+
instance->variadic_func = nullptr;
|
|
3082
|
+
|
|
3083
|
+
// Clean-up leftover sync allocations
|
|
3084
|
+
instance->sync_transient.Reclaim();
|
|
3085
|
+
instance->pending_reclaim = false;
|
|
3086
|
+
|
|
2959
3087
|
// Clean-up leftover trampoline references
|
|
2960
3088
|
{
|
|
2961
3089
|
std::lock_guard<std::mutex> lock(shared.mutex);
|
|
@@ -2963,7 +3091,7 @@ InstanceData::~InstanceData()
|
|
|
2963
3091
|
for (int16_t idx = 0; idx < MaxTrampolines; idx++) {
|
|
2964
3092
|
TrampolineInfo *trampoline = &shared.trampolines[idx];
|
|
2965
3093
|
|
|
2966
|
-
if (trampoline->instance ==
|
|
3094
|
+
if (trampoline->instance == instance) {
|
|
2967
3095
|
trampoline->instance = nullptr;
|
|
2968
3096
|
if (trampoline->func) {
|
|
2969
3097
|
node_api_delete_reference(env, trampoline->func);
|
|
@@ -2972,6 +3100,45 @@ InstanceData::~InstanceData()
|
|
|
2972
3100
|
trampoline->state = 0;
|
|
2973
3101
|
}
|
|
2974
3102
|
}
|
|
3103
|
+
|
|
3104
|
+
instance->sync_transient.trampolines.len = 0;
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
// Clean up types
|
|
3108
|
+
if (reusable) {
|
|
3109
|
+
instance->types.RemoveFrom(instance->base_types_count);
|
|
3110
|
+
instance->callbacks.Clear();
|
|
3111
|
+
|
|
3112
|
+
HashSet<const void *> base_types;
|
|
3113
|
+
HashMap<const char *, const TypeInfo *> new_map;
|
|
3114
|
+
|
|
3115
|
+
for (const TypeInfo &type: instance->types) {
|
|
3116
|
+
base_types.Set(&type);
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
for (const auto &bucket: instance->types_map.table) {
|
|
3120
|
+
if (base_types.Find(bucket.value)) {
|
|
3121
|
+
new_map.Set(bucket.key, bucket.value);
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
std::swap(instance->types_map, new_map);
|
|
3126
|
+
} else {
|
|
3127
|
+
instance->types.Clear();
|
|
3128
|
+
instance->callbacks.Clear();
|
|
3129
|
+
instance->types_map.Clear();
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
// Clear resident async pool
|
|
3133
|
+
if (instance->async_calls) {
|
|
3134
|
+
for (auto &slot: instance->async_calls->slots) {
|
|
3135
|
+
slot.obj.Release();
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
if (!reusable) {
|
|
3139
|
+
delete instance->async_calls;
|
|
3140
|
+
instance->async_calls = nullptr;
|
|
3141
|
+
}
|
|
2975
3142
|
}
|
|
2976
3143
|
}
|
|
2977
3144
|
|