Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
Arch-excludes
January 2021
----- 2024 -----
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
arch-excludes@lists.fedoraproject.org
2 participants
985 discussions
Start a n
N
ew thread
Architecture specific change in rpms/nodejs-pretty-hrtime.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-pretty-hrtime.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-pretty-hrtime.git/commit/?id…
. Change: -ExclusiveArch: %{ix86} x86_64 %{arm} noarch Thanks. Full change: ============ commit 5d009e6884893d6e66e512f85f3d7858b632b3e2 Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:29:25 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index fde63ed..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/pretty-hrtime-1.0.2.tgz -/tests-1.0.2.tar.bz2 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/dl-tests.sh b/dl-tests.sh deleted file mode 100644 index 2719465..0000000 --- a/dl-tests.sh +++ /dev/null @@ -1,115 +0,0 @@ -#!/bin/bash - -tag=$(sed -n 's/^Version:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -url=$(sed -n 's/^URL:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -pkgdir=$(basename $url | sed -s 's/\.git$//') - -echo "tag: $tag" -echo "URL: $url" -echo "pkgdir: $pkgdir" - -set -e - -tmp=$(mktemp -d) - -trap cleanup EXIT -cleanup() { - echo Cleaning up... - set +e - [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" -} - -unset CDPATH -pwd=$(pwd) - -pushd "$tmp" -git clone $url -cd $pkgdir -echo Finding git tag -gittag=$(git show-ref --tags | cut -d' ' -f2 | grep "${tag}$" || git show-ref --tags | cut -d' ' -f2 | sort -Vr | head -n1) -if [ -z $gittag ]; then - gittag=tags/$tag -fi -echo "Git Tag: $gittag" -if [ -d "test" ]; then - git archive --prefix='test/' --format=tar ${gittag}:test/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -elif [ -d "tests" ]; then - git archive --prefix='tests/' --format=tar ${gittag}:tests/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -elif [ -d "spec" ]; then - git archive --prefix='spec/' --format=tar ${gittag}:spec/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -else - echo "No test directory found for tag ${gittag}" -fi -if [ -d "support" ]; then - git archive --prefix='support/' --format=tar ${gittag}:support/ \ - | bzip2 > "$pwd"/support-${tag}.tar.bz2 -fi -if [ -d "fixture" ]; then - git archive --prefix='fixture/' --format=tar ${gittag}:fixture/ \ - | bzip2 > "$pwd"/fixture-${tag}.tar.bz2 -fi -if [ -d "examples" ]; then - git archive --prefix='examples/' --format=tar ${gittag}:examples/ \ - | bzip2 > "$pwd"/examples-${tag}.tar.bz2 -elif [ -d "example" ]; then - git archive --prefix='example/' --format=tar ${gittag}:example/ \ - | bzip2 > "$pwd"/examples-${tag}.tar.bz2 -fi -if [ -d "tasks" ]; then - git archive --prefix='tasks/' --format=tar ${gittag}:tasks/ \ - | bzip2 > "$pwd"/tasks-${tag}.tar.bz2 -fi -if [ -d "docs" ]; then - git archive --prefix='docs/' --format=tar ${gittag}:docs/ \ - | bzip2 > "$pwd"/docs-${tag}.tar.bz2 -elif [ -d "doc" ]; then - git archive --prefix='doc/' --format=tar ${gittag}:doc/ \ - | bzip2 > "$pwd"/docs-${tag}.tar.bz2 -fi -if [ -d "src" ]; then - git archive --prefix='src/' --format=tar ${gittag}:src/ \ - | bzip2 > "$pwd"/src-${tag}.tar.bz2 -elif [ -d "source" ]; then - git archive --prefix='source/' --format=tar ${gittag}:source/ \ - | bzip2 > "$pwd"/source-${tag}.tar.bz2 -fi -if [ -d "tools" ]; then - git archive --prefix='tools/' --format=tar ${gittag}:tools/ \ - | bzip2 > "$pwd"/tools-${tag}.tar.bz2 -fi -if [ -d "scripts" ]; then - git archive --prefix='scripts/' --format=tar ${gittag}:scripts/ \ - | bzip2 > "$pwd"/scripts-${tag}.tar.bz2 -fi -if [ -d "modules" ]; then - git archive --prefix='modules/' --format=tar ${gittag}:modules/ \ - | bzip2 > "$pwd"/modules-${tag}.tar.bz2 -fi -if [ -d "ts" ]; then - git archive --prefix='ts/' --format=tar ${gittag}:ts/ \ - | bzip2 > "$pwd"/ts-${tag}.tar.bz2 -fi -if [ -d "build" ]; then - git archive --prefix='build/' --format=tar ${gittag}:build/ \ - | bzip2 > "$pwd"/build-${tag}.tar.bz2 -fi -if [ -d "fixtures" ]; then - git archive --prefix='fixtures/' --format=tar ${gittag}:fixtures/ \ - | bzip2 > "$pwd"/fixtures-${tag}.tar.bz2 -fi -if [ -d "mocks" ]; then - git archive --prefix='mocks/' --format=tar ${gittag}:mocks/ \ - | bzip2 > "$pwd"/mocks-${tag}.tar.bz2 -fi -if [ -d "typings" ]; then - git archive --prefix='typings/' --format=tar ${gittag}:typings/ \ - | bzip2 > "$pwd"/typings-${tag}.tar.bz2 -fi -if [ -d "templates" ]; then - git archive --prefix='templates/' --format=tar ${gittag}:templates/ \ - | bzip2 > "$pwd"/templates-${tag}.tar.bz2 -fi -popd diff --git a/nodejs-pretty-hrtime.spec b/nodejs-pretty-hrtime.spec deleted file mode 100644 index 4c799c3..0000000 --- a/nodejs-pretty-hrtime.spec +++ /dev/null @@ -1,100 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename pretty-hrtime -%global enable_tests 1 - -Name: nodejs-pretty-hrtime -Version: 1.0.2 -Release: 10%{?dist} -Summary: Convert process.hrtime() to words - -License: MIT -URL:
https://github.com/robrich/pretty-hrtime
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-# The test files are not included in the npm tarball. -# Source{1-9} are generated by running Source10, which pulls from the upstream -# version control repository. -Source1: tests-%{version}.tar.bz2 -Source10: dl-tests.sh - - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging - -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(should) -%endif - -%description -Convert process.hrtime() to words - - -%prep -%autosetup -n package -# setup the tests -%autosetup -T -D -a 1 -n package - - -%build -# nothing to do - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -NODE_ENV=test %{_bindir}/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-10 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-9 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-8 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- -* Wed Jul 27 2016 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.2-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index d2fa5c6..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -5c58f0751c56003be7273767f4a0af1c pretty-hrtime-1.0.2.tgz -5f4503dd4446b232774fc0393dde1bbb tests-1.0.2.tar.bz2
1
0
0
0
Architecture specific change in rpms/nodejs-preserve.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-preserve.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-preserve.git/commit/?id=367c…
. Change: -ExclusiveArch: %{ix86} x86_64 %{arm} noarch Thanks. Full change: ============ commit 367c1d8af4e05f25c7164d65edefb84adcb46310 Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:29:10 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f367125..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/preserve-0.2.0.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-preserve.spec b/nodejs-preserve.spec deleted file mode 100644 index 1a32853..0000000 --- a/nodejs-preserve.spec +++ /dev/null @@ -1,104 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename preserve - -# Disable tests because of dependency on js-beautify, which depends -# on jshint, which has a disallowed license -%global enable_tests 0 - -Name: nodejs-preserve -Version: 0.2.0 -Release: 10%{?dist} -Summary: Substitute tokens in the given `string` , then put them back - -License: MIT -URL:
https://github.com/jonschlinkert/preserve.git
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- -# Disable one of the tests, as it's depending on old funcionality in js-beautify -# that has since been fixed. Running the test fails because js-beautify is now -# smarter about the way it does things. -Patch0: nodejs-preserve_disable-test.patch - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(should) -BuildRequires: npm(js-beautify) -%endif - -%description -Temporarily substitute tokens in the given `string` with placeholders, then -put them back after transforming the string. - - -%prep -%setup -q -n package - -%patch0 -p1 - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json index.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -%{_bindir}/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-10 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-9 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-8 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.0-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Mon Aug 15 2016 Jared Smith <jsmith(a)fedoraproject.org> - 0.2.0-2 -- Disable tests to remove dependency on npm(js-beautify) and jshint - -* Mon Feb 8 2016 Jared Smith <jsmith(a)fedoraproject.org> - 0.2.0-1 -- Initial packaging diff --git a/nodejs-preserve_disable-test.patch b/nodejs-preserve_disable-test.patch deleted file mode 100644 index 07bf30b..0000000 --- a/nodejs-preserve_disable-test.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/test.js b/test.js -index 9bf174f..d1df307 100644 ---- a/test.js -+++ b/test.js -@@ -22,10 +22,10 @@ describe('preserve tokens', function () { - var testRe = /__ID.{5}__\n__ID.{5}__\n__ID.{5}__/; - var re = /<%=\s*[^>]+%>/g; - -- it('should (e.g. shouldn\'t, but will) mangle tokens in the given string', function () { -- var html = pretty('<ul><li><%= name %></li></ul>'); -- html.should.equal('<ul>\n <li>\n <%=n ame %>\n </li>\n</ul>'); -- }); -+// it('should (e.g. shouldn\'t, but will) mangle tokens in the given string', function () { -+// var html = pretty('<ul><li><%= name %></li></ul>'); -+// html.should.equal('<ul>\n <li>\n <%=n ame %>\n </li>\n</ul>'); -+// }); - - it('should preserve tokens in the given string', function () { - var html = tokens.after(pretty(tokens.before('<ul><li><%= name %></li></ul>', re))); diff --git a/sources b/sources deleted file mode 100644 index 1547602..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (preserve-0.2.0.tgz) = b3fe3ab187b29547c736323eb00ffbf0500796622e2aa23dc0d9f310e19e84095451878e6efe42da63a29d7063c94c96989d927dc4b6ff2740a47e214c5e165d
1
0
0
0
Architecture specific change in rpms/nodejs-pbkdf2-password.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-pbkdf2-password.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-pbkdf2-password.git/commit/?…
. Change: -ExclusiveArch: %{nodejs_arches} noarch Thanks. Full change: ============ commit 81b8e58f03320c71a88816d18a57ec9e4412c4db Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:28:54 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8a3fbc7..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/pbkdf2-password-1.2.1.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-pbkdf2-password.spec b/nodejs-pbkdf2-password.spec deleted file mode 100644 index 0dc701a..0000000 --- a/nodejs-pbkdf2-password.spec +++ /dev/null @@ -1,81 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename pbkdf2-password -%global enable_tests 1 - -Name: nodejs-pbkdf2-password -Version: 1.2.1 -Release: 8%{?dist} -Summary: Easy salt/password creation for Node.js, extracted from Mosca - -License: MIT -URL:
https://github.com/mcollina/pbkdf2-password
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- - -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: nodejs-packaging -BuildRequires: npm(fastfall) -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(chai) -%endif - -%description -Easy salt/password creation for Node.js, extracted from Mosca - - -%prep -%autosetup -n package - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json pbkdf2-password.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -%{_bindir}/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%doc README.md example.js -%license LICENSE -%{nodejs_sitelib}/%{packagename} - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-8 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Mon Sep 25 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.2.1-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 7c7bc81..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (pbkdf2-password-1.2.1.tgz) = 23a662522f36ba160de3b94ece2f0feceebd7bbd0b468a604b84c892ad1e70300f1eb97100158e1f12c4b13cc2ba8824c53a1f1490e3d1e11b3802e0aebc612a
1
0
0
0
Architecture specific change in rpms/nodejs-pathval.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-pathval.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-pathval.git/commit/?id=bb534…
. Change: -ExclusiveArch: %{nodejs_arches} noarch Thanks. Full change: ============ commit bb534d1cb895290e5373c7c1f6a8038c273d5cdb Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:28:40 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 22e2cbe..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/pathval-1.1.0.tgz -/tests-1.1.0.tar.bz2 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/dl-tests.sh b/dl-tests.sh deleted file mode 100644 index 2719465..0000000 --- a/dl-tests.sh +++ /dev/null @@ -1,115 +0,0 @@ -#!/bin/bash - -tag=$(sed -n 's/^Version:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -url=$(sed -n 's/^URL:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -pkgdir=$(basename $url | sed -s 's/\.git$//') - -echo "tag: $tag" -echo "URL: $url" -echo "pkgdir: $pkgdir" - -set -e - -tmp=$(mktemp -d) - -trap cleanup EXIT -cleanup() { - echo Cleaning up... - set +e - [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" -} - -unset CDPATH -pwd=$(pwd) - -pushd "$tmp" -git clone $url -cd $pkgdir -echo Finding git tag -gittag=$(git show-ref --tags | cut -d' ' -f2 | grep "${tag}$" || git show-ref --tags | cut -d' ' -f2 | sort -Vr | head -n1) -if [ -z $gittag ]; then - gittag=tags/$tag -fi -echo "Git Tag: $gittag" -if [ -d "test" ]; then - git archive --prefix='test/' --format=tar ${gittag}:test/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -elif [ -d "tests" ]; then - git archive --prefix='tests/' --format=tar ${gittag}:tests/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -elif [ -d "spec" ]; then - git archive --prefix='spec/' --format=tar ${gittag}:spec/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -else - echo "No test directory found for tag ${gittag}" -fi -if [ -d "support" ]; then - git archive --prefix='support/' --format=tar ${gittag}:support/ \ - | bzip2 > "$pwd"/support-${tag}.tar.bz2 -fi -if [ -d "fixture" ]; then - git archive --prefix='fixture/' --format=tar ${gittag}:fixture/ \ - | bzip2 > "$pwd"/fixture-${tag}.tar.bz2 -fi -if [ -d "examples" ]; then - git archive --prefix='examples/' --format=tar ${gittag}:examples/ \ - | bzip2 > "$pwd"/examples-${tag}.tar.bz2 -elif [ -d "example" ]; then - git archive --prefix='example/' --format=tar ${gittag}:example/ \ - | bzip2 > "$pwd"/examples-${tag}.tar.bz2 -fi -if [ -d "tasks" ]; then - git archive --prefix='tasks/' --format=tar ${gittag}:tasks/ \ - | bzip2 > "$pwd"/tasks-${tag}.tar.bz2 -fi -if [ -d "docs" ]; then - git archive --prefix='docs/' --format=tar ${gittag}:docs/ \ - | bzip2 > "$pwd"/docs-${tag}.tar.bz2 -elif [ -d "doc" ]; then - git archive --prefix='doc/' --format=tar ${gittag}:doc/ \ - | bzip2 > "$pwd"/docs-${tag}.tar.bz2 -fi -if [ -d "src" ]; then - git archive --prefix='src/' --format=tar ${gittag}:src/ \ - | bzip2 > "$pwd"/src-${tag}.tar.bz2 -elif [ -d "source" ]; then - git archive --prefix='source/' --format=tar ${gittag}:source/ \ - | bzip2 > "$pwd"/source-${tag}.tar.bz2 -fi -if [ -d "tools" ]; then - git archive --prefix='tools/' --format=tar ${gittag}:tools/ \ - | bzip2 > "$pwd"/tools-${tag}.tar.bz2 -fi -if [ -d "scripts" ]; then - git archive --prefix='scripts/' --format=tar ${gittag}:scripts/ \ - | bzip2 > "$pwd"/scripts-${tag}.tar.bz2 -fi -if [ -d "modules" ]; then - git archive --prefix='modules/' --format=tar ${gittag}:modules/ \ - | bzip2 > "$pwd"/modules-${tag}.tar.bz2 -fi -if [ -d "ts" ]; then - git archive --prefix='ts/' --format=tar ${gittag}:ts/ \ - | bzip2 > "$pwd"/ts-${tag}.tar.bz2 -fi -if [ -d "build" ]; then - git archive --prefix='build/' --format=tar ${gittag}:build/ \ - | bzip2 > "$pwd"/build-${tag}.tar.bz2 -fi -if [ -d "fixtures" ]; then - git archive --prefix='fixtures/' --format=tar ${gittag}:fixtures/ \ - | bzip2 > "$pwd"/fixtures-${tag}.tar.bz2 -fi -if [ -d "mocks" ]; then - git archive --prefix='mocks/' --format=tar ${gittag}:mocks/ \ - | bzip2 > "$pwd"/mocks-${tag}.tar.bz2 -fi -if [ -d "typings" ]; then - git archive --prefix='typings/' --format=tar ${gittag}:typings/ \ - | bzip2 > "$pwd"/typings-${tag}.tar.bz2 -fi -if [ -d "templates" ]; then - git archive --prefix='templates/' --format=tar ${gittag}:templates/ \ - | bzip2 > "$pwd"/templates-${tag}.tar.bz2 -fi -popd diff --git a/nodejs-pathval.spec b/nodejs-pathval.spec deleted file mode 100644 index 3615c76..0000000 --- a/nodejs-pathval.spec +++ /dev/null @@ -1,90 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename pathval -%global enable_tests 1 - -Name: nodejs-pathval -Version: 1.1.0 -Release: 9%{?dist} -Summary: Object value retrieval given a string path - -License: MIT -URL:
https://github.com/chaijs/pathval
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-# The test files are not included in the npm tarball. -# Source1 is generated by running Source10, which pulls from the upstream -# version control repository. -Source1: tests-%{version}.tar.bz2 -Source10: dl-tests.sh - - -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(simple-assert) -%endif - -%description -Object value retrieval given a string path - - -%prep -%autosetup -n package -# setup the tests -%autosetup -T -D -a 1 -n package - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -%{_bindir}/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-9 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-8 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Wed Mar 29 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.1.0-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 2fe49e0..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (pathval-1.1.0.tgz) = a99d7cd6adc80a46a0ffe96fd57e9fac3505f38a6a0a6df4aa295ddcb19b0fce27d000bbe426309d6b10443969cfbcc3914e4d55c9a11e1e0b8d72b48282d864 -SHA512 (tests-1.1.0.tar.bz2) = c1e3c3403c5b03e3c071c29bac972a1c38e8f0433be6c180ff269339e660baf8cb80d0b6327032c79b97823508028f9eb7227cb4e2514bdfb8770fbdff7c4be0
1
0
0
0
Architecture specific change in rpms/nodejs-path2.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-path2.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-path2.git/commit/?id=813da88…
. Change: -ExclusiveArch: %{ix86} x86_64 %{arm} noarch Thanks. Full change: ============ commit 813da882189c8a955c9887c7c99cd15690017f75 Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:28:25 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index faf982a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/path2-0.1.0.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-path2.spec b/nodejs-path2.spec deleted file mode 100644 index 6f64f57..0000000 --- a/nodejs-path2.spec +++ /dev/null @@ -1,94 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename path2 -%global enable_tests 0 - -Name: nodejs-path2 -Version: 0.1.0 -Release: 11%{?dist} -Summary: Modular and extended version of `path` package - -License: MIT -URL:
https://github.com/medikoo/path2.git
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: npm(tad) -%endif - -%description -Modular and extended version of `path` package - - -%prep -%setup -q -n package - - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js posix/ windows/ \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -%__nodejs %{nodejs_sitelib}/tad/bin/tad -%endif - - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license LICENCE -%{nodejs_sitelib}/%{packagename} - - - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-11 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-10 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-9 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-8 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- -* Thu Jul 14 2016 Jared Smith <jsmith(a)fedoraproject.org> - 0.1.0-2 -- Update package - -* Fri Nov 13 2015 Jared Smith <jsmith(a)fedoraproject.org> - 0.1.0-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 420a999..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -346ea6fb3ad410fe10f4b1399fb96337 path2-0.1.0.tgz
1
0
0
0
Architecture specific change in rpms/nodejs-path-to-regexp.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-path-to-regexp.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-path-to-regexp.git/commit/?i…
. Change: -ExclusiveArch: %{ix86} x86_64 %{arm} noarch Thanks. Full change: ============ commit 8d36d89e6a292384320ad91e80f32fe8d7aa4a3e Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:28:07 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b5783cc..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/path-to-regexp-1.2.1.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-path-to-regexp.spec b/nodejs-path-to-regexp.spec deleted file mode 100644 index 1415855..0000000 --- a/nodejs-path-to-regexp.spec +++ /dev/null @@ -1,108 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename path-to-regexp -%global enable_tests 1 - -Name: nodejs-path-to-regexp -Version: 1.2.1 -Release: 12%{?dist} -Summary: Express style path to RegExp utility - -License: MIT -URL:
https://github.com/pillarjs/path-to-regexp.git
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-# The test files are not included in the npm tarball. -Source1:
https://raw.githubusercontent.com/pillarjs/path-to-regexp/v%{version}/test.…
- - - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(chai) -BuildRequires: npm(isarray) -%endif - -Requires: nodejs - -%description -Express style path to RegExp utility - - -%prep -%setup -q -n package -# setup the tests -cp -p %{SOURCE1} . - - - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json index.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%if 0%{?enable_tests} -%check -%nodejs_symlink_deps --check -/usr/bin/mocha -R spec -%endif - - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - - - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-12 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-11 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-10 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-9 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-8 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2.1-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- -* Mon Nov 09 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.2.1-3 -- Remove test.js from the list of installed files -- Change Source1 to use tag rather than hash - -* Fri Nov 06 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.2.1-2 -- Add missing build dependencies - -* Thu Nov 5 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.2.1-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index c36a4b1..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -febbac96c6491f3d663885ab0618e72f path-to-regexp-1.2.1.tgz diff --git a/test.js b/test.js deleted file mode 100644 index 9e8957e..0000000 --- a/test.js +++ /dev/null @@ -1,1931 +0,0 @@ -/* global describe, it */ - -var util = require('util') -var expect = require('chai').expect -var pathToRegexp = require('./') - -/** - * An array of test cases with expected inputs and outputs. - * - * @type {Array} - */ -var TESTS = [ - /** - * Simple paths. - */ - [ - '/', - null, - [ - '/' - ], - [ - ['/', ['/']], - ['/route', null] - ], - [ - [null, '/'], - [{}, '/'], - [{ id: 123 }, '/'] - ] - ], - [ - '/test', - null, - [ - '/test' - ], - [ - ['/test', ['/test']], - ['/route', null], - ['/test/route', null], - ['/test/', ['/test/']] - ], - [ - [null, '/test'], - [{}, '/test'] - ] - ], - [ - '/test/', - null, - [ - '/test/' - ], - [ - ['/test', ['/test']], - ['/test/', ['/test/']], - ['/test//', null] - ], - [ - [null, '/test/'] - ] - ], - - /** - * Case-sensitive paths. - */ - [ - '/test', - { - sensitive: true - }, - [ - '/test' - ], - [ - ['/test', ['/test']], - ['/TEST', null] - ], - [ - [null, '/test'] - ] - ], - [ - '/TEST', - { - sensitive: true - }, - [ - '/TEST' - ], - [ - ['/test', null], - ['/TEST', ['/TEST']] - ], - [ - [null, '/TEST'] - ] - ], - - /** - * Strict mode. - */ - [ - '/test', - { - strict: true - }, - [ - '/test' - ], - [ - ['/test', ['/test']], - ['/test/', null], - ['/TEST', ['/TEST']] - ], - [ - [null, '/test'] - ] - ], - [ - '/test/', - { - strict: true - }, - [ - '/test/' - ], - [ - ['/test', null], - ['/test/', ['/test/']], - ['/test//', null] - ], - [ - [null, '/test/'] - ] - ], - - /** - * Non-ending mode. - */ - [ - '/test', - { - end: false - }, - [ - '/test' - ], - [ - ['/test', ['/test']], - ['/test/', ['/test/']], - ['/test/route', ['/test']], - ['/route', null] - ], - [ - [null, '/test'] - ] - ], - [ - '/test/', - { - end: false - }, - [ - '/test/' - ], - [ - ['/test/route', ['/test']], - ['/test//', ['/test']], - ['/test//route', ['/test']] - ], - [ - [null, '/test/'] - ] - ], - [ - '/:test', - { - end: false - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route', ['/route', 'route']] - ], - [ - [{}, null], - [{ test: 'abc' }, '/abc'] - ] - ], - [ - '/:test/', - { - end: false - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - '/' - ], - [ - ['/route', ['/route', 'route']] - ], - [ - [{ test: 'abc' }, '/abc/'] - ] - ], - - /** - * Combine modes. - */ - [ - '/test', - { - end: false, - strict: true - }, - [ - '/test' - ], - [ - ['/test', ['/test']], - ['/test/', ['/test']], - ['/test/route', ['/test']] - ], - [ - [null, '/test'] - ] - ], - [ - '/test/', - { - end: false, - strict: true - }, - [ - '/test/' - ], - [ - ['/test', null], - ['/test/', ['/test/']], - ['/test//', ['/test/']], - ['/test/route', ['/test/']] - ], - [ - [null, '/test/'] - ] - ], - [ - '/test.json', - { - end: false, - strict: true - }, - [ - '/test.json' - ], - [ - ['/test.json', ['/test.json']], - ['/test.json.hbs', null], - ['/test.json/route', ['/test.json']] - ], - [ - [null, '/test.json'] - ] - ], - [ - '/:test', - { - end: false, - strict: true - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route', ['/route', 'route']], - ['/route/', ['/route', 'route']] - ], - [ - [{}, null], - [{ test: 'abc' }, '/abc'] - ] - ], - [ - '/:test/', - { - end: false, - strict: true - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - '/' - ], - [ - ['/route', null], - ['/route/', ['/route/', 'route']] - ], - [ - [{ test: 'foobar' }, '/foobar/'] - ] - ], - - /** - * Arrays of simple paths. - */ - [ - ['/one', '/two'], - null, - [], - [ - ['/one', ['/one']], - ['/two', ['/two']], - ['/three', null], - ['/one/two', null] - ] - ], - - /** - * Non-ending simple path. - */ - [ - '/test', - { - end: false - }, - [ - '/test' - ], - [ - ['/test/route', ['/test']] - ], - [ - [null, '/test'] - ] - ], - - /** - * Single named parameter. - */ - [ - '/:test', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route', ['/route', 'route']], - ['/another', ['/another', 'another']], - ['/something/else', null], - ['/route.json', ['/route.json', 'route.json']], - ['/something%2Felse', ['/something%2Felse', 'something%2Felse']] - ], - [ - [{ test: 'route' }, '/route'], - [{ test: 'something/else' }, '/something%2Felse'] - ] - ], - [ - '/:test', - { - strict: true - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route', ['/route', 'route']], - ['/route/', null] - ], - [ - [{ test: 'route' }, '/route'] - ] - ], - [ - '/:test/', - { - strict: true - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - '/' - ], - [ - ['/route/', ['/route/', 'route']], - ['/route//', null] - ], - [ - [{ test: 'route' }, '/route/'] - ] - ], - [ - '/:test', - { - end: false - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route.json', ['/route.json', 'route.json']], - ['/route//', ['/route', 'route']] - ], - [ - [{ test: 'route' }, '/route'] - ] - ], - - /** - * Optional named parameter. - */ - [ - '/:test?', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: true, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route', ['/route', 'route']], - ['/route/nested', null], - ['/', ['/', undefined]], - ['//', null] - ], - [ - [null, ''], - [{ test: 'foobar' }, '/foobar'] - ] - ], - [ - '/:test?', - { - strict: true - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: true, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/route', ['/route', 'route']], - ['/', null], // Questionable behaviour. - ['//', null] - ], - [ - [null, ''], - [{ test: 'foobar' }, '/foobar'] - ] - ], - [ - '/:test?/', - { - strict: true - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: true, - repeat: false, - pattern: '[^\\/]+?' - }, - '/' - ], - [ - ['/route', null], - ['/route/', ['/route/', 'route']], - ['/', ['/', undefined]], - ['//', null] - ], - [ - [null, '/'], - [{ test: 'foobar' }, '/foobar/'] - ] - ], - - /** - * Repeated one or more times parameters. - */ - [ - '/:test+', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: true, - pattern: '[^\\/]+?' - } - ], - [ - ['/', null], - ['/route', ['/route', 'route']], - ['/some/basic/route', ['/some/basic/route', 'some/basic/route']], - ['//', null] - ], - [ - [{}, null], - [{ test: 'foobar' }, '/foobar'], - [{ test: ['a', 'b', 'c'] }, '/a/b/c'] - ] - ], - [ - '/:test(\\d+)+', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: true, - pattern: '\\d+' - } - ], - [ - ['/abc/456/789', null], - ['/123/456/789', ['/123/456/789', '123/456/789']] - ], - [ - [{ test: 'abc' }, null], - [{ test: 123 }, '/123'], - [{ test: [1, 2, 3] }, '/1/2/3'] - ] - ], - [ - '/route.:ext(json|xml)+', - null, - [ - '/route', - { - name: 'ext', - prefix: '.', - delimiter: '.', - optional: false, - repeat: true, - pattern: 'json|xml' - } - ], - [ - ['/route', null], - ['/route.json', ['/route.json', 'json']], - ['/route.xml.json', ['/route.xml.json', 'xml.json']], - ['/route.html', null] - ], - [ - [{ ext: 'foobar' }, null], - [{ ext: 'xml' }, '/route.xml'], - [{ ext: ['xml', 'json'] }, '/route.xml.json'] - ] - ], - - /** - * Repeated zero or more times parameters. - */ - [ - '/:test*', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: true, - repeat: true, - pattern: '[^\\/]+?' - } - ], - [ - ['/', ['/', undefined]], - ['//', null], - ['/route', ['/route', 'route']], - ['/some/basic/route', ['/some/basic/route', 'some/basic/route']] - ], - [ - [{}, ''], - [{ test: 'foobar' }, '/foobar'], - [{ test: ['foo', 'bar'] }, '/foo/bar'] - ] - ], - [ - '/route.:ext([a-z]+)*', - null, - [ - '/route', - { - name: 'ext', - prefix: '.', - delimiter: '.', - optional: true, - repeat: true, - pattern: '[a-z]+' - } - ], - [ - ['/route', ['/route', undefined]], - ['/route.json', ['/route.json', 'json']], - ['/route.json.xml', ['/route.json.xml', 'json.xml']], - ['/route.123', null] - ], - [ - [{}, '/route'], - [{ ext: [] }, '/route'], - [{ ext: '123' }, null], - [{ ext: 'foobar' }, '/route.foobar'], - [{ ext: ['foo', 'bar'] }, '/route.foo.bar'] - ] - ], - - /** - * Custom named parameters. - */ - [ - '/:test(\\d+)', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '\\d+' - } - ], - [ - ['/123', ['/123', '123']], - ['/abc', null], - ['/123/abc', null] - ], - [ - [{ test: 'abc' }, null], - [{ test: '123' }, '/123'] - ] - ], - [ - '/:test(\\d+)', - { - end: false - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '\\d+' - } - ], - [ - ['/123', ['/123', '123']], - ['/abc', null], - ['/123/abc', ['/123', '123']] - ], - [ - [{ test: '123' }, '/123'] - ] - ], - [ - '/:test(.*)', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '.*' - } - ], - [ - ['/anything/goes/here', ['/anything/goes/here', 'anything/goes/here']] - ], - [ - [{ test: '' }, '/'], - [{ test: 'abc' }, '/abc'], - [{ test: 'abc/123' }, '/abc%2F123'] - ] - ], - [ - '/:route([a-z]+)', - null, - [ - { - name: 'route', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[a-z]+' - } - ], - [ - ['/abcde', ['/abcde', 'abcde']], - ['/12345', null] - ], - [ - [{ route: '' }, null], - [{ route: '123' }, null], - [{ route: 'abc' }, '/abc'] - ] - ], - [ - '/:route(this|that)', - null, - [ - { - name: 'route', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: 'this|that' - } - ], - [ - ['/this', ['/this', 'this']], - ['/that', ['/that', 'that']], - ['/foo', null] - ], - [ - [{ route: 'this' }, '/this'], - [{ route: 'foo' }, null], - [{ route: 'that' }, '/that'] - ] - ], - - /** - * Prefixed slashes could be omitted. - */ - [ - 'test', - null, - [ - 'test' - ], - [ - ['test', ['test']], - ['/test', null] - ], - [ - [null, 'test'] - ] - ], - [ - ':test', - null, - [ - { - name: 'test', - prefix: '', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['route', ['route', 'route']], - ['/route', null], - ['route/', ['route/', 'route']] - ], - [ - [{ test: '' }, null], - [{}, null], - [{ test: null }, null], - [{ test: 'route' }, 'route'] - ] - ], - [ - ':test', - { - strict: true - }, - [ - { - name: 'test', - prefix: '', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['route', ['route', 'route']], - ['/route', null], - ['route/', null] - ], - [ - [{ test: 'route' }, 'route'] - ] - ], - [ - ':test', - { - end: false - }, - [ - { - name: 'test', - prefix: '', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['route', ['route', 'route']], - ['/route', null], - ['route/', ['route/', 'route']], - ['route/foobar', ['route', 'route']] - ], - [ - [{ test: 'route' }, 'route'] - ] - ], - [ - ':test?', - null, - [ - { - name: 'test', - prefix: '', - delimiter: '/', - optional: true, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['route', ['route', 'route']], - ['/route', null], - ['', ['', undefined]], - ['route/foobar', null] - ], - [ - [{}, ''], - [{ test: '' }, null], - [{ test: 'route' }, 'route'] - ] - ], - - /** - * Formats. - */ - [ - '/test.json', - null, - [ - '/test.json' - ], - [ - ['/test.json', ['/test.json']], - ['/route.json', null] - ], - [ - [{}, '/test.json'] - ] - ], - [ - '/:test.json', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - '.json' - ], - [ - ['/test.json', ['/test.json', 'test']], - ['/route.json', ['/route.json', 'route']], - ['/route.json.json', ['/route.json.json', 'route.json']] - ], - [ - [{ test: 'foo' }, '/foo.json'] - ] - ], - - /** - * Format params. - */ - [ - '/test.:format', - null, - [ - '/test', - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '[^.]+?' - } - ], - [ - ['/test.html', ['/test.html', 'html']], - ['/test.hbs.html', null] - ], - [ - [{}, null], - [{ format: '' }, null], - [{ format: 'foo' }, '/test.foo'] - ] - ], - [ - '/test.:format.:format', - null, - [ - '/test', - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '[^.]+?' - }, - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '[^.]+?' - } - ], - [ - ['/test.html', null], - ['/test.hbs.html', ['/test.hbs.html', 'hbs', 'html']] - ], - [ - [{ format: 'foo.bar' }, null], - [{ format: 'foo' }, '/test.foo.foo'] - ] - ], - [ - '/test.:format+', - null, - [ - '/test', - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: true, - pattern: '[^.]+?' - } - ], - [ - ['/test.html', ['/test.html', 'html']], - ['/test.hbs.html', ['/test.hbs.html', 'hbs.html']] - ], - [ - [{ format: [] }, null], - [{ format: 'foo' }, '/test.foo'], - [{ format: ['foo', 'bar'] }, '/test.foo.bar'] - ] - ], - [ - '/test.:format', - { - end: false - }, - [ - '/test', - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '[^.]+?' - } - ], - [ - ['/test.html', ['/test.html', 'html']], - ['/test.hbs.html', null] - ], - [ - [{ format: 'foo' }, '/test.foo'] - ] - ], - [ - '/test.:format.', - null, - [ - '/test', - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '[^.]+?' - }, - '.' - ], - [ - ['/test.html.', ['/test.html.', 'html']], - ['/test.hbs.html', null] - ], - [ - [{ format: '' }, null], - [{ format: 'foo' }, '/test.foo.'] - ] - ], - - /** - * Format and path params. - */ - [ - '/:test.:format', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '[^.]+?' - } - ], - [ - ['/route.html', ['/route.html', 'route', 'html']], - ['/route', null], - ['/route.html.json', ['/route.html.json', 'route.html', 'json']] - ], - [ - [{}, null], - [{ test: 'route', format: 'foo' }, '/route.foo'] - ] - ], - [ - '/:test.:format?', - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: true, - repeat: false, - pattern: '[^.]+?' - } - ], - [ - ['/route', ['/route', 'route', undefined]], - ['/route.json', ['/route.json', 'route', 'json']], - ['/route.json.html', ['/route.json.html', 'route.json', 'html']] - ], - [ - [{ test: 'route' }, '/route'], - [{ test: 'route', format: '' }, null], - [{ test: 'route', format: 'foo' }, '/route.foo'] - ] - ], - [ - '/:test.:format?', - { - end: false - }, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: true, - repeat: false, - pattern: '[^.]+?' - } - ], - [ - ['/route', ['/route', 'route', undefined]], - ['/route.json', ['/route.json', 'route', 'json']], - ['/route.json.html', ['/route.json.html', 'route.json', 'html']] - ], - [ - [{ test: 'route' }, '/route'], - [{ test: 'route', format: undefined }, '/route'], - [{ test: 'route', format: '' }, null], - [{ test: 'route', format: 'foo' }, '/route.foo'] - ] - ], - [ - '/test.:format(.*)z', - { - end: false - }, - [ - '/test', - { - name: 'format', - prefix: '.', - delimiter: '.', - optional: false, - repeat: false, - pattern: '.*' - }, - 'z' - ], - [ - ['/test.abc', null], - ['/test.z', ['/test.z', '']], - ['/test.abcz', ['/test.abcz', 'abc']] - ], - [ - [{}, null], - [{ format: '' }, '/test.z'], - [{ format: 'foo' }, '/test.fooz'] - ] - ], - - /** - * Unnamed params. - */ - [ - '/(\\d+)', - null, - [ - { - name: 0, - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '\\d+' - } - ], - [ - ['/123', ['/123', '123']], - ['/abc', null], - ['/123/abc', null] - ], - [ - [{}, null], - [{ '0': '123' }, '/123'] - ] - ], - [ - '/(\\d+)', - { - end: false - }, - [ - { - name: 0, - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '\\d+' - } - ], - [ - ['/123', ['/123', '123']], - ['/abc', null], - ['/123/abc', ['/123', '123']], - ['/123/', ['/123/', '123']] - ], - [ - [{ '0': '123' }, '/123'] - ] - ], - [ - '/(\\d+)?', - null, - [ - { - name: 0, - prefix: '/', - delimiter: '/', - optional: true, - repeat: false, - pattern: '\\d+' - } - ], - [ - ['/', ['/', undefined]], - ['/123', ['/123', '123']] - ], - [ - [{}, ''], - [{ '0': '123' }, '/123'] - ] - ], - [ - '/(.*)', - null, - [ - { - name: 0, - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '.*' - } - ], - [ - ['/', ['/', '']], - ['/route', ['/route', 'route']], - ['/route/nested', ['/route/nested', 'route/nested']] - ], - [ - [{ '0': '' }, '/'], - [{ '0': '123' }, '/123'] - ] - ], - - /** - * Regexps. - */ - [ - /.*/, - null, - [], - [ - ['/match/anything', ['/match/anything']] - ] - ], - [ - /(.*)/, - null, - [ - { - name: 0, - prefix: null, - delimiter: null, - optional: false, - repeat: false, - pattern: null - } - ], - [ - ['/match/anything', ['/match/anything', '/match/anything']] - ] - ], - [ - /\/(\d+)/, - null, - [ - { - name: 0, - prefix: null, - delimiter: null, - optional: false, - repeat: false, - pattern: null - } - ], - [ - ['/abc', null], - ['/123', ['/123', '123']] - ] - ], - - /** - * Mixed arrays. - */ - [ - ['/test', /\/(\d+)/], - null, - [ - { - name: 0, - prefix: null, - delimiter: null, - optional: false, - repeat: false, - pattern: null - } - ], - [ - ['/test', ['/test', undefined]] - ] - ], - [ - ['/:test(\\d+)', /(.*)/], - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '\\d+' - }, - { - name: 0, - prefix: null, - delimiter: null, - optional: false, - repeat: false, - pattern: null - } - ], - [ - ['/123', ['/123', '123', undefined]], - ['/abc', ['/abc', undefined, '/abc']] - ] - ], - - /** - * Correct names and indexes. - */ - [ - ['/:test', '/route/:test'], - null, - [ - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - { - name: 'test', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/test', ['/test', 'test', undefined]], - ['/route/test', ['/route/test', undefined, 'test']] - ] - ], - [ - [/^\/([^\/]+)$/, /^\/route\/([^\/]+)$/], - null, - [ - { - name: 0, - prefix: null, - delimiter: null, - optional: false, - repeat: false, - pattern: null - }, - { - name: 0, - prefix: null, - delimiter: null, - optional: false, - repeat: false, - pattern: null - } - ], - [ - ['/test', ['/test', 'test', undefined]], - ['/route/test', ['/route/test', undefined, 'test']] - ] - ], - - /** - * Ignore non-matching groups in regexps. - */ - [ - /(?:.*)/, - null, - [], - [ - ['/anything/you/want', ['/anything/you/want']] - ] - ], - - /** - * Respect escaped characters. - */ - [ - '/\\(testing\\)', - null, - [ - '/(testing)' - ], - [ - ['/testing', null], - ['/(testing)', ['/(testing)']] - ], - [ - [null, '/(testing)'] - ] - ], - [ - '/.+\\*?=^!:${}[]|', - null, - [ - '/.+*?=^!:${}[]|' - ], - [ - ['/.+*?=^!:${}[]|', ['/.+*?=^!:${}[]|']] - ], - [ - [null, '/.+*?=^!:${}[]|'] - ] - ], - - /** - * Asterisk functionality. - */ - [ - '/*', - null, - [ - { - name: 0, - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '.*' - } - ], - [ - ['', null], - ['/', ['/', '']], - ['/foo/bar', ['/foo/bar', 'foo/bar']] - ], - [ - [null, null], - [{ '0': '' }, '/'], - [{ '0': 'foobar' }, '/foobar'] - ] - ], - [ - '/foo/*', - null, - [ - '/foo', - { - name: 0, - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '.*' - } - ], - [ - ['', null], - ['/test', null], - ['/foo', null], - ['/foo/', ['/foo/', '']], - ['/foo/bar', ['/foo/bar', 'bar']] - ], - [ - [{ '0': 'bar' }, '/foo/bar'] - ] - ], - [ - '/:foo/*', - null, - [ - { - name: 'foo', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - { - name: 0, - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '.*' - } - ], - [ - ['', null], - ['/test', null], - ['/foo', null], - ['/foo/', ['/foo/', 'foo', '']], - ['/foo/bar', ['/foo/bar', 'foo', 'bar']] - ], - [ - [{ foo: 'foo' }, null], - [{ '0': 'bar' }, null], - [{ foo: 'foo', '0': 'bar' }, '/foo/bar'] - ] - ], - - /** - * Random examples. - */ - [ - '/:foo/:bar', - null, - [ - { - name: 'foo', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - { - name: 'bar', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/match/route', ['/match/route', 'match', 'route']] - ], - [ - [{ foo: 'a', bar: 'b' }, '/a/b'] - ] - ], - [ - '/:remote([\\w-.]+)/:user([\\w-]+)', - null, - [ - { - name: 'remote', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[\\w-.]+' - }, - { - name: 'user', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[\\w-]+' - } - ], - [ - ['/endpoint/user', ['/endpoint/user', 'endpoint', 'user']], - ['/endpoint/user-name', ['/endpoint/user-name', 'endpoint', 'user-name']], - ['/foo.bar/user-name', ['/foo.bar/user-name', 'foo.bar', 'user-name']] - ], - [ - [{ remote: 'foo', user: 'bar' }, '/foo/bar'], - [{ remote: 'foo.bar', user: 'uno' }, '/foo.bar/uno'] - ] - ], - [ - '/:foo\\?', - null, - [ - { - name: 'foo', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - '?' - ], - [ - ['/route?', ['/route?', 'route']] - ], - [ - [{ foo: 'bar' }, '/bar?'] - ] - ], - [ - '/:foo\\(:bar?\\)', - null, - [ - { - name: 'foo', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - }, - '(', - { - name: 'bar', - prefix: '', - delimiter: '/', - optional: true, - repeat: false, - pattern: '[^\\/]+?' - }, - ')' - ], - [ - ['/hello(world)', ['/hello(world)', 'hello', 'world']], - ['/hello()', ['/hello()', 'hello', undefined]] - ], - [ - [{ foo: 'hello', bar: 'world' }, '/hello(world)'], - [{ foo: 'hello' }, '/hello()'] - ] - ], - [ - '/:postType(video|audio|text)(\\+.+)?', - null, - [ - { - name: 'postType', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: 'video|audio|text' - }, - { - name: 0, - prefix: '', - delimiter: '/', - optional: true, - repeat: false, - pattern: '\\+.+' - } - ], - [ - ['/video', ['/video', 'video', undefined]], - ['/video+test', ['/video+test', 'video', '+test']], - ['/video+', null] - ], - [ - [{ postType: 'video' }, '/video'], - [{ postType: 'random' }, null] - ] - ], - - /** - * Unicode characters. - */ - [ - '/:foo', - null, - [ - { - name: 'foo', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - ], - [ - ['/café', ['/café', 'café']] - ], - [ - [{ foo: 'café' }, '/caf%C3%A9'] - ] - ] -] - -/** - * Dynamically generate the entire test suite. - */ -describe('path-to-regexp', function () { - var TEST_PATH = '/user/:id' - - var TEST_PARAM = { - name: 'id', - prefix: '/', - delimiter: '/', - optional: false, - repeat: false, - pattern: '[^\\/]+?' - } - - describe('arguments', function () { - it('should accept an array of keys as the second argument', function () { - var keys = [] - var re = pathToRegexp(TEST_PATH, keys, { end: false }) - - expect(re.keys).to.equal(keys) - expect(keys).to.deep.equal([TEST_PARAM]) - expect(exec(re, '/user/123/show')).to.deep.equal(['/user/123', '123']) - }) - - it('should work with keys as null', function () { - var re = pathToRegexp(TEST_PATH, null, { end: false }) - - expect(re.keys).to.deep.equal([TEST_PARAM]) - expect(exec(re, '/user/123/show')).to.deep.equal(['/user/123', '123']) - }) - }) - - describe('tokens', function () { - var tokens = pathToRegexp.parse(TEST_PATH) - - it('should expose method to compile tokens to regexp', function () { - var re = pathToRegexp.tokensToRegExp(tokens) - - expect(exec(re, '/user/123')).to.deep.equal(['/user/123', '123']) - }) - - it('should expose method to compile tokens to a path function', function () { - var fn = pathToRegexp.tokensToFunction(tokens) - - expect(fn({ id: 123 })).to.equal('/user/123') - }) - }) - - describe('rules', function () { - TESTS.forEach(function (test) { - var path = test[0] - var opts = test[1] - var tokens = test[2] - var matchCases = test[3] - var compileCases = test[4] - - var keys = tokens.filter(function (token) { - return typeof token !== 'string' - }) - - describe(util.inspect(path), function () { - // Parsing and compiling is only supported with string input. - if (typeof path === 'string') { - it('should parse', function () { - expect(pathToRegexp.parse(path)).to.deep.equal(tokens) - }) - - describe('compile', function () { - var toPath = pathToRegexp.compile(path) - - compileCases.forEach(function (io) { - var input = io[0] - var output = io[1] - - if (output != null) { - it('should compile using ' + util.inspect(input), function () { - expect(toPath(input)).to.equal(output) - }) - } else { - it('should not compile using ' + util.inspect(input), function () { - expect(function () { - toPath(input) - }).to.throw(TypeError) - }) - } - }) - }) - } - - describe('match' + (opts ? ' using ' + util.inspect(opts) : ''), function () { - matchCases.forEach(function (io) { - var input = io[0] - var output = io[1] - var message = 'should' + (output ? ' ' : ' not ') + 'match ' + util.inspect(input) - - it(message, function () { - var re = pathToRegexp(path, opts) - - expect(re.keys).to.deep.equal(keys) - expect(exec(re, input)).to.deep.equal(output) - }) - }) - }) - }) - }) - }) - - describe('compile errors', function () { - it('should throw when a required param is undefined', function () { - var toPath = pathToRegexp.compile('/a/:b/c') - - expect(function () { - toPath() - }).to.throw(TypeError, 'Expected "b" to be defined') - }) - - it('should throw when it does not match the pattern', function () { - var toPath = pathToRegexp.compile('/:foo(\\d+)') - - expect(function () { - toPath({ foo: 'abc' }) - }).to.throw(TypeError, 'Expected "foo" to match "\\d+"') - }) - - it('should throw when expecting a repeated value', function () { - var toPath = pathToRegexp.compile('/:foo+') - - expect(function () { - toPath({ foo: [] }) - }).to.throw(TypeError, 'Expected "foo" to not be empty') - }) - - it('should throw when not expecting a repeated value', function () { - var toPath = pathToRegexp.compile('/:foo') - - expect(function () { - toPath({ foo: [] }) - }).to.throw(TypeError, 'Expected "foo" to not repeat') - }) - - it('should throw when repeated value does not match', function () { - var toPath = pathToRegexp.compile('/:foo(\\d+)+') - - expect(function () { - toPath({ foo: [1, 2, 3, 'a'] }) - }).to.throw(TypeError, 'Expected all "foo" to match "\\d+"') - }) - }) -}) - -/** - * Execute a regular expression and return a flat array for comparison. - * - * @param {RegExp} re - * @param {String} str - * @return {Array} - */ -function exec (re, str) { - var match = re.exec(str) - - return match && Array.prototype.slice.call(match) -}
1
0
0
0
Architecture specific change in rpms/nodejs-path-array.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-path-array.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-path-array.git/commit/?id=7a…
. Change: -ExclusiveArch: %{ix86} x86_64 %{arm} noarch Thanks. Full change: ============ commit 7ac0e39c769eb30432baeac702c90697eec84ac8 Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:27:52 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ca568a8..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/path-array-1.0.0.tgz -/path-array-1.0.1.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-path-array.spec b/nodejs-path-array.spec deleted file mode 100644 index 8230ec8..0000000 --- a/nodejs-path-array.spec +++ /dev/null @@ -1,105 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename path-array -%global enable_tests 1 - -Name: nodejs-path-array -Version: 1.0.1 -Release: 10%{?dist} -Summary: Treat your $PATH like a JavaScript Array - -License: MIT -# License text is at the bottom of README.md -URL:
https://github.com/TooTallNate/node-path-array.git
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(array-index) -%endif - -%description -Treat your $PATH like a JavaScript Array - - -%prep -%setup -q -n package - -%nodejs_fixdep array-index '>=0.1.0' - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%if 0%{?enable_tests} -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -/usr/bin/mocha -R spec -%endif - - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license README.md -# license text is at the bottom of README.md, so I'm including it in both doc and -# license sections -%{nodejs_sitelib}/%{packagename} - - - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-10 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-9 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-8 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- -* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- -* Fri Feb 12 2016 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.1-1 -- Update to upstream 1.0.1 release - -* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
- -* Mon Dec 21 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-2 -- Relax dependency on npm(array-index) - -* Wed Dec 16 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 8a6702f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -9e1fc122723d328ebf0f7b45072d63ed path-array-1.0.1.tgz
1
0
0
0
Architecture specific change in rpms/nodejs-parseuri.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-parseuri.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-parseuri.git/commit/?id=8b3d…
. Change: -ExclusiveArch: %{nodejs_arches} noarch Thanks. Full change: ============ commit 8b3d1a79c7ea39d1320032a1116fc7c4d5a5557b Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:27:36 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index fbc798a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/parseuri-0.0.5.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-parseuri.spec b/nodejs-parseuri.spec deleted file mode 100644 index 5fda908..0000000 --- a/nodejs-parseuri.spec +++ /dev/null @@ -1,85 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename parseuri -%global enable_tests 1 - -Name: nodejs-parseuri -Version: 0.0.5 -Release: 8%{?dist} -Summary: Method that parses a URI and returns an array of its components - -License: MIT -URL:
https://github.com/get/parseuri
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: nodejs-packaging -BuildRequires: dos2unix -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(better-assert) -BuildRequires: npm(expect.js) -%endif - -%description -Method that parses a URI and returns an array of its components - - -%prep -%autosetup -n package -# convert line endings -dos2unix *.md - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json index.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -# add missing expect.js devDependency -ln -s %{nodejs_sitelib}/expect.js node_modules/expect.js -%{_bindir}/mocha -R spec test.js -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-8 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Wed Mar 29 2017 Jared Smith <jsmith(a)fedoraproject.org> - 0.0.5-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 0072d83..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (parseuri-0.0.5.tgz) = 8a385dc49bba97946ed768c5d09bf35d53efb02f9589ba9e684c6536832158de9543bf4f1a392673ba00e16d65a74d2c1643728f47f1ea2bcf2dd579d7f50ca2
1
0
0
0
Architecture specific change in rpms/nodejs-parseqs.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-parseqs.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-parseqs.git/commit/?id=d753d…
. Change: -ExclusiveArch: %{nodejs_arches} noarch Thanks. Full change: ============ commit d753ddadc092a842e4458a49bc63f2313af70f2b Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:27:16 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 06441fe..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/parseqs-0.0.5.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-parseqs.spec b/nodejs-parseqs.spec deleted file mode 100644 index 8511c93..0000000 --- a/nodejs-parseqs.spec +++ /dev/null @@ -1,83 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename parseqs -%global enable_tests 1 - -Name: nodejs-parseqs -Version: 0.0.5 -Release: 8%{?dist} -Summary: Methods for parsing a query string into an object, and vice versa - -License: MIT -URL:
https://github.com/get/querystring
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: dos2unix -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(better-assert) -BuildRequires: npm(expect.js) -%endif - -%description -Provides methods for parsing a query string into an object, and vice versa. - - -%prep -%autosetup -n package -dos2unix *.md - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json index.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -ln -s %{nodejs_sitelib}/expect.js node_modules/expect.js -%{_bindir}/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-8 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.5-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Wed Mar 29 2017 Jared Smith <jsmith(a)fedoraproject.org> - 0.0.5-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index d967d82..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (parseqs-0.0.5.tgz) = 07736b8f0d9a2fb688e130ee8cecdf03836c11ce2ed6555c211134c5eb2eb47f248de585ef4ba4f96e5c065210c74e33507f4d4c1bee377e98f712d13cae898f
1
0
0
0
Architecture specific change in rpms/nodejs-parsejson.git
by githook-noreply@fedoraproject.org
04 Jan '21
04 Jan '21
The package rpms/nodejs-parsejson.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-parsejson.git/commit/?id=e1b…
. Change: -ExclusiveArch: %{nodejs_arches} noarch Thanks. Full change: ============ commit e1b34f83d15c73ac346539760a7d85bd1cfa5af6 Author: Miro Hrončok <miro(a)hroncok.cz> Date: Mon Jan 4 11:27:02 2021 +0100 Orphaned for 6+ weeks diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 35bd633..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/parsejson-0.0.3.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-parsejson.spec b/nodejs-parsejson.spec deleted file mode 100644 index c44a713..0000000 --- a/nodejs-parsejson.spec +++ /dev/null @@ -1,83 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename parsejson -%global enable_tests 1 - -Name: nodejs-parsejson -Version: 0.0.3 -Release: 8%{?dist} -Summary: Method that parses a JSON string and returns a JSON object - -License: MIT -URL:
https://github.com/get/parsejson
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
- -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: nodejs-packaging -BuildRequires: dos2unix -%if 0%{?enable_tests} -BuildRequires: npm(better-assert) -BuildRequires: npm(expect.js) -BuildRequires: mocha -%endif - -%description -Method that parses a JSON string and returns a JSON object - - -%prep -%autosetup -n package -dos2unix *.md - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json index.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -ln -s %{nodejs_sitelib}/expect.js node_modules/expect.js -%{_bindir}/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-8 -- Second attempt - Rebuilt for -
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-7 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- -* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-6 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- -* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-5 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- -* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-4 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- -* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-3 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- -* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.0.3-2 -- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- -* Wed Mar 29 2017 Jared Smith <jsmith(a)fedoraproject.org> - 0.0.3-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 5115a83..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (parsejson-0.0.3.tgz) = bf7f198d56e29e5676af5473d3a5946449c6a1245c1065feae832c8968c77807b6decdaa9505327e6b0f419be1eddf25d04f006734c83bf46452bd342df91288
1
0
0
0
← Newer
1
...
75
76
77
78
79
80
81
...
99
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Results per page:
10
25
50
100
200