New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ctx-core/svg-ui-svelte

Package Overview
Dependencies
Maintainers
1
Versions
461
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctx-core/svg-ui-svelte - npm Package Compare versions

Comparing version 1.3.130 to 1.3.131

14

markup/index.js

@@ -0,1 +1,5 @@

import getOuterHTML from 'dom-serializer'
import { DomHandler, hasChildren } from 'domhandler'
import { Parser } from 'htmlparser2'
import { extname } from 'node:path'
export const markup = markup_()

@@ -7,5 +11,5 @@ export { markup as markup__markdown }

*/
export const markup_ = (
export function markup_(
/** @type {markup_builder_opts__T} */builder_opts = {}
)=>{
) {
const {

@@ -24,5 +28,5 @@ match_ = ({ filename })=>extname(filename) === '.svg',

const attribs_txt =
map(
keys(attribs),
key=>`${key}=${JSON.stringify(attribs[key])}`).join(' ')
Object.keys(attribs).map(
key=>
`${key}=${JSON.stringify(attribs[key])}`).join(' ')
code = `

@@ -29,0 +33,0 @@ <script context="module">

{
"name": "@ctx-core/svg-ui-svelte",
"version": "1.3.130",
"description": "ctx-core svg",
"keywords": [
"ctx-core",
"svg"
],
"homepage": "https://github.com/ctx-core/svg-ui-svelte#readme",
"bugs": {
"url": "https://github.com/ctx-core/svg-ui-svelte/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ctx-core/svg-ui-svelte.git"
},
"license": "Apache-2.0",
"author": "Brian Takita",
"type": "module",
"main": "./index.js",
"files": [
"*.d.ts",
"*.js",
"*.json",
"Icon",
"icon_name_svg",
"markup",
"markup_",
"svg_preprocess"
],
"types": "./index.d.ts",
"exports": {
".": {
"browser": "./index.browser.js",
"default": "./index.js",
"import": "./index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": ":",
"clean": ":",
"exec": "$@",
"prepublishOnly": "pnpm clean && pnpm build && pnpm test",
"test": "pnpm test:unit && pnpm test:types",
"test:types": "check-dts",
"test:unit": "tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
"test:unit:coverage": "c8 pnpm test:unit"
},
"dependencies": {
"ctx-core": "^5.29.0",
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"htmlparser2": "^9.1.0"
},
"devDependencies": {
"@ctx-core/svg": "^19.0.45",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"c8": "^9.1.0",
"check-dts": "^0.7.2",
"locate-character": "^3.0.0",
"svelte": "^4.2.9",
"svelte-preprocess": "^5.1.3",
"tsx": "^4.7.0",
"typescript": "next",
"uvu": "^0.5.6"
},
"publishConfig": {
"access": "public",
"cache": "~/.npm"
},
"sideEffects": false
}
"name": "@ctx-core/svg-ui-svelte",
"version": "1.3.131",
"description": "ctx-core svg",
"keywords": [
"ctx-core",
"svg"
],
"homepage": "https://github.com/ctx-core/svg-ui-svelte#readme",
"bugs": {
"url": "https://github.com/ctx-core/svg-ui-svelte/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ctx-core/svg-ui-svelte.git"
},
"license": "Apache-2.0",
"author": "Brian Takita",
"type": "module",
"main": "./index.js",
"files": [
"*.d.ts",
"*.js",
"*.json",
"Icon",
"icon_name_svg",
"markup",
"markup_",
"svg_preprocess"
],
"types": "./index.d.ts",
"exports": {
".": {
"browser": "./index.browser.js",
"default": "./index.js",
"import": "./index.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"ctx-core": "^5.29.0",
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"htmlparser2": "^9.1.0"
},
"devDependencies": {
"@ctx-core/svg": "^19.0.45",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"c8": "^9.1.0",
"check-dts": "^0.7.2",
"locate-character": "^3.0.0",
"svelte": "^4.2.9",
"svelte-preprocess": "^5.1.3",
"tsx": "^4.7.0",
"typescript": "next",
"uvu": "^0.5.6"
},
"publishConfig": {
"access": "public",
"cache": "~/.npm"
},
"sideEffects": false,
"scripts": {
"build": ":",
"clean": ":",
"exec": "$@",
"test": "pnpm test:unit && pnpm test:types",
"test:types": "check-dts",
"test:unit": "tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
"test:unit:coverage": "c8 pnpm test:unit"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc