HTTP-CSPHeader
view release on metacpan or search on metacpan
v0.3.1 2023-05-11 10:48:19+01:00 Europe/London
[Bug Fixes]
- Rebuild distribution with fixed SIGNATURE.
v0.3.0 2023-05-10 16:39:08+01:00 Europe/London
[Enhancments]
- Use Crypt::URandom to seed the RNG.
- Add nonce_seed_size attribute to alter the seed size.
- Recommend prerequisite Ref::Util::XS.
[Other]
- Use Types::Common over Types::Standard.
v0.2.1 2023-01-11 14:43:34+00:00 Europe/London
No Changes from v0.2.0.
v0.2.0 2023-01-10 09:24:16+00:00 Europe/London (TRIAL RELEASE)
[Incompatible Changes]
- Minimum Perl version is v5.14.
v0.1.2 2022-04-20 20:41:14+01:00 Europe/London
[Documentation]
- Added example of usage with Mojolicious.
- Fixed typo.
- Added note about when the reset method can be skipped.
v0.1.1 2022-04-04 11:20:36+01:00 Europe/London
[Enhancements]
- Removed Ref::Util from dependencies, but added Type::Tiny::XS as recommended.
[Bug Fixes]
- Disallow header being set from the constructor.
[Documentation]
- Added missing note to Changes.
v0.1.0 2022-04-03 13:26:16+01:00 Europe/London
- Initial version released.
"Test::Perl::Critic" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08",
"Test::Pod::LinkCheck" : "0",
"Test::Portability::Files" : "0",
"Test::TrailingSpace" : "0.0203"
}
},
"runtime" : {
"recommends" : {
"Ref::Util::XS" : "0",
"Type::Tiny::XS" : "0"
},
"requires" : {
"Fcntl" : "0",
"List::Util" : "1.29",
"Moo" : "0",
"Session::Token" : "0",
"Types::Common" : "2.000000",
"namespace::autoclean" : "0",
"perl" : "v5.14.0"
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: HTTP-CSPHeader
provides:
HTTP::CSPHeader:
file: lib/HTTP/CSPHeader.pm
version: v0.4.1
recommends:
Ref::Util::XS: '0'
Type::Tiny::XS: '0'
requires:
Fcntl: '0'
List::Util: '1.29'
Moo: '0'
Session::Token: '0'
Types::Common: '2.000000'
namespace::autoclean: '0'
perl: v5.14.0
resources:
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.032
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "Fcntl" => "0";
requires "List::Util" => "1.29";
requires "Moo" => "0";
requires "Session::Token" => "0";
requires "Types::Common" => "2.000000";
requires "namespace::autoclean" => "0";
requires "perl" => "v5.14.0";
recommends "Ref::Util::XS" => "0";
recommends "Type::Tiny::XS" => "0";
on 'build' => sub {
requires "ExtUtils::MakeMaker" => "7.22";
requires "Module::Metadata" => "1.000015";
};
on 'test' => sub {
requires "File::Spec" => "0";
requires "Module::Metadata" => "1.000015";
lib/HTTP/CSPHeader.pm view on Meta::CPAN
use v5.14;
use Moo;
use Fcntl qw/ O_NONBLOCK O_RDONLY /;
use List::Util 1.29 qw/ pairmap pairs /;
use Session::Token;
use Types::Common 2.000000 qw/ ArrayRef is_ArrayRef Bool HashRef IntRange Str /;
# RECOMMEND PREREQ: Ref::Util::XS
# RECOMMEND PREREQ: Type::Tiny::XS
use namespace::autoclean;
our $VERSION = 'v0.4.1';
has _base_policy => (
is => 'ro',
isa => HashRef,
t/00-report-prereqs.dd view on Meta::CPAN
'Test::Perl::Critic' => '0',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.08',
'Test::Pod::LinkCheck' => '0',
'Test::Portability::Files' => '0',
'Test::TrailingSpace' => '0.0203'
}
},
'runtime' => {
'recommends' => {
'Ref::Util::XS' => '0',
'Type::Tiny::XS' => '0'
},
'requires' => {
'Fcntl' => '0',
'List::Util' => '1.29',
'Moo' => '0',
'Session::Token' => '0',
'Types::Common' => '2.000000',
'namespace::autoclean' => '0',
'perl' => 'v5.14.0'
( run in 0.543 second using v1.01-cache-2.11-cpan-a5abf4f5562 )