@dewib/xhr-cache
Advanced tools
Comparing version 2.1.0 to 3.0.0
@@ -5,2 +5,13 @@ # Changelog | ||
## [3.0.0](https://github.com/gaetansenn/xhr-cache/compare/v2.1.0...v3.0.0) (2020-05-15) | ||
### ⚠ BREAKING CHANGES | ||
* **module:** no cache during build process | ||
### Bug Fixes | ||
* **module:** skip module init during build process ([baa54dc](https://github.com/gaetansenn/xhr-cache/commit/baa54dc046123136e16c57ca4984747158fd244e)) | ||
## [2.1.0](https://github.com/gaetansenn/xhr-cache/compare/v2.0.3...v2.1.0) (2020-04-14) | ||
@@ -7,0 +18,0 @@ |
@@ -210,2 +210,4 @@ import { join, resolve } from 'path' | ||
module.exports = async function xhrCache () { | ||
// Skip module during build | ||
if (this.options._build && !this.options.dev) { return false } | ||
// Set default path into static directory | ||
@@ -212,0 +214,0 @@ defaultsConfig.path = join(this.nuxt.options.srcDir, defaultsConfig.rootFolder) |
{ | ||
"name": "@dewib/xhr-cache", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"license": "MIT", | ||
@@ -49,4 +49,4 @@ "description": "Cache api resources and serve it as static resource", | ||
"devDependencies": { | ||
"@babel/core": "latest", | ||
"@babel/preset-env": "latest", | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-env": "^7.9.5", | ||
"@commitlint/cli": "latest", | ||
@@ -57,17 +57,17 @@ "@commitlint/config-conventional": "latest", | ||
"babel-eslint": "latest", | ||
"babel-jest": "latest", | ||
"babel-jest": "^25.4.0", | ||
"codecov": "latest", | ||
"eslint": "latest", | ||
"eslint-config-standard": "latest", | ||
"eslint-plugin-import": "latest", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-jest": "latest", | ||
"eslint-plugin-node": "latest", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "latest", | ||
"eslint-plugin-standard": "latest", | ||
"eslint-plugin-vue": "latest", | ||
"husky": "latest", | ||
"jest": "latest", | ||
"nuxt-edge": "latest", | ||
"husky": "^4.2.5", | ||
"jest": "^25.4.0", | ||
"nuxt-edge": "^2.13.0-26465775.85383688", | ||
"standard-version": "latest" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# XHR Cache Module v2.0.3 | ||
# XHR Cache Module v3.0.0 | ||
@@ -3,0 +3,0 @@ [![npm version][npm-version-src]][npm-version-href] |
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
22024
400
2