mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-05 19:31:01 +01:00
browser files rebuild
This commit is contained in:
parent
c449f4ff69
commit
c54ce972f0
6 changed files with 23 additions and 23 deletions
16
dist/pako.js
vendored
16
dist/pako.js
vendored
|
@ -1,4 +1,4 @@
|
||||||
/* pako 0.2.3 nodeca/pako */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.pako=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
/* pako 0.2.4 nodeca/pako */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.pako=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
||||||
// Top level file is just a mixin of submodules & constants
|
// Top level file is just a mixin of submodules & constants
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -603,7 +603,7 @@ Inflate.prototype.push = function(data, mode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== c.Z_STREAM_END);
|
} while ((strm.avail_in > 0) && status !== c.Z_STREAM_END);
|
||||||
|
|
||||||
if (status === c.Z_STREAM_END) {
|
if (status === c.Z_STREAM_END) {
|
||||||
_mode = c.Z_FINISH;
|
_mode = c.Z_FINISH;
|
||||||
|
@ -4986,19 +4986,18 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* set up for code type */
|
/* set up for code type */
|
||||||
switch (type) {
|
// poor man optimization - use if-else instead of switch,
|
||||||
case CODES:
|
// to avoid deopts in old v8
|
||||||
|
if (type === CODES) {
|
||||||
base = extra = work; /* dummy value--not used */
|
base = extra = work; /* dummy value--not used */
|
||||||
end = 19;
|
end = 19;
|
||||||
break;
|
} else if (type === LENS) {
|
||||||
case LENS:
|
|
||||||
base = lbase;
|
base = lbase;
|
||||||
base_index -= 257;
|
base_index -= 257;
|
||||||
extra = lext;
|
extra = lext;
|
||||||
extra_index -= 257;
|
extra_index -= 257;
|
||||||
end = 256;
|
end = 256;
|
||||||
break;
|
} else { /* DISTS */
|
||||||
default: /* DISTS */
|
|
||||||
base = dbase;
|
base = dbase;
|
||||||
extra = dext;
|
extra = dext;
|
||||||
end = -1;
|
end = -1;
|
||||||
|
@ -5119,6 +5118,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta
|
||||||
opts.bits = root;
|
opts.bits = root;
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
},{"../utils/common":4}],14:[function(_dereq_,module,exports){
|
},{"../utils/common":4}],14:[function(_dereq_,module,exports){
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
6
dist/pako.min.js
vendored
6
dist/pako.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/pako_deflate.js
vendored
2
dist/pako_deflate.js
vendored
|
@ -1,4 +1,4 @@
|
||||||
/* pako 0.2.3 nodeca/pako */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.pako=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
/* pako 0.2.4 nodeca/pako */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.pako=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
|
2
dist/pako_deflate.min.js
vendored
2
dist/pako_deflate.min.js
vendored
File diff suppressed because one or more lines are too long
16
dist/pako_inflate.js
vendored
16
dist/pako_inflate.js
vendored
|
@ -1,4 +1,4 @@
|
||||||
/* pako 0.2.3 nodeca/pako */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.pako=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
/* pako 0.2.4 nodeca/pako */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.pako=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ Inflate.prototype.push = function(data, mode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== c.Z_STREAM_END);
|
} while ((strm.avail_in > 0) && status !== c.Z_STREAM_END);
|
||||||
|
|
||||||
if (status === c.Z_STREAM_END) {
|
if (status === c.Z_STREAM_END) {
|
||||||
_mode = c.Z_FINISH;
|
_mode = c.Z_FINISH;
|
||||||
|
@ -2843,19 +2843,18 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* set up for code type */
|
/* set up for code type */
|
||||||
switch (type) {
|
// poor man optimization - use if-else instead of switch,
|
||||||
case CODES:
|
// to avoid deopts in old v8
|
||||||
|
if (type === CODES) {
|
||||||
base = extra = work; /* dummy value--not used */
|
base = extra = work; /* dummy value--not used */
|
||||||
end = 19;
|
end = 19;
|
||||||
break;
|
} else if (type === LENS) {
|
||||||
case LENS:
|
|
||||||
base = lbase;
|
base = lbase;
|
||||||
base_index -= 257;
|
base_index -= 257;
|
||||||
extra = lext;
|
extra = lext;
|
||||||
extra_index -= 257;
|
extra_index -= 257;
|
||||||
end = 256;
|
end = 256;
|
||||||
break;
|
} else { /* DISTS */
|
||||||
default: /* DISTS */
|
|
||||||
base = dbase;
|
base = dbase;
|
||||||
extra = dext;
|
extra = dext;
|
||||||
end = -1;
|
end = -1;
|
||||||
|
@ -2976,6 +2975,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta
|
||||||
opts.bits = root;
|
opts.bits = root;
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
},{"../utils/common":2}],11:[function(_dereq_,module,exports){
|
},{"../utils/common":2}],11:[function(_dereq_,module,exports){
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
4
dist/pako_inflate.min.js
vendored
4
dist/pako_inflate.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue