rax-image
Advanced tools
Comparing version 1.0.1-beta.3 to 1.0.1
{ | ||
"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', () => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
12428
21
8
290
1
+ Addedrax-view@1.0.0(transitive)
- Removed@uni/env@1.1.1(transitive)
- Removedclassnames@2.5.1(transitive)
- Removedrax-view@1.2.0(transitive)
- Removeduniversal-env@3.3.3(transitive)
Updatedrax-view@1.0.0
Updateduniversal-env@^0.6.5