Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

basisjs-tools-build

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basisjs-tools-build - npm Package Versions

123

1.3.0

Diff

Changelog

Source

1.3.0 (February 16, 2016)

  • NEW: basic plugins support similar to dev-server (replacement for preprocess settings). See example basisjs-tools-babel-plugin by @wuzyk
    • preprocess and extFileTypes options aren't supported in basis.config anymore
  • NEW: support for srcset attribute on <img> and <source> elements (for HTML and templates)
  • extract: better warn message construct when process arguments from basis.dev.warn() and basis.dev.error()
  • lint: fix output warnings with no file (wrongly omit before)
lahmatiy
published 1.2.1 •

Changelog

Source

1.2.1 (January 21, 2016)

  • extract: don't warn on ids with no css rulesets for them (#3)
lahmatiy
published 1.2.0 •

Changelog

Source

1.2.0 (January 19, 2016)

  • lint: check for top level duplicate var declarations
  • build: don't exit on closure-compiler notify message about stdin input
  • extract: don't warn on unknown type for <script> (since could be used for templates)
  • bump dependencies
lahmatiy
published 1.1.0 •

Changelog

Source

1.1.0 (November 23, 2015)

  • build: new option --silent to prevent any output to stdout
  • build: new value none for --target option (prevents file writing to FS)
  • build: don't minimize id names when --css-optimize-names is using, since unsafe as tools don't found every id usage case for now
lahmatiy
published 1.0.2 •

Changelog

Source

1.0.2 (November 22, 2015)

  • extract: return paths reltaive to base
  • extract: remove old basis.js l10n support in result (prior to 1.0)
  • extract: fix require resolving for paths w/o extension for basis.js 1.5
lahmatiy
published 1.0.1 •

Changelog

Source

1.0.1 (November 10, 2015)

  • bump csso version to 1.4.2

1.0 (November 8, 2015)

Initial release as separate module

extract

  • output app profile by default
  • doesn't create any file anymore
  • to output extract log --target log should be used
  • remove none value for --target
  • no more AST modifications on extract (basis.resource, basis.require etc.)
  • make basis.js config parse error as fatal
  • support for images in <meta name="msapplication-*">
  • fix: exception on html extract when <link> has no href attribute
  • make template isolate prefix reproducible (preparation for script and style freeze, basis.js support required)
  • take in account special comment (/* basisjs-tools:disable-warnings */) in css to avoid warnings for this file
  • improve warnings about missed files
  • warn on broken links (fatal) in some missed hard cases (didn't check before):
    • reference by namespace in template, i.e. <b:include src="foo.bar"/>
    • broken links in markup l10n tokens (warn doesn't add to flow)
  • drop support for basis.l10n v1 (basis.js prior 1.0)
  • add some checks for duplicate parameter/property names in strint mode
  • add some ES6 globals to dict

build

  • return promise
  • add support to work as child process
  • add parallel run support
  • add presets support
  • basic --single-file implementation
  • fix --css-inline-image option
  • remove zip target
  • make command multi-run ready
  • support for images in <meta name="msapplication-*">
  • prevent accident original files rewrite
  • compress implicit template names for l10n markup tokens (reduce build size)
  • don't set type="text/javascript" for <script> in resulting html

lint

  • return promise
  • add support to work as child process
  • add parallel run support
  • add presets support
  • make possible set default reporter (console) via option
  • implement junit reporter

Misc

  • new command find that resolve filename by basis.js file reference
  • trailing slash is not adding to --base and --output values
  • --output option available only for build command
  • new option --theme that specify what themes should used for result (all themes by default), for now it's just ignore warnings for not in list themes
  • remove options:
    • --js-build-mode
    • --(css-|js-)no-single-file
    • --css-cut-unused
    • --tmpl-pregenerate
    • --js-info
  • use basisjs-tools-ast and basisjs-tools-config as dependencies
  • strip code for basis.js prior 1.0 and related refactoring
  • set min node.js version to 0.12
  • many other bug fixes, improvements and refactoring
lahmatiy
published 1.0.0 •

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