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

rax-image

Package Overview
Dependencies
Maintainers
7
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax-image - npm Package Compare versions

Comparing version 1.0.1-beta.3 to 1.0.1

src/index.css

55

package.json
{
"name": "rax-image",
"version": "1.0.1-beta.3",
"version": "1.0.1",
"description": "Image component for Rax.",
"license": "BSD-3-Clause",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"clean": "rm -rf ./lib && rm -rf ./package-lock.json",
"build": "npm run clean && rax-scripts build --type 'component'",
"start": "rax-scripts start --type 'component' -p 8000",
"miniapp": "rax-scripts start --type 'component-miniapp'",
"prepublishOnly": "npm run build",
"test": "npm run build && rax-scripts test",
"lint": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx ./src"
"start": "rax-scripts start",
"build": "rax-scripts build",
"test": "jest",
"lint": "eslint --ext .js --ext .jsx ./src"
},

@@ -28,3 +24,4 @@ "files": [

"Rax",
"rax-component"
"rax-component",
"react-component"
],

@@ -39,4 +36,4 @@ "bugs": {

"dependencies": {
"universal-env": "^0.6.6",
"rax-view": "^1.0.1-beta.7"
"rax-view": "1.0.0",
"universal-env": "^0.6.5"
},

@@ -47,18 +44,24 @@ "peerDependencies": {

"devDependencies": {
"@rax-types/rax": "^1.0.5",
"@types/ali-app": "^1.0.0",
"@types/jest": "^24.0.12",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"@typescript-eslint/parser": "^1.7.0",
"csstype": "^2.6.4",
"driver-universal": "^1.0.0-beta.5",
"eslint": "^5.16.0",
"eslint-config-rax": "^0.0.0",
"rax": "^1.0.0",
"rax-scripts": "1.2.1",
"rax-test-renderer": "^1.0.0"
},
"miniappConfig": {
"main": "lib/miniapp/index"
"@babel/core": "7.2.0",
"@babel/plugin-proposal-class-properties": "7.2.0",
"@babel/plugin-proposal-decorators": "7.2.0",
"@babel/plugin-proposal-export-default-from": "7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"babel-plugin-transform-jsx-stylesheet": "0.6.5",
"@babel/preset-env": "7.2.0",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"rax-test-renderer": "^1.0.0",
"rax-scripts": "^1.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-preset-rax": "^0.6.5",
"eslint": "^5.10.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-react": "~7.11.1",
"jest": "^23.6.0",
"jest-localstorage-mock": "^2.3.0"
}
}
import {createElement, Component} from 'rax';
import renderer from 'rax-test-renderer';
import Image from '../../lib/';
import Image from '../';

@@ -5,0 +5,0 @@ describe('Image', () => {

import {createElement} from 'rax';
import renderer from 'rax-test-renderer';
import Image from '../../lib/';
import Image from '../';

@@ -5,0 +5,0 @@ jest.mock('universal-env', () => {

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