!13 [sync] PR-11: remove unused hapi dependencies
From: @openeuler-sync-bot Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
1c6edb0b4b
56
0001-remove-unused-hapi-dependencies.patch
Normal file
56
0001-remove-unused-hapi-dependencies.patch
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
From 6d2aa9e5677ba4882e4a79cc8b58f53bf04bc038 Mon Sep 17 00:00:00 2001
|
||||||
|
From: chen-jan <chen_aka_jan@163.com>
|
||||||
|
Date: Thu, 1 Jun 2023 09:22:01 +0800
|
||||||
|
Subject: [PATCH] remove unused hapi dependencies
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/client.js | 5 -----
|
||||||
|
lib/server.js | 5 -----
|
||||||
|
lib/utils.js | 1 -
|
||||||
|
3 files changed, 11 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/client.js b/lib/client.js
|
||||||
|
index 7bd383a..5946716 100644
|
||||||
|
--- a/lib/client.js
|
||||||
|
+++ b/lib/client.js
|
||||||
|
@@ -2,11 +2,6 @@
|
||||||
|
|
||||||
|
const Url = require('url');
|
||||||
|
|
||||||
|
-const B64 = require('@hapi/b64');
|
||||||
|
-const Boom = require('@hapi/boom');
|
||||||
|
-const Cryptiles = require('@hapi/cryptiles');
|
||||||
|
-const Hoek = require('@hapi/hoek');
|
||||||
|
-
|
||||||
|
const Crypto = require('./crypto');
|
||||||
|
const Utils = require('./utils');
|
||||||
|
|
||||||
|
diff --git a/lib/server.js b/lib/server.js
|
||||||
|
index 30a85ca..3850990 100644
|
||||||
|
--- a/lib/server.js
|
||||||
|
+++ b/lib/server.js
|
||||||
|
@@ -1,10 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
-const B64 = require('@hapi/b64');
|
||||||
|
-const Boom = require('@hapi/boom');
|
||||||
|
-const Cryptiles = require('@hapi/cryptiles');
|
||||||
|
-const Hoek = require('@hapi/hoek');
|
||||||
|
-
|
||||||
|
const Crypto = require('./crypto');
|
||||||
|
const Utils = require('./utils');
|
||||||
|
|
||||||
|
diff --git a/lib/utils.js b/lib/utils.js
|
||||||
|
index 3a054e3..53a06ff 100644
|
||||||
|
--- a/lib/utils.js
|
||||||
|
+++ b/lib/utils.js
|
||||||
|
@@ -1,6 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
-const Boom = require('@hapi/boom');
|
||||||
|
const Url = require('url');
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
%global enable_tests 0
|
%global enable_tests 0
|
||||||
Name: nodejs-hawk
|
Name: nodejs-hawk
|
||||||
Version: 9.0.1
|
Version: 9.0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: HTTP Hawk authentication scheme
|
Summary: HTTP Hawk authentication scheme
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/hueniverse/hawk
|
URL: https://github.com/hueniverse/hawk
|
||||||
@ -12,6 +12,7 @@ BuildRequires: nodejs-packaging
|
|||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
BuildRequires: npm(lab) npm(code)
|
BuildRequires: npm(lab) npm(code)
|
||||||
%endif
|
%endif
|
||||||
|
Patch0001: 0001-remove-unused-hapi-dependencies.patch
|
||||||
%description
|
%description
|
||||||
Hawk is an HTTP authentication scheme using a message authentication code (MAC)
|
Hawk is an HTTP authentication scheme using a message authentication code (MAC)
|
||||||
algorithm to provide partial HTTP request cryptographic verification.
|
algorithm to provide partial HTTP request cryptographic verification.
|
||||||
@ -43,6 +44,9 @@ cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/hawk
|
|||||||
%{nodejs_sitelib}/hawk
|
%{nodejs_sitelib}/hawk
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 01 2023 chenchen <chen_aka_jan@163.com> - 9.0.1-2
|
||||||
|
- remove unused hapi dependencies
|
||||||
|
|
||||||
* Mon Oct 24 2022 wangkai <wangkai385@h-partners.com> - 9.0.1-1
|
* Mon Oct 24 2022 wangkai <wangkai385@h-partners.com> - 9.0.1-1
|
||||||
- Upgrade to 9.0.1
|
- Upgrade to 9.0.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user