New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chronobserver/htmls

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chronobserver/htmls - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

5

htmls.d.ts

@@ -0,8 +1,9 @@

/** Compile the given template. */
declare function compile(template: string): (data: any) => string
declare namespace compile {
export function compile(template: string): (data: any) => string
/** Compile the given HTML template. */
export function compileHtml(template: string): (data: any) => string
/** Compile the given XML template. */
export function compileXml(template: string): (data: any) => string

@@ -9,0 +10,0 @@ }

2

lib/index.js

@@ -98,3 +98,3 @@ // Generated by LiveScript 1.3.1

};
module.exports = (compile.compile = compile, compile.compileHtml = compileHtml, compile.compileXml = compileXml, compile);
module.exports = (compile.compileHtml = compileHtml, compile.compileXml = compileXml, compile);
function repeatString$(str, n){

@@ -101,0 +101,0 @@ for (var r = ''; n > 0; (n >>= 1) && (str += str)) if (n & 1) r += str;

{
"name": "@chronobserver/htmls",
"version": "0.4.2",
"version": "0.4.3",
"description": "HyperText Markup LiveScript!",

@@ -5,0 +5,0 @@ "author": {

@@ -98,5 +98,3 @@ # HTMLS - HyperText Markup LiveScript!

- You can only use valid HTML5 element names.
- It's probably a good idea not to use HTML5 element names as variable names in your templates. Something will likely break.
- Regular LiveScript may or may play nice inside your templates. Everything should be fine if you stick to stuff like for loops and ifs though, which should be more than enough for basic templating purposes, right?
- Arguments are accessed via `this` or `@` for short.
- If you want plain text output inside an element, use the `$` function as seen in the example above.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc