Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies #3145

Merged
merged 2 commits into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 20 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,44 +25,44 @@
"release:version": "./scripts/release/version.js"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@commitlint/cli": "^17.1.2",
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@commitlint/cli": "^17.2.0",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/jest-utils-lwc-internals": "link:./scripts/jest/utils",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.5.0",
"@types/babel__core": "^7.1.19",
"@types/babel__core": "^7.1.20",
"@types/glob": "^8.0.0",
"@types/jest": "^29.0.3",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@types/jest": "^29.2.2",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"babel-plugin-tester": "^10.1.0",
"bundlesize": "^0.18.1",
"es5-proxy-compat": "^0.22.4",
"eslint": "^8.23.1",
"eslint": "^8.27.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-jest": "^27.1.4",
"execa": "^6.1.0",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"husky": "^8.0.1",
"husky": "^8.0.2",
"is-ci": "^3.0.1",
"isbinaryfile": "^5.0.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"jest": "^29.3.0",
"jest-environment-jsdom": "^29.3.0",
"lint-staged": "^13.0.3",
"nx": "14.7.6",
"prettier": "^2.7.1",
"rollup": "^2.79.0",
"rollup-plugin-compat": "^0.22.4",
"terser": "^5.15.0",
"ts-jest": "^29.0.1",
"tslib": "^2.4.0",
"typescript": "4.8.3",
"workerpool": "^6.2.0"
"terser": "^5.15.1",
"ts-jest": "^29.0.3",
"tslib": "^2.4.1",
"typescript": "4.8.4",
"workerpool": "^6.3.1"
},
"lint-staged": {
"**/*.{js,mjs,ts}": "eslint",
Expand All @@ -82,10 +82,8 @@
},
"resolutions": {
"//": [
"jasmine-core: Freezing jasmine version used in Karma test suite. jasmine-core@4 drops support for IE11.",
"iltorb: Native module used by bundlesize which slows down yarn install and may fail on some envs. Not needed."
"jasmine-core: Freezing jasmine version used in Karma test suite. jasmine-core@4 drops support for IE11."
],
"jasmine-core": "3.10.1",
"iltorb": "npm:@stdlib/utils-noop@0.0.10"
"jasmine-core": "3.10.1"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this iltorb hack because it's too hard to maintain. It breaks every time you run yarn upgrade-interactive. Also this was just a hack to make yarn install faster.

The long-term solution is to remove bundlesize entirely because it seems unmaintained. I'll do that separately.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tada: #3146

}
}
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
set first(value) {}

get first() {}

get second() {
return this.s;
}

set second(value) {
this.s = value;
}

}

_registerDecorators(Test, {
publicProps: {
first: {
Expand All @@ -26,7 +20,6 @@ _registerDecorators(Test, {
}
}
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
data;
}

_registerDecorators(Test, {
publicProps: {
data: {
config: 0
}
}
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
ariaDescribedBy;
}

_registerDecorators(Test, {
publicProps: {
ariaDescribedBy: {
config: 0
}
}
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
get first() {
return null;
}

get second() {
return this.s;
}

set second(value) {
this.s = value;
}

}

_registerDecorators(Test, {
publicProps: {
first: {
Expand All @@ -26,7 +21,6 @@ _registerDecorators(Test, {
}
}
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Text {
publicProp;
privateProp;

get aloneGet() {}

get myget() {}

set myget(x) {
return 1;
}

m1() {}

m2() {}

static ctor = "ctor";

static get ctorGet() {
return 1;
}

}

_registerDecorators(Text, {
publicProps: {
publicProp: {
Expand All @@ -40,7 +30,6 @@ _registerDecorators(Text, {
publicMethods: ["m1"],
fields: ["privateProp"]
});

export default _registerComponent(Text, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { registerDecorators as _registerDecorators2, registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Outer {
outer;
a = _registerDecorators2(class {
Expand All @@ -13,7 +12,6 @@ class Outer {
}
});
}

_registerDecorators(Outer, {
publicProps: {
outer: {
Expand All @@ -22,7 +20,6 @@ _registerDecorators(Outer, {
},
fields: ["a"]
});

export default _registerComponent(Outer, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
_a = true;
_b = false;

get a() {
return this._a;
}

set a(value) {
this._a = value;
}

get b() {
return this._b;
}

set b(value) {
this._b = value;
}

}

_registerDecorators(Test, {
publicProps: {
a: {
Expand All @@ -34,7 +27,6 @@ _registerDecorators(Test, {
},
fields: ["_a", "_b"]
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
get publicGetter() {
return 1;
}

}

_registerDecorators(Test, {
publicProps: {
publicGetter: {
config: 1
}
}
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
foo() {}

}

_registerDecorators(Test, {
publicMethods: ["foo"]
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Test {
test = 1;
}

_registerDecorators(Test, {
publicProps: {
test: {
config: 0
}
}
});

export default _registerComponent(Test, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Text {
foo = 1;

get foo() {}

set foo(value) {}

}

_registerDecorators(Text, {
publicProps: {
foo: {
Expand All @@ -18,7 +13,6 @@ _registerDecorators(Text, {
},
fields: ["foo"]
});

export default _registerComponent(Text, {
tmpl: _tmpl
});
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc";
import _tmpl from "./test.html";

class Text {
foo = 1;

get foo() {}

set foo(value) {}

}

_registerDecorators(Text, {
publicProps: {
foo: {
config: 0
}
}
});

export default _registerComponent(Text, {
tmpl: _tmpl
});
Loading