@viamrobotics/prime-core
Advanced tools
Comparing version 0.0.73 to 0.0.74
/** Reactive store wrapper around floating-ui/dom. */ | ||
import { computePosition, autoUpdate, offset as offsetMiddleware, flip as flipMiddleware, shift as shiftMiddleware, arrow as arrowMiddleware, } from '@floating-ui/dom'; | ||
import { derived, writable } from 'svelte/store'; | ||
import noop from 'lodash/noop'; | ||
import { noop } from 'lodash-es'; | ||
export const floatingStyle = (options = {}) => { | ||
@@ -6,0 +6,0 @@ const state = writable(options); |
import { describe, expect, it } from 'vitest'; | ||
import { getSearchHighlight, getSearchMatch, getSearchMatches, getSearchResults, getWordIndex, prioritizeMatches, } from '../search'; | ||
import { escapeRegExp } from 'lodash'; | ||
import { escapeRegExp } from 'lodash-es'; | ||
describe('search', () => { | ||
@@ -5,0 +5,0 @@ const options = [ |
@@ -1,2 +0,2 @@ | ||
import escapeRegExp from 'lodash/escapeRegExp'; | ||
import { escapeRegExp } from 'lodash-es'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Returns the index of the word where the character with the passed index |
@@ -5,3 +5,3 @@ import { setContext, getContext } from 'svelte'; | ||
import { uniqueId } from '../unique-id'; | ||
import noop from 'lodash/noop'; | ||
import { noop } from 'lodash-es'; | ||
const CONTEXT_KEY = Symbol('tooltip'); | ||
@@ -8,0 +8,0 @@ /** |
{ | ||
"name": "@viamrobotics/prime-core", | ||
"version": "0.0.73", | ||
"version": "0.0.74", | ||
"publishConfig": { | ||
@@ -25,7 +25,7 @@ "access": "public" | ||
"dependencies": { | ||
"@floating-ui/dom": "^1.5.1", | ||
"@mdi/js": "^7.2.96", | ||
"@floating-ui/dom": "^1.5.3", | ||
"@mdi/js": "^7.3.67", | ||
"classnames": "^2.3.2", | ||
"lodash": "^4.17.21", | ||
"nanoid": "^4.0.2", | ||
"lodash-es": "^4.17.21", | ||
"nanoid": "^5.0.4", | ||
"prism-themes": "^1.9.0", | ||
@@ -35,40 +35,39 @@ "prismjs": "^1.29.0" | ||
"devDependencies": { | ||
"@sveltejs/adapter-auto": "^2.1.0", | ||
"@sveltejs/kit": "^1.22.6", | ||
"@sveltejs/package": "^2.2.1", | ||
"@sveltejs/vite-plugin-svelte": "^2.4.5", | ||
"@testing-library/dom": "^9.3.1", | ||
"@testing-library/jest-dom": "^6.0.0", | ||
"@testing-library/svelte": "^4.0.3", | ||
"@testing-library/user-event": "^14.4.3", | ||
"@types/lodash": "^4.14.197", | ||
"@types/prismjs": "^1.26.0", | ||
"@types/testing-library__jest-dom": "^5.14.9", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
"@viamrobotics/eslint-config": "^0.2.4", | ||
"@viamrobotics/prettier-config": "^0.3.2", | ||
"@sveltejs/adapter-auto": "^3.0.0", | ||
"@sveltejs/kit": "^2.0.3", | ||
"@sveltejs/package": "^2.2.3", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.0", | ||
"@testing-library/dom": "^9.3.3", | ||
"@testing-library/jest-dom": "^6.1.5", | ||
"@testing-library/svelte": "^4.0.5", | ||
"@testing-library/user-event": "^14.5.1", | ||
"@types/lodash-es": "^4.17.12", | ||
"@types/prismjs": "^1.26.3", | ||
"@typescript-eslint/eslint-plugin": "^6.15.0", | ||
"@typescript-eslint/parser": "^6.15.0", | ||
"@viamrobotics/eslint-config": "^0.3.0", | ||
"@viamrobotics/prettier-config": "^0.3.4", | ||
"@viamrobotics/typescript-config": "^0.1.0", | ||
"autoprefixer": "^10.4.15", | ||
"concurrently": "^8.2.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-sonarjs": "^0.21.0", | ||
"eslint-plugin-svelte": "^2.33.1", | ||
"autoprefixer": "^10.4.16", | ||
"concurrently": "^8.2.2", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-sonarjs": "^0.23.0", | ||
"eslint-plugin-svelte": "^2.35.1", | ||
"eslint-plugin-tailwindcss": "^3.13.0", | ||
"eslint-plugin-unicorn": "^48.0.1", | ||
"jsdom": "^22.1.0", | ||
"postcss": "^8.4.28", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-svelte": "^3.0.3", | ||
"prettier-plugin-tailwindcss": "^0.5.4", | ||
"publint": "^0.2.0", | ||
"svelte": "^4.2.0", | ||
"svelte-check": "^3.5.0", | ||
"tailwindcss": "^3.3.3", | ||
"tslib": "^2.6.1", | ||
"type-fest": "^4.4.0", | ||
"typescript": "^5.2.2", | ||
"vite": "^4.4.9", | ||
"vitest": "^0.33.0" | ||
"eslint-plugin-unicorn": "^49.0.0", | ||
"jsdom": "^23.0.1", | ||
"postcss": "^8.4.32", | ||
"prettier": "^3.1.1", | ||
"prettier-plugin-svelte": "^3.1.2", | ||
"prettier-plugin-tailwindcss": "^0.5.9", | ||
"publint": "^0.2.6", | ||
"svelte": "^4.2.8", | ||
"svelte-check": "^3.6.2", | ||
"tailwindcss": "^3.3.7", | ||
"tslib": "^2.6.2", | ||
"type-fest": "^4.8.3", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.10", | ||
"vitest": "^1.1.0" | ||
}, | ||
@@ -75,0 +74,0 @@ "svelte": "./dist/index.js", |
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
37
321107
+ Addedlodash-es@^4.17.21
+ Addedlodash-es@4.17.21(transitive)
+ Addednanoid@5.0.9(transitive)
- Removedlodash@^4.17.21
- Removedlodash@4.17.21(transitive)
- Removednanoid@4.0.2(transitive)
Updated@floating-ui/dom@^1.5.3
Updated@mdi/js@^7.3.67
Updatednanoid@^5.0.4