Skip to content

Commit d451e3b

Browse files
committed
Fix typos in asserts add LICENSE-asserts.md to package.json
1 parent b792840 commit d451e3b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

asserts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ jspb.asserts.fail = function(opt_message, ...args) {
132132
*/
133133
jspb.asserts.assertInstanceof = function(value, type, opt_message, ...args) {
134134
if (!(value instanceof type)) {
135-
jspb.assert.doAssertFailure(
135+
jspb.asserts.doAssertFailure(
136136
'Expected instanceof %s but got %s.',
137-
[jspb.asserts.getType(type), jspb.asseerts.getType(value)],
137+
[jspb.asserts.getType(type), jspb.asserts.getType(value)],
138138
opt_message, args);
139139
}
140140
return value;

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Protocol Buffers for JavaScript",
55
"main": "google-protobuf.js",
66
"files": [
7-
"google"
7+
"google",
8+
"LICENSE-asserts.md"
89
],
910
"dependencies": {},
1011
"devDependencies": {
@@ -24,5 +25,5 @@
2425
"url": "https://github.com/protocolbuffers/protobuf-javascript"
2526
},
2627
"author": "Google Protocol Buffers Team",
27-
"license": "BSD-3-Clause"
28+
"license": "(BSD-3-Clause AND Apache-2.0)"
2829
}

0 commit comments

Comments
 (0)