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

@markuplint/rules

Package Overview
Dependencies
Maintainers
1
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/rules - npm Package Compare versions

Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.5

.DS_Store

5

lib/deprecated-element/index.js

@@ -39,2 +39,3 @@ "use strict";

var ml_core_1 = require("@markuplint/ml-core");
var ml_spec_1 = require("@markuplint/ml-spec");
exports.default = ml_core_1.createRule({

@@ -54,4 +55,6 @@ name: 'deprecated-element',

return [4 /*yield*/, document.walkOn('Element', function (node) { return __awaiter(_this, void 0, void 0, function () {
var spec;
return __generator(this, function (_a) {
if (node.obsolete) {
spec = ml_spec_1.getSpecByTagName(node.nodeName, document.specs);
if (spec && (spec.obsolete || spec.deprecated || spec.nonStandard)) {
reports.push({

@@ -58,0 +61,0 @@ severity: node.rule.severity,

10

package.json
{
"name": "@markuplint/rules",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.5",
"description": "Rules for markuplint",

@@ -16,6 +16,10 @@ "repository": "git@github.com:markuplint/markuplint.git",

"build": "tsc",
"dev": "tsc --build --watch",
"clean": "tsc --build --clean"
},
"dependencies": {
"@markuplint/ml-spec": "^1.0.0-alpha.1"
},
"devDependencies": {
"@markuplint/ml-core": "^1.0.0-alpha.3"
"@markuplint/ml-core": "^1.0.0-alpha.5"
},

@@ -25,3 +29,3 @@ "peerDependencies": {

},
"gitHead": "04f46c34858d5980604f23e86349584f0575ef97"
"gitHead": "de677b589bf54651f23d23c7766d113b097053ce"
}

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