ecsy-babylon
Advanced tools
Comparing version 0.6.5 to 0.7.0
@@ -0,1 +1,14 @@ | ||
## v0.7.0 (2021-06-21) | ||
#### :boom: Breaking Change | ||
* [#530](https://github.com/kaliber5/ecsy-babylon/pull/530) Drop node 10 support ([@simonihmig](https://github.com/simonihmig)) | ||
* [#529](https://github.com/kaliber5/ecsy-babylon/pull/529) Drop own resize handling ([@simonihmig](https://github.com/simonihmig)) | ||
#### :rocket: Enhancement | ||
* [#529](https://github.com/kaliber5/ecsy-babylon/pull/529) Drop own resize handling ([@simonihmig](https://github.com/simonihmig)) | ||
#### Committers: 2 | ||
- Simon Ihmig ([@simonihmig](https://github.com/simonihmig)) | ||
- [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) | ||
## v0.6.5 (2021-04-20) | ||
@@ -2,0 +15,0 @@ |
{ | ||
"name": "ecsy-babylon", | ||
"version": "0.6.5", | ||
"version": "0.7.0", | ||
"description": "", | ||
@@ -56,14 +56,14 @@ "keywords": [], | ||
"devDependencies": { | ||
"@babel/core": "^7.13.15", | ||
"@babel/preset-env": "^7.13.15", | ||
"@rollup/plugin-node-resolve": "^11.2.1", | ||
"@babel/core": "^7.14.3", | ||
"@babel/preset-env": "^7.14.4", | ||
"@rollup/plugin-node-resolve": "^13.0.0", | ||
"@rollup/plugin-replace": "^2.4.2", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@types/jest": "^26.0.22", | ||
"@types/jest": "^26.0.23", | ||
"@types/lodash-es": "^4.17.4", | ||
"@types/node": "^14.14.37", | ||
"@types/rollup-plugin-sourcemaps": "^0.4.2", | ||
"@types/node": "^15.12.4", | ||
"@types/rollup-plugin-sourcemaps": "^0.5.0", | ||
"@typescript-eslint/eslint-plugin": "^2.34.0", | ||
"@typescript-eslint/parser": "^2.34.0", | ||
"babel-jest": "^26.6.3", | ||
"babel-jest": "^27.0.2", | ||
"colors": "^1.3.2", | ||
@@ -76,6 +76,6 @@ "coveralls": "^3.1.0", | ||
"eslint-import-resolver-typescript": "^2.4.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.3.5", | ||
"eslint-plugin-import": "^2.23.4", | ||
"eslint-plugin-jest": "^24.3.6", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"eslint-plugin-promise": "^4.3.1", | ||
@@ -87,17 +87,16 @@ "eslint-plugin-standard": "^5.0.0", | ||
"jest-extended": "^0.11.5", | ||
"lint-staged": "^10.5.4", | ||
"prettier": "^2.2.1", | ||
"release-it": "^14.6.1", | ||
"lint-staged": "^11.0.0", | ||
"prettier": "^2.3.1", | ||
"release-it": "^14.6.2", | ||
"release-it-lerna-changelog": "^3.1.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.45.1", | ||
"rollup": "^2.52.2", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
"ts-jest": "^24.2.0", | ||
"ts-node": "^9.1.1", | ||
"typedoc": "^0.20.35", | ||
"typedoc": "^0.20.36", | ||
"typescript": "^4.2.4" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
"node": "12.* || >= 14" | ||
}, | ||
@@ -123,5 +122,5 @@ "publishConfig": { | ||
"volta": { | ||
"node": "10.22.0", | ||
"node": "12.22.1", | ||
"yarn": "1.21.1" | ||
} | ||
} |
@@ -15,9 +15,2 @@ import { System } from 'ecsy'; | ||
core.scene = new Scene(core.engine); | ||
this.listener = function () { | ||
this.engine.resize(); | ||
}.bind({ engine: core.engine }); | ||
// @todo do we really want to do this here? Or should we delegate the responsibility ot the consumer? | ||
// For example the canvas might need to even react to resizing the canvas *element*, not just the | ||
// while window, i.e. we would have to use a ResizeObserver | ||
window.addEventListener('resize', this.listener); | ||
const startTime = window.performance.now(); | ||
@@ -24,0 +17,0 @@ core.engine.runRenderLoop(() => { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40
481446
6399