Skip to content

Commit 2d80c8b

Browse files
author
Ivan Zotov
committed
Fix spead operator for ie11. Bump to 0.6.1
1 parent 361bb91 commit 2d80c8b

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

babel.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
22
presets: ['@babel/preset-react'],
3-
plugins: ['@babel/plugin-proposal-class-properties'],
3+
plugins: [
4+
'@babel/plugin-proposal-class-properties',
5+
'@babel/plugin-proposal-object-rest-spread',
6+
],
47
};

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@navigationjs/react",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Small and well-tested React navigation",
55
"main": "dist/index.js",
66
"author": "Ivan Zotov <[email protected]> (http://ivanzotov.com/)",
@@ -35,6 +35,7 @@
3535
"@babel/cli": "^7.7.5",
3636
"@babel/core": "^7.7.5",
3737
"@babel/plugin-proposal-class-properties": "^7.7.4",
38+
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
3839
"@babel/preset-react": "^7.7.4",
3940
"@testing-library/react": "^9.4.0",
4041
"babel-jest": "^24.9.0",

src/Wrap/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
2-
import navigation from '@navigationjs/core'
2+
import navigation from '@navigationjs/core';
33

4-
let done = false
4+
let done = false;
55
export default class Wrap extends Component {
66
componentDidMount() {
77
if (done) return;

yarn.lock

+20
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@
105105
version "7.0.0"
106106
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"
107107

108+
"@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3":
109+
version "7.8.3"
110+
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670"
111+
integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==
112+
108113
"@babel/helper-replace-supers@^7.7.4":
109114
version "7.7.4"
110115
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz#3c881a6a6a7571275a72d82e6107126ec9e2cdd2"
@@ -147,6 +152,14 @@
147152
"@babel/helper-create-class-features-plugin" "^7.7.4"
148153
"@babel/helper-plugin-utils" "^7.0.0"
149154

155+
"@babel/plugin-proposal-object-rest-spread@^7.8.3":
156+
version "7.8.3"
157+
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb"
158+
integrity sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA==
159+
dependencies:
160+
"@babel/helper-plugin-utils" "^7.8.3"
161+
"@babel/plugin-syntax-object-rest-spread" "^7.8.0"
162+
150163
"@babel/plugin-syntax-jsx@^7.7.4":
151164
version "7.7.4"
152165
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.7.4.tgz#dab2b56a36fb6c3c222a1fbc71f7bf97f327a9ec"
@@ -159,6 +172,13 @@
159172
dependencies:
160173
"@babel/helper-plugin-utils" "^7.0.0"
161174

175+
"@babel/plugin-syntax-object-rest-spread@^7.8.0":
176+
version "7.8.3"
177+
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
178+
integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==
179+
dependencies:
180+
"@babel/helper-plugin-utils" "^7.8.0"
181+
162182
"@babel/plugin-transform-react-display-name@^7.7.4":
163183
version "7.7.4"
164184
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.7.4.tgz#9f2b80b14ebc97eef4a9b29b612c58ed9c0d10dd"

0 commit comments

Comments
 (0)