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

react-simple-image

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-simple-image - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

CHANGES.md
# The Revision History
## v0.2.0 - 2017/05/25
* Use `prop-types` library instead of `React.PropTypes`
* Use TypeScript for running tests
* Update Circle CI config to v2
* Add react-storybook for Demo
## v0.1.3 - 2017/01/05

@@ -4,0 +11,0 @@

32

LICENSE.md

@@ -11,11 +11,11 @@ Apache License

“License” shall mean the terms and conditions for use, reproduction, and
“License” shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
“Licensor” shall mean the copyright owner or entity authorized by the copyright
“Licensor” shall mean the copyright owner or entity authorized by the copyright
owner that is granting the License.
“Legal Entity” shall mean the union of the acting entity and all other entities
“Legal Entity” shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, “control” means **(i)** the power, direct or
For the purposes of this definition, “control” means **(i)** the power, direct or
indirect, to cause the direction or management of such entity, whether by

@@ -25,18 +25,18 @@ contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the

“You” (or “Your”) shall mean an individual or Legal Entity exercising
“You” (or “Your”) shall mean an individual or Legal Entity exercising
permissions granted by this License.
“Source” form shall mean the preferred form for making modifications, including
“Source” form shall mean the preferred form for making modifications, including
but not limited to software source code, documentation source, and configuration
files.
“Object” form shall mean any form resulting from mechanical transformation or
“Object” form shall mean any form resulting from mechanical transformation or
translation of a Source form, including but not limited to compiled object code,
generated documentation, and conversions to other media types.
“Work” shall mean the work of authorship, whether in Source or Object form, made
“Work” shall mean the work of authorship, whether in Source or Object form, made
available under the License, as indicated by a copyright notice that is included
in or attached to the work (an example is provided in the Appendix below).
“Derivative Works” shall mean any work, whether in Source or Object form, that
“Derivative Works” shall mean any work, whether in Source or Object form, that
is based on (or derived from) the Work and for which the editorial revisions,

@@ -48,3 +48,3 @@ annotations, elaborations, or other modifications represent, as a whole, an

“Contribution” shall mean any work of authorship, including the original version
“Contribution” shall mean any work of authorship, including the original version
of the Work and any modifications or additions to that Work or Derivative Works

@@ -54,3 +54,3 @@ thereof, that is intentionally submitted to Licensor for inclusion in the Work

on behalf of the copyright owner. For the purposes of this definition,
“submitted” means any form of electronic, verbal, or written communication sent
“submitted” means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to

@@ -61,5 +61,5 @@ communication on electronic mailing lists, source code control systems, and

that is conspicuously marked or otherwise designated in writing by the copyright
owner as “Not a Contribution.”
owner as “Not a Contribution.”
“Contributor” shall mean Licensor and any individual or Legal Entity on behalf
“Contributor” shall mean Licensor and any individual or Legal Entity on behalf
of whom a Contribution has been received by Licensor and subsequently

@@ -105,3 +105,3 @@ incorporated within the Work.

Derivative Works; and
* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
Derivative Works that You distribute must include a readable copy of the

@@ -145,3 +145,3 @@ attribution notices contained within such NOTICE file, excluding those notices

Unless required by applicable law or agreed to in writing, Licensor provides the
Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,

@@ -186,3 +186,3 @@ including, without limitation, any warranties or conditions of TITLE,

recommend that a file or class name and description of purpose be included on
the same “printed page” as the copyright notice for easier identification within
the same “printed page” as the copyright notice for easier identification within
third-party archives.

@@ -189,0 +189,0 @@

{
"name": "react-simple-image",
"version": "0.1.3",
"version": "0.1.4",
"description": "responsive <img> tag with cleaner srcset/sizes interface.",
"main": "lib/image.js",
"main": "lib/Image.js",
"scripts": {
"lint": "eslint src/**/*.{js,jsx} spec/**/*.{js,jsx}",
"build": "babel src --out-dir lib --source-maps",
"test": "nyc mocha --opts spec/mocha.opts spec/**/*.spec.jsx",
"coveralls": "nyc report --reporter=text-lcov | $(npm bin)/coveralls",
"prepublish": "yarnpkg build"
"lint": "eslint src/**/*.{js,jsx} test/**/*.{js,jsx}",
"test": "NODE_PATH=. NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha",
"test:coverage": "NODE_PATH=. NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json nyc mocha",
"coveralls": "NODE_ENV=test nyc report --reporter=text-lcov | $(npm bin)/coveralls",
"story:start": "start-storybook -p 9001 -c .storybook",
"story:build": "build-storybook -c .storybook -o build",
"prepublish": "yarn build"
},
"engines": {
"node": "6.10.0",
"yarn": "0.21.3"
},
"files": [

@@ -31,2 +38,6 @@ "lib",

"devDependencies": {
"@kadira/storybook": "^2.35.2",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.18",
"@types/power-assert": "^1.4.29",
"babel-cli": "^6.14.0",

@@ -48,5 +59,9 @@ "babel-plugin-istanbul": "^3.0.0",

"react": "^15.4.1",
"react-dom": "^15.4.1"
"react-dom": "^15.4.1",
"source-map-support": "^0.4.15",
"ts-node": "^3.0.4",
"typescript": "^2.3.2"
},
"peerDependencies": {
"prop-types": "^15.5.10",
"react": "^15.4.1"

@@ -70,3 +85,5 @@ },

"extension": [
".jsx"
".jsx",
".ts",
".tsx"
],

@@ -73,0 +90,0 @@ "reporter": [

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