Skip to content

Commit

Permalink
Updated dist files for a release, see #627
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jan 27, 2017
1 parent de6d2f7 commit 2028662
Show file tree
Hide file tree
Showing 57 changed files with 22,379 additions and 8,082 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "protobuf",
"description": "Protocol Buffers for JavaScript. Finally.",
"version": "5.0.1",
"version": "5.0.2",
"main": "dist/protobuf.js",
"license": "Apache-2.0",
"homepage": "http://dcode.io/",
Expand Down
13 changes: 10 additions & 3 deletions dist/protobuf-light.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* @const
* @expose
*/
ProtoBuf.VERSION = "5.0.1";
ProtoBuf.VERSION = "5.0.2";

/**
* Wire types.
Expand Down Expand Up @@ -3745,7 +3745,11 @@
root = require("path")['resolve'](root);
if (root.indexOf("\\") >= 0 || filename.file.indexOf("\\") >= 0)
delim = '\\';
var fname = root + delim + filename.file;
var fname;
if (ProtoBuf.Util.IS_NODE)
fname = require("path")['join'](root, filename.file);
else
fname = root + delim + filename.file;
if (this.files[fname] === true)
return this.reset();
this.files[fname] = true;
Expand Down Expand Up @@ -3791,7 +3795,10 @@
var importFilename = json['imports'][i];
if (importFilename === "google/protobuf/descriptor.proto")
continue; // Not needed and therefore not used
importFilename = importRoot + delim + importFilename;
if (ProtoBuf.Util.IS_NODE)
importFilename = require("path")['join'](importRoot, importFilename);
else
importFilename = importRoot + delim + importFilename;
if (this.files[importFilename] === true)
continue; // Already imported
if (/\.proto$/i.test(importFilename) && !ProtoBuf.DotProto) // If this is a light build
Expand Down
164 changes: 85 additions & 79 deletions dist/protobuf-light.min.js

Large diffs are not rendered by default.

Binary file modified dist/protobuf-light.min.js.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions dist/protobuf-light.min.map

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions dist/protobuf.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* @const
* @expose
*/
ProtoBuf.VERSION = "5.0.1";
ProtoBuf.VERSION = "5.0.2";

/**
* Wire types.
Expand Down Expand Up @@ -4657,7 +4657,11 @@
root = require("path")['resolve'](root);
if (root.indexOf("\\") >= 0 || filename.file.indexOf("\\") >= 0)
delim = '\\';
var fname = root + delim + filename.file;
var fname;
if (ProtoBuf.Util.IS_NODE)
fname = require("path")['join'](root, filename.file);
else
fname = root + delim + filename.file;
if (this.files[fname] === true)
return this.reset();
this.files[fname] = true;
Expand Down Expand Up @@ -4703,7 +4707,10 @@
var importFilename = json['imports'][i];
if (importFilename === "google/protobuf/descriptor.proto")
continue; // Not needed and therefore not used
importFilename = importRoot + delim + importFilename;
if (ProtoBuf.Util.IS_NODE)
importFilename = require("path")['join'](importRoot, importFilename);
else
importFilename = importRoot + delim + importFilename;
if (this.files[importFilename] === true)
continue; // Already imported
if (/\.proto$/i.test(importFilename) && !ProtoBuf.DotProto) // If this is a light build
Expand Down
200 changes: 103 additions & 97 deletions dist/protobuf.min.js

Large diffs are not rendered by default.

Binary file modified dist/protobuf.min.js.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions dist/protobuf.min.map

Large diffs are not rendered by default.

Loading

0 comments on commit 2028662

Please sign in to comment.