New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ribcage-gen

Package Overview
Dependencies
Maintainers
6
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ribcage-gen - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

2

package.json
{
"name": "ribcage-gen",
"version": "3.0.5",
"version": "3.0.6",
"description": "A generator script for ribcage components",

@@ -5,0 +5,0 @@ "main": "index.js",

import test from 'tape'
import HelloWorld from './index.jsx'
import {{PascalName}} from './index.jsx'
import React from 'react'

@@ -9,7 +9,7 @@ import {addons} from 'react/addons'

test('HelloWorld: constructor', (t) => {
const helloWorld = React.createElement(HelloWorld)
test('{{PascalName}}: constructor', (t) => {
const {{camelName}} = React.createElement({{PascalName}})
t.ok(
isElement(helloWorld)
isElement({{camelName}})
, 'is a valid react component'

@@ -22,5 +22,5 @@ )

// I'm a sample test, you probably want to delete me
test('HelloWorld: render', (t) => {
test('{{PascalName}}: render', (t) => {
const name = 'john doe'
const tree = testTree(<HelloWorld name={name} />)
const tree = testTree(<{{PascalName}} name={name} />)

@@ -27,0 +27,0 @@ t.equal(

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