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

babel-plugin-react-scoped-css

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-react-scoped-css - npm Package Compare versions

Comparing version 0.1.2 to 0.2.3

8

index.js

@@ -16,4 +16,6 @@ // @ts-check

// @todo: 每次需要输出一致的 hash,不同机器上
const computeHash = filePath => md5(filePath).substr(0, 5)
// @todo
// 每次需要输出一致的 hash,不同机器上
//
const computeHash = filePath => md5(filePath).substr(0, 8)

@@ -44,3 +46,3 @@ module.exports = function({ types: t }) {

t.jsxIdentifier(`data-v-${hash}`),
t.jsxExpressionContainer(t.booleanLiteral(true))
t.jsxExpressionContainer(t.stringLiteral(''))
)

@@ -47,0 +49,0 @@ )

{
"name": "babel-plugin-react-scoped-css",
"version": "0.1.2",
"version": "0.2.3",
"main": "index.js",

@@ -19,3 +19,3 @@ "license": "MIT",

],
"gitHead": "628a2fde25b94977148789d6f1dbce473227f5f9"
"gitHead": "dbbfc309e6d58e5f577c6f9b1786249a445ddc72"
}
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