├── .babelrc ├── .eslintrc ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── jest └── env.js ├── modules ├── history │ ├── deprecate-createPath-createHref-query.js │ └── deprecate-pushState-replaceState.js └── react-router │ ├── deprecate-Link-location-props.js │ ├── deprecate-context-history.js │ └── deprecate-isActive-query.js ├── package.json └── test ├── __tests__ ├── history │ ├── deprecate-createPath-createHref-query.js │ └── deprecate-pushState-replaceState.js └── react-router │ ├── deprecate-Link-location-props.js │ ├── deprecate-context-history.js │ └── deprecate-isActive-query.js ├── deprecate-Link-location-props-test.js ├── deprecate-Link-location-props-test.output.js ├── deprecate-context-history-test.js ├── deprecate-context-history-test.output.js ├── deprecate-createPath-createHref-query-test.js ├── deprecate-createPath-createHref-query-test.output.js ├── deprecate-createPath-createHref-query-test2.js ├── deprecate-createPath-createHref-query-test2.output.js ├── deprecate-isActive-query-test.js ├── deprecate-isActive-query-test.output.js ├── deprecate-pushState-replaceState-test.js ├── deprecate-pushState-replaceState-test.output.js ├── deprecate-pushState-replaceState-test2.js └── deprecate-pushState-replaceState-test2.output.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "rackt" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/README.md -------------------------------------------------------------------------------- /jest/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/jest/env.js -------------------------------------------------------------------------------- /modules/history/deprecate-createPath-createHref-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/modules/history/deprecate-createPath-createHref-query.js -------------------------------------------------------------------------------- /modules/history/deprecate-pushState-replaceState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/modules/history/deprecate-pushState-replaceState.js -------------------------------------------------------------------------------- /modules/react-router/deprecate-Link-location-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/modules/react-router/deprecate-Link-location-props.js -------------------------------------------------------------------------------- /modules/react-router/deprecate-context-history.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/modules/react-router/deprecate-context-history.js -------------------------------------------------------------------------------- /modules/react-router/deprecate-isActive-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/modules/react-router/deprecate-isActive-query.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/package.json -------------------------------------------------------------------------------- /test/__tests__/history/deprecate-createPath-createHref-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/__tests__/history/deprecate-createPath-createHref-query.js -------------------------------------------------------------------------------- /test/__tests__/history/deprecate-pushState-replaceState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/__tests__/history/deprecate-pushState-replaceState.js -------------------------------------------------------------------------------- /test/__tests__/react-router/deprecate-Link-location-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/__tests__/react-router/deprecate-Link-location-props.js -------------------------------------------------------------------------------- /test/__tests__/react-router/deprecate-context-history.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/__tests__/react-router/deprecate-context-history.js -------------------------------------------------------------------------------- /test/__tests__/react-router/deprecate-isActive-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/__tests__/react-router/deprecate-isActive-query.js -------------------------------------------------------------------------------- /test/deprecate-Link-location-props-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-Link-location-props-test.js -------------------------------------------------------------------------------- /test/deprecate-Link-location-props-test.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-Link-location-props-test.output.js -------------------------------------------------------------------------------- /test/deprecate-context-history-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-context-history-test.js -------------------------------------------------------------------------------- /test/deprecate-context-history-test.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-context-history-test.output.js -------------------------------------------------------------------------------- /test/deprecate-createPath-createHref-query-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-createPath-createHref-query-test.js -------------------------------------------------------------------------------- /test/deprecate-createPath-createHref-query-test.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-createPath-createHref-query-test.output.js -------------------------------------------------------------------------------- /test/deprecate-createPath-createHref-query-test2.js: -------------------------------------------------------------------------------- 1 | history.createHref('/home', { the: 'query' }); 2 | 3 | -------------------------------------------------------------------------------- /test/deprecate-createPath-createHref-query-test2.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-createPath-createHref-query-test2.output.js -------------------------------------------------------------------------------- /test/deprecate-isActive-query-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-isActive-query-test.js -------------------------------------------------------------------------------- /test/deprecate-isActive-query-test.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-isActive-query-test.output.js -------------------------------------------------------------------------------- /test/deprecate-pushState-replaceState-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-pushState-replaceState-test.js -------------------------------------------------------------------------------- /test/deprecate-pushState-replaceState-test.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-pushState-replaceState-test.output.js -------------------------------------------------------------------------------- /test/deprecate-pushState-replaceState-test2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-pushState-replaceState-test2.js -------------------------------------------------------------------------------- /test/deprecate-pushState-replaceState-test2.output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactjs/rackt-codemod/HEAD/test/deprecate-pushState-replaceState-test2.output.js --------------------------------------------------------------------------------