Skip to content

Commit

Permalink
fix: update cli package names
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoering committed Feb 10, 2025
1 parent 08db365 commit 69aadb4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/pbjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var path = require("path"),
pkg = require("./package.json"),
util = require("./util"),
glob = require("glob"),
protobuf = require("protobufjs");
protobuf = require("@criteo/protobufjs");

var targets = util.requireAll("./targets");

Expand Down
2 changes: 1 addition & 1 deletion cli/targets/json-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = json_module;

var util = require("../util");

var protobuf = require("protobufjs");
var protobuf = require("@criteo/protobufjs");

json_module.description = "JSON representation as a module";

Expand Down
2 changes: 1 addition & 1 deletion cli/targets/proto.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = proto_target;

proto_target.private = true;

var protobuf = require("protobufjs");
var protobuf = require("@criteo/protobufjs");

var Namespace = protobuf.Namespace,
Enum = protobuf.Enum,
Expand Down
2 changes: 1 addition & 1 deletion cli/targets/proto2.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
module.exports = proto2_target;

var protobuf = require("protobufjs");
var protobuf = require("@criteo/protobufjs");

proto2_target.description = "Protocol Buffers, Version 2";

Expand Down
2 changes: 1 addition & 1 deletion cli/targets/proto3.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
module.exports = proto3_target;

var protobuf = require("protobufjs");
var protobuf = require("@criteo/protobufjs");

proto3_target.description = "Protocol Buffers, Version 3";

Expand Down
2 changes: 1 addition & 1 deletion cli/targets/static-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = static_module_target;
// - AMD and global scope depend on the full library for now.

var util = require("../util"),
protobuf = require("protobufjs");
protobuf = require("@criteo/protobufjs");

static_module_target.description = "Static code without reflection as a module";

Expand Down
2 changes: 1 addition & 1 deletion cli/targets/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var UglifyJS = require("uglify-js"),
espree = require("espree"),
escodegen = require("escodegen"),
estraverse = require("estraverse"),
protobuf = require("protobufjs");
protobuf = require("@criteo/protobufjs");

var Type = protobuf.Type,
Service = protobuf.Service,
Expand Down
2 changes: 1 addition & 1 deletion cli/util.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
var fs = require("fs"),
path = require("path"),
protobuf = require("protobufjs");
protobuf = require("@criteo/protobufjs");

function basenameCompare(a, b) {
var aa = String(a).replace(/\.\w+$/, "").split(/(-?\d*\.?\d+)/g),
Expand Down

0 comments on commit 69aadb4

Please sign in to comment.