string-character-is-astral-surrogate 2.1.0 → 2.1.2

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
@@ -49,33 +49,33 @@ Accidental version bump during migration to sourcehut. Sorry about that.
49
49
 
50
50
  ## 1.10.0 (2019-01-20)
51
51
 
52
- - Various documentation and setup tweaks after we migrated to monorepo
53
- - Setup refresh: updated dependencies and all config files using automated tools
52
+ - Various documentation and setup tweaks after we migrated to monorepo
53
+ - Setup refresh: updated dependencies and all config files using automated tools
54
54
 
55
55
  ## 1.4.0 (2018-10-25)
56
56
 
57
- - Update all dependencies
58
- - Restore coveralls.io reporting
59
- - Restore unit test linting
57
+ - Update all dependencies
58
+ - Restore coveralls.io reporting
59
+ - Restore unit test linting
60
60
 
61
61
  ## 1.3.0 (2018-06-16)
62
62
 
63
- - Tweaks to the setup: added comment removal during Rollup build and dependency updates
63
+ - Tweaks to the setup: added comment removal during Rollup build and dependency updates
64
64
 
65
65
  ## 1.2.0 (2018-06-16)
66
66
 
67
67
  GitHub sold us out. In the meantime, we:
68
68
 
69
- - Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
70
- - Dropped BitHound (RIP) and Travis
69
+ - Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
70
+ - Dropped BitHound (RIP) and Travis
71
71
 
72
72
  ## 1.1.0 (2018-05-26)
73
73
 
74
- - Set up [Prettier](https://prettier.io) on a custom ESLint rule set.
75
- - Remove `package.lock` and `.editorconfig`
76
- - Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — there's no need to comment-out `console.log` statements or care about them not spilling into production. Now it's done automatically.
77
- - Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it.
74
+ - Set up [Prettier](https://prettier.io) on a custom ESLint rule set.
75
+ - Remove `package.lock` and `.editorconfig`
76
+ - Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — there's no need to comment-out `console.log` statements or care about them not spilling into production. Now it's done automatically.
77
+ - Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it.
78
78
 
79
79
  ## 1.0.0 (2018-03-01)
80
80
 
81
- - First public release
81
+ - First public release
@@ -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.1.0
4
+ * @version 2.1.2
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
- "use strict";/**
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.1.0
4
+ * @version 2.1.2
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
- 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 ${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);})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "string-character-is-astral-surrogate",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Tells, is given character a part of astral character, specifically, a high and low surrogate",
5
5
  "keywords": [
6
6
  "astral",
@@ -18,7 +18,7 @@
18
18
  "tell",
19
19
  "unicode"
20
20
  ],
21
- "homepage": "https://codsen.com/os/string-character-is-astral-surrogate/",
21
+ "homepage": "https://codsen.com/os/string-character-is-astral-surrogate",
22
22
  "repository": {
23
23
  "type": "git",
24
24
  "url": "https://github.com/codsen/codsen.git",