Skip to content

Commit 7cd9d6c

Browse files
committed
publish v0.2.5
1 parent 1421c4b commit 7cd9d6c

File tree

15 files changed

+159
-119
lines changed

15 files changed

+159
-119
lines changed

dist/yaml.debug.js

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/yaml.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Dumper = (function() {
5353
module.exports = Dumper;
5454

5555

56-
5756
},{"./Inline":5,"./Utils":9}],2:[function(require,module,exports){
5857
var Escaper, Pattern;
5958

@@ -64,9 +63,9 @@ Escaper = (function() {
6463

6564
function Escaper() {}
6665

67-
Escaper.LIST_ESCAPEES = ['\\\\', '\\"', '"', "\x00", "\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08", "\x09", "\x0a", "\x0b", "\x0c", "\x0d", "\x0e", "\x0f", "\x10", "\x11", "\x12", "\x13", "\x14", "\x15", "\x16", "\x17", "\x18", "\x19", "\x1a", "\x1b", "\x1c", "\x1d", "\x1e", "\x1f", (ch = String.fromCharCode)(0x0085), ch(0x00A0), ch(0x2028), ch(0x2029)];
66+
Escaper.LIST_ESCAPEES = ['\\', '\\\\', '\\"', '"', "\x00", "\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08", "\x09", "\x0a", "\x0b", "\x0c", "\x0d", "\x0e", "\x0f", "\x10", "\x11", "\x12", "\x13", "\x14", "\x15", "\x16", "\x17", "\x18", "\x19", "\x1a", "\x1b", "\x1c", "\x1d", "\x1e", "\x1f", (ch = String.fromCharCode)(0x0085), ch(0x00A0), ch(0x2028), ch(0x2029)];
6867

69-
Escaper.LIST_ESCAPED = ['\\"', '\\\\', '\\"', "\\0", "\\x01", "\\x02", "\\x03", "\\x04", "\\x05", "\\x06", "\\a", "\\b", "\\t", "\\n", "\\v", "\\f", "\\r", "\\x0e", "\\x0f", "\\x10", "\\x11", "\\x12", "\\x13", "\\x14", "\\x15", "\\x16", "\\x17", "\\x18", "\\x19", "\\x1a", "\\e", "\\x1c", "\\x1d", "\\x1e", "\\x1f", "\\N", "\\_", "\\L", "\\P"];
68+
Escaper.LIST_ESCAPED = ['\\\\', '\\"', '\\"', '\\"', "\\0", "\\x01", "\\x02", "\\x03", "\\x04", "\\x05", "\\x06", "\\a", "\\b", "\\t", "\\n", "\\v", "\\f", "\\r", "\\x0e", "\\x0f", "\\x10", "\\x11", "\\x12", "\\x13", "\\x14", "\\x15", "\\x16", "\\x17", "\\x18", "\\x19", "\\x1a", "\\e", "\\x1c", "\\x1d", "\\x1e", "\\x1f", "\\N", "\\_", "\\L", "\\P"];
7069

7170
Escaper.MAPPING_ESCAPEES_TO_ESCAPED = (function() {
7271
var i, j, mapping, ref;
@@ -79,7 +78,7 @@ Escaper = (function() {
7978

8079
Escaper.PATTERN_CHARACTERS_TO_ESCAPE = new Pattern('[\\x00-\\x1f]|\xc2\x85|\xc2\xa0|\xe2\x80\xa8|\xe2\x80\xa9');
8180

82-
Escaper.PATTERN_MAPPING_ESCAPEES = new Pattern(Escaper.LIST_ESCAPEES.join('|'));
81+
Escaper.PATTERN_MAPPING_ESCAPEES = new Pattern(Escaper.LIST_ESCAPEES.join('|').split('\\').join('\\\\'));
8382

8483
Escaper.PATTERN_SINGLE_QUOTING = new Pattern('[\\s\'":{}[\\],&*#?]|^[-?|<>=!%@`]');
8584

@@ -112,7 +111,6 @@ Escaper = (function() {
112111
module.exports = Escaper;
113112

114113

115-
116114
},{"./Pattern":7}],3:[function(require,module,exports){
117115
var DumpException,
118116
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
@@ -142,7 +140,6 @@ DumpException = (function(superClass) {
142140
module.exports = DumpException;
143141

144142

145-
146143
},{}],4:[function(require,module,exports){
147144
var ParseException,
148145
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
@@ -172,7 +169,6 @@ ParseException = (function(superClass) {
172169
module.exports = ParseException;
173170

174171

175-
176172
},{}],5:[function(require,module,exports){
177173
var DumpException, Escaper, Inline, ParseException, Pattern, Unescaper, Utils,
178174
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
@@ -658,7 +654,6 @@ Inline = (function() {
658654
module.exports = Inline;
659655

660656

661-
662657
},{"./Escaper":2,"./Exception/DumpException":3,"./Exception/ParseException":4,"./Pattern":7,"./Unescaper":8,"./Utils":9}],6:[function(require,module,exports){
663658
var Inline, ParseException, Parser, Pattern, Utils;
664659

@@ -1260,7 +1255,6 @@ Parser = (function() {
12601255
module.exports = Parser;
12611256

12621257

1263-
12641258
},{"./Exception/ParseException":4,"./Inline":5,"./Pattern":7,"./Utils":9}],7:[function(require,module,exports){
12651259
var Pattern;
12661260

@@ -1382,7 +1376,6 @@ Pattern = (function() {
13821376
module.exports = Pattern;
13831377

13841378

1385-
13861379
},{}],8:[function(require,module,exports){
13871380
var Pattern, Unescaper, Utils;
13881381

@@ -1468,7 +1461,6 @@ Unescaper = (function() {
14681461
module.exports = Unescaper;
14691462

14701463

1471-
14721464
},{"./Pattern":7,"./Utils":9}],9:[function(require,module,exports){
14731465
var Pattern, Utils;
14741466

@@ -1755,7 +1747,6 @@ Utils = (function() {
17551747
module.exports = Utils;
17561748

17571749

1758-
17591750
},{"./Pattern":7}],10:[function(require,module,exports){
17601751
var Dumper, Parser, Utils, Yaml;
17611752

@@ -1862,5 +1853,4 @@ if (typeof window === "undefined" || window === null) {
18621853
module.exports = Yaml;
18631854

18641855

1865-
18661856
},{"./Dumper":1,"./Parser":6,"./Utils":9}]},{},[10]);

dist/yaml.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Dumper.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Escaper.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Exception/DumpException.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Exception/ParseException.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Inline.js

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)