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

svelte-preprocess-cssmodules

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-preprocess-cssmodules - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

2

dist/lib/getHashDijest.js

@@ -42,3 +42,3 @@ "use strict";

const getHashDigest = (buffer, hashType, digestType, maxLength = 9999) => {
const hash = crypto_1.createHash(hashType || 'md4');
const hash = crypto_1.createHash(hashType || 'md5');
hash.update(buffer);

@@ -45,0 +45,0 @@ if (digestType === 'base26' ||

{
"name": "svelte-preprocess-cssmodules",
"version": "2.2.1",
"version": "2.2.2",
"description": "Svelte preprocessor to generate CSS Modules classname on Svelte components",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1009,5 +1009,5 @@ # Svelte preprocess CSS Modules

- `[folder]` the folder the resource is in
- `[contenthash]` or `[hash]` *(they are the same)* the hash of the resource content (by default it's the hex digest of the md4 hash)
- `[contenthash]` or `[hash]` *(they are the same)* the hash of the resource content (by default it's the hex digest of the md5 hash)
- `[<hashType>:contenthash:<digestType>:<length>]` optionally one can configure
- other hashTypes, i. e. `sha1`, `md4`, `md5`, `sha256`, `sha512`
- other hashTypes, i. e. `sha1`, `md5`, `sha256`, `sha512`
- other digestTypes, i. e. `hex`, `base26`, `base32`, `base36`, `base49`, `base52`, `base58`, `base62`, `base64`

@@ -1014,0 +1014,0 @@ - and `length` the length in chars

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