Module-ScanDeps

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


- Merge pull request #2 from shawnlaffan/master, thanx Shawn!

  continue scanning one-liners when use if, autouse or >5.010 found

- Fix how data obtained from compiling or executing a file
  is incorporated (_info2rv).

  Sanitize all pathnames to use slash (instead of backslash):
  - members of @INC
  - keys and values of %INC
  - members of @dl_shared_objects
  This should make stripping @INC prefixes finally work.

- Add %Preload rule for FFI::Platypus

- Add bugtracker to META.yml

1.24  2017-06-28

- Merge pull request from Salvador Fandiño (salva), thx!
  Specio::PartialDump uses unicore

- Fix RT#119737: Problems with detecting DateTime::Format::Natural dependencies
  ... by adding a %Preload rule

1.23  2016-11-16

- add %Preload rules for List::SomeUtils and Pod::Simple::Transcode

- get rid of Module::Install, use ExtUtils::MakeMaker

1.22  2016-09-17

- Fix RT#117887: Not parsing new release of Net::DNS::Resolver
  add %Preload rule for Net/DNS/Resolver.pm

- Move to GitHub. Thanks, OpenFoundry, for years of service.

1.21  2016-04-05

- %Preload: add rules for List::MoreUtils and Log::Dispatch

- %Preload: make the following modules require the unicore stuff:
  charnames.pm
  Unicode/Normalize.pm
  Unicode/UCD.pm

- add helper _glob_in_inc_1()

- remove all references to http://par.perl.org/, doesn't exist anymore

1.20  2015-10-04

- Fix RT #107304: Newer versions of File::Path cause warning "_Inline for _Inline: No such file or directory at Module/ScanDeps.pm line 1339."
  - drop the dubious call to rmtree()

- Fix RT106142: Preload dependencies for PDL and PDL::NiceSlice
  - adopted from a patch by Shawn Laffan, thanks Shawn!

- Fix RT#106144: Preload dependencies for File::BOM)
  - adopted from a patch by Shawn Laffan, thanks Shawn!

- Revise our stance on utf8.pm:

  - A line of "use utf8;" just means "this file is encoded in UTF-8"
    and should _not_ result in scanning utf8.pm which will pull in
    the whole Unicode shebang (propery tables and what not).
    Yes, utf8.pm *does* contain "require utf8_heavy.pl", but only inside
    an AUTOLOAD() that is *not* triggered by calling functions
    like utf8::is_utf8().

  - OTOH the innocently looking one-liner

      perl -ne 'print if /\pN/'

    implicitly loads utf8.pm and triggers the AUTOLAD().

  - So prevent utf8.pm from being scanned and make utf8_heavy.pl
    the indicator for "I need the Unicode stuff" instead.

  - Cache the results of _get_preload('utf8_heavy.pl').

- Make %Preload "transitive" so that given

    my %Preload = (
      'Foo.pm' => [ 'Bar.pm' ],
      'Bar.pm' => [ 'Quux.pm' ],
      ...
    );

  scan_deps_static() registers a dependency on Bar.pm _and_
  Quux.pm when it has seen "use Foo;"

- Minor changes:
  - drop dubious %Preload of utf8.pm for SOAP::Lite and XML::Parser::Expat
  - drop code for Perl < 5.008 as we require 5.8.1 already
  - rework the implementation of -x/-c
  - add add_preload_rule() to dynamically add a %Preload rule
  - recognize constructs like "open FH, '<:via(Foo)', ..."
  - upgrade to Module::Install 1.16

1.19  2015-05-27

  - add %Preload rule for LWP::MediaTypes: data file LWP/media.types

  - add %Preload entry for MIME::Types: data file MIME/types.db

  - add %Preload rule for AnyEvent

  - always add Encode.pm when fix encountering constructs like

      decode("klingon", ...)
      open FH, "<:encoding(klingon)", ..

  - add license

  - update OpenFoundry repository URL

1.18  2015-01-19



( run in 0.523 second using v1.01-cache-2.11-cpan-63c85eba8c4 )