addedInput schema / properties / after / properties / dependency_usage
Added value: +{
+ "additionalProperties": false,
+ "description": "Optional local call shapes for this dependency under native Node with default conditions. No source, paths, local names or call arguments. Coverage is always partial; transpiled/bundled code is unsupported.",
+ "properties": {
+ "coverage": {
+ "const": "partial",
+ "type": "string"
+ },
+ "runtime": {
+ "additionalProperties": false,
+ "properties": {
+ "arch": {
+ "maxLength": 32,
+ "pattern": "^[a-z0-9_]+$",
+ "type": "string"
+ },
+ "node": {
+ "maxLength": 32,
+ "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$",
+ "type": "string"
+ },
+ "platform": {
+ "maxLength": 32,
+ "pattern": "^[a-z0-9_]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "node",
+ "platform",
+ "arch"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "const": 1,
+ "type": "integer"
+ },
+ "uses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "export_path": {
+ "items": {
+ "maxLength": 100,
+ "pattern": "^[A-Za-z_$][A-Za-z0-9_$]*$",
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "loader": {
+ "enum": [
+ "require",
+ "import"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "loader",
+ "export_path"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ }
+ },
+ "required": [
+ "schema_version",
+ "runtime",
+ "coverage",
+ "uses"
+ ],
+ "type": "object"
+}