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

polymer-bundler

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polymer-bundler - npm Package Compare versions

Comparing version 1.14.13 to 1.14.14

6

lib/ast-utils.js

@@ -15,5 +15,5 @@ /**

"use strict";
const dom5 = require('dom5');
const parse5_1 = require('parse5');
const matchers = require('./matchers');
const dom5 = require("dom5");
const parse5_1 = require("parse5");
const matchers = require("./matchers");
function prepend(parent, node) {

@@ -20,0 +20,0 @@ if (parent.childNodes && parent.childNodes.length) {

@@ -11,12 +11,13 @@ #!/usr/bin/env node

};
const commandLineArgs = require('command-line-args');
const commandLineUsage = require('command-line-usage');
const fs = require('fs');
const parse5 = require('parse5');
const mkdirp = require('mkdirp');
const pathLib = require('path');
const bundler_1 = require('../bundler');
const polymer_analyzer_1 = require('polymer-analyzer');
const fs_url_loader_1 = require('polymer-analyzer/lib/url-loader/fs-url-loader');
const bundle_manifest_1 = require('../bundle-manifest');
const commandLineArgs = require("command-line-args");
const commandLineUsage = require("command-line-usage");
const fs = require("fs");
const parse5 = require("parse5");
const mkdirp = require("mkdirp");
const pathLib = require("path");
const bundler_1 = require("../bundler");
const polymer_analyzer_1 = require("polymer-analyzer");
const fs_url_loader_1 = require("polymer-analyzer/lib/url-loader/fs-url-loader");
const bundle_manifest_1 = require("../bundle-manifest");
console.warn('polymer-bundler is currently in alpha! Use at your own risk!');
const pathArgument = '[underline]{path}';

@@ -203,4 +204,2 @@ const optionDefinitions = [

}
console.log('Build done!');
console.log(bundles.size);
if (bundles.size > 1) {

@@ -207,0 +206,0 @@ const outDir = options['out-dir'];

@@ -23,17 +23,17 @@ "use strict";

*/
const path = require('path');
const urlLib = require('url');
const path = require("path");
const urlLib = require("url");
const pathPosix = path.posix;
const dom5 = require('dom5');
const encode_string_1 = require('./third_party/UglifyJS2/encode-string');
const parse5 = require('parse5');
const polymer_analyzer_1 = require('polymer-analyzer');
const html_document_1 = require('polymer-analyzer/lib/html/html-document');
const fs_url_loader_1 = require('polymer-analyzer/lib/url-loader/fs-url-loader');
const constants_1 = require('./constants');
const astUtils = require('./ast-utils');
const matchers = require('./matchers');
const urlUtils = require('./url-utils');
const bundle_manifest_1 = require('./bundle-manifest');
const deps_index_1 = require('./deps-index');
const dom5 = require("dom5");
const encode_string_1 = require("./third_party/UglifyJS2/encode-string");
const parse5 = require("parse5");
const polymer_analyzer_1 = require("polymer-analyzer");
const html_document_1 = require("polymer-analyzer/lib/html/html-document");
const fs_url_loader_1 = require("polymer-analyzer/lib/url-loader/fs-url-loader");
const constants_1 = require("./constants");
const astUtils = require("./ast-utils");
const matchers = require("./matchers");
const urlUtils = require("./url-utils");
const bundle_manifest_1 = require("./bundle-manifest");
const deps_index_1 = require("./deps-index");
class Bundler {

@@ -40,0 +40,0 @@ constructor(options) {

@@ -23,3 +23,3 @@ "use strict";

*/
const assert_1 = require('assert');
const assert_1 = require("assert");
function _getTransitiveDependencies(url, entrypoints, analyzer) {

@@ -26,0 +26,0 @@ return __awaiter(this, void 0, void 0, function* () {

@@ -16,4 +16,4 @@ /**

'use strict';
const constants_1 = require('./constants');
const dom5_1 = require('dom5');
const constants_1 = require("./constants");
const dom5_1 = require("dom5");
;

@@ -20,0 +20,0 @@ exports.urlAttrMatchers = constants_1.default.URL_ATTR.map(attr => dom5_1.predicates.hasAttr(attr));

@@ -16,5 +16,5 @@ /**

'use strict';
const path = require('path');
const url = require('url');
const constants_1 = require('./constants');
const path = require("path");
const url = require("url");
const constants_1 = require("./constants");
const pathPosix = path.posix;

@@ -21,0 +21,0 @@ const sharedRelativeUrlProperties = ['protocol', 'slashes', 'auth', 'host', 'port', 'hostname'];

{
"name": "polymer-bundler",
"version": "1.14.13",
"version": "1.14.14",
"description": "Process Web Components into one output file",

@@ -18,3 +18,3 @@ "main": "lib/vulcan.js",

"path-posix": "^1.0.0",
"polymer-analyzer": "^v2.0.0-alpha.11"
"polymer-analyzer": "^v2.0.0-alpha.15"
},

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -29,2 +29,4 @@ #!/usr/bin/env node

console.warn('polymer-bundler is currently in alpha! Use at your own risk!');
const pathArgument = '[underline]{path}';

@@ -238,4 +240,2 @@

}
console.log('Build done!');
console.log(bundles.size);
if (bundles.size > 1) {

@@ -242,0 +242,0 @@ const outDir = options['out-dir'];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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