feature-toggle-service
Advanced tools
Comparing version 5.0.1 to 6.0.0
@@ -10,2 +10,9 @@ # Change Log | ||
## [6.0.0][] - 2020-07-18 | ||
### Fixed | ||
- Updating bundle values for `yarn bundlesize` command | ||
- Combining feature flags per package version instead of overriding the previous values | ||
## [5.0.1][] - 2020-05-13 | ||
@@ -84,5 +91,6 @@ | ||
[5.0.0]: https://github.com/willmendesneto/feature-toggle-service/tree/v5.0.0 | ||
[unreleased]: https://github.com/willmendesneto/feature-toggle-service/compare/v5.0.1...HEAD | ||
[Unreleased]: https://github.com/willmendesneto/feature-toggle-service/compare/v5.0.1...HEAD | ||
[5.0.1]: https://github.com/willmendesneto/feature-toggle-service/tree/v5.0.1 | ||
[Unreleased]: https://github.com/willmendesneto/feature-toggle-service/compare/v6.0.0...HEAD | ||
[6.0.0]: https://github.com/willmendesneto/feature-toggle-service/tree/v6.0.0 |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.set = exports.isOn = void 0; | ||
var version = '5.0.1'; | ||
var version = '6.0.0'; | ||
var settings = (_a = {}, _a[version] = {}, _a); | ||
@@ -34,4 +34,4 @@ /** | ||
var set = function (obj) { | ||
settings[version] = obj; | ||
settings[version] = Object.assign({}, settings[version], obj); | ||
}; | ||
exports.set = set; |
@@ -1,2 +0,2 @@ | ||
const version = '5.0.1'; | ||
const version = '6.0.0'; | ||
const settings = { [version]: {} }; | ||
@@ -30,4 +30,4 @@ /** | ||
const set = (obj) => { | ||
settings[version] = obj; | ||
settings[version] = Object.assign({}, settings[version], obj); | ||
}; | ||
export { isOn, set }; |
var _a; | ||
var version = '5.0.1'; | ||
var version = '6.0.0'; | ||
var settings = (_a = {}, _a[version] = {}, _a); | ||
@@ -29,4 +29,4 @@ /** | ||
var set = function (obj) { | ||
settings[version] = obj; | ||
settings[version] = Object.assign({}, settings[version], obj); | ||
}; | ||
export { isOn, set }; |
@@ -8,3 +8,3 @@ (function (global, factory) { | ||
var _a; | ||
var version = '5.0.1'; | ||
var version = '6.0.0'; | ||
var settings = (_a = {}, _a[version] = {}, _a); | ||
@@ -36,3 +36,3 @@ /** | ||
var set = function (obj) { | ||
settings[version] = obj; | ||
settings[version] = Object.assign({}, settings[version], obj); | ||
}; | ||
@@ -39,0 +39,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).FeatureToggleService={})}(this,function(e){"use strict";var n,t="5.0.1",i=((n={})[t]={},n);e.isOn=function(e,n){return n&&console.log("\n[DEBUG] Execution Time in milliseconds: "+Date.now()+' version: "'+t+'" key: "'+e+'" settings: '+JSON.stringify(i)+"\n"),"string"==typeof e&&!!i[t][e]},e.set=function(e){i[t]=e},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).FeatureToggleService={})}(this,function(e){"use strict";var n,t="6.0.0",i=((n={})[t]={},n);e.isOn=function(e,n){return n&&console.log("\n[DEBUG] Execution Time in milliseconds: "+Date.now()+' version: "'+t+'" key: "'+e+'" settings: '+JSON.stringify(i)+"\n"),"string"==typeof e&&!!i[t][e]},e.set=function(e){i[t]=Object.assign({},i[t],e)},Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "feature-toggle-service", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"author": "Will Mendes <willmendesneto@gmail.com>", | ||
@@ -27,3 +27,3 @@ "description": "The simplest solution for feature toggle in Javascript. Simple how it should be.", | ||
"dependencies": { | ||
"tslib": "^1.12.0" | ||
"tslib": "^2.0.0" | ||
}, | ||
@@ -33,4 +33,4 @@ "devDependencies": { | ||
"@types/node": "^14.0.0", | ||
"@typescript-eslint/eslint-plugin": "^2.33.0", | ||
"@typescript-eslint/parser": "^2.33.0", | ||
"@typescript-eslint/eslint-plugin": "^3.0.0", | ||
"@typescript-eslint/parser": "^3.0.0", | ||
"bundlesize": "^0.18.0", | ||
@@ -51,3 +51,3 @@ "changelog-verify": "^1.1.0", | ||
"rollup": "^2.9.1", | ||
"ts-jest": "^25.5.1", | ||
"ts-jest": "^26.0.0", | ||
"ts-node": "^8.10.1", | ||
@@ -96,7 +96,7 @@ "typescript": "^3.9.2", | ||
"path": "./dist/umd/feature-toggle-service.js", | ||
"maxSize": "644B" | ||
"maxSize": "661B" | ||
}, | ||
{ | ||
"path": "./dist/umd/feature-toggle-service.min.js", | ||
"maxSize": "353B" | ||
"maxSize": "371B" | ||
} | ||
@@ -103,0 +103,0 @@ ], |
@@ -16,3 +16,2 @@ # Feature Toggle Service | ||
![Perf marks](./images/feature-toggle-service.png) | ||
The simplest solution for [feature toggles](http://martinfowler.com/bliki/FeatureToggle.html) in Javascript. Simple how it should be. | ||
@@ -19,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
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
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
21658
126
+ Addedtslib@2.8.1(transitive)
- Removedtslib@1.14.1(transitive)
Updatedtslib@^2.0.0