Socket
Socket
Sign inDemoInstall

styled-jsx

Package Overview
Dependencies
Maintainers
9
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-jsx - npm Package Compare versions

Comparing version 5.0.0-beta.6 to 5.0.0-beta.7

dist/babel/index.js

2

babel-test.js
/* eslint-ignore */
module.exports = require('./dist/babel-test')
module.exports = require('./dist/babel').test()

@@ -1,1 +0,1 @@

module.exports = require('./dist')
module.exports = require('./dist/index')

@@ -1,1 +0,1 @@

module.exports = require('./dist/macro')
module.exports = require('./dist/babel').macro()
{
"name": "styled-jsx",
"version": "5.0.0-beta.6",
"version": "5.0.0-beta.7",
"license": "MIT",

@@ -23,7 +23,10 @@ "repository": "vercel/styled-jsx",

"scripts": {
"build": "babel src --out-dir dist",
"build": "rm -rf dist && rm -rf out && babel src --out-dir out && yarn build-babel && yarn build-webpack && yarn build-index",
"build-babel": "ncc build out/babel.js -e react -e babel-plugin-macros --target es5 -o dist/babel",
"build-webpack": "ncc build out/webpack.js -e react -e babel-plugin-macros --target es5 -o dist/webpack",
"build-index": "ncc build out/index.js -e react -e babel-plugin-macros --target es5 -o dist/index",
"test": "ava",
"lint": "eslint ./src",
"format": "prettier --write \"./{src,test}/**/*.{js,css}\"",
"prepublishOnly": "rm -rf dist && yarn build && yarn test && yarn lint --quiet"
"prepublishOnly": "yarn build && yarn test && yarn lint --quiet"
},

@@ -62,12 +65,2 @@ "husky": {

},
"dependencies": {
"@babel/plugin-syntax-jsx": "7.14.5",
"@babel/types": "7.15.0",
"convert-source-map": "1.7.0",
"loader-utils": "1.2.3",
"source-map": "0.7.3",
"string-hash": "1.1.3",
"stylis": "3.5.4",
"stylis-rule-sheet": "0.0.10"
},
"devDependencies": {

@@ -77,2 +70,3 @@ "@babel/cli": "7.12.1",

"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-syntax-jsx": "7.14.5",
"@babel/plugin-transform-arrow-functions": "7.12.1",

@@ -85,7 +79,11 @@ "@babel/plugin-transform-modules-commonjs": "7.12.1",

"@babel/runtime": "7.12.5",
"@babel/types": "7.15.0",
"@vercel/ncc": "0.33.1",
"ava": "1.2.1",
"babel-plugin-macros": "2.8.0",
"convert-source-map": "1.7.0",
"eslint": "7.32.0",
"eslint-config-prettier": "4.0.0",
"husky": "4.3.0",
"loader-utils": "1.2.3",
"prettier": "1.16.4",

@@ -95,3 +93,7 @@ "pretty-quick": "3.1.0",

"react-dom": "17.0.1",
"semantic-release": "17.2.2"
"semantic-release": "17.2.2",
"source-map": "0.7.3",
"string-hash": "1.1.3",
"stylis": "3.5.4",
"stylis-rule-sheet": "0.0.10"
},

@@ -104,2 +106,5 @@ "peerDependencies": {

"optional": true
},
"babel-plugin-macros": {
"optional": true
}

@@ -106,0 +111,0 @@ },

@@ -1,1 +0,1 @@

module.exports = require('./dist/style')
module.exports = require('./dist/index').style
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