update to version 2.1.3
This commit is contained in:
parent
96682f9f09
commit
e4201f71c4
@ -8,14 +8,14 @@ diff --git a/test/proxyquire-global.js b/test/proxyquire-global.js
|
||||
index e09fce6..29999df 100644
|
||||
--- a/test/proxyquire-global.js
|
||||
+++ b/test/proxyquire-global.js
|
||||
@@ -39,17 +39,6 @@ describe('global flags set', function () {
|
||||
assert.equal(realFoo(), false)
|
||||
assert.equal(proxiedFoo(), true)
|
||||
@@ -37,17 +37,6 @@ describe('global flags set', function () {
|
||||
assert.strictEqual(realFoo(), false)
|
||||
assert.strictEqual(proxiedFoo(), true)
|
||||
})
|
||||
-
|
||||
- it('should not throw when a native module is required a second time', function () {
|
||||
- var stubs = {
|
||||
- 'foo': {
|
||||
- foo: {
|
||||
- '@global': true
|
||||
- }
|
||||
- }
|
||||
@ -26,3 +26,6 @@ index e09fce6..29999df 100644
|
||||
})
|
||||
|
||||
describe('global flags not set', function () {
|
||||
--
|
||||
2.33.0
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
Name: nodejs-proxyquire
|
||||
Version: 2.0.1
|
||||
Version: 2.1.3
|
||||
Release: 1
|
||||
Summary: Proxies Node.js require to allow overriding dependencies
|
||||
License: MIT
|
||||
URL: https://github.com/thlorenz/proxyquire
|
||||
Source0: http://registry.npmjs.org/proxyquire/-/proxyquire-%{version}.tgz
|
||||
Source0: https://github.com/thlorenz/proxyquire/archive/refs/tags/v2.1.3.tar.gz
|
||||
Patch0: nodejs-proxyquire-helloworld.patch
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
@ -15,7 +15,7 @@ Proxies Node,js's require in order to make overriding dependencies
|
||||
during testing easy while staying totally unobstrusive.
|
||||
|
||||
%prep
|
||||
%autosetup -p 1 -n package
|
||||
%autosetup -p 1 -n proxyquire-%{version}
|
||||
%nodejs_fixdep resolve "^1.1.7"
|
||||
rm -rf node_modules
|
||||
|
||||
@ -36,5 +36,8 @@ cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/proxyquire
|
||||
%{nodejs_sitelib}/proxyquire
|
||||
|
||||
%changelog
|
||||
* Thu Nov 02 2023 Ge Wang <wang__ge@126.com> - 2.1.3-1
|
||||
- update to version 2.1.3
|
||||
|
||||
* Fri Aug 21 2020 wangchong <wangchong56@huawei.com> - 2.0.1-1
|
||||
- package init
|
||||
|
||||
Binary file not shown.
BIN
v2.1.3.tar.gz
Normal file
BIN
v2.1.3.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user