Comparing version 1.1.1 to 1.1.2
@@ -1,1 +0,1 @@ | ||
import{defaultAdapters as n}from"ununura-engine";var s=(e={})=>({defines:e?.defines??[],jsx:e?.jsx??!1,jsxIgnoreEntryFile:e?.jsxIgnoreEntryFile??!0,astAdapters:e?.astAdapters?[...e.astAdapters,...n()].map(r=>r.toLowerCase()):n().map(r=>r.toLowerCase()),scopedInTemplate:e?.scopedInTemplate??!0,extend:e?.extend??{},specialEnvironment:e?.specialEnvironment??"vite",applyAutoprefixer:e?.applyAutoprefixer??!0,overrideBrowserslist:e?.overrideBrowserslist??!1,simplifyTitles:e?.simplifyTitles??!1,forceIgnoreClassLineInTitles:e?.forceIgnoreClassLineInTitles??!1,forceHydratedTemplate:e?.forceHydratedTemplate??!1});import{UnunuraGlobalGenerate as E,UnunuraJSXSFCFile as O,UnunuraScopedSFCFile as o}from"ununura-engine";import{isVueFile as I,VIRTUAL_CSS_INJECT_FILENAME as S,RESOLVED_VIRTUAL_CSS_INJECT_FILENAME as p,isSvelteFile as U,isJSXFile as y,getFilename as T,isJSXEntryFile as x,isAstroFile as A}from"ununura-shared";import{RESOLVED_VIRTUAL_CSS_INJECT_FILENAME as u}from"ununura-shared";var a=async(e,r)=>{let t=e.moduleGraph.getModuleById(u);t&&(r.specialEnvironment!=="nitro"&&await e.restart(),await e.reloadModule(t))};import{isAstroFile as d,isJSXFile as v,isSvelteFile as c,isVueFile as F}from"ununura-shared";var l=e=>F(e)||c(e)||v(e)||d(e);var m=e=>({name:"ununuracss:core",enforce:e.forceHydratedTemplate?"post":"pre",async transform(r,t){let i=T(t);if(I(t))return await o(r,"vue",i,e);if(U(t))return await o(r,"svelte",i,e);if(A(t))return await o(r,"astro",i,e);if(y(t)&&e.jsx)return e.jsxIgnoreEntryFile&&x(t)?null:O(r,i,e)},resolveId(r){return r===S?p:null},async load(r){if(r===p)return{code:await E(e)}},async handleHotUpdate({server:r,file:t}){l(t)&&await a(r,e)}});import{FontaineTransform as g}from"fontaine";import{browserFonts as C}from"ununura-shared";var L=g.vite({fallbacks:[...C],resolvePath:e=>new URL("."+e,import.meta.url)}),f=L;var K=(e={})=>{let r=s(e);return[m(r),f]};export{K as ununura}; | ||
"use strict";var l=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var U=(e,r)=>{for(var t in r)l(e,t,{get:r[t],enumerable:!0})},y=(e,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of I(r))!S.call(e,a)&&a!==t&&l(e,a,{get:()=>r[a],enumerable:!(s=O(r,a))||s.enumerable});return e};var T=e=>y(l({},"__esModule",{value:!0}),e);var C={};U(C,{ununura:()=>g});module.exports=T(C);var p=require("ununura-engine"),m=(e={})=>({defines:e?.defines??[],jsx:e?.jsx??!1,jsxIgnoreEntryFile:e?.jsxIgnoreEntryFile??!0,astAdapters:e?.astAdapters?[...e.astAdapters,...(0,p.defaultAdapters)()].map(r=>r.toLowerCase()):(0,p.defaultAdapters)().map(r=>r.toLowerCase()),scopedInTemplate:e?.scopedInTemplate??!0,extend:e?.extend??{},specialEnvironment:e?.specialEnvironment??"vite",applyAutoprefixer:e?.applyAutoprefixer??!0,overrideBrowserslist:e?.overrideBrowserslist??!1,simplifyTitles:e?.simplifyTitles??!1,forceIgnoreClassLineInTitles:e?.forceIgnoreClassLineInTitles??!1,forceHydratedTemplate:e?.forceHydratedTemplate??!1});var n=require("ununura-engine"),i=require("ununura-shared");var f=require("ununura-shared"),u=async(e,r)=>{let t=e.moduleGraph.getModuleById(f.RESOLVED_VIRTUAL_CSS_INJECT_FILENAME);t&&(r.specialEnvironment!=="nitro"&&await e.restart(),await e.reloadModule(t))};var o=require("ununura-shared"),d=e=>(0,o.isVueFile)(e)||(0,o.isSvelteFile)(e)||(0,o.isJSXFile)(e)||(0,o.isAstroFile)(e);var v=e=>({name:"ununuracss:core",enforce:e.forceHydratedTemplate?"post":"pre",async transform(r,t){let s=(0,i.getFilename)(t);if((0,i.isVueFile)(t))return await(0,n.UnunuraScopedSFCFile)(r,"vue",s,e);if((0,i.isSvelteFile)(t))return await(0,n.UnunuraScopedSFCFile)(r,"svelte",s,e);if((0,i.isAstroFile)(t))return await(0,n.UnunuraScopedSFCFile)(r,"astro",s,e);if((0,i.isJSXFile)(t)&&e.jsx)return e.jsxIgnoreEntryFile&&(0,i.isJSXEntryFile)(t)?null:(0,n.UnunuraJSXSFCFile)(r,s,e)},resolveId(r){return r===i.VIRTUAL_CSS_INJECT_FILENAME?i.RESOLVED_VIRTUAL_CSS_INJECT_FILENAME:null},async load(r){if(r===i.RESOLVED_VIRTUAL_CSS_INJECT_FILENAME)return{code:await(0,n.UnunuraGlobalGenerate)(e)}},async handleHotUpdate({server:r,file:t}){d(t)&&await u(r,e)}});var c=require("fontaine"),F=require("ununura-shared"),A={},x=c.FontaineTransform.vite({fallbacks:[...F.browserFonts],resolvePath:e=>new URL("."+e,A.url)}),E=x;var g=(e={})=>{let r=m(e);return[v(r),E]};0&&(module.exports={ununura}); |
{ | ||
"name": "ununura", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Atomic CSS Engine.", | ||
@@ -19,6 +19,5 @@ "author": "Novout", | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.cjs" | ||
"import": "./dist/index.mjs" | ||
} | ||
}, | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
@@ -40,6 +39,6 @@ "module": "dist/index.js", | ||
"fontaine": "^0.2.3", | ||
"ununura-engine": "1.1.1", | ||
"ununura-shared": "1.1.1" | ||
"ununura-engine": "1.1.2", | ||
"ununura-shared": "1.1.2" | ||
}, | ||
"gitHead": "23c7862a98b6870378954fca2022f90adb7eeb3d" | ||
"gitHead": "aab1feba855e71275def3c60b8357deb54b0e783" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5974
No
+ Addedununura-engine@1.1.2(transitive)
+ Addedununura-shared@1.1.2(transitive)
- Removedununura-engine@1.1.1(transitive)
- Removedununura-shared@1.1.1(transitive)
Updatedununura-engine@1.1.2
Updatedununura-shared@1.1.2