Browse Source

ref!: bump target to es2018

Sv443 1 week ago
parent
commit
422da75b71
3 changed files with 8 additions and 3 deletions
  1. 5 0
      .changeset/ten-otters-check.md
  2. 2 2
      package.json
  3. 1 1
      tsconfig.json

+ 5 - 0
.changeset/ten-otters-check.md

@@ -0,0 +1,5 @@
+---
+"@sv443-network/userutils": major
+---
+
+Increased library target to ES2018

+ 2 - 2
package.json

@@ -1,7 +1,7 @@
 {
   "name": "@sv443-network/userutils",
   "libName": "UserUtils",
-  "version": "9.4.1",
+  "version": "10.0.0",
   "description": "General purpose DOM/GreaseMonkey library that allows you to register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and much more",
   "main": "dist/index.js",
   "module": "dist/index.js",
@@ -15,7 +15,7 @@
     }
   },
   "engines": {
-    "pnpm": ">=9",
+    "pnpm": ">=10",
     "npm": "please-use-pnpm",
     "yarn": "please-use-pnpm"
   },

+ 1 - 1
tsconfig.json

@@ -2,7 +2,7 @@
   "compilerOptions": {
     "module": "NodeNext",
     "moduleResolution": "NodeNext",
-    "target": "ES2016",
+    "target": "ES2018",
     "outDir": "dist/out",
     "lib": ["ES2022", "DOM", "DOM.Iterable"],
     "baseUrl": ".",