changed debian/source/format to native

This commit is contained in:
openKylinBot 2022-05-19 14:51:57 +08:00
parent 9e4204950e
commit fb0620a11d
8 changed files with 1 additions and 107 deletions

View File

@ -1,16 +0,0 @@
Description: drop ie8 support
Author: Yadd <yadd@debian.org>
Forwarded: no
Last-Update: 2021-10-24
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -302,7 +302,7 @@
// Support: Android 4.0 only
// UglifyJS 3 breaks Android 4.0 if this option is not enabled.
// This is in lieu of setting ie8 for all of mangle, compress, and output
- "ie8": true
+ //"ie8": true
},
banner: "/*! jQuery v<%= pkg.version %> | " +
"(c) OpenJS Foundation and other contributors | jquery.org/license */",

View File

@ -1,15 +0,0 @@
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2018-01-01
--- a/src/wrapper.js
+++ b/src/wrapper.js
@@ -8,8 +8,6 @@
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
- *
- * Date: @DATE
*/
( function( global, factory ) {

View File

@ -1,6 +0,0 @@
skip-modules.patch
skip-gzip-js.patch
skip-raw-body.patch
skip-insight.patch
reproducible-build.patch
drop-ie8.patch

View File

@ -1,21 +0,0 @@
Description: Skip gzip js
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -13,7 +13,7 @@
}
var fs = require( "fs" ),
- gzip = require( "gzip-js" ),
+ gzip = require( "zlib" ),
isTravis = process.env.TRAVIS,
travisBrowsers = process.env.BROWSERS && process.env.BROWSERS.split( "," );
@@ -29,7 +29,7 @@
options: {
compress: {
gz: function( contents ) {
- return gzip.zip( contents, {} ).length;
+ return zlib.gzipSync(contents).length;
}
},
cache: "build/.sizecache.json"

View File

@ -1,11 +0,0 @@
Description: Skip insight
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -9,7 +9,6 @@
module.exports = function( grunt ) {
var fs = require( "fs" ),
requirejs = require( "requirejs" ),
- Insight = require( "insight" ),
pkg = require( "../../package.json" ),
srcFolder = __dirname + "/../../src/",
rdefineEnd = /\}\s*?\);[^}\w]*$/,

View File

@ -1,21 +0,0 @@
Description: skip unavailable modules
Last-Update: 2022-02-21
--- a/package.json
+++ b/package.json
@@ -32,15 +32,7 @@
"grunt": "1.3.0",
"grunt-babel": "8.0.0",
"grunt-cli": "1.3.2",
- "grunt-compare-size": "0.4.2",
"grunt-contrib-uglify": "3.4.0",
- "grunt-contrib-watch": "1.1.0",
- "grunt-eslint": "22.0.0",
- "grunt-git-authors": "3.2.0",
- "grunt-jsonlint": "1.1.0",
- "grunt-karma": "4.0.0",
- "grunt-newer": "1.3.0",
- "grunt-npmcopy": "0.2.0",
"gzip-js": "0.3.2",
"husky": "1.3.1",
"insight": "0.10.1",

View File

@ -1,16 +0,0 @@
Description: Skip raw body
--- a/test/middleware-mockserver.js
+++ b/test/middleware-mockserver.js
@@ -1,8 +1,10 @@
/* eslint-env node */
var url = require( "url" );
var fs = require( "fs" );
-var getRawBody = require( "raw-body" );
-
+/**
+ * Debian specific
+ var getRawBody = require( "raw-body" );
+ */
var cspLog = "";
/**
* Keep in sync with /test/mock.php

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)