charcode-is-valid-xml-name-character 2.2.0 → 2.2.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
@@ -55,45 +55,45 @@ Accidental version bump during migration to sourcehut. Sorry about that.
55
55
 
56
56
  ## 1.10.0 (2019-01-20)
57
57
 
58
- - Various documentation and setup tweaks after we migrated to monorepo
59
- - Setup refresh: updated dependencies and all config files using automated tools
58
+ - Various documentation and setup tweaks after we migrated to monorepo
59
+ - Setup refresh: updated dependencies and all config files using automated tools
60
60
 
61
61
  ## 1.7.0 (2018-12-26)
62
62
 
63
- - Add function aliases with more human-friendly names ([9cb319b](https://gitlab.com/codsen/codsen/tree/master/packages/charcode-is-valid-xml-name-character/commits/9cb319b))
63
+ - Add function aliases with more human-friendly names ([9cb319b](https://gitlab.com/codsen/codsen/tree/master/packages/charcode-is-valid-xml-name-character/commits/9cb319b))
64
64
 
65
65
  ## 1.6.0 (2018-10-14)
66
66
 
67
- - Updated all dependencies and restored unit test coverage tracking: reporting in terminal and coveralls.io
67
+ - Updated all dependencies and restored unit test coverage tracking: reporting in terminal and coveralls.io
68
68
 
69
69
  ## 1.5.0 (2018-06-11)
70
70
 
71
71
  GitHub sold us out. In the meantime, we:
72
72
 
73
- - Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
74
- - Dropped BitHound (RIP) and Travis
75
- - Removed `package-lock`
73
+ - Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
74
+ - Dropped BitHound (RIP) and Travis
75
+ - Removed `package-lock`
76
76
 
77
77
  ## 1.4.0 (2018-05-31)
78
78
 
79
- - I found myself looking again and again at the spec, double-checking which function name `isProduction4` or `isProduction4a` is for the first character, which is for second character onwards. To make life easier, I decided to supplement exported function with aliase keys `validFirstChar` and `validSecondCharOnwards` which are the same functions but named more sensibly.
79
+ - I found myself looking again and again at the spec, double-checking which function name `isProduction4` or `isProduction4a` is for the first character, which is for second character onwards. To make life easier, I decided to supplement exported function with aliase keys `validFirstChar` and `validSecondCharOnwards` which are the same functions but named more sensibly.
80
80
 
81
81
  ## 1.3.0 (2018-05-03)
82
82
 
83
- - Set up [Prettier](https://prettier.io)
84
- - Removed `package.lock` and `.editorconfig`
85
- - Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — Rollup will remove them during the builds.
83
+ - Set up [Prettier](https://prettier.io)
84
+ - Removed `package.lock` and `.editorconfig`
85
+ - Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — Rollup will remove them during the builds.
86
86
 
87
87
  ## 1.2.0 (2018-02-16)
88
88
 
89
89
  ### Added
90
90
 
91
- - First checking lowercase letters, then the rest.
91
+ - First checking lowercase letters, then the rest.
92
92
 
93
93
  ## 1.1.0 (2018-02-06)
94
94
 
95
- - Tapped the dependency `ranges-is-index-within` ([npm](https://www.npmjs.com/package/ranges-is-index-within), [GitLab](https://gitlab.com/codsen/codsen/tree/master/packages/ranges-is-index-within)) with sorting turned off to save resources. (`opts.skipIncomingRangeSorting` setting)
95
+ - Tapped the dependency `ranges-is-index-within` ([npm](https://www.npmjs.com/package/ranges-is-index-within), [GitLab](https://gitlab.com/codsen/codsen/tree/master/packages/ranges-is-index-within)) with sorting turned off to save resources. (`opts.skipIncomingRangeSorting` setting)
96
96
 
97
97
  ## 1.0.0 (2018-02-05)
98
98
 
99
- - First public release
99
+ - First public release
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @name charcode-is-valid-xml-name-character
3
3
  * @fileoverview Does a given character belong to XML spec's "Production 4 OR 4a" type (is acceptable for XML element's name)
4
- * @version 2.2.0
4
+ * @version 2.2.2
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/charcode-is-valid-xml-name-character/}
@@ -1,17 +1,17 @@
1
- "use strict";/**
1
+ /**
2
2
  * @name charcode-is-valid-xml-name-character
3
3
  * @fileoverview Does a given character belong to XML spec's "Production 4 OR 4a" type (is acceptable for XML element's name)
4
- * @version 2.2.0
4
+ * @version 2.2.2
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/charcode-is-valid-xml-name-character/}
8
8
  */
9
9
 
10
- var charcodeIsValidXmlNameCharacter=(()=>{var t=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var c=(n,e,r)=>e in n?t(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,u=(n,e)=>{for(var r in e||(e={}))g.call(e,r)&&c(n,r,e[r]);if(d)for(var r of d(e))f.call(e,r)&&c(n,r,e[r]);return n};var p=(n,e)=>{for(var r in e)t(n,r,{get:e[r],enumerable:!0})},R=(n,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!g.call(n,a)&&a!==r&&t(n,a,{get:()=>e[a],enumerable:!(o=l(e,a))||o.enumerable});return n};var h=n=>R(t({},"__esModule",{value:!0}),n);var P={};p(P,{isProduction4:()=>x,isProduction4a:()=>A,validFirstChar:()=>x,validSecondCharOnwards:()=>A});var v={inclusiveRangeEnds:!1,returnMatchedRangeInsteadOfTrue:!1};function s(n,e,r){let o=u(u({},v),r);if(!Number.isInteger(n))throw new Error(`ranges-is-index-within: [THROW_ID_01] the first input argument should be string index, a natural number (or zero). It was given as ${n} (type ${typeof n})`);return Array.isArray(e)?o.returnMatchedRangeInsteadOfTrue?e.find(a=>o.inclusiveRangeEnds?n>=a[0]&&n<=a[1]:n>a[0]&&n<a[1])||!1:e.some(a=>o.inclusiveRangeEnds?n>=a[0]&&n<=a[1]:n>a[0]&&n<a[1]):!1}var I=[[58,58],[65,90],[95,95],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],y=[[45,45],[46,46],[48,57],[58,58],[65,90],[95,95],[183,183],[192,214],[216,246],[248,767],[768,879],[880,893],[895,8191],[8204,8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],m=[[97,122]],i={inclusiveRangeEnds:!0,skipIncomingRangeSorting:!0};function x(n){return s(n.codePointAt(0),m,i)||s(n.codePointAt(0),I,i)}function A(n){return s(n.codePointAt(0),m,i)||s(n.codePointAt(0),y,i)}return h(P);})();
10
+ "use strict";var charcodeIsValidXmlNameCharacter=(()=>{var t=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var c=(n,e,r)=>e in n?t(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,u=(n,e)=>{for(var r in e||(e={}))g.call(e,r)&&c(n,r,e[r]);if(d)for(var r of d(e))f.call(e,r)&&c(n,r,e[r]);return n};var p=(n,e)=>{for(var r in e)t(n,r,{get:e[r],enumerable:!0})},R=(n,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!g.call(n,a)&&a!==r&&t(n,a,{get:()=>e[a],enumerable:!(o=l(e,a))||o.enumerable});return n};var h=n=>R(t({},"__esModule",{value:!0}),n);var P={};p(P,{isProduction4:()=>x,isProduction4a:()=>A,validFirstChar:()=>x,validSecondCharOnwards:()=>A});var v={inclusiveRangeEnds:!1,returnMatchedRangeInsteadOfTrue:!1};function s(n,e,r){let o=u(u({},v),r);if(!Number.isInteger(n))throw new Error(`ranges-is-index-within: [THROW_ID_01] the first input argument should be string index, a natural number (or zero). It was given as ${n} (type ${typeof n})`);return Array.isArray(e)?o.returnMatchedRangeInsteadOfTrue?e.find(a=>o.inclusiveRangeEnds?n>=a[0]&&n<=a[1]:n>a[0]&&n<a[1])||!1:e.some(a=>o.inclusiveRangeEnds?n>=a[0]&&n<=a[1]:n>a[0]&&n<a[1]):!1}var I=[[58,58],[65,90],[95,95],[192,214],[216,246],[248,767],[880,893],[895,8191],[8204,8205],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],y=[[45,45],[46,46],[48,57],[58,58],[65,90],[95,95],[183,183],[192,214],[216,246],[248,767],[768,879],[880,893],[895,8191],[8204,8205],[8255,8256],[8304,8591],[11264,12271],[12289,55295],[63744,64975],[65008,65533],[65536,983039]],m=[[97,122]],i={inclusiveRangeEnds:!0,skipIncomingRangeSorting:!0};function x(n){return s(n.codePointAt(0),m,i)||s(n.codePointAt(0),I,i)}function A(n){return s(n.codePointAt(0),m,i)||s(n.codePointAt(0),y,i)}return h(P);})();
11
11
  /**
12
12
  * @name ranges-is-index-within
13
13
  * @fileoverview Checks if index is within any of the given string index ranges
14
- * @version 3.2.0
14
+ * @version 3.2.2
15
15
  * @author Roy Revelt, Codsen Ltd
16
16
  * @license MIT
17
17
  * {@link https://codsen.com/os/ranges-is-index-within/}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "charcode-is-valid-xml-name-character",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Does a given character belong to XML spec's \"Production 4 OR 4a\" type (is acceptable for XML element's name)",
5
5
  "keywords": [
6
6
  "4",
@@ -19,7 +19,7 @@
19
19
  "valid",
20
20
  "xml"
21
21
  ],
22
- "homepage": "https://codsen.com/os/charcode-is-valid-xml-name-character/",
22
+ "homepage": "https://codsen.com/os/charcode-is-valid-xml-name-character",
23
23
  "repository": {
24
24
  "type": "git",
25
25
  "url": "https://github.com/codsen/codsen.git",
@@ -73,6 +73,6 @@
73
73
  }
74
74
  },
75
75
  "dependencies": {
76
- "ranges-is-index-within": "^3.2.0"
76
+ "ranges-is-index-within": "^3.2.2"
77
77
  }
78
78
  }