Socket
Socket
Sign inDemoInstall

svelte-preprocess-import-assets

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-preprocess-import-assets - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

package.json
{
"name": "svelte-preprocess-import-assets",
"description": "Import assets in markup",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",

@@ -33,6 +33,6 @@ "author": "Bjorn Lu",

],
"packageManager": "pnpm@7.12.2",
"packageManager": "pnpm@7.13.0",
"dependencies": {
"magic-string": "^0.25.9",
"svelte-parse-markup": "^0.1.0"
"svelte-parse-markup": "^0.1.1"
},

@@ -39,0 +39,0 @@ "peerDependencies": {

@@ -71,3 +71,3 @@ # svelte-preprocess-import-assets

- **Default:** See `DEFAULT_SOURCES` in [src/index.ts](./src/index.ts)
- **Default:** See `DEFAULT_SOURCES` in [src/constants.ts](./src/constants.ts)

@@ -108,3 +108,3 @@ These are the sources to look for when scanning for imports. You can provide an entirely different list of sources, or declare a function to access the default sources and augment it. The supported tags and attributes are based on [html-loader](https://github.com/webpack-contrib/html-loader#sources) (except `icon-uri`).

- **Type:** `() => boolean`
- **Type:** `(url: string) => boolean`

@@ -111,0 +111,0 @@ Whether a URL should be converted into an import.

Sorry, the diff of this file is not supported yet

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