Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 3b18841

Browse files
committed
Update babel-runtime, tweak code
1 parent 7f748be commit 3b18841

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"main": "lib/index.js",
1111
"author": "Eric Ferraiuolo <[email protected]>",
1212
"dependencies": {
13-
"babel-runtime": "^5.8.20",
13+
"babel-runtime": "^6.2.0",
1414
"intl-messageformat-parser": "^1.2.0",
1515
"mkdirp": "^0.5.1"
1616
},

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ export default function ({types: t}) {
247247
storeMessage(descriptor, path, state);
248248

249249
messageObj.replaceWith(t.objectExpression([
250-
t.ObjectProperty(
250+
t.objectProperty(
251251
t.stringLiteral('id'),
252252
t.stringLiteral(descriptor.id)
253253
),
254-
t.ObjectProperty(
254+
t.objectProperty(
255255
t.stringLiteral('defaultMessage'),
256256
t.stringLiteral(descriptor.defaultMessage)
257257
),

0 commit comments

Comments
 (0)