generateInheritPatches() {
    return this.inherits.map((name) => new Patch(Patch.INHERIT, {
      name
    }));
  }
/**
   * Generates the patches that will satisfy {@link Package#inherits}
   * @return {Patch[]} - The patches that will update {@link Package#packageJson} with the inherited fields.
   */
Generates the patches that will satisfy  Package#inherits
@return {Patch[]} - The patches that will update  Package#packageJson with the inherited fields.
Generates the patches that will satisfy Package#inherits @return { Patch [] } - The patches that will update Package#packageJson with the inherited fields .
generateInheritPatches() {
    return this.inherits.map((name) => new Patch(Patch.INHERIT, {
      name
    }));
  }
generateInheritPatches ( ) { return this . inherits . map ( ( name ) => new Patch ( Patch . INHERIT , { name } ) ) ; }
Generates the patches that will satisfy {@link Package#inherits}
 @return {Patch[]} - The patches that will update {@link Package#packageJson} with the inherited fields.
Generates the patches that will satisfy { @link Package#inherits } @return { Patch [] } - The patches that will update { @link Package#packageJson } with the inherited fields .