chore: upgrade sinon

This commit is contained in:
harttle
2019-10-14 14:56:58 +08:00
parent ef3e520628
commit 53e7ea51bd
3 changed files with 35 additions and 32 deletions
+6 -8
View File
@@ -38,7 +38,7 @@ engine
.then(console.log); // outputs 'Alice' .then(console.log); // outputs 'Alice'
``` ```
Or include the UMD build (You may need a [Promise polyfill][pp] for Node.js &lt; 4 and ES5 browsers like [IE and Android UC][caniuse-promises]): Or include the UMD build, a live demo is available on jsfiddle: <https://jsfiddle.net/x43eb0z6/>. You may need a [Promise polyfill][pp] for Node.js &lt; 4 and ES5 browsers like [IE and Android UC][caniuse-promises].
```html ```html
<script src="//unpkg.com/liquidjs/dist/liquid.min.js"></script> <!--for production--> <script src="//unpkg.com/liquidjs/dist/liquid.min.js"></script> <!--for production-->
@@ -51,9 +51,10 @@ Also available from CLI:
echo '{{"hello" | capitalize}}' | npx liquidjs echo '{{"hello" | capitalize}}' | npx liquidjs
``` ```
* A live demo is available on jsfiddle: <https://jsfiddle.net/x43eb0z6/> For detailed documents, see:
* For more tutorials and the full API, refer to the [wiki page](https://github.com/harttle/liquidjs/wiki).
* Typedoc is also available here: <https://harttle.github.io/liquidjs/classes/_liquid_.liquid.html> * The [Wiki Page](https://github.com/harttle/liquidjs/wiki) contains tutorials and advanced topics.
* The [API Reference](https://harttle.github.io/liquidjs/classes/_liquid_.liquid.html) provides detailed descriptions for classes, methods and properties.
## Differences and Limitations ## Differences and Limitations
@@ -64,10 +65,7 @@ echo '{{"hello" | capitalize}}' | npx liquidjs
* [.to_s()](https://www.rubydoc.info/gems/liquid/Liquid/Drop) is replaced by JavaScript `.toString()` * [.to_s()](https://www.rubydoc.info/gems/liquid/Liquid/Drop) is replaced by JavaScript `.toString()`
Features that available on shopify website but not on shopify/liquid repo will not be implemented in this repo, Features that available on shopify website but not on shopify/liquid repo will not be implemented in this repo,
but there're some plugins available (feel free to add yours): but there're some plugins available: <https://github.com/harttle/liquidjs/wiki/Plugins>
* color filters: https://github.com/harttle/liquidjs-color-filters
* sections tags (WIP): https://github.com/harttle/liquidjs-section-tags
## Contributors ✨ ## Contributors ✨
+19 -19
View File
@@ -510,18 +510,18 @@
} }
}, },
"@sinonjs/commons": { "@sinonjs/commons": {
"version": "1.4.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.4.0.tgz", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.6.0.tgz",
"integrity": "sha512-9jHK3YF/8HtJ9wCAbG+j8cD0i0+ATS9A7gXFqS36TblLPNy6rEEc+SB0imo91eCboGaBYGV/MT1/br/J+EE7Tw==", "integrity": "sha512-w4/WHG7C4WWFyE5geCieFJF6MZkbW4VAriol5KlmQXpAQdxvV0p26sqNZOW6Qyw6Y0l9K4g+cHvvczR2sEEpqg==",
"dev": true, "dev": true,
"requires": { "requires": {
"type-detect": "4.0.8" "type-detect": "4.0.8"
} }
}, },
"@sinonjs/formatio": { "@sinonjs/formatio": {
"version": "3.2.1", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.1.tgz", "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.2.tgz",
"integrity": "sha512-tsHvOB24rvyvV2+zKMmPkZ7dXX6LSLKZ7aOtXY6Edklp0uRcgGpOsQTTGTcWViFyx4uhWc6GV8QdnALbIbIdeQ==", "integrity": "sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@sinonjs/commons": "^1", "@sinonjs/commons": "^1",
@@ -529,14 +529,14 @@
} }
}, },
"@sinonjs/samsam": { "@sinonjs/samsam": {
"version": "3.3.2", "version": "3.3.3",
"resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.2.tgz", "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.3.tgz",
"integrity": "sha512-ILO/rR8LfAb60Y1Yfp9vxfYAASK43NFC2mLzpvLUbCQY/Qu8YwReboseu8aheCEkyElZF2L2T9mHcR2bgdvZyA==", "integrity": "sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@sinonjs/commons": "^1.0.2", "@sinonjs/commons": "^1.3.0",
"array-from": "^2.1.1", "array-from": "^2.1.1",
"lodash": "^4.17.11" "lodash": "^4.17.15"
} }
}, },
"@sinonjs/text-encoding": { "@sinonjs/text-encoding": {
@@ -6513,9 +6513,9 @@
"dev": true "dev": true
}, },
"nise": { "nise": {
"version": "1.5.1", "version": "1.5.2",
"resolved": "https://registry.npmjs.org/nise/-/nise-1.5.1.tgz", "resolved": "https://registry.npmjs.org/nise/-/nise-1.5.2.tgz",
"integrity": "sha512-edFWm0fsFG2n318rfEnKlTZTkjlbVOFF9XIA+fj+Ed+Qz1laYW2lobwavWoMzGrYDHH1EpiNJgDfvGnkZztR/g==", "integrity": "sha512-/6RhOUlicRCbE9s+94qCUsyE+pKlVJ5AhIv+jEE7ESKwnbXqulKZ1FYU+XAtHHWE9TinYvAxDUJAb912PwPoWA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@sinonjs/formatio": "^3.2.1", "@sinonjs/formatio": "^3.2.1",
@@ -12784,17 +12784,17 @@
} }
}, },
"sinon": { "sinon": {
"version": "7.4.0", "version": "7.5.0",
"resolved": "https://registry.npmjs.org/sinon/-/sinon-7.4.0.tgz", "resolved": "https://registry.npmjs.org/sinon/-/sinon-7.5.0.tgz",
"integrity": "sha512-Els0KRgijhuHz9qEyzUFmZtpS1kuj6CMwyKdyWyPW1dnYGOcwqdqFp95u7fcLJbuga/SrVYGxaqCY3JPWMOJAQ==", "integrity": "sha512-AoD0oJWerp0/rY9czP/D6hDTTUYGpObhZjMpd7Cl/A6+j0xBE+ayL/ldfggkBXUs0IkvIiM1ljM8+WkOc5k78Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"@sinonjs/commons": "^1.4.0", "@sinonjs/commons": "^1.4.0",
"@sinonjs/formatio": "^3.2.1", "@sinonjs/formatio": "^3.2.1",
"@sinonjs/samsam": "^3.3.2", "@sinonjs/samsam": "^3.3.3",
"diff": "^3.5.0", "diff": "^3.5.0",
"lolex": "^4.2.0", "lolex": "^4.2.0",
"nise": "^1.5.1", "nise": "^1.5.2",
"supports-color": "^5.5.0" "supports-color": "^5.5.0"
} }
}, },
+10 -5
View File
@@ -90,7 +90,7 @@
"rollup-plugin-typescript2": "^0.21.1", "rollup-plugin-typescript2": "^0.21.1",
"rollup-plugin-uglify": "^6.0.2", "rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^15.13.19", "semantic-release": "^15.13.19",
"sinon": "^7.2.3", "sinon": "^7.5.0",
"sinon-chai": "^3.3.0", "sinon-chai": "^3.3.0",
"supertest": "^3.4.2", "supertest": "^3.4.2",
"ts-node": "^8.0.2", "ts-node": "^8.0.2",
@@ -105,10 +105,15 @@
"@semantic-release/release-notes-generator", "@semantic-release/release-notes-generator",
"@semantic-release/changelog", "@semantic-release/changelog",
"@semantic-release/npm", "@semantic-release/npm",
["@semantic-release/git", { [
"assets": ["docs"], "@semantic-release/git",
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" {
}], "assets": [
"docs"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github" "@semantic-release/github"
] ]
}, },