mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	feat: remove lodash as a dependency (#2378)
				
					
				
			This will reduce the bundle size by ~23%(117kb). Only 4 methods were used `flatten`, `flatMap`, `omitBy`, and `groupBy`. `omitBy and `groupBy` were recreated while the es2019 implementations of `flatten` and `flatMap` are used. `lodash` is still used in the tests which is fine because it makes the tests cleaner. Closes #2118
This commit is contained in:
		@@ -51,6 +51,7 @@
 | 
			
		||||
    "jest": "^29.3.1",
 | 
			
		||||
    "jest-mock": "^29.3.1",
 | 
			
		||||
    "lerna": "^4.0.0",
 | 
			
		||||
    "lodash": "^4.17.21",
 | 
			
		||||
    "npm-run-all": "^4.1.5",
 | 
			
		||||
    "path-browserify": "1.0.1",
 | 
			
		||||
    "prettier": "^2.3.2",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user