string-character-is-astral-surrogate 2.0.0 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 2.0.3 (2021-11-02)
7
+
8
+ ### Bug Fixes
9
+
10
+ - bump TS and separate ESLint plugins away from this monorepo ([b1ebce1](https://github.com/codsen/codsen/commit/b1ebce1637d8c41c2d848fc24b0ba4058865bd5d))
11
+
12
+ ### Features
13
+
14
+ - migrate to ES Modules ([c579dff](https://github.com/codsen/codsen/commit/c579dff3b23205e383035ca10ddcec671e35d0fe))
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ - programs now are in ES Modules and won't work with Common JS require()
19
+
20
+ ## 2.0.1 (2021-09-13)
21
+
22
+ ### Bug Fixes
23
+
24
+ - bump TS and separate ESLint plugins away from this monorepo ([2e07d42](https://github.com/codsen/codsen/commit/2e07d424222b6ffedf5fb45c83ad453627ec2904))
25
+
6
26
  ## 2.0.0 (2021-09-09)
7
27
 
8
28
  ### Features
package/README.md CHANGED
@@ -26,10 +26,14 @@
26
26
 
27
27
  ## Install
28
28
 
29
+ This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required:
30
+
29
31
  ```bash
30
32
  npm i string-character-is-astral-surrogate
31
33
  ```
32
34
 
35
+ If you need a legacy version which works with `require`, use version 1.13.0
36
+
33
37
  ## Quick Take
34
38
 
35
39
  ```js
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @name string-character-is-astral-surrogate
3
3
  * @fileoverview Tells, is given character a part of astral character, specifically, a high and low surrogate
4
- * @version 2.0.0
4
+ * @version 2.0.4
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/string-character-is-astral-surrogate/}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @name string-character-is-astral-surrogate
3
3
  * @fileoverview Tells, is given character a part of astral character, specifically, a high and low surrogate
4
- * @version 2.0.0
4
+ * @version 2.0.4
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/string-character-is-astral-surrogate/}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "string-character-is-astral-surrogate",
3
- "version": "2.0.0",
3
+ "version": "2.0.4",
4
4
  "description": "Tells, is given character a part of astral character, specifically, a high and low surrogate",
5
5
  "keywords": [
6
6
  "astral",
@@ -38,11 +38,13 @@
38
38
  "types": "types/index.d.ts",
39
39
  "scripts": {
40
40
  "build": "rollup -c",
41
- "esbuild": "node '../../scripts/esbuild.js'",
42
- "esbuild_dev": "cross-env MODE=dev node '../../scripts/esbuild.js'",
43
41
  "ci_test": "npm run build && npm run format && tap --no-only --reporter=silent --output-file=testStats.md && npm run clean_cov",
42
+ "clean_cov": "../../scripts/leaveCoverageTotalOnly.js",
43
+ "clean_types": "../../scripts/cleanTypes.js",
44
44
  "dev": "rollup -c --dev",
45
45
  "devunittest": "npm run dev && tap --only -R 'base'",
46
+ "esbuild": "node '../../scripts/esbuild.js'",
47
+ "esbuild_dev": "cross-env MODE=dev node '../../scripts/esbuild.js'",
46
48
  "format": "npm run lect && npm run prettier && npm run lint",
47
49
  "lect": "lect",
48
50
  "lint": "../../node_modules/eslint/bin/eslint.js . --ext .js --ext .ts --fix --config \"../../.eslintrc.json\" --quiet",
@@ -50,13 +52,11 @@
50
52
  "prettier": "../../node_modules/prettier/bin-prettier.js '*.{js,css,scss,vue,md,ts}' --write --loglevel silent",
51
53
  "republish": "npm publish || :",
52
54
  "tap": "tap",
53
- "tsc": "tsc",
54
55
  "pretest": "npm run build",
55
56
  "test": "npm run lint && npm run unittest && npm run test:examples && npm run clean_cov && npm run format",
56
57
  "test:examples": "../../scripts/test-examples.js && npm run lect && npm run prettier",
57
- "unittest": "tap --no-only --output-file=testStats.md --reporter=terse && tsc -p tsconfig.json --noEmit && npm run clean_cov && npm run perf",
58
- "clean_cov": "../../scripts/leaveCoverageTotalOnly.js",
59
- "clean_types": "../../scripts/cleanTypes.js"
58
+ "tsc": "tsc",
59
+ "unittest": "tap --no-only --output-file=testStats.md --reporter=terse && tsc -p tsconfig.json --noEmit && npm run clean_cov && npm run perf"
60
60
  },
61
61
  "tap": {
62
62
  "check-coverage": false,
@@ -83,44 +83,44 @@
83
83
  }
84
84
  },
85
85
  "dependencies": {
86
- "@babel/runtime": "^7.15.4"
86
+ "@babel/runtime": "^7.16.0"
87
87
  },
88
88
  "devDependencies": {
89
- "@babel/cli": "^7.15.4",
90
- "@babel/core": "^7.15.5",
91
- "@babel/node": "^7.15.4",
92
- "@babel/plugin-external-helpers": "^7.14.5",
93
- "@babel/plugin-proposal-class-properties": "^7.14.5",
94
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
95
- "@babel/plugin-proposal-object-rest-spread": "^7.15.6",
96
- "@babel/plugin-proposal-optional-chaining": "^7.14.5",
97
- "@babel/plugin-transform-runtime": "^7.15.0",
98
- "@babel/preset-env": "^7.15.6",
99
- "@babel/preset-typescript": "^7.15.0",
100
- "@babel/register": "^7.15.3",
89
+ "@babel/cli": "^7.16.0",
90
+ "@babel/core": "^7.16.0",
91
+ "@babel/node": "^7.16.0",
92
+ "@babel/plugin-external-helpers": "^7.16.0",
93
+ "@babel/plugin-proposal-class-properties": "^7.16.0",
94
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
95
+ "@babel/plugin-proposal-object-rest-spread": "^7.16.0",
96
+ "@babel/plugin-proposal-optional-chaining": "^7.16.0",
97
+ "@babel/plugin-transform-runtime": "^7.16.0",
98
+ "@babel/preset-env": "^7.16.0",
99
+ "@babel/preset-typescript": "^7.16.0",
100
+ "@babel/register": "^7.16.0",
101
101
  "@istanbuljs/esm-loader-hook": "^0.1.2",
102
102
  "@rollup/plugin-babel": "^5.3.0",
103
- "@rollup/plugin-commonjs": "^20.0.0",
104
- "@rollup/plugin-node-resolve": "^13.0.4",
103
+ "@rollup/plugin-commonjs": "^21.0.1",
104
+ "@rollup/plugin-node-resolve": "^13.0.6",
105
105
  "@rollup/plugin-strip": "^2.1.0",
106
- "@rollup/plugin-typescript": "^8.2.5",
107
- "@types/node": "^16.9.1",
106
+ "@rollup/plugin-typescript": "^8.3.0",
107
+ "@types/node": "^16.11.6",
108
108
  "@types/tap": "^15.0.5",
109
- "@typescript-eslint/eslint-plugin": "^4.31.0",
110
- "@typescript-eslint/parser": "^4.31.0",
111
- "core-js": "^3.17.3",
109
+ "@typescript-eslint/eslint-plugin": "^5.3.0",
110
+ "@typescript-eslint/parser": "^5.3.0",
111
+ "core-js": "^3.19.1",
112
112
  "cross-env": "^7.0.3",
113
- "eslint": "^7.32.0",
114
- "lect": "^0.18.0",
115
- "rollup": "^2.56.3",
113
+ "eslint": "^8.1.0",
114
+ "lect": "^0.18.4",
115
+ "rollup": "^2.59.0",
116
116
  "rollup-plugin-ascii": "^0.0.3",
117
117
  "rollup-plugin-banner": "^0.2.1",
118
118
  "rollup-plugin-cleanup": "^3.2.1",
119
119
  "rollup-plugin-dts": "^4.0.0",
120
120
  "rollup-plugin-terser": "^7.0.2",
121
- "tap": "^15.0.9",
121
+ "tap": "^15.0.10",
122
122
  "tslib": "^2.3.1",
123
- "typescript": "^4.4.2"
123
+ "typescript": "^4.4.4"
124
124
  },
125
125
  "engines": {
126
126
  "node": ">=12"