sveltekit-i18n
Advanced tools
Comparing version 2.0.0-rc.4 to 2.0.0-rc.5
@@ -5,6 +5,6 @@ import Base from '@sveltekit-i18n/base'; | ||
interface Config extends Omit<Config.T, 'parser'> { | ||
parserOptions?: Parser.Options; | ||
parserOptions?: Parser.Options; | ||
} | ||
declare class I18n extends Base<Parser.Params> { | ||
declare class I18n<Params extends Parser.Params> extends Base<Params> { | ||
constructor(config?: Config); | ||
@@ -11,0 +11,0 @@ loadConfig: (config: Config) => Promise<void>; |
@@ -1,1 +0,1 @@ | ||
var l=Object.defineProperty,d=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var a=(o,r,e)=>r in o?l(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,f=(o,r)=>{for(var e in r||(r={}))i.call(r,e)&&a(o,e,r[e]);if(s)for(var e of s(r))p.call(r,e)&&a(o,e,r[e]);return o},n=(o,r)=>d(o,u(r));var m=(o,r)=>{var e={};for(var t in o)i.call(o,t)&&r.indexOf(t)<0&&(e[t]=o[t]);if(o!=null&&s)for(var t of s(o))r.indexOf(t)<0&&p.call(o,t)&&(e[t]=o[t]);return e};import c from"@sveltekit-i18n/base";import x from"@sveltekit-i18n/parser-default";var g=e=>{var t=e,{parserOptions:o={}}=t,r=m(t,["parserOptions"]);return n(f({},r),{parser:x(o)})},C=class extends c{constructor(r){super(r&&g(r));this.loadConfig=r=>super.configLoader(g(r))}},B=C;export{B as default}; | ||
var d=Object.defineProperty,l=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var a=(e,r,o)=>r in e?d(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,f=(e,r)=>{for(var o in r||(r={}))p.call(r,o)&&a(e,o,r[o]);if(t)for(var o of t(r))i.call(r,o)&&a(e,o,r[o]);return e},n=(e,r)=>l(e,u(r));var m=(e,r)=>{var o={};for(var s in e)p.call(e,s)&&r.indexOf(s)<0&&(o[s]=e[s]);if(e!=null&&t)for(var s of t(e))r.indexOf(s)<0&&i.call(e,s)&&(o[s]=e[s]);return o};import P from"@sveltekit-i18n/base";import c from"@sveltekit-i18n/parser-default";var g=o=>{var s=o,{parserOptions:e={}}=s,r=m(s,["parserOptions"]);return n(f({},r),{parser:c(e)})},C=class extends P{constructor(r){super(r&&g(r));this.loadConfig=r=>super.configLoader(g(r))}},B=C;export{B as default}; |
{ | ||
"name": "sveltekit-i18n", | ||
"version": "2.0.0-rc.4", | ||
"version": "2.0.0-rc.5", | ||
"description": "Internationalization library for SvelteKit", | ||
@@ -66,5 +66,5 @@ "type": "module", | ||
"dependencies": { | ||
"@sveltekit-i18n/base": "^1.0.0-rc.2", | ||
"@sveltekit-i18n/parser-default": "^1.0.0-rc.3" | ||
"@sveltekit-i18n/base": "^1.0.0-rc", | ||
"@sveltekit-i18n/parser-default": "^1.0.0-rc" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
8889