@nativescript/core 8.8.0-alpha.0 → 8.8.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/observable/index.d.ts +60 -19
- package/data/observable/index.js +150 -155
- package/data/observable/index.js.map +1 -1
- package/data/observable-array/index.d.ts +10 -6
- package/data/virtual-array/index.d.ts +9 -5
- package/image-source/index.android.d.ts +2 -0
- package/image-source/index.android.js +6 -0
- package/image-source/index.android.js.map +1 -1
- package/image-source/index.d.ts +12 -0
- package/image-source/index.ios.d.ts +2 -0
- package/image-source/index.ios.js +25 -2
- package/image-source/index.ios.js.map +1 -1
- package/package.json +1 -1
- package/references.d.ts +1 -0
- package/ui/action-bar/index.d.ts +10 -6
- package/ui/button/index.android.js +3 -3
- package/ui/button/index.android.js.map +1 -1
- package/ui/button/index.d.ts +9 -5
- package/ui/core/bindable/index.d.ts +13 -0
- package/ui/core/bindable/index.js +27 -6
- package/ui/core/bindable/index.js.map +1 -1
- package/ui/core/view/index.d.ts +19 -12
- package/ui/core/view/view-common.d.ts +5 -5
- package/ui/core/view/view-common.js +52 -62
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/frame/index.d.ts +10 -6
- package/ui/gestures/gestures-common.d.ts +10 -7
- package/ui/gestures/gestures-common.js +24 -71
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/gestures/index.android.js +60 -46
- package/ui/gestures/index.android.js.map +1 -1
- package/ui/gestures/index.d.ts +3 -1
- package/ui/gestures/index.ios.d.ts +20 -2
- package/ui/gestures/index.ios.js +88 -66
- package/ui/gestures/index.ios.js.map +1 -1
- package/ui/gestures/touch-manager.js +2 -2
- package/ui/gestures/touch-manager.js.map +1 -1
- package/ui/image/image-common.d.ts +14 -0
- package/ui/image/image-common.js +19 -2
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.d.ts +1 -0
- package/ui/image/index.ios.js +11 -1
- package/ui/image/index.ios.js.map +1 -1
- package/ui/image-cache/index.d.ts +10 -6
- package/ui/index.d.ts +1 -1
- package/ui/index.js.map +1 -1
- package/ui/list-view/index.d.ts +10 -6
- package/ui/page/index.d.ts +10 -6
- package/ui/placeholder/index.d.ts +9 -5
- package/ui/scroll-view/index.d.ts +9 -5
- package/ui/search-bar/index.d.ts +9 -5
- package/ui/segmented-bar/index.d.ts +9 -5
- package/ui/tab-view/index.d.ts +10 -6
- package/ui/web-view/index.d.ts +10 -6
- package/utils/common.d.ts +1 -0
- package/utils/common.js +3 -1
- package/utils/common.js.map +1 -1
- package/css/LICENSE +0 -9
- package/css/Readme.md +0 -278
- package/css-value/LICENSE +0 -9
- package/css-value/Readme.md +0 -45
- package/fetch/LICENSE +0 -20
- package/fetch/README.md +0 -1
- package/js-libs/easysax/LICENSE +0 -20
- package/js-libs/easysax/README.md +0 -46
- package/platforms/README.md +0 -1
package/css/Readme.md
DELETED
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
# css [](https://travis-ci.org/reworkcss/css)
|
|
2
|
-
|
|
3
|
-
CSS parser / stringifier.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
$ npm install css
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
```js
|
|
12
|
-
var css = require('css');
|
|
13
|
-
var obj = css.parse('body { font-size: 12px; }', options);
|
|
14
|
-
css.stringify(obj, options);
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## API
|
|
18
|
-
|
|
19
|
-
### css.parse(code, [options])
|
|
20
|
-
|
|
21
|
-
Accepts a CSS string and returns an AST `object`.
|
|
22
|
-
|
|
23
|
-
`options`:
|
|
24
|
-
|
|
25
|
-
- silent: silently fail on parse errors.
|
|
26
|
-
- source: the path to the file containing `css`. Makes errors and source
|
|
27
|
-
maps more helpful, by letting them know where code comes from.
|
|
28
|
-
|
|
29
|
-
### Example
|
|
30
|
-
|
|
31
|
-
```js
|
|
32
|
-
var ast = css.parse('body { font-size: 12px; }', { source: 'source.css' });
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Errors
|
|
37
|
-
|
|
38
|
-
Errors will have `error.position`, just like [`node.position`](#position). The
|
|
39
|
-
error contains the source position in the message. To get the error message
|
|
40
|
-
without the position use `error.reason`.
|
|
41
|
-
|
|
42
|
-
If you create any errors in plugins such as in
|
|
43
|
-
[rework](https://github.com/reworkcss/rework), you __must__ set the `position`
|
|
44
|
-
as well for consistency.
|
|
45
|
-
|
|
46
|
-
## AST
|
|
47
|
-
|
|
48
|
-
### Common properties
|
|
49
|
-
|
|
50
|
-
All nodes have the following properties.
|
|
51
|
-
|
|
52
|
-
#### position
|
|
53
|
-
|
|
54
|
-
Information about the position in the source string that corresponds to
|
|
55
|
-
the node.
|
|
56
|
-
|
|
57
|
-
`Object`:
|
|
58
|
-
|
|
59
|
-
- start: `Object`:
|
|
60
|
-
- line: `Number`.
|
|
61
|
-
- column: `Number`.
|
|
62
|
-
- end: `Object`:
|
|
63
|
-
- line: `Number`.
|
|
64
|
-
- column: `Number`.
|
|
65
|
-
- source: `String` or `undefined`. The value of `options.source` if passed to
|
|
66
|
-
`css.parse`. Otherwise `undefined`.
|
|
67
|
-
- content: `String`. The full source string passed to `css.parse`.
|
|
68
|
-
|
|
69
|
-
The line and column numbers are 1-based: The first line is 1 and the first
|
|
70
|
-
column of a line is 1 (not 0).
|
|
71
|
-
|
|
72
|
-
The `position` property lets you know from which source file the node comes
|
|
73
|
-
from (if available), what that file contains, and what part of that file was
|
|
74
|
-
parsed into the node.
|
|
75
|
-
|
|
76
|
-
#### type
|
|
77
|
-
|
|
78
|
-
`String`. The possible values are the ones listed in the Types section below.
|
|
79
|
-
|
|
80
|
-
#### parent
|
|
81
|
-
|
|
82
|
-
A reference to the parent node, or `null` if the node has no parent.
|
|
83
|
-
|
|
84
|
-
### Types
|
|
85
|
-
|
|
86
|
-
The available values of `node.type` are listed below, as well as the available
|
|
87
|
-
properties of each node (other than the common properties listed above.)
|
|
88
|
-
|
|
89
|
-
#### stylesheet
|
|
90
|
-
|
|
91
|
-
The root node returned by `css.parse`.
|
|
92
|
-
|
|
93
|
-
- stylesheet: `Object`:
|
|
94
|
-
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
|
|
95
|
-
at-rule types.
|
|
96
|
-
|
|
97
|
-
#### rule
|
|
98
|
-
|
|
99
|
-
- selectors: `Array` of `String`s. The list of selectors of the rule, split
|
|
100
|
-
on commas. Each selector is trimmed from whitespace and comments.
|
|
101
|
-
- declarations: `Array` of nodes with the types `declaration` and `comment`.
|
|
102
|
-
|
|
103
|
-
#### declaration
|
|
104
|
-
|
|
105
|
-
- property: `String`. The property name, trimmed from whitespace and
|
|
106
|
-
comments. May not be empty.
|
|
107
|
-
- value: `String`. The value of the property, trimmed from whitespace and
|
|
108
|
-
comments. Empty values are allowed.
|
|
109
|
-
|
|
110
|
-
#### comment
|
|
111
|
-
|
|
112
|
-
A rule-level or declaration-level comment. Comments inside selectors,
|
|
113
|
-
properties and values etc. are lost.
|
|
114
|
-
|
|
115
|
-
- comment: `String`. The part between the starting `/*` and the ending `*/`
|
|
116
|
-
of the comment, including whitespace.
|
|
117
|
-
|
|
118
|
-
#### charset
|
|
119
|
-
|
|
120
|
-
The `@charset` at-rule.
|
|
121
|
-
|
|
122
|
-
- charset: `String`. The part following `@charset `.
|
|
123
|
-
|
|
124
|
-
#### custom-media
|
|
125
|
-
|
|
126
|
-
The `@custom-media` at-rule.
|
|
127
|
-
|
|
128
|
-
- name: `String`. The `--`-prefixed name.
|
|
129
|
-
- media: `String`. The part following the name.
|
|
130
|
-
|
|
131
|
-
#### document
|
|
132
|
-
|
|
133
|
-
The `@document` at-rule.
|
|
134
|
-
|
|
135
|
-
- document: `String`. The part following `@document `.
|
|
136
|
-
- vendor: `String` or `undefined`. The vendor prefix in `@document`, or
|
|
137
|
-
`undefined` if there is none.
|
|
138
|
-
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
|
|
139
|
-
at-rule types.
|
|
140
|
-
|
|
141
|
-
#### font-face
|
|
142
|
-
|
|
143
|
-
The `@font-face` at-rule.
|
|
144
|
-
|
|
145
|
-
- declarations: `Array` of nodes with the types `declaration` and `comment`.
|
|
146
|
-
|
|
147
|
-
#### host
|
|
148
|
-
|
|
149
|
-
The `@host` at-rule.
|
|
150
|
-
|
|
151
|
-
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
|
|
152
|
-
at-rule types.
|
|
153
|
-
|
|
154
|
-
#### import
|
|
155
|
-
|
|
156
|
-
The `@import` at-rule.
|
|
157
|
-
|
|
158
|
-
- import: `String`. The part following `@import `.
|
|
159
|
-
|
|
160
|
-
#### keyframes
|
|
161
|
-
|
|
162
|
-
The `@keyframes` at-rule.
|
|
163
|
-
|
|
164
|
-
- name: `String`. The name of the keyframes rule.
|
|
165
|
-
- vendor: `String` or `undefined`. The vendor prefix in `@keyframes`, or
|
|
166
|
-
`undefined` if there is none.
|
|
167
|
-
- keyframes: `Array` of nodes with the types `keyframe` and `comment`.
|
|
168
|
-
|
|
169
|
-
#### keyframe
|
|
170
|
-
|
|
171
|
-
- values: `Array` of `String`s. The list of “selectors” of the keyframe rule,
|
|
172
|
-
split on commas. Each “selector” is trimmed from whitespace.
|
|
173
|
-
- declarations: `Array` of nodes with the types `declaration` and `comment`.
|
|
174
|
-
|
|
175
|
-
#### media
|
|
176
|
-
|
|
177
|
-
The `@media` at-rule.
|
|
178
|
-
|
|
179
|
-
- media: `String`. The part following `@media `.
|
|
180
|
-
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
|
|
181
|
-
at-rule types.
|
|
182
|
-
|
|
183
|
-
#### namespace
|
|
184
|
-
|
|
185
|
-
The `@namespace` at-rule.
|
|
186
|
-
|
|
187
|
-
- namespace: `String`. The part following `@namespace `.
|
|
188
|
-
|
|
189
|
-
#### page
|
|
190
|
-
|
|
191
|
-
The `@page` at-rule.
|
|
192
|
-
|
|
193
|
-
- selectors: `Array` of `String`s. The list of selectors of the rule, split
|
|
194
|
-
on commas. Each selector is trimmed from whitespace and comments.
|
|
195
|
-
- declarations: `Array` of nodes with the types `declaration` and `comment`.
|
|
196
|
-
|
|
197
|
-
#### supports
|
|
198
|
-
|
|
199
|
-
The `@supports` at-rule.
|
|
200
|
-
|
|
201
|
-
- supports: `String`. The part following `@supports `.
|
|
202
|
-
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
|
|
203
|
-
at-rule types.
|
|
204
|
-
|
|
205
|
-
### Example
|
|
206
|
-
|
|
207
|
-
CSS:
|
|
208
|
-
|
|
209
|
-
```css
|
|
210
|
-
body {
|
|
211
|
-
background: #eee;
|
|
212
|
-
color: #888;
|
|
213
|
-
}
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
Parse tree:
|
|
217
|
-
|
|
218
|
-
```json
|
|
219
|
-
{
|
|
220
|
-
"type": "stylesheet",
|
|
221
|
-
"stylesheet": {
|
|
222
|
-
"rules": [
|
|
223
|
-
{
|
|
224
|
-
"type": "rule",
|
|
225
|
-
"selectors": [
|
|
226
|
-
"body"
|
|
227
|
-
],
|
|
228
|
-
"declarations": [
|
|
229
|
-
{
|
|
230
|
-
"type": "declaration",
|
|
231
|
-
"property": "background",
|
|
232
|
-
"value": "#eee",
|
|
233
|
-
"position": {
|
|
234
|
-
"start": {
|
|
235
|
-
"line": 2,
|
|
236
|
-
"column": 3
|
|
237
|
-
},
|
|
238
|
-
"end": {
|
|
239
|
-
"line": 2,
|
|
240
|
-
"column": 19
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"type": "declaration",
|
|
246
|
-
"property": "color",
|
|
247
|
-
"value": "#888",
|
|
248
|
-
"position": {
|
|
249
|
-
"start": {
|
|
250
|
-
"line": 3,
|
|
251
|
-
"column": 3
|
|
252
|
-
},
|
|
253
|
-
"end": {
|
|
254
|
-
"line": 3,
|
|
255
|
-
"column": 14
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
"position": {
|
|
261
|
-
"start": {
|
|
262
|
-
"line": 1,
|
|
263
|
-
"column": 1
|
|
264
|
-
},
|
|
265
|
-
"end": {
|
|
266
|
-
"line": 4,
|
|
267
|
-
"column": 2
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
]
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
## License
|
|
277
|
-
|
|
278
|
-
MIT
|
package/css-value/LICENSE
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
(The MIT License)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2013 TJ Holowaychuk <tj@vision-media.ca>
|
|
4
|
-
|
|
5
|
-
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:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
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.
|
package/css-value/Readme.md
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# css-value
|
|
3
|
-
|
|
4
|
-
WIP CSS value parser
|
|
5
|
-
|
|
6
|
-
## Example
|
|
7
|
-
|
|
8
|
-
The CSS value string "1px 0 0 5% .5px .10 1.5" yields:
|
|
9
|
-
|
|
10
|
-
```js
|
|
11
|
-
[
|
|
12
|
-
{ type: 'number', string: '1px', unit: 'px', value: 1 },
|
|
13
|
-
{ type: 'number', string: '0', unit: '', value: 0 },
|
|
14
|
-
{ type: 'number', string: '0', unit: '', value: 0 },
|
|
15
|
-
{ type: 'number', string: '5%', unit: '%', value: 5 },
|
|
16
|
-
{ type: 'number', string: '.5px', unit: 'px', value: .5 },
|
|
17
|
-
{ type: 'number', string: '.10', unit: '', value: .1 },
|
|
18
|
-
{ type: 'number', string: '1.5', unit: '', value: 1.5 }
|
|
19
|
-
]
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## License
|
|
23
|
-
|
|
24
|
-
(The MIT License)
|
|
25
|
-
|
|
26
|
-
Copyright (c) 2013 TJ Holowaychuk <tj@vision-media.ca>
|
|
27
|
-
|
|
28
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
29
|
-
a copy of this software and associated documentation files (the
|
|
30
|
-
'Software'), to deal in the Software without restriction, including
|
|
31
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
32
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
33
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
34
|
-
the following conditions:
|
|
35
|
-
|
|
36
|
-
The above copyright notice and this permission notice shall be
|
|
37
|
-
included in all copies or substantial portions of the Software.
|
|
38
|
-
|
|
39
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
40
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
41
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
42
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
43
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
44
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
45
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/fetch/LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2014-2016 GitHub, Inc.
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/fetch/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Implementation of [fetch API](https://fetch.spec.whatwg.org/). Modified version of https://github.com/github/fetch.
|
package/js-libs/easysax/LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
Copyright (c) 2012 Vopilovskii Constantine <flash.vkv@gmail.com>
|
|
3
|
-
|
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
the Software without restriction, including without limitation the rights to
|
|
7
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
8
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
9
|
-
so, subject to the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
-
SOFTWARE.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
EASYSAX - pure javascript sax-style parser for xml
|
|
2
|
-
==================================================
|
|
3
|
-
Простой и быстрый SAX парсер XML файлов.
|
|
4
|
-
Реализован по принципу парсить только то что нужно и как можно быстрее.
|
|
5
|
-
Парсер не потоковый, и не расчитан на гиганские файлы. Весь XML должен быть в памяти.
|
|
6
|
-
Встроенный уникальный механизм работы с пространсвами имен.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Парсер был написан для RSS ридера http://zzreader.com
|
|
10
|
-
На конец 2012 года остается самым быстрым SAX парсером под NODE.JS
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
BENCHMARK
|
|
15
|
-
---------------------------------------------------
|
|
16
|
-
|
|
17
|
-
**benchmark/test.js, parse file #1**
|
|
18
|
-
```
|
|
19
|
-
sax-js: 12671ms
|
|
20
|
-
libxmljs: 11311ms
|
|
21
|
-
expat: 6118ms
|
|
22
|
-
expat buffer: 5278ms
|
|
23
|
-
easysax : 1739ms // namespace--on, attr()--on , entity_decode--on
|
|
24
|
-
easysax: 1035ms // namespace--off, attr()--on , entity_decode--on
|
|
25
|
-
easysax: 740ms // namespace--off, attr()--off , entity_decode--off
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
**benchmark/test.js, parse file #2 (много атрибутов)**
|
|
30
|
-
```
|
|
31
|
-
sax-js: 84060ms
|
|
32
|
-
libxmljs: 48919ms
|
|
33
|
-
expat: 39444ms
|
|
34
|
-
expat buffer: 35375ms
|
|
35
|
-
easysax: 14655ms // namespace--on, attr()--on , entity_decode--on
|
|
36
|
-
easysax: 9874ms // namespace--off, attr()--on , entity_decode--on
|
|
37
|
-
easysax: 3531ms // namespace--off, attr()--off , entity_decode--on
|
|
38
|
-
easysax: 2954ms // namespace--off, attr()--off , entity_decode--off
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
**demo/example.js, parse file #2**
|
|
43
|
-
```
|
|
44
|
-
1,000 pages for: 13335ms - attr()--all
|
|
45
|
-
1,000 pages for: 7300ms - attr()--on_request
|
|
46
|
-
```
|
package/platforms/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
## Platform specific native code
|