Accepting request 613946 from home:kbabioch:branches:devel:languages:nodejs

- Update to version 2.1.1:
  - Fixed an uninitialized memory allocation in input
    (CVE-2018-3745 bsc#1095771)

OBS-URL: https://build.opensuse.org/request/show/613946
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-atob?expand=0&rev=3
This commit is contained in:
2018-06-04 09:56:59 +00:00
committed by Git OBS Bridge
parent 427f833526
commit 2469c1081f
3 changed files with 19 additions and 11 deletions

3
atob-2.1.1.tgz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e48d802896281d58616087ec63d0466a5dd7656b7dbf9541095d30c441cca4a9
size 12781

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 4 09:53:39 UTC 2018 - kbabioch@suse.com
- Update to version 2.1.1:
- Fixed an uninitialized memory allocation in input
(CVE-2018-3745 bsc#1095771)
-------------------------------------------------------------------
Thu Oct 9 15:07:36 UTC 2014 - jgleissner@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package nodejs-atob
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,16 @@
%define base_name atob
Name: nodejs-atob
Version: 1.1.2
Version: 2.1.1
Release: 0
Summary: A port of the browser's `atob` function
License: Apache-2.0
Group: Development/Languages/Other
Url: https://github.com/node-browser-compat/atob
URL: https://github.com/node-browser-compat/atob
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%nodejs_find_provides_and_requires
%{nodejs_find_provides_and_requires}
%description
Uses Buffer to emulate the exact functionality of the browser's atob.
@@ -41,12 +39,12 @@ Uses Buffer to emulate the exact functionality of the browser's atob.
%install
mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
cp -pr package.json index.js bin \
cp -pr package.json bin \
%{buildroot}%{nodejs_modulesdir}/%{base_name}/
%files
%defattr(-,root,root,-)
%doc README.md LICENSE LICENSE.DOCS
%{nodejs_modulesdir}/%{base_name}
%license LICENSE LICENSE.DOCS
%doc README.md
%{_libexecdir}/node_modules
%changelog