[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove hashtags from some comparison labels for consistency (#784)

authored by

Denys and committed by
GitHub
0b714d1e 334baf78

+15 -15
+2 -2
i18n/locales/en.json
··· 878 878 "description": "Total install size including all dependencies" 879 879 }, 880 880 "dependencies": { 881 - "label": "# Direct Deps", 881 + "label": "Direct Deps", 882 882 "description": "Number of direct dependencies" 883 883 }, 884 884 "totalDependencies": { 885 - "label": "# Total Deps", 885 + "label": "Total Deps", 886 886 "description": "Total number of dependencies including transitive" 887 887 }, 888 888 "downloads": {
+1 -1
i18n/locales/pl-PL.json
··· 865 865 "description": "Liczba bezpośrednich zależności" 866 866 }, 867 867 "totalDependencies": { 868 - "label": "# Wszystkich zależności", 868 + "label": "Wszystkich zależności", 869 869 "description": "Łączna liczba zależności, w tym przechodnich" 870 870 }, 871 871 "downloads": {
+2 -2
i18n/locales/zh-CN.json
··· 878 878 "description": "包括所有依赖项的总安装大小" 879 879 }, 880 880 "dependencies": { 881 - "label": "# 直接依赖项", 881 + "label": "直接依赖项", 882 882 "description": "直接依赖项数量" 883 883 }, 884 884 "totalDependencies": { 885 - "label": "# 总依赖项", 885 + "label": "总依赖项", 886 886 "description": "包括所有依赖项的总依赖项数量" 887 887 }, 888 888 "downloads": {
+2 -2
lunaria/files/en-US.json
··· 878 878 "description": "Total install size including all dependencies" 879 879 }, 880 880 "dependencies": { 881 - "label": "# Direct Deps", 881 + "label": "Direct Deps", 882 882 "description": "Number of direct dependencies" 883 883 }, 884 884 "totalDependencies": { 885 - "label": "# Total Deps", 885 + "label": "Total Deps", 886 886 "description": "Total number of dependencies including transitive" 887 887 }, 888 888 "downloads": {
+1 -1
lunaria/files/pl-PL.json
··· 865 865 "description": "Liczba bezpośrednich zależności" 866 866 }, 867 867 "totalDependencies": { 868 - "label": "# Wszystkich zależności", 868 + "label": "Wszystkich zależności", 869 869 "description": "Łączna liczba zależności, w tym przechodnich" 870 870 }, 871 871 "downloads": {
+2 -2
lunaria/files/zh-CN.json
··· 878 878 "description": "包括所有依赖项的总安装大小" 879 879 }, 880 880 "dependencies": { 881 - "label": "# 直接依赖项", 881 + "label": "直接依赖项", 882 882 "description": "直接依赖项数量" 883 883 }, 884 884 "totalDependencies": { 885 - "label": "# 总依赖项", 885 + "label": "总依赖项", 886 886 "description": "包括所有依赖项的总依赖项数量" 887 887 }, 888 888 "downloads": {
+5 -5
test/nuxt/components/compare/FacetSelector.spec.ts
··· 19 19 vulnerabilities: { label: 'Vulnerabilities', description: 'Known security vulnerabilities' }, 20 20 lastUpdated: { label: 'Published', description: 'When this version was published' }, 21 21 license: { label: 'License', description: 'Package license' }, 22 - dependencies: { label: '# Direct Deps', description: 'Number of direct dependencies' }, 22 + dependencies: { label: 'Direct Deps', description: 'Number of direct dependencies' }, 23 23 totalDependencies: { 24 - label: '# Total Deps', 24 + label: 'Total Deps', 25 25 description: 'Total number of dependencies including transitive', 26 26 }, 27 27 deprecated: { label: 'Deprecated?', description: 'Whether the package is deprecated' }, ··· 180 180 181 181 // totalDependencies is marked as comingSoon 182 182 const buttons = component.findAll('button') 183 - const comingSoonButton = buttons.find(b => b.text().includes('# Total Deps')) 183 + const comingSoonButton = buttons.find(b => b.text().includes('Total Deps')) 184 184 185 185 expect(comingSoonButton?.attributes('disabled')).toBeDefined() 186 186 }) ··· 196 196 197 197 // Find the comingSoon button 198 198 const buttons = component.findAll('button') 199 - const comingSoonButton = buttons.find(b => b.text().includes('# Total Deps')) 199 + const comingSoonButton = buttons.find(b => b.text().includes('Total Deps')) 200 200 201 201 // Should not have checkmark or add icon 202 202 expect(comingSoonButton?.find('.i-carbon\\:checkmark').exists()).toBe(false) ··· 207 207 const component = await mountSuspended(FacetSelector) 208 208 209 209 const buttons = component.findAll('button') 210 - const comingSoonButton = buttons.find(b => b.text().includes('# Total Deps')) 210 + const comingSoonButton = buttons.find(b => b.text().includes('Total Deps')) 211 211 await comingSoonButton?.trigger('click') 212 212 213 213 // toggleFacet should not have been called with totalDependencies