From 8f04b552140610740f48230890c54412b17d848e Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 18:02:24 -0400 Subject: [PATCH 1/8] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a064d61..6119f8ae 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ }, "dependencies": { "escape-string-regexp": "^1.0.5", - "launchdarkly-js-sdk-common": "3.6.0" + "launchdarkly-js-sdk-common": "^4.1.1" }, "repository": { "type": "git", From c5fe5ee8cdc7078060d56a5bc0a479358375d572 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:04:31 +0000 Subject: [PATCH 2/8] add yarn.lock to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d9dede77..528314c0 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ lib test-types.js docs/build/ package-lock.json +yarn.lock From 65dcce7e1ce7b38fa7f0425f62e1dba5d7eb302e Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:07:32 +0000 Subject: [PATCH 3/8] upgrade rollup --- package.json | 14 +++++++------- rollup.config.js | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 6119f8ae..e3423902 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,10 @@ "@babel/plugin-transform-runtime": "7.11.5", "@babel/preset-env": "^7.11.5", "@babel/runtime": "^7.11.2", - "@rollup/plugin-node-resolve": "^6.0.0", - "@rollup/plugin-replace": "^2.2.0", + "@rollup/plugin-babel": "^5.3.1", + "@rollup/plugin-commonjs": "^22.0.2", + "@rollup/plugin-node-resolve": "^14.0.0", + "@rollup/plugin-replace": "^4.0.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "chai": "^4.1.2", @@ -66,13 +68,11 @@ "prettier": "1.11.1", "readline-sync": "1.4.9", "rimraf": "^3.0.2", - "rollup": "^1.26.0", - "rollup-plugin-babel": "^4.3.3", - "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-filesize": "^6.2.1", + "rollup": "^2.0.0", + "rollup-plugin-filesize": "^9.0.0", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-uglify": "^6.0.4", + "rollup-plugin-uglify": "^6.0.0", "semver": "^7.1.3", "semver-compare": "^1.0.0", "sinon": "7.2.7", diff --git a/rollup.config.js b/rollup.config.js index bd4ea49b..c795ca26 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,7 +1,7 @@ const pkg = require('./package.json'); const resolve = require('@rollup/plugin-node-resolve'); -const commonjs = require('rollup-plugin-commonjs'); -const babel = require('rollup-plugin-babel'); +const commonjs = require('rollup/plugin-commonjs'); +const babel = require('@rollup/plugin-babel'); const replace = require('@rollup/plugin-replace'); const { terser } = require('rollup-plugin-terser'); const { uglify } = require('rollup-plugin-uglify'); From ce75d7fe4251c1331539176632b5e30849e07dc2 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:09:14 +0000 Subject: [PATCH 4/8] fixes --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index c795ca26..5ad1f051 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,6 @@ const pkg = require('./package.json'); const resolve = require('@rollup/plugin-node-resolve'); -const commonjs = require('rollup/plugin-commonjs'); +const commonjs = require('@rollup/plugin-commonjs'); const babel = require('@rollup/plugin-babel'); const replace = require('@rollup/plugin-replace'); const { terser } = require('rollup-plugin-terser'); From 98a71a9af6477d5e64040661f214637bb5af10c7 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:10:16 +0000 Subject: [PATCH 5/8] revert --- package.json | 16 ++++++++-------- rollup.config.js | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e3423902..1a064d61 100644 --- a/package.json +++ b/package.json @@ -47,10 +47,8 @@ "@babel/plugin-transform-runtime": "7.11.5", "@babel/preset-env": "^7.11.5", "@babel/runtime": "^7.11.2", - "@rollup/plugin-babel": "^5.3.1", - "@rollup/plugin-commonjs": "^22.0.2", - "@rollup/plugin-node-resolve": "^14.0.0", - "@rollup/plugin-replace": "^4.0.0", + "@rollup/plugin-node-resolve": "^6.0.0", + "@rollup/plugin-replace": "^2.2.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "chai": "^4.1.2", @@ -68,11 +66,13 @@ "prettier": "1.11.1", "readline-sync": "1.4.9", "rimraf": "^3.0.2", - "rollup": "^2.0.0", - "rollup-plugin-filesize": "^9.0.0", + "rollup": "^1.26.0", + "rollup-plugin-babel": "^4.3.3", + "rollup-plugin-commonjs": "^10.1.0", + "rollup-plugin-filesize": "^6.2.1", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-uglify": "^6.0.0", + "rollup-plugin-uglify": "^6.0.4", "semver": "^7.1.3", "semver-compare": "^1.0.0", "sinon": "7.2.7", @@ -80,7 +80,7 @@ }, "dependencies": { "escape-string-regexp": "^1.0.5", - "launchdarkly-js-sdk-common": "^4.1.1" + "launchdarkly-js-sdk-common": "3.6.0" }, "repository": { "type": "git", diff --git a/rollup.config.js b/rollup.config.js index 5ad1f051..bd4ea49b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,7 +1,7 @@ const pkg = require('./package.json'); const resolve = require('@rollup/plugin-node-resolve'); -const commonjs = require('@rollup/plugin-commonjs'); -const babel = require('@rollup/plugin-babel'); +const commonjs = require('rollup-plugin-commonjs'); +const babel = require('rollup-plugin-babel'); const replace = require('@rollup/plugin-replace'); const { terser } = require('rollup-plugin-terser'); const { uglify } = require('rollup-plugin-uglify'); From 6049f600429bc886f536cada114e6232ea077754 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:10:35 +0000 Subject: [PATCH 6/8] ld common --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a064d61..6119f8ae 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ }, "dependencies": { "escape-string-regexp": "^1.0.5", - "launchdarkly-js-sdk-common": "3.6.0" + "launchdarkly-js-sdk-common": "^4.1.1" }, "repository": { "type": "git", From 2f68b7a3775bf344f18fa12b89be5a89e63b3e9d Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:12:09 +0000 Subject: [PATCH 7/8] upgrade escape regex --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6119f8ae..ab6401f4 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "typescript": "^3.7.5" }, "dependencies": { - "escape-string-regexp": "^1.0.5", + "escape-string-regexp": "^5.0.0", "launchdarkly-js-sdk-common": "^4.1.1" }, "repository": { From 32c9a4ef2a15bd20695abb57a04721ac456ce331 Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Wed, 28 Sep 2022 22:18:26 +0000 Subject: [PATCH 8/8] revert escape --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ab6401f4..df812cf9 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "typescript": "^3.7.5" }, "dependencies": { - "escape-string-regexp": "^5.0.0", + "escape-string-regexp": "^1.0.0", "launchdarkly-js-sdk-common": "^4.1.1" }, "repository": {