浏览代码

Upload files to 'node_modules'

tennesseegibbs 6 年前
父节点
当前提交
0d71087f3c
共有 5 个文件被更改,包括 466 次插入0 次删除
  1. 118
    0
      node_modules/CHANGELOG.md
  2. 21
    0
      node_modules/LICENSE
  3. 182
    0
      node_modules/README.md
  4. 14
    0
      node_modules/index.js
  5. 131
    0
      node_modules/package.json

+ 118
- 0
node_modules/CHANGELOG.md 查看文件

@@ -0,0 +1,118 @@
1
+1.0.6 / 2017-09-14
2
+------------------
3
+
4
+- Improve @std/esm compatibility.
5
+
6
+
7
+1.0.5 / 2017-03-17
8
+------------------
9
+
10
+- Maintenance. More formal `zlib` attribution and related
11
+  changes, #93. Thanks to @bastien-roucaries for the help.
12
+
13
+
14
+1.0.4 / 2016-12-15
15
+------------------
16
+
17
+- Bump dev dependencies.
18
+- Make sure `err.message` is filled on throw.
19
+- Code examples for utf-16 string encoding & object compression.
20
+
21
+
22
+1.0.3 / 2016-07-25
23
+------------------
24
+
25
+- Maintenance: re-release to properly display latest version in npm registry
26
+  and badges. Because `npm publish` timestamp used instead of versions.
27
+
28
+
29
+1.0.2 / 2016-07-21
30
+------------------
31
+
32
+- Fixed nasty bug in deflate (wrong `d_buf` offset), which could cause
33
+  broken data in some rare cases.
34
+- Also released as 0.2.9 to give chance to old dependents, not updated to 1.x
35
+  version.
36
+
37
+
38
+1.0.1 / 2016-04-01
39
+------------------
40
+
41
+- Added dictionary support. Thanks to @dignifiedquire.
42
+
43
+
44
+1.0.0 / 2016-02-17
45
+------------------
46
+
47
+- Maintenance release (semver, coding style).
48
+
49
+
50
+0.2.8 / 2015-09-14
51
+------------------
52
+
53
+- Fixed regression after 0.2.4 for edge conditions in inflate wrapper (#65).
54
+  Added more tests to cover possible cases.
55
+
56
+
57
+0.2.7 / 2015-06-09
58
+------------------
59
+
60
+- Added Z_SYNC_FLUSH support. Thanks to @TinoLange.
61
+
62
+
63
+0.2.6 / 2015-03-24
64
+------------------
65
+
66
+- Allow ArrayBuffer input.
67
+
68
+
69
+0.2.5 / 2014-07-19
70
+------------------
71
+
72
+- Workaround for Chrome 38.0.2096.0 script parser bug, #30.
73
+
74
+
75
+0.2.4 / 2014-07-07
76
+------------------
77
+
78
+- Fixed bug in inflate wrapper, #29
79
+
80
+
81
+0.2.3 / 2014-06-09
82
+------------------
83
+
84
+- Maintenance release, dependencies update.
85
+
86
+
87
+0.2.2 / 2014-06-04
88
+------------------
89
+
90
+- Fixed iOS 5.1 Safari issue with `apply(typed_array)`, #26.
91
+
92
+
93
+0.2.1 / 2014-05-01
94
+------------------
95
+
96
+- Fixed collision on switch dynamic/fixed tables.
97
+
98
+
99
+0.2.0 / 2014-04-18
100
+------------------
101
+
102
+- Added custom gzip headers support.
103
+- Added strings support.
104
+- Improved memory allocations for small chunks.
105
+- ZStream properties rename/cleanup.
106
+- More coverage tests.
107
+
108
+
109
+0.1.1 / 2014-03-20
110
+------------------
111
+
112
+- Bugfixes for inflate/deflate.
113
+
114
+
115
+0.1.0 / 2014-03-15
116
+------------------
117
+
118
+- First release.

+ 21
- 0
node_modules/LICENSE 查看文件

@@ -0,0 +1,21 @@
1
+(The MIT License)
2
+
3
+Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in
13
+all copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+THE SOFTWARE.

+ 182
- 0
node_modules/README.md 查看文件

@@ -0,0 +1,182 @@
1
+pako
2
+==========================================
3
+
4
+[![Build Status](https://travis-ci.org/nodeca/pako.svg?branch=master)](https://travis-ci.org/nodeca/pako)
5
+[![NPM version](https://img.shields.io/npm/v/pako.svg)](https://www.npmjs.org/package/pako)
6
+
7
+> zlib port to javascript, very fast!
8
+
9
+__Why pako is cool:__
10
+
11
+- Almost as fast in modern JS engines as C implementation (see benchmarks).
12
+- Works in browsers, you can browserify any separate component.
13
+- Chunking support for big blobs.
14
+- Results are binary equal to well known [zlib](http://www.zlib.net/) (now contains ported zlib v1.2.8).
15
+
16
+This project was done to understand how fast JS can be and is it necessary to
17
+develop native C modules for CPU-intensive tasks. Enjoy the result!
18
+
19
+
20
+__Famous projects, using pako:__
21
+
22
+- [browserify](http://browserify.org/) (via [browserify-zlib](https://github.com/devongovett/browserify-zlib))
23
+- [JSZip](http://stuk.github.io/jszip/)
24
+- [mincer](https://github.com/nodeca/mincer)
25
+- [JS-Git](https://github.com/creationix/js-git) and
26
+  [Tedit](https://chrome.google.com/webstore/detail/tedit-development-environ/ooekdijbnbbjdfjocaiflnjgoohnblgf)
27
+  by [@creationix](https://github.com/creationix)
28
+
29
+
30
+__Benchmarks:__
31
+
32
+```
33
+node v0.10.26, 1mb sample:
34
+
35
+   deflate-dankogai x 4.73 ops/sec ±0.82% (15 runs sampled)
36
+   deflate-gildas x 4.58 ops/sec ±2.33% (15 runs sampled)
37
+   deflate-imaya x 3.22 ops/sec ±3.95% (12 runs sampled)
38
+ ! deflate-pako x 6.99 ops/sec ±0.51% (21 runs sampled)
39
+   deflate-pako-string x 5.89 ops/sec ±0.77% (18 runs sampled)
40
+   deflate-pako-untyped x 4.39 ops/sec ±1.58% (14 runs sampled)
41
+ * deflate-zlib x 14.71 ops/sec ±4.23% (59 runs sampled)
42
+   inflate-dankogai x 32.16 ops/sec ±0.13% (56 runs sampled)
43
+   inflate-imaya x 30.35 ops/sec ±0.92% (53 runs sampled)
44
+ ! inflate-pako x 69.89 ops/sec ±1.46% (71 runs sampled)
45
+   inflate-pako-string x 19.22 ops/sec ±1.86% (49 runs sampled)
46
+   inflate-pako-untyped x 17.19 ops/sec ±0.85% (32 runs sampled)
47
+ * inflate-zlib x 70.03 ops/sec ±1.64% (81 runs sampled)
48
+
49
+node v0.11.12, 1mb sample:
50
+
51
+   deflate-dankogai x 5.60 ops/sec ±0.49% (17 runs sampled)
52
+   deflate-gildas x 5.06 ops/sec ±6.00% (16 runs sampled)
53
+   deflate-imaya x 3.52 ops/sec ±3.71% (13 runs sampled)
54
+ ! deflate-pako x 11.52 ops/sec ±0.22% (32 runs sampled)
55
+   deflate-pako-string x 9.53 ops/sec ±1.12% (27 runs sampled)
56
+   deflate-pako-untyped x 5.44 ops/sec ±0.72% (17 runs sampled)
57
+ * deflate-zlib x 14.05 ops/sec ±3.34% (63 runs sampled)
58
+   inflate-dankogai x 42.19 ops/sec ±0.09% (56 runs sampled)
59
+   inflate-imaya x 79.68 ops/sec ±1.07% (68 runs sampled)
60
+ ! inflate-pako x 97.52 ops/sec ±0.83% (80 runs sampled)
61
+   inflate-pako-string x 45.19 ops/sec ±1.69% (57 runs sampled)
62
+   inflate-pako-untyped x 24.35 ops/sec ±2.59% (40 runs sampled)
63
+ * inflate-zlib x 60.32 ops/sec ±1.36% (69 runs sampled)
64
+```
65
+
66
+zlib's test is partially affected by marshalling (that make sense for inflate only).
67
+You can change deflate level to 0 in benchmark source, to investigate details.
68
+For deflate level 6 results can be considered as correct.
69
+
70
+__Install:__
71
+
72
+node.js:
73
+
74
+```
75
+npm install pako
76
+```
77
+
78
+browser:
79
+
80
+```
81
+bower install pako
82
+```
83
+
84
+
85
+Example & API
86
+-------------
87
+
88
+Full docs - http://nodeca.github.io/pako/
89
+
90
+```javascript
91
+var pako = require('pako');
92
+
93
+// Deflate
94
+//
95
+var input = new Uint8Array();
96
+//... fill input data here
97
+var output = pako.deflate(input);
98
+
99
+// Inflate (simple wrapper can throw exception on broken stream)
100
+//
101
+var compressed = new Uint8Array();
102
+//... fill data to uncompress here
103
+try {
104
+  var result = pako.inflate(compressed);
105
+} catch (err) {
106
+  console.log(err);
107
+}
108
+
109
+//
110
+// Alternate interface for chunking & without exceptions
111
+//
112
+
113
+var inflator = new pako.Inflate();
114
+
115
+inflator.push(chunk1, false);
116
+inflator.push(chunk2, false);
117
+...
118
+inflator.push(chunkN, true); // true -> last chunk
119
+
120
+if (inflator.err) {
121
+  console.log(inflator.msg);
122
+}
123
+
124
+var output = inflator.result;
125
+
126
+```
127
+
128
+Sometime you can wish to work with strings. For example, to send
129
+big objects as json to server. Pako detects input data type. You can
130
+force output to be string with option `{ to: 'string' }`.
131
+
132
+```javascript
133
+var pako = require('pako');
134
+
135
+var test = { my: 'super', puper: [456, 567], awesome: 'pako' };
136
+
137
+var binaryString = pako.deflate(JSON.stringify(test), { to: 'string' });
138
+
139
+//
140
+// Here you can do base64 encode, make xhr requests and so on.
141
+//
142
+
143
+var restored = JSON.parse(pako.inflate(binaryString, { to: 'string' }));
144
+```
145
+
146
+
147
+Notes
148
+-----
149
+
150
+Pako does not contain some specific zlib functions:
151
+
152
+- __deflate__ -  methods `deflateCopy`, `deflateBound`, `deflateParams`,
153
+  `deflatePending`, `deflatePrime`, `deflateTune`.
154
+- __inflate__ - methods `inflateCopy`, `inflateMark`,
155
+  `inflatePrime`, `inflateGetDictionary`, `inflateSync`, `inflateSyncPoint`, `inflateUndermine`.
156
+- High level inflate/deflate wrappers (classes) may not support some flush
157
+  modes. Those should work: Z_NO_FLUSH, Z_FINISH, Z_SYNC_FLUSH.
158
+
159
+
160
+Authors
161
+-------
162
+
163
+- Andrey Tupitsin [@anrd83](https://github.com/andr83)
164
+- Vitaly Puzrin [@puzrin](https://github.com/puzrin)
165
+
166
+Personal thanks to:
167
+
168
+- Vyacheslav Egorov ([@mraleph](https://github.com/mraleph)) for his awesome
169
+  tutorials about optimising JS code for v8, [IRHydra](http://mrale.ph/irhydra/)
170
+  tool and his advices.
171
+- David Duponchel ([@dduponchel](https://github.com/dduponchel)) for help with
172
+  testing.
173
+
174
+Original implementation (in C):
175
+
176
+- [zlib](http://zlib.net/) by Jean-loup Gailly and Mark Adler.
177
+
178
+
179
+License
180
+-------
181
+
182
+MIT

+ 14
- 0
node_modules/index.js 查看文件

@@ -0,0 +1,14 @@
1
+// Top level file is just a mixin of submodules & constants
2
+'use strict';
3
+
4
+var assign    = require('./lib/utils/common').assign;
5
+
6
+var deflate   = require('./lib/deflate');
7
+var inflate   = require('./lib/inflate');
8
+var constants = require('./lib/zlib/constants');
9
+
10
+var pako = {};
11
+
12
+assign(pako, deflate, inflate, constants);
13
+
14
+module.exports = pako;

+ 131
- 0
node_modules/package.json 查看文件

@@ -0,0 +1,131 @@
1
+{
2
+  "_args": [
3
+    [
4
+      {
5
+        "raw": "pako@~1.0.5",
6
+        "scope": null,
7
+        "escapedName": "pako",
8
+        "name": "pako",
9
+        "rawSpec": "~1.0.5",
10
+        "spec": ">=1.0.5 <1.1.0",
11
+        "type": "range"
12
+      },
13
+      "/Users/tennesseeg/blueCoin/node_modules/browserify-zlib"
14
+    ]
15
+  ],
16
+  "_from": "pako@>=1.0.5 <1.1.0",
17
+  "_id": "pako@1.0.6",
18
+  "_inCache": true,
19
+  "_location": "/pako",
20
+  "_nodeVersion": "8.5.0",
21
+  "_npmOperationalInternal": {
22
+    "host": "s3://npm-registry-packages",
23
+    "tmp": "tmp/pako-1.0.6.tgz_1505389320912_0.5741512756794691"
24
+  },
25
+  "_npmUser": {
26
+    "name": "vitaly",
27
+    "email": "vitaly@rcdesign.ru"
28
+  },
29
+  "_npmVersion": "5.3.0",
30
+  "_phantomChildren": {},
31
+  "_requested": {
32
+    "raw": "pako@~1.0.5",
33
+    "scope": null,
34
+    "escapedName": "pako",
35
+    "name": "pako",
36
+    "rawSpec": "~1.0.5",
37
+    "spec": ">=1.0.5 <1.1.0",
38
+    "type": "range"
39
+  },
40
+  "_requiredBy": [
41
+    "/browserify-zlib"
42
+  ],
43
+  "_resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz",
44
+  "_shasum": "0101211baa70c4bca4a0f63f2206e97b7dfaf258",
45
+  "_shrinkwrap": null,
46
+  "_spec": "pako@~1.0.5",
47
+  "_where": "/Users/tennesseeg/blueCoin/node_modules/browserify-zlib",
48
+  "bugs": {
49
+    "url": "https://github.com/nodeca/pako/issues"
50
+  },
51
+  "contributors": [
52
+    {
53
+      "name": "Andrei Tuputcyn",
54
+      "url": "https://github.com/andr83"
55
+    },
56
+    {
57
+      "name": "Vitaly Puzrin",
58
+      "url": "https://github.com/puzrin"
59
+    },
60
+    {
61
+      "name": "Friedel Ziegelmayer",
62
+      "url": "https://github.com/dignifiedquire"
63
+    },
64
+    {
65
+      "name": "Kirill Efimov",
66
+      "url": "https://github.com/Kirill89"
67
+    },
68
+    {
69
+      "name": "Jean-loup Gailly"
70
+    },
71
+    {
72
+      "name": "Mark Adler"
73
+    }
74
+  ],
75
+  "dependencies": {},
76
+  "description": "zlib port to javascript - fast, modularized, with browser support",
77
+  "devDependencies": {
78
+    "ansi": "^0.3.1",
79
+    "benchmark": "^2.1.4",
80
+    "bluebird": "^3.5.0",
81
+    "browserify": "^14.4.0",
82
+    "eslint": "^3.12.2",
83
+    "grunt": "^1.0.1",
84
+    "grunt-cli": "^1.2.0",
85
+    "grunt-contrib-connect": "^1.0.2",
86
+    "grunt-saucelabs": "^9.0.0",
87
+    "istanbul": "^0.4.5",
88
+    "mocha": "^3.2.0",
89
+    "multiparty": "^4.1.3",
90
+    "ndoc": "^5.0.1",
91
+    "uglify-js": "^3.0.25",
92
+    "zlibjs": "^0.3.1"
93
+  },
94
+  "directories": {},
95
+  "dist": {
96
+    "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==",
97
+    "shasum": "0101211baa70c4bca4a0f63f2206e97b7dfaf258",
98
+    "tarball": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz"
99
+  },
100
+  "files": [
101
+    "index.js",
102
+    "dist/",
103
+    "lib/"
104
+  ],
105
+  "gitHead": "893381abcafa10fa2081ce60dae7d4d8e873a658",
106
+  "homepage": "https://github.com/nodeca/pako",
107
+  "keywords": [
108
+    "zlib",
109
+    "deflate",
110
+    "inflate",
111
+    "gzip"
112
+  ],
113
+  "license": "(MIT AND Zlib)",
114
+  "maintainers": [
115
+    {
116
+      "name": "vitaly",
117
+      "email": "vitaly@rcdesign.ru"
118
+    }
119
+  ],
120
+  "name": "pako",
121
+  "optionalDependencies": {},
122
+  "readme": "ERROR: No README data found!",
123
+  "repository": {
124
+    "type": "git",
125
+    "url": "git+https://github.com/nodeca/pako.git"
126
+  },
127
+  "scripts": {
128
+    "test": "make test"
129
+  },
130
+  "version": "1.0.6"
131
+}