|  | 
|  | 1 | +# GENERATED BY: test/dependency_services/dependency_services_test.dart | 
|  | 2 | + | 
|  | 3 | +$ cat pubspec.yaml | 
|  | 4 | +{"name":"myapp","dependencies":{"foo":"1.0.0","bar":"1.0.0"},"environment":{"sdk":"^3.0.2"}} | 
|  | 5 | +$ cat pubspec.lock | 
|  | 6 | +# Generated by pub | 
|  | 7 | +# See https://dart.dev/tools/pub/glossary#lockfile | 
|  | 8 | +packages: | 
|  | 9 | +  bar: | 
|  | 10 | +    dependency: "direct main" | 
|  | 11 | +    description: | 
|  | 12 | +      name: bar | 
|  | 13 | +      sha256: $SHA256 | 
|  | 14 | +      url: "http://localhost:$PORT" | 
|  | 15 | +    source: hosted | 
|  | 16 | +    version: "1.0.0" | 
|  | 17 | +  baz: | 
|  | 18 | +    dependency: transitive | 
|  | 19 | +    description: | 
|  | 20 | +      name: baz | 
|  | 21 | +      sha256: $SHA256 | 
|  | 22 | +      url: "http://localhost:$PORT" | 
|  | 23 | +    source: hosted | 
|  | 24 | +    version: "1.0.0" | 
|  | 25 | +  foo: | 
|  | 26 | +    dependency: "direct main" | 
|  | 27 | +    description: | 
|  | 28 | +      name: foo | 
|  | 29 | +      sha256: $SHA256 | 
|  | 30 | +      url: "http://localhost:$PORT" | 
|  | 31 | +    source: hosted | 
|  | 32 | +    version: "1.0.0" | 
|  | 33 | +sdks: | 
|  | 34 | +  dart: ">=3.0.2 <4.0.0" | 
|  | 35 | +-------------------------------- END OF OUTPUT --------------------------------- | 
|  | 36 | + | 
|  | 37 | +## Section report | 
|  | 38 | +$ echo '{"target":"riverpod_lint","disallowed":[]}' | dependency_services report | 
|  | 39 | +{ | 
|  | 40 | +  "dependencies": [ | 
|  | 41 | +    { | 
|  | 42 | +      "name": "bar", | 
|  | 43 | +      "version": "1.0.0", | 
|  | 44 | +      "kind": "direct", | 
|  | 45 | +      "source": { | 
|  | 46 | +        "type": "hosted", | 
|  | 47 | +        "description": { | 
|  | 48 | +          "name": "bar", | 
|  | 49 | +          "url": "http://localhost:$PORT", | 
|  | 50 | +          "sha256": "e46cfed05052e950f7ded2b9f1a368b5f3705e1aa79b0ee22e041d62d88156eb" | 
|  | 51 | +        } | 
|  | 52 | +      }, | 
|  | 53 | +      "latest": "2.0.0", | 
|  | 54 | +      "constraint": "1.0.0", | 
|  | 55 | +      "compatible": [], | 
|  | 56 | +      "singleBreaking": [], | 
|  | 57 | +      "multiBreaking": [] | 
|  | 58 | +    }, | 
|  | 59 | +    { | 
|  | 60 | +      "name": "baz", | 
|  | 61 | +      "version": "1.0.0", | 
|  | 62 | +      "kind": "transitive", | 
|  | 63 | +      "source": { | 
|  | 64 | +        "type": "hosted", | 
|  | 65 | +        "description": { | 
|  | 66 | +          "name": "baz", | 
|  | 67 | +          "url": "http://localhost:$PORT", | 
|  | 68 | +          "sha256": "a7efc9c78968fdb7a7eed37efa3d53caf8b0eef7921b512f581966733cc9fc46" | 
|  | 69 | +        } | 
|  | 70 | +      }, | 
|  | 71 | +      "latest": "2.0.0", | 
|  | 72 | +      "constraint": null, | 
|  | 73 | +      "compatible": [], | 
|  | 74 | +      "singleBreaking": [], | 
|  | 75 | +      "multiBreaking": [] | 
|  | 76 | +    }, | 
|  | 77 | +    { | 
|  | 78 | +      "name": "foo", | 
|  | 79 | +      "version": "1.0.0", | 
|  | 80 | +      "kind": "direct", | 
|  | 81 | +      "source": { | 
|  | 82 | +        "type": "hosted", | 
|  | 83 | +        "description": { | 
|  | 84 | +          "name": "foo", | 
|  | 85 | +          "url": "http://localhost:$PORT", | 
|  | 86 | +          "sha256": "48a4851d3cf26e9152a94d346221669b294a26b4aa5d93290b7b3e63ce41eb3c" | 
|  | 87 | +        } | 
|  | 88 | +      }, | 
|  | 89 | +      "latest": "1.0.0", | 
|  | 90 | +      "constraint": "1.0.0", | 
|  | 91 | +      "compatible": [], | 
|  | 92 | +      "singleBreaking": [], | 
|  | 93 | +      "multiBreaking": [] | 
|  | 94 | +    } | 
|  | 95 | +  ] | 
|  | 96 | +} | 
|  | 97 | + | 
|  | 98 | +-------------------------------- END OF OUTPUT --------------------------------- | 
|  | 99 | + | 
|  | 100 | +$ cat pubspec.yaml | 
|  | 101 | +{"name":"myapp","dependencies":{"foo":"1.0.0","bar":"1.0.0"},"environment":{"sdk":"^3.0.2"}} | 
|  | 102 | +$ cat pubspec.lock | 
|  | 103 | +# Generated by pub | 
|  | 104 | +# See https://dart.dev/tools/pub/glossary#lockfile | 
|  | 105 | +packages: | 
|  | 106 | +  bar: | 
|  | 107 | +    dependency: "direct main" | 
|  | 108 | +    description: | 
|  | 109 | +      name: bar | 
|  | 110 | +      sha256: $SHA256 | 
|  | 111 | +      url: "http://localhost:$PORT" | 
|  | 112 | +    source: hosted | 
|  | 113 | +    version: "1.0.0" | 
|  | 114 | +  baz: | 
|  | 115 | +    dependency: transitive | 
|  | 116 | +    description: | 
|  | 117 | +      name: baz | 
|  | 118 | +      sha256: $SHA256 | 
|  | 119 | +      url: "http://localhost:$PORT" | 
|  | 120 | +    source: hosted | 
|  | 121 | +    version: "1.0.0" | 
|  | 122 | +  foo: | 
|  | 123 | +    dependency: "direct main" | 
|  | 124 | +    description: | 
|  | 125 | +      name: foo | 
|  | 126 | +      sha256: $SHA256 | 
|  | 127 | +      url: "http://localhost:$PORT" | 
|  | 128 | +    source: hosted | 
|  | 129 | +    version: "1.0.0" | 
|  | 130 | +sdks: | 
|  | 131 | +  dart: ">=3.0.2 <4.0.0" | 
0 commit comments