CodeSampleX

ネットワークが見つけたもの

以下の各行は意見ではなく測定です。いずれも公開サンプルにリンクしており、その contract はネットワークを切った固定コンテナで実行されるので、自分で再実行して結果に反論できます。

OS とランタイムはリンク先サンプルに記録された環境です。その項目がない記録は選択時に除外されます。

597 件の発見、8 個のエコシステム。

サンプルが述べ、その契約が測ったこと

公開サンプルが測定した結果の 1–25 件目(全 568 件)。

  1. pypiサンプル契約python · linux 24/x64cffi@2.1.1

    信じられていることCalling ffi.string with maxlen reads the full byte length regardless of null bytes, and ffi.buffer on a pointer defaults to the full allocated buffer length.

    測定結果Calling ffi.string(cdata, maxlen) truncates at the first null byte rather than reading maxlen bytes, while ffi.unpack extracts the exact byte count across embedded nulls.

  2. npmサンプル契約node · linux 24/x64browserslist@4.28.7

    信じられていることModifying .browserslistrc on disk causes browserslist to automatically pick up the updated target configuration on subsequent queries in a long-running process.

    測定結果When .browserslistrc is modified on disk during a process lifetime, browserslist continues to return stale cached configurations until browserslist.clearCaches() is explicitly invoked.

  3. npmサンプル契約node 22.23 · linux 24/x64@babel/preset-env@7.26.9

    信じられていることModern compilation targets automatically negate all transforms regardless of configuration options like forceAllTransforms, and preset-level settings like bugfixes or loose are not systematically passed to configured plugins.

    測定結果presetEnv with forceAllTransforms: true forces all 49 syntax transform plugins to activate even when targeting modern Chrome 120 (which normally requires 17).

  4. npmサンプル契約node 22.23 · linux 24/x64@rollup/plugin-commonjs@28.0.2

    信じられていることWhen bundling CommonJS modules that require external dependencies into ESM, @rollup/plugin-commonjs automatically imports them as ES module namespaces or detects external module formats to preserve named exports.

    測定結果By default, @rollup/plugin-commonjs renders external dependencies required in CommonJS modules as default ESM imports rather than namespace imports.

  5. npmサンプル契約node 22.23 · linux 24/x64@rollup/plugin-commonjs@28.0.2

    信じられていることWhen bundling CommonJS modules that wrap external require calls inside try-catch blocks into ESM, @rollup/plugin-commonjs always hoists the requires to top-level static imports or always preserves runtime try-catch error handling.

    測定結果By default, @rollup/plugin-commonjs leaves external require calls inside try-catch blocks untransformed as dynamic require() calls, preventing top-level static ESM imports.

  6. npmサンプル契約node · linux 24/x64@rollup/plugin-commonjs@28.0.2

    信じられていることWhen bundling CommonJS modules containing dynamic require calls, @rollup/plugin-commonjs resolves dynamic calls automatically or leaves them untouched without requiring explicit configuration.

    測定結果By default, @rollup/plugin-commonjs transforms dynamic require calls into commonjsRequire helper calls that throw an error instructing the user to configure dynamicRequireTargets or ignoreDynamicRequires.

  7. npmサンプル契約node 22.23 · linux 24/x64@rollup/plugin-commonjs@29.0.3

    信じられていることWhen bundling CommonJS modules with dynamic require expressions, @rollup/plugin-commonjs either automatically resolves dynamic calls at runtime or silently ignores them without error.

    測定結果By default, @rollup/plugin-commonjs transforms dynamic require calls into commonjsRequire helper calls that throw an error instructing the user to configure dynamicRequireTargets or ignoreDynamicRequires.

  8. npmサンプル契約node 22.23 · linux 24/x64@rollup/plugin-commonjs@29.0.3

    信じられていることWhen bundling CommonJS modules that wrap external require calls inside try-catch blocks into ESM, @rollup/plugin-commonjs always hoists the requires to top-level static imports or always preserves runtime try-catch error handling.

    測定結果By default, @rollup/plugin-commonjs leaves external require calls inside try-catch blocks untransformed as dynamic require() calls, preventing top-level static ESM imports.

  9. npmサンプル契約node 22.23 · linux 24/x64@rollup/plugin-commonjs@29.0.3

    信じられていることWhen bundling CommonJS modules that require external dependencies into ESM, @rollup/plugin-commonjs automatically imports them as ES module namespaces or detects external module formats to preserve named exports.

    測定結果By default, @rollup/plugin-commonjs renders external dependencies required in CommonJS modules as default ESM imports rather than namespace imports.

  10. npmサンプル契約node · linux 24/x64@babel/preset-env@7.26.9

    信じられていることDevelopers expect specifying useBuiltIns alone without corejs to automatically configure polyfill plugins, or expect getPolyfillPlugins to return non-empty default plugins even when useBuiltIns is false or unset.

    測定結果getPolyfillPlugins returns an empty array when useBuiltIns is unset, false, or not usage/entry, or when corejs is missing.

  11. npmサンプル契約linux 24/x64@rollup/plugin-commonjs@28.0.7

    信じられていることBundling CommonJS code with Rollup leaves dynamic require calls as native runtime require invocations in the output bundle.

    測定結果assert @rollup/plugin-commonjs with default ignoreDynamicRequires (false) rewrites dynamic require calls into commonjsRequire helper that throws a runtime error

  12. npmサンプル契約node 22.23 · linux 24/x64@babel/preset-env@7.26.9

    信じられていることModern compilation targets automatically negate all transforms regardless of configuration options like forceAllTransforms, and preset-level settings like bugfixes or shippedProposals do not alter plugin resolution counts for modern environments.

    測定結果presetEnv with forceAllTransforms: true forces all 49 syntax transform plugins to activate even when targeting modern Chrome 120 (which normally requires 17).

  13. npmサンプル契約node 22.23 · linux 24/x64@babel/preset-env@8.0.2

    信じられていることCompilation targets strictly dictate plugin selection, requiring full package names if manually overridden, and include and exclude silently resolve collisions by precedence rather than throwing an error.

    測定結果Configuring the include option with transform-arrow-functions forces transpilation of arrow functions to function expressions even when targeting modern runtimes (such as Chrome 120) that natively support them, while preserving non-included syntax like template literals.

  14. npmサンプル契約node 22.23 · linux 24/x64@babel/preset-env@8.0.2

    信じられていることModern compilation targets like Chrome 120 prevent all syntax transformations, forceAllTransforms converts ES module syntax into CommonJS require calls, and exclude is ignored when forceAllTransforms is true.

    測定結果When forceAllTransforms is omitted or false, @babel/preset-env preserves native modern syntax (arrow functions, template literals, optional chaining) for targets that natively support them.

  15. npmサンプル契約node 22.23 · linux 24/x64@rollup/plugin-commonjs@28.0.7

    信じられていることBy default @rollup/plugin-commonjs hoists all CommonJS require calls including those inside try-catch blocks into top-level static imports.

    測定結果assert @rollup/plugin-commonjs by default (ignoreTryCatch: true) leaves external require calls inside try-catch blocks unconverted as runtime require statements without hoisting static imports

  16. npmサンプル契約node 22.23 · linux 24/x64@babel/preset-env@7.26.0

    信じられていることConfiguring polyfill injection with useBuiltIns 'usage' or 'entry' generates identical plugin lists, and legacy polyfill handling is only applied when corejs version 2 is specified.

    測定結果assert useBuiltIns 'usage' with corejs 3 selects pluginCoreJS3 with method 'usage-global' and legacyBabelPolyfillPlugin marked as deprecated

  17. npmサンプル契約node · linux 24/x64@babel/preset-env@7.26.0

    信じられていることDisabling module transforms in @babel/preset-env removes all module-related plugins entirely, and requesting dynamic import transformation enables transform-dynamic-import across all formats including UMD.

    測定結果assert modules: 'commonjs' with shouldTransformESM maps the module format to its transformation plugin alongside dynamic import and export-namespace transforms

  18. npmサンプル契約node · linux 24/x64@rollup/plugin-commonjs@28.0.7

    信じられていることBy default @rollup/plugin-commonjs allows CommonJS modules requiring external ES modules to access both default and named exports.

    測定結果assert @rollup/plugin-commonjs with default esmExternals: false emits default imports for external dependencies, causing named exports to be inaccessible (undefined) when required from CommonJS

  19. npmサンプル契約node 22.23 · linux 24/x64@babel/preset-env@7.29.7

    信じられていることModern compilation targets automatically negate all transforms regardless of configuration options like forceAllTransforms, and preset-level settings like bugfixes or loose are not systematically passed to configured plugins.

    測定結果presetEnv with forceAllTransforms: true forces all 50 syntax transform plugins to activate even when targeting modern Chrome 120 (which normally requires 18).

  20. npmサンプル契約node · linux 24/x64@babel/preset-env@7.26.0

    信じられていることTargeting a modern environment like Node 20 prevents syntax transforms like arrow functions from running, and targeting older environments compiles all modern syntax without granular options to selectively force or skip specific transforms.

    測定結果assert include with shorthand 'transform-arrow-functions' forces arrow function compilation on targets that natively support them such as node 20

  21. npmサンプル契約node 22 · linux 24/x64@babel/preset-env@7.29.7

    信じられていることTarget-based compilation dynamically configures the plugin pipeline, and preset helper utilities resolve feature requirements and partition syntax transforms.

    測定結果isPluginRequired returns true when target version is below support requirement, and false when target meets or exceeds requirement.

  22. npmサンプル契約node 22 · linux 24/x64@babel/preset-env@7.24.7

    信じられていることTarget-based compilation dynamically configures the plugin pipeline, and preset helper utilities resolve feature requirements and partition syntax transforms.

    測定結果isPluginRequired returns true when target version is below support requirement, and false when target meets or exceeds requirement.

  23. golangサンプル契約go · linux/x64google.golang.org/protobuf@v1.35.1

    信じられていることreflect.DeepEqual safely compares protobuf messages while proto.Equal behaves identically to standard struct comparisons.

    測定結果proto.Equal returns true when comparing two nil proto.Message values, and returns false when comparing a non-nil message with nil.

  24. pypiサンプル契約python · linux/x64pydantic@2.13.4

    信じられていることPydantic field_validators always receive raw uncoerced input by default and can access all sibling fields in ValidationInfo.data regardless of field definition order.

    測定結果Leaving field_validator mode unset defaults to 'after', running after core type coercion; inputs that fail core type coercion raise ValidationError before the after-validator executes.

  25. npmサンプル契約node 22.23 · linux 24/x64socket.io-client@4.8.1

    信じられていることEmitted events are always intercepted immediately by onAnyOutgoing regardless of connection state, volatile.emit queues offline packets like standard emit, and emitWithAck resolves directly without handling socket.io error-first ack protocol or timeout errors.

    測定結果assert volatile emit while disconnected discards event immediately without queuing in sendBuffer whereas regular emit is queued

ここの行を確かめる方法

サンプルを開き、contract を読み、実行してください。contract はそのサンプル自身のテストです。ネットワークを切った固定コンテナで実行され、その実行の署名済みレシートがネットワークに保存されます。ここに書かれていることはライブラリについての解釈ではなく、ライブラリが実際に行ったことだけに基づいています。

公開済みのサンプルのうち、このページにないものがあります。契約は通過しておりサンプルも生きていますが、その契約に文として読める行がないからです。expect(x).toBe(1) のような断言は、検査している思い込みの隣に置いても読者に何も伝えません。読めない証拠を載せるより、空けておくことを選びました。