Import Debian changes 4.0.0-ok1
node-tough-cookie (4.0.0-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
dfb4476d09
commit
2275b5848e
|
@ -0,0 +1,5 @@
|
|||
node-tough-cookie (4.0.0-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- zhouganqing <zhouganqing@kylinos.cn> Tue, 21 Feb 2023 10:42:59 +0800
|
|
@ -0,0 +1,33 @@
|
|||
Source: node-tough-cookie
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Section: javascript
|
||||
Testsuite: autopkgtest-pkg-nodejs
|
||||
Priority: optional
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13)
|
||||
, nodejs
|
||||
, node-async <!nocheck>
|
||||
, node-psl <!nocheck>
|
||||
, node-punycode <!nocheck>
|
||||
, node-universalify <!nocheck>
|
||||
, node-vows <!nocheck>
|
||||
, dh-sequence-nodejs
|
||||
Standards-Version: 4.5.1
|
||||
Vcs-Browser: https://gitee.com/openkylin/node-tough-cookie
|
||||
Vcs-Git: https://gitee.com/openkylin/node-tough-cookie.git
|
||||
Homepage: https://github.com/salesforce/tough-cookie
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: node-tough-cookie
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends}
|
||||
, node-psl
|
||||
, node-punycode
|
||||
, node-universalify
|
||||
Provides: ${nodejs:Provides}
|
||||
Description: RFC6265 Cookies and Cookie Jar for node.js
|
||||
This library just provides a way to read and write RFC6265 HTTP cookie
|
||||
headers.
|
||||
.
|
||||
Node.js is an event-based server-side JavaScript engine.
|
|
@ -0,0 +1,69 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: tough-cookie
|
||||
Upstream-Contact: https://github.com/salesforce/tough-cookie/issues
|
||||
Source: https://github.com/salesforce/tough-cookie
|
||||
https://registry.npmjs.org/@types/tough-cookie
|
||||
Files-Excluded: lib/pubsuffix.js
|
||||
|
||||
Files: *
|
||||
Copyright: 2015, Salesforce.com, Inc.
|
||||
Jeremy Stashewsky <jstashewsky@salesforce.com>
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: typestough-cookie/*
|
||||
Copyright: Microsoft Corporation
|
||||
License: Expat
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2017 Pirate Praveen <praveen@debian.org>
|
||||
2019, Xavier Guimard <yadd@debian.org>
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: debian/tests/test_modules/string.prototype.repeat/*
|
||||
Copyright: Mathias Bynens <http://mathiasbynens.be/>
|
||||
License: Expat
|
||||
|
||||
License: BSD-3-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the University nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1 @@
|
|||
README.md
|
|
@ -0,0 +1,6 @@
|
|||
[DEFAULT]
|
||||
pristine-tar=True
|
||||
component=['typestough-cookie']
|
||||
|
||||
[import-orig]
|
||||
filter=[ '.gitignore', '.travis.yml', '.git*' ]
|
|
@ -0,0 +1 @@
|
|||
*
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,4 @@
|
|||
# Data
|
||||
source-is-missing lib/cookie.js line length is 1188 characters (>512)
|
||||
source-contains-prebuilt-javascript-object lib/cookie.js line length is 1188 characters (>512)
|
||||
very-long-line-length-in-source-file lib/cookie.js line length is 1188 characters (>512)
|
|
@ -0,0 +1,2 @@
|
|||
debian/tests/test_modules
|
||||
test
|
|
@ -0,0 +1 @@
|
|||
NODE_PATH=debian/tests/test_modules vows test/*_test.js
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"_from": "string.prototype.repeat@^0.2.0",
|
||||
"_id": "string.prototype.repeat@0.2.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-q6Nt4I3O5qWjN9SbLqHaGyj8Ds8=",
|
||||
"_location": "/string.prototype.repeat",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "string.prototype.repeat@^0.2.0",
|
||||
"name": "string.prototype.repeat",
|
||||
"escapedName": "string.prototype.repeat",
|
||||
"rawSpec": "^0.2.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.2.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-0.2.0.tgz",
|
||||
"_shasum": "aba36de08dcee6a5a337d49b2ea1da1b28fc0ecf",
|
||||
"_spec": "string.prototype.repeat@^0.2.0",
|
||||
"_where": "/home/xavier/dev/debian/src/pkg-js/packages/node-tough-cookie",
|
||||
"author": {
|
||||
"name": "Mathias Bynens",
|
||||
"url": "http://mathiasbynens.be/"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/mathiasbynens/String.prototype.repeat/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.",
|
||||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
"files": [
|
||||
"LICENSE-MIT.txt",
|
||||
"repeat.js"
|
||||
],
|
||||
"homepage": "http://mths.be/repeat",
|
||||
"keywords": [
|
||||
"string",
|
||||
"repeat",
|
||||
"es6",
|
||||
"ecmascript",
|
||||
"polyfill"
|
||||
],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "http://mths.be/mit"
|
||||
}
|
||||
],
|
||||
"main": "repeat.js",
|
||||
"name": "string.prototype.repeat",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mathiasbynens/String.prototype.repeat.git"
|
||||
},
|
||||
"scripts": {
|
||||
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.js",
|
||||
"test": "node tests/tests.js"
|
||||
},
|
||||
"version": "0.2.0"
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
/*! http://mths.be/repeat v0.2.0 by @mathias */
|
||||
if (!String.prototype.repeat) {
|
||||
(function() {
|
||||
'use strict'; // needed to support `apply`/`call` with `undefined`/`null`
|
||||
var defineProperty = (function() {
|
||||
// IE 8 only supports `Object.defineProperty` on DOM elements
|
||||
try {
|
||||
var object = {};
|
||||
var $defineProperty = Object.defineProperty;
|
||||
var result = $defineProperty(object, object, object) && $defineProperty;
|
||||
} catch(error) {}
|
||||
return result;
|
||||
}());
|
||||
var repeat = function(count) {
|
||||
if (this == null) {
|
||||
throw TypeError();
|
||||
}
|
||||
var string = String(this);
|
||||
// `ToInteger`
|
||||
var n = count ? Number(count) : 0;
|
||||
if (n != n) { // better `isNaN`
|
||||
n = 0;
|
||||
}
|
||||
// Account for out-of-bounds indices
|
||||
if (n < 0 || n == Infinity) {
|
||||
throw RangeError();
|
||||
}
|
||||
var result = '';
|
||||
while (n) {
|
||||
if (n % 2 == 1) {
|
||||
result += string;
|
||||
}
|
||||
if (n > 1) {
|
||||
string += string;
|
||||
}
|
||||
n >>= 1;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
if (defineProperty) {
|
||||
defineProperty(String.prototype, 'repeat', {
|
||||
'value': repeat,
|
||||
'configurable': true,
|
||||
'writable': true
|
||||
});
|
||||
} else {
|
||||
String.prototype.repeat = repeat;
|
||||
}
|
||||
}());
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
version=4
|
||||
opts=\
|
||||
repacksuffix=+dfsg,\
|
||||
repack,compression=xz,\
|
||||
dversionmangle=auto,\
|
||||
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-tough-cookie-$1.tar.gz/ \
|
||||
https://github.com/salesforce/tough-cookie/tags .*/archive/v?([\d\.]+).tar.gz
|
||||
|
||||
# It is not recommended use npmregistry. Please investigate more.
|
||||
# Take a look at https://wiki.debian.org/debian/watch/
|
||||
opts="searchmode=plain,component=typestough-cookie,pgpmode=none" \
|
||||
https://registry.npmjs.org/@types/tough-cookie https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-([\d\.]+)@ARCHIVE_EXT@ ignore
|
Loading…
Reference in New Issue