regex-is-jsp 3.0.13 → 3.0.14

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/README.md CHANGED
@@ -42,8 +42,8 @@ import { isJSP } from "regex-is-jsp";
42
42
  // detects JSP code
43
43
  assert.equal(isJSP().test(`<div><% out.println("Hi!"); %></div>`), true);
44
44
 
45
- // in case if it's not nunjucks
46
- assert.equal(isJSP().test(`<div>tralala</div>`), false);
45
+ // in case if it's not JSP
46
+ assert.equal(isJSP().test(`<div>text</div>`), false);
47
47
  ```
48
48
 
49
49
  ## Documentation
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name regex-is-jsp
3
3
  * @fileoverview Regular expression for detecting JSP (Java Server Pages) code
4
- * @version 3.0.13
4
+ * @version 3.0.14
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/regex-is-jsp/}
8
8
  */
9
9
 
10
- var e="3.0.13";var n=e;function i(){return/<%|%>|<\s*jsp:|<\s*cms:|<\s*c:|\${\s*jsp/gi}export{i as isJSP,n as version};
10
+ var e="3.0.14";var n=e;function i(){return/<%|%>|<\s*jsp:|<\s*cms:|<\s*c:|\${\s*jsp/gi}export{i as isJSP,n as version};
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name regex-is-jsp
3
3
  * @fileoverview Regular expression for detecting JSP (Java Server Pages) code
4
- * @version 3.0.13
4
+ * @version 3.0.14
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/regex-is-jsp/}
8
8
  */
9
9
 
10
- var regexIsJsp=(()=>{var n=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var u=(s,e)=>{for(var t in e)n(s,t,{get:e[t],enumerable:!0})},a=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!d.call(s,r)&&r!==t&&n(s,r,{get:()=>e[r],enumerable:!(i=p(e,r))||i.enumerable});return s};var l=s=>a(n({},"__esModule",{value:!0}),s);var x={};u(x,{isJSP:()=>m,version:()=>y});var o="3.0.13";var y=o;function m(){return/<%|%>|<\s*jsp:|<\s*cms:|<\s*c:|\${\s*jsp/gi}return l(x);})();
10
+ var regexIsJsp=(()=>{var n=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var u=(s,e)=>{for(var t in e)n(s,t,{get:e[t],enumerable:!0})},a=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!d.call(s,r)&&r!==t&&n(s,r,{get:()=>e[r],enumerable:!(i=p(e,r))||i.enumerable});return s};var l=s=>a(n({},"__esModule",{value:!0}),s);var x={};u(x,{isJSP:()=>m,version:()=>y});var o="3.0.14";var y=o;function m(){return/<%|%>|<\s*jsp:|<\s*cms:|<\s*c:|\${\s*jsp/gi}return l(x);})();
@@ -7,5 +7,5 @@ import { isJSP } from "../dist/regex-is-jsp.esm.js";
7
7
  // detects JSP code
8
8
  assert.equal(isJSP().test(`<div><% out.println("Hi!"); %></div>`), true);
9
9
 
10
- // in case if it's not nunjucks
11
- assert.equal(isJSP().test(`<div>tralala</div>`), false);
10
+ // in case if it's not JSP
11
+ assert.equal(isJSP().test(`<div>text</div>`), false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "regex-is-jsp",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "description": "Regular expression for detecting JSP (Java Server Pages) code",
5
5
  "keywords": [
6
6
  "code",