Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-loader

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-loader - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

CHANGELOG.md
# svelte-loader changelog
## 1.3.1
* Update loader-utils dependency
## 1.3.0

@@ -4,0 +8,0 @@

14

index.js
const { compile } = require('svelte');
const { parseQuery } = require('loader-utils');
const { getOptions } = require('loader-utils');

@@ -8,3 +8,3 @@ module.exports = function(source, map) {

const filename = this.resourcePath;
const query = parseQuery(this.query);
const options = getOptions(this) || {};

@@ -14,7 +14,7 @@ try {

filename: filename,
generate: query.generate,
format: query.format || 'es',
shared: query.shared || false,
name: query.name,
css: query.css !== false,
generate: options.generate,
format: options.format || 'es',
shared: options.shared || false,
name: options.name,
css: options.css !== false,
});

@@ -21,0 +21,0 @@

{
"name": "svelte-loader",
"version": "1.3.0",
"version": "1.3.1",
"author": "Nico Rehwaldt <git_nikku@nixis.de>",

@@ -17,2 +17,5 @@ "description": "A webpack loader for svelte",

],
"dependencies": {
"loader-utils": "^1.1.0"
},
"devDependencies": {

@@ -22,3 +25,2 @@ "chai": "^3.5.0",

"eslint-plugin-mocha": "^4.7.0",
"loader-utils": "^0.2.16",
"mocha": "^3.2.0",

@@ -25,0 +27,0 @@ "sinon": "^1.17.6",

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