update packages
This commit is contained in:
		
							parent
							
								
									61e7030b0b
								
							
						
					
					
						commit
						0daff7a01f
					
				@ -119,14 +119,15 @@ export default memo(function Text ({ nofollow, imgproxyUrls, children, tab, ...o
 | 
			
		||||
          p: P,
 | 
			
		||||
          code: Code,
 | 
			
		||||
          a: ({ node, href, children, ...props }) => {
 | 
			
		||||
            children = children ? Array.isArray(children) ? children : [children] : []
 | 
			
		||||
            // don't allow zoomable images to be wrapped in links
 | 
			
		||||
            if (children?.some(e => e?.props?.node?.tagName === 'img')) {
 | 
			
		||||
            if (children.some(e => e?.props?.node?.tagName === 'img')) {
 | 
			
		||||
              return <>{children}</>
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // If [text](url) was parsed as <a> and text is not empty and not a link itself,
 | 
			
		||||
            // we don't render it as an image since it was probably a concious choice to include text.
 | 
			
		||||
            const text = children?.[0]
 | 
			
		||||
            const text = children[0]
 | 
			
		||||
            if (!!text && !/^https?:\/\//.test(text)) {
 | 
			
		||||
              return <a target='_blank' rel={`noreferrer ${nofollow ? 'nofollow' : ''} noopener`} href={href}>{text}</a>
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5743
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										5743
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										66
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										66
									
								
								package.json
									
									
									
									
									
								
							@ -11,80 +11,79 @@
 | 
			
		||||
    "worker": "tsx --trace-warnings worker/index.js"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@apollo/client": "^3.8.1",
 | 
			
		||||
    "@apollo/server": "^4.9.1",
 | 
			
		||||
    "@as-integrations/next": "^2.0.1",
 | 
			
		||||
    "@auth/prisma-adapter": "^1.0.1",
 | 
			
		||||
    "@apollo/client": "^3.8.5",
 | 
			
		||||
    "@apollo/server": "^4.9.4",
 | 
			
		||||
    "@as-integrations/next": "^2.0.2",
 | 
			
		||||
    "@auth/prisma-adapter": "^1.0.3",
 | 
			
		||||
    "@graphql-tools/schema": "^10.0.0",
 | 
			
		||||
    "@noble/curves": "^1.1.0",
 | 
			
		||||
    "@opensearch-project/opensearch": "^2.3.1",
 | 
			
		||||
    "@prisma/client": "^5.1.1",
 | 
			
		||||
    "@noble/curves": "^1.2.0",
 | 
			
		||||
    "@opensearch-project/opensearch": "^2.4.0",
 | 
			
		||||
    "@prisma/client": "^5.4.2",
 | 
			
		||||
    "@slack/web-api": "^6.9.0",
 | 
			
		||||
    "acorn": "^8.10.0",
 | 
			
		||||
    "ajv": "^8.12.0",
 | 
			
		||||
    "async-retry": "^1.3.1",
 | 
			
		||||
    "aws-sdk": "^2.1437.0",
 | 
			
		||||
    "aws-sdk": "^2.1473.0",
 | 
			
		||||
    "babel-plugin-inline-react-svg": "^2.0.2",
 | 
			
		||||
    "bech32": "^2.0.0",
 | 
			
		||||
    "bolt11": "^1.4.1",
 | 
			
		||||
    "bootstrap": "^5.3.1",
 | 
			
		||||
    "bootstrap": "^5.3.2",
 | 
			
		||||
    "canonical-json": "0.0.4",
 | 
			
		||||
    "clipboard-copy": "^4.0.1",
 | 
			
		||||
    "cross-fetch": "^4.0.0",
 | 
			
		||||
    "domino": "^2.1.6",
 | 
			
		||||
    "formik": "^2.4.3",
 | 
			
		||||
    "formik": "^2.4.5",
 | 
			
		||||
    "github-slugger": "^2.0.0",
 | 
			
		||||
    "graphql": "^16.8.0",
 | 
			
		||||
    "graphql": "^16.8.1",
 | 
			
		||||
    "graphql-tag": "^2.12.6",
 | 
			
		||||
    "graphql-type-json": "^0.3.2",
 | 
			
		||||
    "ln-service": "^56.11.0",
 | 
			
		||||
    "mathjs": "^11.9.1",
 | 
			
		||||
    "mdast-util-find-and-replace": "^3.0.0",
 | 
			
		||||
    "ln-service": "^57.0.1",
 | 
			
		||||
    "mathjs": "^11.11.2",
 | 
			
		||||
    "mdast-util-find-and-replace": "^3.0.1",
 | 
			
		||||
    "mdast-util-from-markdown": "^2.0.0",
 | 
			
		||||
    "mdast-util-gfm": "^3.0.0",
 | 
			
		||||
    "mdast-util-to-string": "^4.0.0",
 | 
			
		||||
    "micromark-extension-gfm": "^3.0.0",
 | 
			
		||||
    "next": "^13.4.16",
 | 
			
		||||
    "next-auth": "^4.23.1",
 | 
			
		||||
    "next-plausible": "^3.10.2",
 | 
			
		||||
    "next": "^13.5.4",
 | 
			
		||||
    "next-auth": "^4.23.2",
 | 
			
		||||
    "next-plausible": "^3.11.1",
 | 
			
		||||
    "next-seo": "^6.1.0",
 | 
			
		||||
    "node-s3-url-encode": "^0.0.4",
 | 
			
		||||
    "nodemailer": "^6.9.4",
 | 
			
		||||
    "nodemailer": "^6.9.6",
 | 
			
		||||
    "nostr": "^0.2.8",
 | 
			
		||||
    "nprogress": "^0.2.0",
 | 
			
		||||
    "opentimestamps": "^0.4.9",
 | 
			
		||||
    "page-metadata-parser": "^1.1.4",
 | 
			
		||||
    "pageres": "^7.1.0",
 | 
			
		||||
    "pg-boss": "^9.0.3",
 | 
			
		||||
    "prisma": "^5.1.1",
 | 
			
		||||
    "prisma": "^5.4.2",
 | 
			
		||||
    "qrcode.react": "^3.1.0",
 | 
			
		||||
    "react": "^18.2.0",
 | 
			
		||||
    "react-avatar-editor": "^13.0.0",
 | 
			
		||||
    "react-bootstrap": "^2.8.0",
 | 
			
		||||
    "react-bootstrap": "^2.9.0",
 | 
			
		||||
    "react-countdown": "^2.3.5",
 | 
			
		||||
    "react-datepicker": "^4.18.0",
 | 
			
		||||
    "react-datepicker": "^4.20.0",
 | 
			
		||||
    "react-dom": "^18.2.0",
 | 
			
		||||
    "react-longpressable": "^1.1.1",
 | 
			
		||||
    "react-markdown": "^8.0.7",
 | 
			
		||||
    "react-markdown": "^9.0.0",
 | 
			
		||||
    "react-string-replace": "^1.1.1",
 | 
			
		||||
    "react-syntax-highlighter": "^15.5.0",
 | 
			
		||||
    "react-textarea-autosize": "^8.5.2",
 | 
			
		||||
    "react-textarea-autosize": "^8.5.3",
 | 
			
		||||
    "react-twitter-embed": "^4.0.4",
 | 
			
		||||
    "react-youtube": "^10.1.0",
 | 
			
		||||
    "recharts": "^2.7.3",
 | 
			
		||||
    "remark-gfm": "^3.0.1",
 | 
			
		||||
    "recharts": "^2.9.0",
 | 
			
		||||
    "remark-gfm": "^4.0.0",
 | 
			
		||||
    "remove-markdown": "^0.5.0",
 | 
			
		||||
    "sass": "^1.65.1",
 | 
			
		||||
    "sass": "^1.69.3",
 | 
			
		||||
    "serviceworker-storage": "^0.1.0",
 | 
			
		||||
    "textarea-caret": "^3.1.0",
 | 
			
		||||
    "tldts": "^6.0.14",
 | 
			
		||||
    "tldts": "^6.0.16",
 | 
			
		||||
    "tsx": "^3.13.0",
 | 
			
		||||
    "typescript": "^5.1.6",
 | 
			
		||||
    "unist-util-visit": "^5.0.0",
 | 
			
		||||
    "url-unshort": "^6.1.0",
 | 
			
		||||
    "web-push": "^3.6.4",
 | 
			
		||||
    "web-push": "^3.6.6",
 | 
			
		||||
    "webln": "^0.3.2",
 | 
			
		||||
    "webpack": "^5.88.2",
 | 
			
		||||
    "webpack": "^5.89.0",
 | 
			
		||||
    "workbox-navigation-preload": "^7.0.0",
 | 
			
		||||
    "workbox-precaching": "^7.0.0",
 | 
			
		||||
    "workbox-recipes": "^7.0.0",
 | 
			
		||||
@ -92,7 +91,7 @@
 | 
			
		||||
    "workbox-strategies": "^7.0.0",
 | 
			
		||||
    "workbox-webpack-plugin": "^7.0.0",
 | 
			
		||||
    "workbox-window": "^7.0.0",
 | 
			
		||||
    "yup": "^1.2.0"
 | 
			
		||||
    "yup": "^1.3.2"
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": "18.17.0"
 | 
			
		||||
@ -106,9 +105,8 @@
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@babel/core": "^7.22.10",
 | 
			
		||||
    "@next/eslint-plugin-next": "^13.4.16",
 | 
			
		||||
    "eslint": "^8.47.0",
 | 
			
		||||
    "@next/eslint-plugin-next": "^13.5.4",
 | 
			
		||||
    "eslint": "^8.51.0",
 | 
			
		||||
    "standard": "^17.1.0"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user