@beforesemicolon/builder 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- "use strict";var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var a=(n,e)=>l(n,"name",{value:e,configurable:!0});var p=(n,e)=>{for(var t in e)l(n,t,{get:e[t],enumerable:!0})},c=(n,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of f(e))!k.call(n,r)&&r!==t&&l(n,r,{get:()=>e[r],enumerable:!(o=m(e,r))||o.enumerable});return n};var d=n=>c(l({},"__esModule",{value:!0}),n);var h={};p(h,{default:()=>i});module.exports=d(h);function i({href:n,text:e}){return`<a href="${n.replace(/\.md/,".html").replace(/index\.html/,"")}">${e}</a>`}a(i,"link");
1
+ "use strict";var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var o=(e,t)=>n(e,"name",{value:t,configurable:!0});var p=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},c=(e,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of k(t))!m.call(e,a)&&a!==r&&n(e,a,{get:()=>t[a],enumerable:!(l=i(t,a))||l.enumerable});return e};var f=e=>c(n({},"__esModule",{value:!0}),e);var h={};p(h,{default:()=>s});module.exports=f(h);function s({href:e,text:t}){return`<a target="${e.startsWith("https://")?"_blank":"_self"}" href="${e.replace(/\.md/,".html").replace(/index\.html/,"")}">${t}</a>`}o(s,"link");
@@ -1 +1 @@
1
- var t=Object.defineProperty;var r=(e,n)=>t(e,"name",{value:n,configurable:!0});function l({href:e,text:n}){return`<a href="${e.replace(/\.md/,".html").replace(/index\.html/,"")}">${n}</a>`}r(l,"link");export{l as default};
1
+ var a=Object.defineProperty;var r=(t,e)=>a(t,"name",{value:e,configurable:!0});function n({href:t,text:e}){return`<a target="${t.startsWith("https://")?"_blank":"_self"}" href="${t.replace(/\.md/,".html").replace(/index\.html/,"")}">${e}</a>`}r(n,"link");export{n as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beforesemicolon/builder",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Utilities to build npm packages and documentation website",
5
5
  "engines": {
6
6
  "node": ">=18.16.0"