Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lodash #78

Merged
merged 4 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ Also available are the __fuzzball_lite__ and __fuzzball_ultra_lite__ versions if

The lite version doesn't include the partial ratio functions, and only has limited wildcard support. The ultra_lite version doesn't include those and also leaves out support for collation or correct astral symbols handling, the extract functions are not as optimized for large datasets, and it's alphanumeric check will strip out all non-ascii characters.

The full, lite and ultra_lite bundles currently weight in at a compressed 28kB, 20kB, and 8kB, respectively.
The full, lite and ultra_lite bundles currently weight in at a compressed 27.0kB, 17.8kB, and 7.0kB, respectively.

### Credits

Expand Down
33,815 changes: 26,366 additions & 7,449 deletions demo-app/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"homepage": ".",
"devDependencies": {
"gh-pages": "^5.0.0",
"react-scripts": "^5.0.0",
"react-scripts": "^5.0.1",
"redux-devtools": "^3.5.0",
"redux-devtools-dock-monitor": "^1.1.3",
"redux-devtools-log-monitor": "^1.4.0"
Expand Down
17 changes: 5 additions & 12 deletions dist/esm/fuzzball.esm.min.js

Large diffs are not rendered by default.

17 changes: 5 additions & 12 deletions dist/fuzzball.umd.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "./static/css/main.cdad3e3d.css",
"main.js": "./static/js/main.47249acb.js",
"main.css": "./static/css/main.6b378173.css",
"main.js": "./static/js/main.305954c1.js",
"index.html": "./index.html",
"main.cdad3e3d.css.map": "./static/css/main.cdad3e3d.css.map",
"main.47249acb.js.map": "./static/js/main.47249acb.js.map"
"main.6b378173.css.map": "./static/css/main.6b378173.css.map",
"main.305954c1.js.map": "./static/js/main.305954c1.js.map"
},
"entrypoints": [
"static/css/main.cdad3e3d.css",
"static/js/main.47249acb.js"
"static/css/main.6b378173.css",
"static/js/main.305954c1.js"
]
}
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><title>Fuzzball Demo</title><script defer="defer" src="./static/js/main.47249acb.js"></script><link href="./static/css/main.cdad3e3d.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><title>Fuzzball Demo</title><script defer="defer" src="./static/js/main.305954c1.js"></script><link href="./static/css/main.6b378173.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions docs/static/js/main.305954c1.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/static/js/main.305954c1.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions docs/static/js/main.47249acb.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/static/js/main.47249acb.js.map

This file was deleted.

24 changes: 12 additions & 12 deletions fuzzball.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
var SequenceMatcher = require('./lib/fbdifflib.js');
var Heap = require('heap');

var _intersect = require('./lib/lodash.custom.min.js').intersection;
var _intersectWith = require('./lib/lodash.custom.min.js').intersectionWith;
var _difference = require('./lib/lodash.custom.min.js').difference;
var _differenceWith = require('./lib/lodash.custom.min.js').differenceWith;
var _uniq = require('./lib/lodash.custom.min.js').uniq;
var _uniqWith = require('./lib/lodash.custom.min.js').uniqWith;
var _partialRight = require('./lib/lodash.custom.min.js').partialRight;
var _forEach = require('./lib/lodash.custom.min.js').forEach;
var _keys = require('./lib/lodash.custom.min.js').keys;
var _isArray = require('./lib/lodash.custom.min.js').isArray;
var _toArray = require('./lib/lodash.custom.min.js').toArray;
var _orderBy = require('./lib/lodash.custom.min.js').orderBy;
var _intersect = require('lodash/intersection');
var _intersectWith = require('lodash/intersectionWith');
var _difference = require('lodash/difference');
var _differenceWith = require('lodash/differenceWith');
var _uniq = require('lodash/uniq');
var _uniqWith = require('lodash/uniqWith');
var _partialRight = require('lodash/partialRight');
var _forEach = require('lodash/forEach');
var _keys = require('lodash/keys');
var _isArray = require('lodash/isArray');
var _toArray = require('lodash/toArray');
var _orderBy = require('lodash/orderBy');

function orderByDesc (arr, cmp) {
var mapped = arr.map(function (str) {
Expand Down
Loading