author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
580,246
06.09.2018 21:01:09
-10,800
4cf4e18ab04b88d7fafeb166944acd3664a8ed76
Fix BaseLink component when used with target="_blank"
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/BaseLink.js", "new_path": "packages/react-router5/modules/BaseLink.js", "diff": "@@ -48,8 +48,10 @@ class BaseLink extends Component {\n}\nclickHandler(evt) {\n- if (this.props.onClick) {\n- this.props.onClick(evt)\n+ const { onC...
TypeScript
MIT License
router5/router5
Fix BaseLink component when used with target="_blank"
580,271
10.09.2018 11:07:57
-7,200
bce3142e68ca067c978ec00fa3c282bd335df473
fix: prevent setState() to be called on an unmounted component
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/RouteProvider.js", "new_path": "packages/react-router5/modules/RouteProvider.js", "diff": "@@ -16,24 +16,33 @@ class RouteProvider extends React.PureComponent {\nsuper(props)\nconst { router } = props\n+ state = {\n+ mounted: fal...
TypeScript
MIT License
router5/router5
fix: prevent setState() to be called on an unmounted component
580,250
13.09.2018 16:43:45
-7,200
e4321b0cff5ef422f7f20171f986b75d3ee33431
Add title as 3rd parameter of router.replaceHistoryState Let the person using the router decide if he want to set the `title` using `router.replaceHistoryState`.
[ { "change_type": "MODIFY", "old_path": "packages/router5/modules/plugins/browser/index.js", "new_path": "packages/router5/modules/plugins/browser/index.js", "diff": "@@ -37,7 +37,7 @@ function browserPluginFactory(opts = {}, browser = safeBrowser) {\nreturn router\n}\n- router.replaceHistoryState = ...
TypeScript
MIT License
router5/router5
Add title as 3rd parameter of router.replaceHistoryState Let the person using the router decide if he want to set the `title` using `router.replaceHistoryState`.
580,271
17.09.2018 16:37:46
-7,200
db86e90ec1f7b41ab528491d6dba46bf604493f1
fix: avoid using unnecessary re-rendering
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/RouteProvider.js", "new_path": "packages/react-router5/modules/RouteProvider.js", "diff": "@@ -15,14 +15,11 @@ class RouteProvider extends React.PureComponent {\nconstructor(props) {\nsuper(props)\nconst { router } = props\n-\n- ...
TypeScript
MIT License
router5/router5
fix: avoid using unnecessary re-rendering
580,271
17.09.2018 16:54:31
-7,200
40212027000e42d124278894d2aa33ad5f7f8719
feat(withRouter): add a withRouter component
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/index.js", "new_path": "packages/react-router5/modules/index.js", "diff": "@@ -2,6 +2,7 @@ import BaseLink from './BaseLink'\nimport routeNode from './routeNode'\nimport RouterProvider from './RouterProvider'\nimport withRoute fr...
TypeScript
MIT License
router5/router5
feat(withRouter): add a withRouter component
580,266
30.09.2018 23:25:26
-7,200
e2684a9c33dfd8957ae6a7de88f49ad52de1e8fd
chore(ts): Add typings for RouteNode component closes
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/index.d.ts", "new_path": "packages/react-router5/index.d.ts", "diff": "@@ -10,7 +10,7 @@ declare module 'react-router5' {\ntype Diff<\nT extends string | number | symbol,\nU extends string | number | symbol\n- > = ({ [P in T]: P } & { [P...
TypeScript
MIT License
router5/router5
chore(ts): Add typings for RouteNode component closes #366
580,249
02.10.2018 09:36:37
-3,600
01f668eba690d7267d97951d27f8c62cfbe099eb
doc: add to react-router5 README
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/README.md", "new_path": "packages/react-router5/README.md", "diff": "@@ -33,6 +33,7 @@ const AppWithRouter = (\n* **withRoute(BaseComponent)**: HoC injecting your router instance (from context) and the current route to the wrapped compon...
TypeScript
MIT License
router5/router5
doc: add to react-router5 README
580,266
02.10.2018 12:59:36
-7,200
491b72245029fb1491754a444d739cabce8f8053
chore(ts): Add typings for Route, RouteProvider
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/index.d.ts", "new_path": "packages/react-router5/index.d.ts", "diff": "@@ -65,10 +65,17 @@ declare module 'react-router5' {\nexport type RenderCallback = (args: InjectedRouterNode) => JSX.Element\n- export const RouteNode: ComponentClass...
TypeScript
MIT License
router5/router5
chore(ts): Add typings for Route, RouteProvider
580,249
04.10.2018 14:38:34
-3,600
f9c577320609c25e7bcac8a0e1e93711d67dd4dc
chore: lock router5-transition-path versions
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/package.json", "new_path": "packages/react-router5/package.json", "diff": "},\n\"dependencies\": {\n\"prop-types\": \"^15.6.0\",\n- \"router5-transition-path\": \"^5.4.0\"\n+ \"router5-transition-path\": \"5.4.0\"\n},\n\"typings\": \"./i...
TypeScript
MIT License
router5/router5
chore: lock router5-transition-path versions
580,249
06.10.2018 15:13:06
-3,600
28df464c0873524b0ffc313542265829427a8bea
fix: fix Route type definition
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/index.d.ts", "new_path": "packages/react-router5/index.d.ts", "diff": "@@ -76,6 +76,6 @@ declare module 'react-router5' {\n}>\nexport const Route: ComponentClass<{\n- children: (value: T) => React.ReactNode\n+ children: (value: InjectedR...
TypeScript
MIT License
router5/router5
fix: fix Route type definition
580,249
16.10.2018 15:59:22
-3,600
9dbf2a82d57e938017dbaf1fdbb1e9f6b52f7c18
chore: upgrade route-node
[ { "change_type": "MODIFY", "old_path": "packages/router5/package.json", "new_path": "packages/router5/package.json", "diff": "},\n\"homepage\": \"https://router5.js.org\",\n\"dependencies\": {\n- \"route-node\": \"3.4.1\",\n+ \"route-node\": \"3.4.2\",\n\"router5-transition-path\": \"5.4.0\",\n\"sym...
TypeScript
MIT License
router5/router5
chore: upgrade route-node
580,249
23.10.2018 08:32:07
-3,600
1e0a07dcea43d5eab23cab2e022cdbccee78943c
fix: properly handle default params when building paths and states
[ { "change_type": "MODIFY", "old_path": "packages/router5/modules/core/utils.js", "new_path": "packages/router5/modules/core/utils.js", "diff": "@@ -94,14 +94,19 @@ export default function withUtils(router) {\nreturn params.path\n}\n+ const paramsWithDefault = {\n+ ...router.config.defaultParams[rout...
TypeScript
MIT License
router5/router5
fix: properly handle default params when building paths and states
580,249
29.11.2018 14:42:29
0
3e1071c5ae3f35b46103d0b9bf1bf861d899bec3
chore: add router5-helpers types
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"clean:deps\": \"rimraf packages/*/yarn.lock\",\n\"reset\": \"npm run clean && npm run clean:deps && npm run bootstrap\",\n\"build\": \"node scripts/build && npm run build:router5\",\n- \"build:router5\": \"...
TypeScript
MIT License
router5/router5
chore: add router5-helpers types
580,249
29.11.2018 15:04:19
0
b53a0071092155e4361de152f577f2075dd8add5
refactor: move router5-transition-path to TS, Jest and rollup
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"clean:deps\": \"rimraf packages/*/yarn.lock\",\n\"reset\": \"npm run clean && npm run clean:deps && npm run bootstrap\",\n\"build\": \"rollup -c rollup.config.js && prettier --write 'packages/*/types/**/*.t...
TypeScript
MIT License
router5/router5
refactor: move router5-transition-path to TS, Jest and rollup
580,249
29.11.2018 16:49:00
0
bea5765e2d3b09f742d74dd018c17ee7c32d5933
chore: add logger plugin package
[ { "change_type": "ADD", "old_path": null, "new_path": "packages/router5-plugin-logger/README.md", "diff": "+# Router5 browser plugin\n+\n+The browser plugin will automatically update your browser URL and state on route changes. It will also listen to popstate events (triggered by back and forward bu...
TypeScript
MIT License
router5/router5
chore: add logger plugin package
580,249
29.11.2018 17:29:56
0
8b959e587b852b216e092acb45850e81537584a6
chore: add listeners plugin package
[ { "change_type": "ADD", "old_path": null, "new_path": "packages/router5-plugin-listeners/README.md", "diff": "+# Router5 browser plugin\n+\n+The browser plugin will automatically update your browser URL and state on route changes. It will also listen to popstate events (triggered by back and forward...
TypeScript
MIT License
router5/router5
chore: add listeners plugin package
580,249
29.11.2018 17:40:48
0
f00aa3ce587d97347a08dbb35f0ca7b1c734d7eb
chore: add persistent params plugin package
[ { "change_type": "MODIFY", "old_path": "packages/router5-plugin-listeners/modules/index.ts", "new_path": "packages/router5-plugin-listeners/modules/index.ts", "diff": "@@ -9,10 +9,10 @@ const defaultOptions: ListenersPluginOptions = {\nautoCleanUp: true\n}\n-const listenersPluginFactory: PluginFacto...
TypeScript
MIT License
router5/router5
chore: add persistent params plugin package
580,249
30.11.2018 01:43:14
0
c633d1d5e54dc16393711d8643eada3f92c41fa3
chore: remove TS errors before adding type merging
[ { "change_type": "MODIFY", "old_path": "packages/router5-plugin-browser/modules/index.ts", "new_path": "packages/router5-plugin-browser/modules/index.ts", "diff": "import { constants, errorCodes, Router, PluginFactory } from 'router5'\nimport safeBrowser from './browser'\n-import withUtils from './u...
TypeScript
MIT License
router5/router5
chore: remove TS errors before adding type merging
580,249
30.11.2018 08:33:21
0
fc00f65b8419781ed2cca9d4d45aae16e3f7df75
chore: use TS module augmentation for plugins
[ { "change_type": "MODIFY", "old_path": "packages/router5-plugin-browser/modules/__tests__/index.ts", "new_path": "packages/router5-plugin-browser/modules/__tests__/index.ts", "diff": "@@ -116,11 +116,6 @@ function test(useHash) {\n})\n})\n- it('should be able to extract the path of an URL', function...
TypeScript
MIT License
router5/router5
chore: use TS module augmentation for plugins
580,249
30.11.2018 10:30:25
0
c733d15cd30039e1dbaa14536e11a0e11a1d21fd
chore: move xstream-router5 to TS and jest
[ { "change_type": "MODIFY", "old_path": "packages/router5-plugin-listeners/modules/__tests__/index.ts", "new_path": "packages/router5-plugin-listeners/modules/__tests__/index.ts", "diff": "@@ -73,7 +73,7 @@ describe('listenersPlugin', () => {\nrouter.addListener(listener)\nrouter.navigate('orders.pen...
TypeScript
MIT License
router5/router5
chore: move xstream-router5 to TS and jest
580,249
30.11.2018 10:31:20
0
3b30203d738e9f9f7ffa5ba715fbce9dbb179879
chore: add rxjs and xstream types
[ { "change_type": "ADD", "old_path": null, "new_path": "packages/rxjs-router5/types/index.d.ts", "diff": "+import { Observable } from 'rxjs'\n+import { Router, State } from 'router5'\n+export declare const PLUGIN_NAME = 'RXJS_PLUGIN'\n+export declare const TRANSITION_SUCCESS = 'success'\n+export decl...
TypeScript
MIT License
router5/router5
chore: add rxjs and xstream types
580,249
30.11.2018 17:32:10
0
4648bf81e751d93f374b55ef12dbaf514dc69966
chore: build react-router5 with rollup
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/BaseLink.ts", "new_path": "packages/react-router5/modules/BaseLink.ts", "diff": "@@ -45,7 +45,9 @@ class BaseLink extends Component<BaseLinkProps, BaseLinkState> {\n}\nbuildUrl(routeName, routeParams) {\n+ //@ts-ignore\nif (this....
TypeScript
MIT License
router5/router5
chore: build react-router5 with rollup
580,249
30.11.2018 20:47:06
0
ef4eebb434e27106b35e9c849b2a316eb82b08b5
refactor: use new context API for all components, keep legacy ones
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/BaseLink.ts", "new_path": "packages/react-router5/modules/BaseLink.ts", "diff": "import { NavigationOptions, State, Router } from 'router5'\nimport React, { Component, HTMLAttributes, MouseEventHandler } from 'react'\nimport Prop...
TypeScript
MIT License
router5/router5
refactor: use new context API for all components, keep legacy ones
580,249
30.11.2018 21:10:29
0
0a639e6f9773f907d0ee59f3b486097ac0e7043f
feat: introduce React hooks
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"homepage\": \"https://router5.js.org\",\n\"devDependencies\": {\n\"@types/jest\": \"~23.3.10\",\n+ \"@types/react\": \"~16.7.10\",\n\"conventional-changelog\": \"~1.1.3\",\n\"enzyme\": \"~3.7.0\",\n\"expres...
TypeScript
MIT License
router5/router5
feat: introduce React hooks
580,249
30.11.2018 21:36:03
0
758a097ca5401b4f7cba842eb8ad8afb2c40ed89
chore: add react-router5-hocs package
[ { "change_type": "ADD", "old_path": null, "new_path": "packages/react-router5-hocs/jest.config.js", "diff": "+module.exports = {\n+ transform: {\n+ '^.+\\\\.tsx?$': 'ts-jest'\n+ },\n+ moduleFileExtensions: ['ts', 'tsx', 'js'],\n+ preset: 'ts-jest',\n+ testPathIgnorePatterns: ['<rootDir>/modules/__te...
TypeScript
MIT License
router5/router5
chore: add react-router5-hocs package
580,249
30.11.2018 22:35:17
0
dbc91a9a169013a3aa6426081bb2ebbefa482bb6
chore: add hook tests
[ { "change_type": "MODIFY", "old_path": "packages/react-router5-hocs/modules/__tests__/main.tsx", "new_path": "packages/react-router5-hocs/modules/__tests__/main.tsx", "diff": "-import React, { SFC } from 'react'\n-import { Child, createTestRouter, FnChild, renderWithRouter } from './helpers'\n+impor...
TypeScript
MIT License
router5/router5
chore: add hook tests
580,249
30.11.2018 22:36:21
0
8a36eba52f566d8d0acb2bd561a6a6bf5eb5c921
chore: update husky hook
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"lint:check-conflicts\": \"eslint --print-config .eslintrc | eslint-config-prettier-check\",\n\"format\": \"prettier 'packages/**/*.{js,ts}'\",\n\"check\": \"yarn run lint:check-conflicts && yarn run lint &&...
TypeScript
MIT License
router5/router5
chore: update husky hook
580,249
01.12.2018 11:25:13
0
f62fb0c837a7661f6c5951e70300de5ca6ed02e5
chore: rework RouteNode render prop
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/__tests__/hocs.ts", "new_path": "packages/react-router5/modules/__tests__/hocs.ts", "diff": "@@ -50,21 +50,24 @@ describe('withRouter hoc', () => {\n})\n})\n-// describe('routeNode hoc', () => {\n-// let router\n+describe('routeN...
TypeScript
MIT License
router5/router5
chore: rework RouteNode render prop
580,249
01.12.2018 18:50:53
0
9c6c671d47afa302bc945e4232d0139c9bce1099
refactor: lazily add rxjs plugin on subscription, and multicast
[ { "change_type": "MODIFY", "old_path": "packages/rxjs-router5/modules/index.ts", "new_path": "packages/rxjs-router5/modules/index.ts", "diff": "-import { Subject, Observable } from 'rxjs'\n+import { Observable, Subscriber } from 'rxjs'\nimport { Router, State } from 'router5'\nimport transitionPath ...
TypeScript
MIT License
router5/router5
refactor: lazily add rxjs plugin on subscription, and multicast
580,249
01.12.2018 19:57:36
0
3ab2e468f12627f91e93e1b4b1ab129ce2a00f66
test: add plugin deregistration and teardown tests
[ { "change_type": "MODIFY", "old_path": "packages/router5/modules/__tests__/plugins.ts", "new_path": "packages/router5/modules/__tests__/plugins.ts", "diff": "import { createTestRouter } from './helpers'\n+import createRouter from '..'\ndescribe('core/plugins', () => {\nlet router\n@@ -32,4 +33,19 @@...
TypeScript
MIT License
router5/router5
test: add plugin deregistration and teardown tests
580,235
07.12.2018 11:42:08
-7,200
935f3185e9dd9997e3b8ed419bf1e2b9555b64fe
Fix issue with browsers that don't URL encode characters (Edge)
[ { "change_type": "MODIFY", "old_path": "packages/router5/modules/plugins/browser/browser.js", "new_path": "packages/router5/modules/plugins/browser/browser.js", "diff": "@@ -49,8 +49,8 @@ const getLocation = opts => {\n? window.location.hash.replace(new RegExp('^#' + opts.hashPrefix), '')\n: window....
TypeScript
MIT License
router5/router5
Fix issue with browsers that don't URL encode characters (Edge)
580,249
15.12.2018 20:42:09
0
b30f6bf4c4c408d46f55515fe3001a29b542667d
chore: remove usage of contextType and rename link components
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/BaseLink.ts", "new_path": "packages/react-router5/modules/BaseLink.ts", "diff": "@@ -26,13 +26,12 @@ export interface BaseLinkState {\n}\nclass BaseLink extends Component<BaseLinkProps, BaseLinkState> {\n- static contextType = ro...
TypeScript
MIT License
router5/router5
chore: remove usage of contextType and rename link components
580,249
15.12.2018 20:43:03
0
7a1afa3d2be31532791ed9e3f553374075af09a2
chore: update React peer dependency
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/package.json", "new_path": "packages/react-router5/package.json", "diff": "\"router5\": \"^6.6.2\"\n},\n\"peerDependencies\": {\n- \"react\": \"^0.14.0 || ^15.0.0 || ^16.0.0\",\n+ \"react\": \">=16.3.0\",\n\"router5\": \">= 6.1.0 < 7.0.0...
TypeScript
MIT License
router5/router5
chore: update React peer dependency
580,249
15.12.2018 20:49:19
0
d2fa481652a2f5ef8a004fe1865c8658e81bcbfc
chore: rename link components
[ { "change_type": "RENAME", "old_path": "packages/react-router5-hocs/modules/BaseLink.ts", "new_path": "packages/react-router5-hocs/modules/Link.ts", "diff": "@@ -2,7 +2,7 @@ import { NavigationOptions, State, Router } from 'router5'\nimport React, { Component, HTMLAttributes, MouseEventHandler } fro...
TypeScript
MIT License
router5/router5
chore: rename link components
580,249
15.12.2018 22:16:54
0
77829e561f94db65aaad44ff27fc710c2705b5ee
chore: add links to migration guide
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.md", "new_path": "CHANGELOG.md", "diff": "+# router5@7.0.0 (2018-12-??)\n+\n+See migration guide: https://router5.js.org/migration/migrating-from-6.x-to-7.x\n+\n## router5@6.6.3 (2018-12-15)\n#### Bug fix\n" }, { "change_type": "MODIFY", ...
TypeScript
MIT License
router5/router5
chore: add links to migration guide
580,249
16.12.2018 10:33:58
0
7219598ecd73f7990b23bea8520ff11c9bb91415
docs: add removal of hasPlugin in migration guide
[ { "change_type": "MODIFY", "old_path": "docs/migration/migrating-from-6.x-to-7.x.md", "new_path": "docs/migration/migrating-from-6.x-to-7.x.md", "diff": "@@ -25,6 +25,7 @@ An `unmaintained` directory has been created to move packages which are no longe\n- `router5-plugin-persistent-params`\n- `useMi...
TypeScript
MIT License
router5/router5
docs: add removal of hasPlugin in migration guide
580,249
16.12.2018 16:56:28
0
a46f6d9dde0433df0c58528998537ec21691fdc7
docs: update docs for v7
[ { "change_type": "MODIFY", "old_path": ".prettierignore", "new_path": ".prettierignore", "diff": "packages/*/dist\n-packages/redux-router5/immutable\n-packages/redux-router5/index.js\n-packages/redux-router5/lib\n-packages/router5/constants.js\n-packages/router5/core\n-packages/router5/create-router...
TypeScript
MIT License
router5/router5
docs: update docs for v7
580,249
16.12.2018 17:11:05
0
a20d8f23414e4428c60a0cb69e227788a5740df5
docs: update React docs and add missing render prop components
[ { "change_type": "MODIFY", "old_path": "docs/integration/with-react.md", "new_path": "docs/integration/with-react.md", "diff": "@@ -54,7 +54,7 @@ export default routeNode('users')(Users)\n## Link components\n* **Link**: a component to render hyperlinks. For a full list of supported props, check the ...
TypeScript
MIT License
router5/router5
docs: update React docs and add missing render prop components
580,249
18.12.2018 14:02:55
0
8eb48fa1bbfacab5e8a7c87367ba9a2de608b5a1
fix: fix path for types
[ { "change_type": "MODIFY", "old_path": "packages/react-router5-hocs/package.json", "new_path": "packages/react-router5-hocs/package.json", "diff": "\"prop-types\": \"~15.6.2\",\n\"router5-transition-path\": \"^7.0.0\"\n},\n- \"typings\": \"./index.d.ts\",\n+ \"typings\": \"./types/index.d.ts\",\n\"s...
TypeScript
MIT License
router5/router5
fix: fix path for types
580,235
08.01.2019 23:26:55
-7,200
5425b92913b075846a6b2638a36341a736b5c9d6
Safely encode path to avoid URIError URI malformed
[ { "change_type": "MODIFY", "old_path": "packages/router5-plugin-browser/modules/browser.ts", "new_path": "packages/router5-plugin-browser/modules/browser.ts", "diff": "@@ -41,11 +41,19 @@ const getLocation = opts => {\n: window.location.pathname.replace(new RegExp('^' + opts.base), '')\n// Fix issue...
TypeScript
MIT License
router5/router5
Safely encode path to avoid URIError URI malformed
580,258
16.01.2019 14:03:46
-3,600
db01cb59f561675806cea533a7c5854ab3adac90
export BaseLink
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/README.md", "new_path": "packages/react-router5/README.md", "diff": "@@ -45,7 +45,8 @@ You can connect your components using three different methods:\n## Link components\n-- **Link**: a component to render hyperlinks. For a full list of ...
TypeScript
MIT License
router5/router5
export BaseLink
580,271
07.02.2019 17:28:11
-3,600
cfc9800793c4aaea1182eff6acd46156b088b6e3
Add failings tests
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/__tests__/helpers/index.tsx", "new_path": "packages/react-router5/modules/__tests__/helpers/index.tsx", "diff": "@@ -18,6 +18,24 @@ export const createTestRouter = () => {\nreturn router\n}\n+export const createTestRouterWithADef...
TypeScript
MIT License
router5/router5
Add failings tests
580,271
07.02.2019 17:29:45
-3,600
fe9ee90845b131236d62eeb0517a858345888ced
Initialize route in useRouteNode the same way we do in the hoc/render props version
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/hooks/useRouteNode.ts", "new_path": "packages/react-router5/modules/hooks/useRouteNode.ts", "diff": "@@ -7,10 +7,11 @@ export type UnsubscribeFn = () => void\nexport default function useRouter(nodeName: string): RouteContext {\nc...
TypeScript
MIT License
router5/router5
Initialize route in useRouteNode the same way we do in the hoc/render props version
580,249
21.02.2019 22:24:12
-3,600
e5815636163949fc36f0e8982f9ed5ac17c3ec89
chore: update files ignored by npm
[ { "change_type": "ADD", "old_path": null, "new_path": "packages/react-router5-hocs/.npmignore", "diff": "+**/.*\n+node_modules\n+modules\n+*.log\n+*.md\n+*.config.js\n+*.json\n+*.lock\n" }, { "change_type": "MODIFY", "old_path": "packages/react-router5/.npmignore", "new_path": "packa...
TypeScript
MIT License
router5/router5
chore: update files ignored by npm
580,254
12.03.2019 20:06:13
25,200
569104c7d0ce65ad8c0ac478eca5c6f03d97cdf0
Update ecosystem.md add Mr. Router5 to community packages
[ { "change_type": "MODIFY", "old_path": "docs/introduction/ecosystem.md", "new_path": "docs/introduction/ecosystem.md", "diff": "* [mobx-router5](https://github.com/LeonardoGentile/mobx-router5): integration with MobX\n* [react-mobx-router5](https://github.com/LeonardoGentile/react-mobx-router5): int...
TypeScript
MIT License
router5/router5
Update ecosystem.md add Mr. Router5 to community packages
580,247
01.03.2020 09:52:52
18,000
e95c54075b3fd313ab320f569d12bbfd44fd86d6
chore: fix function name
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/hooks/useRouteNode.ts", "new_path": "packages/react-router5/modules/hooks/useRouteNode.ts", "diff": "@@ -5,7 +5,7 @@ import { RouteContext } from '../types'\nexport type UnsubscribeFn = () => void\n-export default function useRou...
TypeScript
MIT License
router5/router5
chore: fix function name (#421)
580,254
01.03.2020 06:55:21
28,800
ef2b14c2e470be668c70a9688ecec995398b3880
docs: change mr-router5 package name
[ { "change_type": "MODIFY", "old_path": "docs/introduction/ecosystem.md", "new_path": "docs/introduction/ecosystem.md", "diff": "* [mobx-router5](https://github.com/LeonardoGentile/mobx-router5): integration with MobX\n* [react-mobx-router5](https://github.com/LeonardoGentile/react-mobx-router5): int...
TypeScript
MIT License
router5/router5
docs: change mr-router5 package name (#425)
580,249
01.03.2020 21:25:26
-3,600
1a5ca9c8327d27ac48a1c213346a9aee9deff40a
docs: link migration to v8
[ { "change_type": "MODIFY", "old_path": ".prettierrc", "new_path": ".prettierrc", "diff": "\"singleQuote\": true,\n\"overrides\": [\n{\n- \"files\": [\"*.json\", \"*.yml\", \".eslintrc\", \".prettierrc\"],\n+ \"files\": [\"*.json\", \"*.md\", \"*.yml\", \".eslintrc\", \".prettierrc\"],\n\"options\": ...
TypeScript
MIT License
router5/router5
docs: link migration to v8
580,249
01.03.2020 21:44:41
-3,600
35f98f3ff7701e6d23d1079a048d0af96962fe75
docs: correct example
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -52,7 +52,12 @@ function App() {\n}\n}\n-ReactDOM.render(<App />, document.getElementById('root'))\n+ReactDOM.render(\n+ <RouterProvider router={router}>\n+ <App />\n+ </RouterProvider>,\n+ document.getElementBy...
TypeScript
MIT License
router5/router5
docs: correct example
580,249
02.03.2020 10:52:24
-3,600
1b0e54f50cbda4950d76429845ff9f6940dd4b10
chore: no longer build react-router5-hocs
[ { "change_type": "MODIFY", "old_path": "packages/router5/README.md", "new_path": "packages/router5/README.md", "diff": "@@ -29,14 +29,16 @@ router.usePlugin(browserPlugin())\nrouter.start()\n```\n-**With React \\(new context API\\)**\n+**With React \\(hooks\\)**\n```javascript\nimport React from 're...
TypeScript
MIT License
router5/router5
chore: no longer build react-router5-hocs
580,269
19.03.2020 04:49:17
18,000
6e82a38373cc5fed02ed19606a63ab54afebab07
fix: update Peer Dependencies to 8.x
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/package.json", "new_path": "packages/react-router5/package.json", "diff": "},\n\"peerDependencies\": {\n\"react\": \">=16.3.0\",\n- \"router5\": \"^7.0.0\"\n+ \"router5\": \"^8.0.0\"\n}\n}\n" }, { "change_type": "MODIFY", "ol...
TypeScript
MIT License
router5/router5
fix: update Peer Dependencies to 8.x (#458)
580,252
21.04.2020 23:05:06
-3,600
b79f999d55cedeac4e446166f60ccbf70e0f19ca
docs: improve withRouter hoc types
[ { "change_type": "MODIFY", "old_path": "packages/react-router5/modules/hocs/withRouter.tsx", "new_path": "packages/react-router5/modules/hocs/withRouter.tsx", "diff": "-import React, { SFC, ComponentType } from 'react'\n+import React, { ComponentType } from 'react'\nimport { Router } from 'router5'\...
TypeScript
MIT License
router5/router5
docs: improve withRouter hoc types (#463)
699
27.11.2017 21:46:36
21,600
3ad744e450993526c94567146f59d4a91a06c775
subfolder template support, adds --help, --dir, --version cmd line options
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"ava\": \"^0.23.0\"\n},\n\"dependencies\": {\n+ \"chalk\": \"^2.3.0\",\n\"consolidate\": \"^0.15.0\",\n\"ejs\": \"^2.5.7\",\n\"fs-extra\": \"^4.0.2\",\n- \"globby\": \"^7.1.1\",\n\"glob-watcher\": \"^4.0.0\"...
JavaScript
MIT License
11ty/eleventy
subfolder template support, adds --help, --dir, --version cmd line options
699
27.11.2017 21:55:05
21,600
3bce7b5b3c45f78cf82f6a772b45d6729a988290
Ignoring _ prefixed files.
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -29,6 +29,10 @@ Template.prototype.getInput = function() {\nTemplate.prototype.getMatter = function() {\nreturn matter( this.inputContent );\n};\n+Template.prototype.isIgnored = function() {\n+ retur...
JavaScript
MIT License
11ty/eleventy
Ignoring _ prefixed files.
699
27.11.2017 22:02:53
21,600
27122851028a062b609b7e76d64032515788a684
Adds --output and --dir options
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -8,20 +8,21 @@ const Layout = require( \"./Layout\" );\nconst cfg = require(\"../config.json\");\n-function Template( path, globalData ) {\n+function Template( path, globalData, outputDir ) {\nthis.p...
JavaScript
MIT License
11ty/eleventy
Adds --output and --dir options
699
27.11.2017 22:34:51
21,600
03c3ac603e45d71e06a4343aa2e0d1234d3d75f7
Switch to --input instead of --dir
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -8,13 +8,14 @@ const TemplateWriter = require(\"./src/TemplateWriter\");\nconst pkg = require(\"./package.json\");\nconst cfg = require(\"./config.json\");\n// argv._ ? argv._ :\n-const dir = argv.dir ? argv.dir : cfg...
JavaScript
MIT License
11ty/eleventy
Switch to --input instead of --dir
699
27.11.2017 22:36:21
21,600
6bf4d55e74521b7549c4aa0234b52df1ccceccba
README commands
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -19,6 +19,13 @@ elevenisland\n# Watch\nelevenisland --watch\n+\n+# Modify directories\n+elevenisland --input=./templates --output=./dist\n+\n+# Version and Help\n+elevenisland --version\n+elevenisland --help\n``...
JavaScript
MIT License
11ty/eleventy
README commands
699
27.11.2017 23:57:02
21,600
7602ea2e3efccd6be05ccabfd394da237d9ae110
Start of a helpers/components dir
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -10,6 +10,7 @@ const cfg = require(\"./config.json\");\n// argv._ ? argv._ :\nconst dir = argv.input ? argv.input : cfg.dir.templates;\n+let start = new Date();\nlet files = cfg.templateFormats.map(function(extension)...
JavaScript
MIT License
11ty/eleventy
Start of a helpers/components dir
699
01.12.2017 08:32:11
21,600
3dd2f56a025653471824588fb060a52cbeac6fdf
Cleanup TemplateRender, adds a bunch more tests.
[ { "change_type": "MODIFY", "old_path": "src/TemplateRender.js", "new_path": "src/TemplateRender.js", "diff": "@@ -9,47 +9,65 @@ const pug = require('pug');\nconst nunjucks = require('nunjucks');\nconst liquidEngine = require('liquidjs')();\n+// TODO make path and str for template content independent...
JavaScript
MIT License
11ty/eleventy
Cleanup TemplateRender, adds a bunch more tests.
699
01.12.2017 22:48:34
21,600
56e396ecc20a229907d738010efff481f0be20e0
Fixed a bunch of bugs with inputDirs that are not a direct child of cmd. Adds --formats
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "dist/\n+_site/\nnode_modules/\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -28,6 +28,16 @@ elevenisland --input=...
JavaScript
MIT License
11ty/eleventy
Fixed a bunch of bugs with inputDirs that are not a direct child of cmd. Adds --formats
699
01.12.2017 23:32:08
21,600
a035d8195c4791b70a9e8fff106b2f89d123763c
Adds raw HTML template option. Adds config options for template engines for HTML files and data.json.
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "{\n\"globalDataFile\": \"./data.json\",\n- \"templateFormats\": [\"liquid\", \"ejs\", \"md\", \"hbs\", \"mustache\", \"haml\", \"pug\", \"njk\"],\n+ \"templateFormats\": [\"liquid\", \"ejs\", \"md\", \"hbs\", \...
JavaScript
MIT License
11ty/eleventy
Adds raw HTML template option. Adds config options for template engines for HTML files and data.json.
699
04.12.2017 22:39:51
21,600
1aa5147b0f3fad092a72e3d0909298fafc92796c
Includes on liquid and ejs templates
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "\"templates\": \"templates\",\n\"layouts\": \"_layouts\",\n\"components\": \"_components\",\n+ \"includes\": \"_includes\",\n\"output\": \"_site\"\n}\n}\n\\ No newline at end of file\n" }, { "change_typ...
JavaScript
MIT License
11ty/eleventy
Includes on liquid and ejs templates
699
04.12.2017 23:11:15
21,600
af80f085c42120ab9fb36d18c07fbc0d3691eabc
New include style for EJS
[ { "change_type": "MODIFY", "old_path": "test/TemplateRenderTest.js", "new_path": "test/TemplateRenderTest.js", "diff": "@@ -87,6 +87,17 @@ test(\"EJS Include\", async t => {\nt.is(await fn(), \"<p>This is an include.</p>\" );\n});\n+test(\"EJS Include, New Style\", async t => {\n+ let fn = await (ne...
JavaScript
MIT License
11ty/eleventy
New include style for EJS
699
05.12.2017 08:31:29
21,600
096671713625ddc2035bc06bdf546189ab27de75
Adds mustache partials tests
[ { "change_type": "MODIFY", "old_path": "src/TemplateRender.js", "new_path": "src/TemplateRender.js", "diff": "@@ -8,6 +8,8 @@ const haml = require('hamljs');\nconst pug = require('pug');\nconst nunjucks = require('nunjucks');\nconst Liquid = require('liquidjs');\n+const fs = require(\"fs-extra\");\n...
JavaScript
MIT License
11ty/eleventy
Adds mustache partials tests
699
05.12.2017 09:00:16
21,600
7452b8cc5f5ef868e87eaf62f9a3d66c1c2a60fd
Handlebars partials
[ { "change_type": "MODIFY", "old_path": "src/TemplateRender.js", "new_path": "src/TemplateRender.js", "diff": "@@ -22,10 +22,10 @@ function TemplateRender( tmplPath, inputDir ) {\nthis.defaultMarkdownEngine = cfg.markdownTemplateEngine || \"liquid\";\nthis.defaultHtmlEngine = cfg.htmlTemplateEngine |...
JavaScript
MIT License
11ty/eleventy
Handlebars partials
699
06.12.2017 07:43:42
21,600
f904b40448c9cc867f255f0dbba2ecb130307f1b
Pug features
[ { "change_type": "MODIFY", "old_path": "src/TemplateRender.js", "new_path": "src/TemplateRender.js", "diff": "@@ -126,7 +126,9 @@ TemplateRender.prototype.getCompiledTemplatePromise = async function(str, option\n} else if( this.engineName === \"haml\" ) {\nreturn haml.compile(str);\n} else if( this....
JavaScript
MIT License
11ty/eleventy
Pug features
699
06.12.2017 07:43:54
21,600
b95e333f6fececac1d3450c79a0c688f98d67876
Nunjucks features
[ { "change_type": "MODIFY", "old_path": "src/TemplateRender.js", "new_path": "src/TemplateRender.js", "diff": "@@ -27,6 +27,10 @@ function TemplateRender( tmplPath, inputDir ) {\nif( this.engineName === \"hbs\" ) {\nthis.registerHandlebarsPartials();\n}\n+\n+ if( this.engineName === \"njk\" ) {\n+ th...
JavaScript
MIT License
11ty/eleventy
Nunjucks features
699
06.12.2017 08:27:15
21,600
c437bab1f9edc4d525fb1dcc12a1b38ce6c6c79a
Extra packages hiding in there
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "#!/usr/bin/env node\nconst watch = require(\"glob-watcher\");\n-const chalk = require(\"chalk\");\nconst argv = require( \"minimist\" )( process.argv.slice(2) );\nconst normalize = require('normalize-path');\nconst Templ...
JavaScript
MIT License
11ty/eleventy
Extra packages hiding in there
699
07.12.2017 00:00:19
21,600
fba3b0d2802c97a93cd8b8288fb49be36008b10f
Use TemplateConfig to deal with both module config.json and local elevenisland.config.js files with overrides
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -4,11 +4,16 @@ const argv = require( \"minimist\" )( process.argv.slice(2) );\nconst normalize = require('normalize-path');\nconst TemplateData = require(\"./src/TemplateData\");\nconst TemplateWriter = require(\"./sr...
JavaScript
MIT License
11ty/eleventy
Use TemplateConfig to deal with both module config.json and local elevenisland.config.js files with overrides
699
07.12.2017 00:11:19
21,600
69306b7a4ef0df1f16196fbd6e8ac3ed98a589e8
Customize the html suffix
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "\"markdownTemplateEngine\": \"liquid\",\n\"htmlTemplateEngine\": \"liquid\",\n\"jsonDataTemplateEngine\": \"ejs\",\n+ \"htmlOutputSuffix\": \"-output\",\n\"dir\": {\n\"input\": \".\",\n\"layouts\": \"_layouts\"...
JavaScript
MIT License
11ty/eleventy
Customize the html suffix
699
07.12.2017 00:11:38
21,600
4c26ddccc4057991ee61b0145e4f09c9c17038ac
Change default config filename to .elevenisland.js
[ { "change_type": "MODIFY", "old_path": "src/TemplateConfig.js", "new_path": "src/TemplateConfig.js", "diff": "@@ -2,7 +2,7 @@ const fs = require(\"fs-extra\");\nconst TemplatePath = require(\"./TemplatePath\");\nfunction TemplateConfig(globalConfig, localConfigPath) {\n- this.localConfigPath = local...
JavaScript
MIT License
11ty/eleventy
Change default config filename to .elevenisland.js
699
07.12.2017 00:18:43
21,600
c009616e239df982c318870a8e279196f60910ed
Table was broken
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -77,8 +77,8 @@ For example:\nAdd a `.elevenisland.js` file to your directory to override these configuration options with your own preferences.\n-|Configuration Option Key|Command Line Override|Default Option|Va...
JavaScript
MIT License
11ty/eleventy
Table was broken
699
07.12.2017 00:19:55
21,600
af41299bfee2af73fae1441ed0f8b0d6cc04ed77
Missing cell
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -82,7 +82,7 @@ Add a `.elevenisland.js` file to your directory to override these configuration\n|`globalDataFile`|`data.json`|A valid JSON filename|`--data`|Control the file name used for global data available t...
JavaScript
MIT License
11ty/eleventy
Missing cell
699
07.12.2017 00:26:49
21,600
d041111c4184b157ff29643d21db6ee2e98d1816
Change project name to eleventy
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -34,9 +34,9 @@ if( argv.version ) {\nconsole.log( pkg.version );\n} else if( argv.help ) {\nlet out = [];\n- out.push( \"usage: elevenisland\" );\n- out.push( \" elevenisland --watch\" );\n- out.push( \" elevenisland ...
JavaScript
MIT License
11ty/eleventy
Change project name to eleventy
699
07.12.2017 23:23:59
21,600
81d9f19d7b76bd2287839124cd474764f6f83dcd
Adds support for handlebars helpers
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "\"layouts\": \"_layouts\",\n\"includes\": \"_includes\",\n\"output\": \"_site\"\n- }\n+ },\n+ \"handlebarsHelpers\": {}\n}\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": ...
JavaScript
MIT License
11ty/eleventy
Adds support for handlebars helpers
699
08.12.2017 22:24:59
21,600
9ea85db2b054dc885dca10fa07f777ae988d683f
Import the local package.json for data vars
[ { "change_type": "MODIFY", "old_path": "src/TemplatePath.js", "new_path": "src/TemplatePath.js", "diff": "@@ -16,4 +16,8 @@ TemplatePath.normalize = function(...paths) {\nreturn normalize( path.join(...paths) );\n};\n+TemplatePath.localPath = function(...paths) {\n+ return normalize( path.join(Templ...
JavaScript
MIT License
11ty/eleventy
Import the local package.json for data vars
699
09.12.2017 22:05:18
21,600
de23a3638311b9645f3de1ea6f05cab857087789
Adds .eleventyignore for ignoring files.
[ { "change_type": "ADD", "old_path": null, "new_path": ".eleventy.js", "diff": "+module.exports = {\n+ dir: {\n+ input: \"playground\"\n+ }\n+};\n" }, { "change_type": "MODIFY", "old_path": "src/TemplateConfig.js", "new_path": "src/TemplateConfig.js", "diff": "const fs = require(\...
JavaScript
MIT License
11ty/eleventy
Adds .eleventyignore for ignoring files.
699
10.12.2017 12:34:39
21,600
5d8480e5b88ea8f835bbd229e29b0405b5f88027
Switches to use .jstl for template literal templates instead of .js
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -4,15 +4,16 @@ Transform a directory of templates into HTML.\nWorks with:\n-* HTML (`html`)\n-* Markdown (`md`) (using [`markdown-it`](https://github.com/markdown-it/markdown-it))\n-* [Liquid](https://www.npmjs....
JavaScript
MIT License
11ty/eleventy
Switches to use .jstl for template literal templates instead of .js
699
10.12.2017 12:41:51
21,600
df6ad29fa288a58cc2990d937a86bed2632805cd
Adds an config sample
[ { "change_type": "MODIFY", "old_path": "test/stubs/.eleventyignore", "new_path": "test/stubs/.eleventyignore", "diff": "ignoredFolder\n-ignoredFolder/ignored.md\n\\ No newline at end of file\n+./ignoredFolder/ignored.md\n\\ No newline at end of file\n" } ]
JavaScript
MIT License
11ty/eleventy
Adds an config sample
699
10.12.2017 13:11:17
21,600
ddcd8f26cc55977fa53fef0b7f85d7c10db43567
Change default data template engine to liquid
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "],\n\"markdownTemplateEngine\": \"liquid\",\n\"htmlTemplateEngine\": \"liquid\",\n- \"jsonDataTemplateEngine\": \"ejs\",\n+ \"jsonDataTemplateEngine\": \"liquid\",\n\"htmlOutputSuffix\": \"-output\",\n\"dir\": ...
JavaScript
MIT License
11ty/eleventy
Change default data template engine to liquid
699
10.12.2017 14:36:05
21,600
11b9f73f841ef22f369e3a8f2bbfa92730721704
Combine _layouts dir into _includes.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -92,7 +92,6 @@ module.exports = {\n| ------------------------ | -------------------------------------------------------------------------- | -------------------------------------------- | --------------------- |...
JavaScript
MIT License
11ty/eleventy
Combine _layouts dir into _includes.
699
10.12.2017 15:05:32
21,600
4b8150e62b6ee303d4aa045b1a8405ba49564298
Permalinks map to a new output subfolder
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "\"htmlTemplateEngine\": \"liquid\",\n\"jsonDataTemplateEngine\": \"liquid\",\n\"htmlOutputSuffix\": \"-output\",\n+ \"keys\": {\n+ \"permalink\": \"_permalink\",\n+ \"package\": \"_package\"\n+ },\n\"dir\": {\n...
JavaScript
MIT License
11ty/eleventy
Permalinks map to a new output subfolder
699
10.12.2017 21:09:14
21,600
2df1fd680517dd0f62dd3b64344a4bc8b3d6dca2
Use dynamic key for `layout`, switch back to `permalink` (no underscore)
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "\"jsonDataTemplateEngine\": \"liquid\",\n\"htmlOutputSuffix\": \"-output\",\n\"keys\": {\n- \"permalink\": \"_permalink\",\n- \"package\": \"_package\"\n+ \"package\": \"_package\",\n+ \"layout\": \"layout\",\n...
JavaScript
MIT License
11ty/eleventy
Use dynamic key for `layout`, switch back to `permalink` (no underscore)
699
11.12.2017 08:57:07
21,600
b988bf2689099c9a892b0ebb6e0ac719940af356
Adds pify, removes some syncs
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"ava\": \"^0.24.0\",\n\"husky\": \"^0.14.3\",\n\"lint-staged\": \"^6.0.0\",\n+ \"pify\": \"^3.0.0\",\n\"prettier\": \"1.9.1\"\n},\n\"dependencies\": {\n" }, { "change_type": "MODIFY", "old_path":...
JavaScript
MIT License
11ty/eleventy
Adds pify, removes some syncs
699
14.12.2017 20:58:11
21,600
b7dbcd03189febe73811035a045c821bd097de85
A few more async things
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "const ejs = require(\"ejs\");\nconst pify = require(\"pify\");\n-const fs = pify(require(\"fs-extra\"));\n+const fs = require(\"fs-extra\");\nconst parsePath = require(\"parse-filepath\");\nconst matter...
JavaScript
MIT License
11ty/eleventy
A few more async things
699
14.12.2017 22:10:05
21,600
eb4af5decfa06bfb9cad6d1b25845e40bdb540d3
Imports a local component json data file (and caches the global data if possible)
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -22,6 +22,10 @@ if (argv.formats && argv.formats !== \"*\") {\nlet start = new Date();\nlet data = new TemplateData(argv.data || cfg.globalDataFile);\n+(async function() {\n+ await data.cacheData();\n+})();\n+\nlet wr...
JavaScript
MIT License
11ty/eleventy
Imports a local component json data file (and caches the global data if possible)
699
14.12.2017 22:38:59
21,600
79891860561dd5bb5dad2e4f512fde2b6eca349b
Asyncing all of it
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -19,12 +19,11 @@ if (argv.formats && argv.formats !== \"*\") {\nformats = argv.formats.split(\",\");\n}\n+(async function() {\nlet start = new Date();\nlet data = new TemplateData(argv.data || cfg.globalDataFile);\n-(...
JavaScript
MIT License
11ty/eleventy
Asyncing all of it
699
15.12.2017 07:13:41
21,600
3b206f72fbbeb121fb8a8ea461d5eba201fe160b
Rename method name, not happy with Promise in the name
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -161,9 +161,7 @@ Template.prototype.renderLayout = async function(tmpl, tmplData) {\n};\nTemplate.prototype.getCompiledPromise = async function() {\n- return await this.templateRender.getCompiledTemp...
JavaScript
MIT License
11ty/eleventy
Rename method name, not happy with Promise in the name
699
15.12.2017 07:52:31
21,600
c1dc0509f89fd5b31c4fdee91f335469c2e418a3
`return await` is unnecessary.
[ { "change_type": "MODIFY", "old_path": "src/Engines/Html.js", "new_path": "src/Engines/Html.js", "diff": "@@ -3,11 +3,14 @@ const TemplateEngine = require(\"./TemplateEngine\");\nclass Html extends TemplateEngine {\nasync compile(str, preTemplateEngine) {\nif (preTemplateEngine) {\n- let engine = Te...
JavaScript
MIT License
11ty/eleventy
`return await` is unnecessary.
699
15.12.2017 08:43:31
21,600
673b75475ecf85f72a5d6b9f4cfb057b13d63a75
Use _data dir instead of one big global data file.
[ { "change_type": "MODIFY", "old_path": "cmd.js", "new_path": "cmd.js", "diff": "@@ -22,7 +22,7 @@ if (argv.formats && argv.formats !== \"*\") {\n(async function() {\nlet start = new Date();\n- let data = new TemplateData(argv.data || cfg.globalDataFile);\n+ let data = new TemplateData(argv.input);\n...
JavaScript
MIT License
11ty/eleventy
Use _data dir instead of one big global data file.
699
15.12.2017 21:00:21
21,600
6198624fb492819ba8eb4241b83b1f0e6508dabf
Removes global data file at root (moving to _data)
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "{\n- \"globalDataFile\": \"./data.json\",\n\"templateFormats\": [\n\"liquid\",\n\"ejs\",\n" }, { "change_type": "MODIFY", "old_path": "src/TemplateData.js", "new_path": "src/TemplateData.js", ...
JavaScript
MIT License
11ty/eleventy
Removes global data file at root (moving to _data)
699
15.12.2017 21:05:30
21,600
c041d71df975f3df9d13f2e3c155f912b4e2ab1e
Renames data template engine to be format independent
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -68,7 +68,7 @@ eleventy --input=. --output=. --formats=html\nOptionally add data files to add global static data available to all templates. See the `dir.data` configuration below.\n-The global data files will b...
JavaScript
MIT License
11ty/eleventy
Renames data template engine to be format independent
699
15.12.2017 21:27:19
21,600
c82d59cec73f9393d487e7e8586042bd85366220
Rename _package to pkg
[ { "change_type": "MODIFY", "old_path": "config.json", "new_path": "config.json", "diff": "\"dataTemplateEngine\": \"liquid\",\n\"htmlOutputSuffix\": \"-output\",\n\"keys\": {\n- \"package\": \"_package\",\n+ \"package\": \"pkg\",\n\"layout\": \"layout\",\n\"permalink\": \"permalink\"\n},\n" }, {...
JavaScript
MIT License
11ty/eleventy
Rename _package to pkg
699
15.12.2017 21:37:24
21,600
030f0f36a48370c4d36596a9ac4762f595693f44
Local component data should not be namespaced.
[ { "change_type": "MODIFY", "old_path": "src/TemplateData.js", "new_path": "src/TemplateData.js", "diff": "@@ -76,12 +76,7 @@ TemplateData.prototype.getData = async function() {\nTemplateData.prototype.getLocalData = async function(localDataPath) {\nlet localFilename = parsePath(localDataPath).name;\...
JavaScript
MIT License
11ty/eleventy
Local component data should not be namespaced.
699
17.12.2017 23:14:14
21,600
b52530fce1e7e7850fdb84150ecae5aee03713e3
Adds pagination plugin
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.0.11\",\n\"liquidjs\": \"^2.0.3\",\n+ \"lodash.chunk\": \"^4.2.0\",\n+ \"lodash.clone\": \"^4.5.0\",\n\"lodash.merge\": \"^4.6.0\",\n\"markdown-it\": \"^8.4.0\",\...
JavaScript
MIT License
11ty/eleventy
Adds pagination plugin
699
17.12.2017 23:55:30
21,600
d0790850cca7b580feb6b9d29db1fd1bb2f37e6e
Add pagination links to pagination object
[ { "change_type": "MODIFY", "old_path": "src/Template.js", "new_path": "src/Template.js", "diff": "@@ -62,14 +62,11 @@ Template.prototype.setExtraOutputSubdirectory = function(dir) {\nthis.extraOutputSubdirectory = dir + \"/\";\n};\n-// TODO check for conflicts, see if file already exists?\n-Template...
JavaScript
MIT License
11ty/eleventy
Add pagination links to pagination object
699
18.12.2017 07:26:15
21,600
49a2529cee4f7e738c57879832c08c5a078c9630
Ugh, more tabs
[ { "change_type": "MODIFY", "old_path": "test/LayoutTest.js", "new_path": "test/LayoutTest.js", "diff": "@@ -2,10 +2,10 @@ import test from \"ava\";\nimport Layout from \"../src/Layout\";\ntest(t => {\n- t.is( (new Layout( \"default\", \"./test/stubs\" )).findFileName(), \"default.ejs\" );\n+ t.is(ne...
JavaScript
MIT License
11ty/eleventy
Ugh, more tabs
699
18.12.2017 21:20:54
21,600
43538f74c34051d1ec9a17993425dd0d9b5fd817
Subdirectory global data
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.0\",\n\"lodash.merge\": \"^4.6.0\",\n+ \"lodash.set\": \"^4.3.2\",\n\"markdown-it\": \"^8.4.0\",\n\"minimist\": \"^1.2.0\",\n\"mustache\": \"^2.3.0\",\n...
JavaScript
MIT License
11ty/eleventy
Subdirectory global data
699
18.12.2017 21:27:15
21,600
944a05b5f7374d872d94485529c087b2cfc1d830
Allows insides arrays for pagination targets
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"liquidjs\": \"^2.0.3\",\n\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.0\",\n+ \"lodash.get\": \"^4.4.2\",\n\"lodash.merge\": \"^4.6.0\",\n\"lodash.set\": \"^4.3.2\",\n\"markdown-it\": \"^8.4.0\",...
JavaScript
MIT License
11ty/eleventy
Allows insides arrays for pagination targets
699
18.12.2017 23:34:50
21,600
48d4e76d0b26cf7e0a5a45fdd22743b1c30e8d13
Sweet, sweet pagination permalinks
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"parse-filepath\": \"^1.0.1\",\n\"pify\": \"^3.0.0\",\n\"pretty\": \"^2.0.0\",\n- \"pug\": \"^2.0.0-rc.4\"\n+ \"pug\": \"^2.0.0-rc.4\",\n+ \"slug-rfc\": \"^0.1.0\"\n}\n}\n" }, { "change_type": "MODIF...
JavaScript
MIT License
11ty/eleventy
Sweet, sweet pagination permalinks