Socket
Socket
Sign inDemoInstall

style-mod

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

style-mod - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

dist/style-mod.cjs

12

package.json
{
"name": "style-mod",
"version": "2.2.1",
"version": "2.2.2",
"description": "A minimal CSS module shim",
"main": "dist/style-mod.js",
"main": "dist/style-mod.cjs",
"type": "module",
"exports": {
"import": "./src/style-mod.js",
"require": "./dist/style-mod.cjs"
},
"module": "src/style-mod.js",
"types": "src/style-mod.d.ts",
"directories": {

@@ -12,3 +18,3 @@ "test": "test"

"test": "npm run build && mocha test/test-*.js",
"build": "buble --no modules src/style-mod.js | sed -e 's/export function StyleModule/var StyleModule = exports.StyleModule = function/' > dist/style-mod.js; cp src/style-mod.d.ts dist/",
"build": "mkdir -p dist; buble --no modules src/style-mod.js | sed -e 's/export function StyleModule/var StyleModule = exports.StyleModule = function/' > dist/style-mod.cjs",
"prepare": "npm run build && npm run build-readme",

@@ -15,0 +21,0 @@ "build-readme": "builddocs --name style-mod --main src/README.md --format markdown src/*.js > README.md"

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