mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	Correct package.json "engines" entry
This commit is contained in:
		| @@ -398,7 +398,7 @@ if(!$tw.browser) { | ||||
| 	// Read package info | ||||
| 	$tw.packageInfo = JSON.parse(fs.readFileSync($tw.boot.bootPath + "/../package.json")); | ||||
| 	// Check node version number | ||||
| 	if($tw.utils.checkVersions($tw.packageInfo.engine.node.substr(2),process.version.substr(1))) { | ||||
| 	if($tw.utils.checkVersions($tw.packageInfo.engines.node.substr(2),process.version.substr(1))) { | ||||
| 		throw "TiddlyWiki5 requires node.js version " + $tw.packageInfo.engine.node; | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -31,7 +31,7 @@ | ||||
|   "bundleDependencies": [ | ||||
|   ], | ||||
|   "license": "BSD", | ||||
|   "engine": { | ||||
|   "engines": { | ||||
|     "node": ">=0.8.2" | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston