string-character-is-astral-surrogate 3.0.9 → 3.0.20

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2010-2024 Roy Revelt and other contributors
3
+ Copyright (c) 2010-2025 Roy Revelt and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/README.md CHANGED
@@ -67,6 +67,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
67
67
 
68
68
  MIT License.
69
69
 
70
- Copyright © 2010-2024 Roy Revelt and other contributors.
70
+ Copyright © 2010-2025 Roy Revelt and other contributors.
71
71
 
72
72
  <p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
@@ -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 3.0.9
4
+ * @version 3.0.20
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/string-character-is-astral-surrogate/}
@@ -1,10 +1,10 @@
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 3.0.9
4
+ * @version 3.0.20
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/string-character-is-astral-surrogate/}
8
8
  */
9
9
 
10
- "use strict";var stringCharacterIsAstralSurrogate=(()=>{var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},d=(r,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of f(t))!o.call(r,e)&&e!==n&&a(r,e,{get:()=>t[e],enumerable:!(i=u(t,e))||i.enumerable});return r};var c=r=>d(a({},"__esModule",{value:!0}),r);var g={};s(g,{isHighSurrogate:()=>l,isLowSurrogate:()=>p});function l(r){if(typeof r=="string")return r.length===0?!1:r.charCodeAt(0)>=55296&&r.charCodeAt(0)<=56319;if(r===void 0)return!1;throw new TypeError(`string-character-is-astral-surrogate/isHighSurrogate(): the input is not string but ${typeof r}`)}function p(r){if(typeof r=="string")return r.length===0?!1:r.charCodeAt(0)>=56320&&r.charCodeAt(0)<=57343;if(r===void 0)return!1;throw new TypeError(`string-character-is-astral-surrogate/isLowSurrogate(): the input is not string but ${typeof r}`)}return c(g);})();
10
+ "use strict";var stringCharacterIsAstralSurrogate=(()=>{var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},d=(r,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of f(t))!o.call(r,e)&&e!==n&&a(r,e,{get:()=>t[e],enumerable:!(i=u(t,e))||i.enumerable});return r};var c=r=>d(a({},"__esModule",{value:!0}),r);var g={};s(g,{isHighSurrogate:()=>l,isLowSurrogate:()=>p});function l(r){if(typeof r=="string")return r.length===0?!1:r.charCodeAt(0)>=55296&&r.charCodeAt(0)<=56319;if(r===void 0)return!1;throw new TypeError("string-character-is-astral-surrogate/isHighSurrogate(): the input is not string but ".concat(typeof r))}function p(r){if(typeof r=="string")return r.length===0?!1:r.charCodeAt(0)>=56320&&r.charCodeAt(0)<=57343;if(r===void 0)return!1;throw new TypeError("string-character-is-astral-surrogate/isLowSurrogate(): the input is not string but ".concat(typeof r))}return c(g);})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "string-character-is-astral-surrogate",
3
- "version": "3.0.9",
3
+ "version": "3.0.20",
4
4
  "description": "Tells, is given character a part of astral character, specifically, a high and low surrogate",
5
5
  "keywords": [
6
6
  "astral",
@@ -21,7 +21,7 @@
21
21
  "homepage": "https://codsen.com/os/string-character-is-astral-surrogate",
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "https://github.com/codsen/codsen.git",
24
+ "url": "git+https://github.com/codsen/codsen.git",
25
25
  "directory": "packages/string-character-is-astral-surrogate"
26
26
  },
27
27
  "license": "MIT",
@@ -46,8 +46,8 @@
46
46
  "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'",
47
47
  "examples": "node '../../ops/scripts/run-examples.js'",
48
48
  "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
49
- "letspublish": "npm publish || :",
50
- "lint": "eslint . --ext .js --ext .ts --fix",
49
+ "letspublish": "npm publish --provenance || :",
50
+ "lint": "eslint . --fix",
51
51
  "perf": "node perf/check.js",
52
52
  "prep": "echo 'ready'",
53
53
  "prettier": "prettier",
@@ -72,5 +72,8 @@
72
72
  ""
73
73
  ]
74
74
  }
75
+ },
76
+ "publishConfig": {
77
+ "registry": "https://registry.npmjs.org/"
75
78
  }
76
79
  }