Socket
Socket
Sign inDemoInstall

simple-html-tokenizer

Package Overview
Dependencies
Maintainers
6
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-html-tokenizer - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

.nyc_output/ed66c787ed47c5412379aeb241c5d85d.json

3

commands/build-char-refs-command.js
'use strict';
const entities = require('./codegen/entities');
const codegen = require('./codegen');
const path = require('path');

@@ -19,3 +20,3 @@ module.exports = {

'entities.json',
'html5-named-char-refs.ts',
path.join(this.project.root, 'src', 'generated', 'html5-named-char-refs.ts'),
entities

@@ -22,0 +23,0 @@ );

'use strict';
const tokenizerStates = require('./codegen/tokenizer-states');
const codegen = require('./codegen');
const path = require('path');

@@ -19,3 +20,3 @@ module.exports = {

'sections/syntax.include',
'tokenizer-states.ts',
path.join(this.project.root, 'src', 'generated', 'tokenizer-states.ts'),
tokenizerStates

@@ -22,0 +23,0 @@ );

'use strict';
const fs = require('fs');
const path = require('path');
const { getGithubRefSHA, githubContentURL, getText } = require('./utils');
const GENERATED_ROOT = path.resolve(__dirname, '../src/generated');
module.exports = async function codegen(

@@ -29,4 +26,4 @@ ui,

code += generator(body);
fs.writeFileSync(path.resolve(GENERATED_ROOT, dest), code);
fs.writeFileSync(dest, code);
ui.writeInfoLine(`generated ${dest}`);
};

@@ -5,3 +5,4 @@ {

"ember-addon"
]
],
"version": "1.0.0"
}

@@ -13,4 +13,4 @@ /* eslint-env node */

fs.symlinkSync(
path.resolve(__dirname, '../..'),
path.resolve(__dirname, '../../node_modules/simple-html-tokenizer')
this.project.root,
path.join(this.project.root, 'node_modules', 'simple-html-tokenizer')
);

@@ -17,0 +17,0 @@ } catch (e) {

@@ -5,3 +5,4 @@ {

"ember-addon"
]
],
"version": "1.0.0"
}
{
"name": "simple-html-tokenizer",
"version": "0.5.1",
"version": "0.5.2",
"license": "MIT",

@@ -23,2 +23,3 @@ "description": "Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.",

"build": "ember build",
"prepublish": "rm -rf node_modules/in-repo-commands && ln -s ../commands node_modules/in-repo-commands && rm -rf node_modules/symlink-self && ln -s ../lib/symlink-self node_modules/symlink-self",
"prepare": "ember build",

@@ -38,14 +39,10 @@ "test": "ember test && nyc qunit dist/tests/tests.js",

"got": "^8.2.0",
"in-repo-commands": "file:./commands",
"nyc": "^11.4.1",
"qunit": "^2.5.1",
"rollup-plugin-sourcemaps": "^0.4.2",
"symlink-self": "file:./lib/symlink-self",
"tslint": "^5.9.1",
"typescript": "^2.7.2"
},
"ember-addon": {
"paths": [
"commands",
"lib/symlink-self"
]
}
}

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