react-simple-image
Advanced tools
Comparing version 0.2.0 to 0.3.0
# The Revision History | ||
## v0.3.0 - 2017/09/12 | ||
* Introduce TypeScript and includes `*.d.ts` | ||
* Introduce TSLint | ||
## v0.2.0 - 2017/05/25 | ||
@@ -4,0 +9,0 @@ |
@@ -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.2.0", | ||
"version": "0.3.0", | ||
"description": "responsive <img> tag with cleaner srcset/sizes interface.", | ||
"main": "lib/Image.js", | ||
"types": "lib/Image.d.ts", | ||
"scripts": { | ||
"build": "babel src --out-dir lib --source-maps", | ||
"lint": "eslint src/**/*.{js,jsx} test/**/*.{js,jsx}", | ||
"build": "tsc", | ||
"test": "NODE_PATH=. NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha", | ||
@@ -14,7 +14,7 @@ "test:coverage": "NODE_PATH=. NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json nyc mocha", | ||
"story:build": "build-storybook -c .storybook -o build", | ||
"prepublish": "yarn build" | ||
"prepublish": "npm run build", | ||
"lint": "tslint --project tsconfig.json && tslint --project test/tsconfig.json" | ||
}, | ||
"engines": { | ||
"node": "6.10.0", | ||
"yarn": "0.21.3" | ||
"node": ">= 6" | ||
}, | ||
@@ -43,14 +43,4 @@ "files": [ | ||
"@types/power-assert": "^1.4.29", | ||
"babel-cli": "^6.14.0", | ||
"babel-plugin-istanbul": "^3.0.0", | ||
"babel-preset-es2015": "^6.18.0", | ||
"babel-preset-power-assert": "^1.0.0", | ||
"babel-preset-react": "^6.11.1", | ||
"babel-register": "^6.18.0", | ||
"@types/react": "^16.0.5", | ||
"coveralls": "^2.11.15", | ||
"eslint": "^3.12.2", | ||
"eslint-config-airbnb": "^13.0.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^2.2.3", | ||
"eslint-plugin-react": "^6.8.0", | ||
"mocha": "^3.2.0", | ||
@@ -63,2 +53,4 @@ "nyc": "^10.0.0", | ||
"ts-node": "^3.0.4", | ||
"tslint": "^5.7.0", | ||
"tslint-react": "^3.2.0", | ||
"typescript": "^2.3.2" | ||
@@ -76,13 +68,12 @@ }, | ||
"include": [ | ||
"src/**/*.{js,jsx}" | ||
"src/**/*.{ts,tsx}" | ||
], | ||
"exclude": [ | ||
"lib/**/*.{js,jsx}", | ||
"spec/**/*.spec.{js,jsx}" | ||
"lib/**/*", | ||
"spec/**/*" | ||
], | ||
"require": [ | ||
"babel-register" | ||
"ts-node/register" | ||
], | ||
"extension": [ | ||
".jsx", | ||
".ts", | ||
@@ -93,8 +84,4 @@ ".tsx" | ||
"text" | ||
], | ||
"sourceMap": false, | ||
"instrument": false, | ||
"all": true, | ||
"check-coverage": true | ||
] | ||
} | ||
} |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
26887
16
12
204