yaml 2.3.0-5 → 2.3.0

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.
@@ -1,4 +1,4 @@
1
- /*! *****************************************************************************
1
+ /******************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,153 +12,10 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
14
  ***************************************************************************** */
15
-
16
- /* global Reflect, Promise */
17
- var extendStatics = function (d, b) {
18
- extendStatics = Object.setPrototypeOf || {
19
- __proto__: []
20
- } instanceof Array && function (d, b) {
21
- d.__proto__ = b;
22
- } || function (d, b) {
23
- for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
24
- };
25
-
26
- return extendStatics(d, b);
27
- };
28
-
29
- function __extends(d, b) {
30
- if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
31
- extendStatics(d, b);
32
-
33
- function __() {
34
- this.constructor = d;
35
- }
36
-
37
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
38
- }
39
- function __generator(thisArg, body) {
40
- var _ = {
41
- label: 0,
42
- sent: function () {
43
- if (t[0] & 1) throw t[1];
44
- return t[1];
45
- },
46
- trys: [],
47
- ops: []
48
- },
49
- f,
50
- y,
51
- t,
52
- g;
53
- return g = {
54
- next: verb(0),
55
- "throw": verb(1),
56
- "return": verb(2)
57
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
58
- return this;
59
- }), g;
60
-
61
- function verb(n) {
62
- return function (v) {
63
- return step([n, v]);
64
- };
65
- }
66
-
67
- function step(op) {
68
- if (f) throw new TypeError("Generator is already executing.");
69
-
70
- while (_) try {
71
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
72
- if (y = 0, t) op = [op[0] & 2, t.value];
73
-
74
- switch (op[0]) {
75
- case 0:
76
- case 1:
77
- t = op;
78
- break;
79
-
80
- case 4:
81
- _.label++;
82
- return {
83
- value: op[1],
84
- done: false
85
- };
86
-
87
- case 5:
88
- _.label++;
89
- y = op[1];
90
- op = [0];
91
- continue;
92
-
93
- case 7:
94
- op = _.ops.pop();
95
-
96
- _.trys.pop();
97
-
98
- continue;
99
-
100
- default:
101
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
102
- _ = 0;
103
- continue;
104
- }
105
-
106
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
107
- _.label = op[1];
108
- break;
109
- }
110
-
111
- if (op[0] === 6 && _.label < t[1]) {
112
- _.label = t[1];
113
- t = op;
114
- break;
115
- }
116
-
117
- if (t && _.label < t[2]) {
118
- _.label = t[2];
119
-
120
- _.ops.push(op);
121
-
122
- break;
123
- }
124
-
125
- if (t[2]) _.ops.pop();
126
-
127
- _.trys.pop();
128
-
129
- continue;
130
- }
131
-
132
- op = body.call(thisArg, _);
133
- } catch (e) {
134
- op = [6, e];
135
- y = 0;
136
- } finally {
137
- f = t = 0;
138
- }
139
-
140
- if (op[0] & 5) throw op[1];
141
- return {
142
- value: op[0] ? op[1] : void 0,
143
- done: true
144
- };
145
- }
146
- }
147
- function __values(o) {
148
- var s = typeof Symbol === "function" && Symbol.iterator,
149
- m = s && o[s],
150
- i = 0;
151
- if (m) return m.call(o);
152
- if (o && typeof o.length === "number") return {
153
- next: function () {
154
- if (o && i >= o.length) o = void 0;
155
- return {
156
- value: o && o[i++],
157
- done: !o
158
- };
159
- }
160
- };
161
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
15
+ function __classPrivateFieldGet(receiver, state, kind, f) {
16
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
17
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
18
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
162
19
  }
163
20
 
164
- export { __extends, __generator, __values };
21
+ export { __classPrivateFieldGet };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yaml",
3
- "version": "2.3.0-5",
3
+ "version": "2.3.0",
4
4
  "license": "ISC",
5
5
  "author": "Eemeli Aro <eemeli@gmail.com>",
6
6
  "repository": "github:eemeli/yaml",