Socket
Socket
Sign inDemoInstall

re2

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

re2 - npm Package Compare versions

Comparing version 1.20.9 to 1.20.10

vendor/abseil-cpp/absl/base/no_destructor_benchmark.cc

18

package.json
{
"name": "re2",
"version": "1.20.9",
"version": "1.20.10",
"description": "Bindings for RE2: fast, safe alternative to backtracking regular expression engines.",

@@ -10,5 +10,9 @@ "homepage": "https://github.com/uhop/node-re2",

"types": "re2.d.ts",
"directories": {
"test": "tests"
},
"files": [
"binding.gyp",
"lib",
"re2.d.ts",
"scripts/*.js",
"vendor"
],
"dependencies": {

@@ -20,5 +24,5 @@ "install-artifact-from-github": "^1.3.5",

"devDependencies": {
"@types/node": "^20.9.4",
"@types/node": "^20.11.24",
"heya-unit": "^0.3.0",
"typescript": "^5.3.2"
"typescript": "^5.3.3"
},

@@ -29,3 +33,3 @@ "scripts": {

"save-to-github": "save-to-github-cache --artifact build/Release/re2.node",
"install": "install-from-cache --artifact build/Release/re2.node --host-var RE2_DOWNLOAD_MIRROR --skip-path-var RE2_DOWNLOAD_SKIP_PATH --skip-ver-var RE2_DOWNLOAD_SKIP_VER || npm run rebuild",
"install": "install-from-cache --artifact build/Release/re2.node --host-var RE2_DOWNLOAD_MIRROR --skip-path-var RE2_DOWNLOAD_SKIP_PATH --skip-ver-var RE2_DOWNLOAD_SKIP_VER || node-gyp rebuild",
"verify-build": "node scripts/verify-build.js",

@@ -32,0 +36,0 @@ "rebuild": "node-gyp rebuild"

@@ -356,2 +356,3 @@ # node-re2 [![NPM version][npm-img]][npm-url]

- 1.20.10 *Updated deps. Removed files the pack used for development (thx, [Haruaki OTAKE](https://github.com/aaharu)). Added arm64 Linux prebilds (thx, [Christopher M](https://github.com/cmanou)). Fixed non-`npm` `corepack` problem (thx, [Steven](https://github.com/styfle)).*
- 1.20.9 *Updated deps. Added more `absail-cpp` files that manifested itself on NixOS. Thx, [Laura Hausmann](https://github.com/zotanmew).*

@@ -374,22 +375,2 @@ - 1.20.8 *Updated deps: `install-artifact-from-github`. A default HTTPS agent is used for fetching precompiled artifacts avoiding unnecessary long wait times.*

- 1.18.0 *Modified TS bindings, added a type test (thx, [Kenichi Kamiya](https://github.com/kachick) and [Jamie Magee](https://github.com/JamieMagee)).*
- 1.17.8 *Updated deps, added Node 19 as a pre-compilation target.*
- 1.17.7 *Added support for a cross-platform fetching of a pre-compiled version by updating [install-artifact-from-github](https://github.com/uhop/install-artifact-from-github).*
- 1.17.6 *Implemented `dotAll`. Thx [Michael Kriese](https://github.com/viceice).*
- 1.17.5 *Updated deps, updated test/build targets, implemented `matchAll()` (thx, [ThePendulum](https://github.com/ThePendulum) and [David Sichau](https://github.com/DavidSichau)).*
- 1.17.4 *Updated deps.*
- 1.17.3 *Fixed bug with zero-length replacements.*
- 1.17.2 *Added support for the enhanced local mirroring by updating [install-artifact-from-github](https://github.com/uhop/install-artifact-from-github).*
- 1.17.1 *Fix for `lastIndex` for U+10000 - U+10FFFF UTF characters. Thx, [omg](https://github.com/omg).*
- 1.17.0 *Updated GYP, added support for Node 17, updated deps.*
- 1.16.0 *Updated the compiler (thx, [Sergei Dyshel](https://github.com/sergei-dyshel)), updated GYP, removed support for Node 10, added support for Node 16, updated TS bindings (thx, [BannerBomb](https://github.com/BannerBomb)).*
- 1.15.9 *Updated deps.*
- 1.15.8 *Updated deps.*
- 1.15.7 *Updated deps.*
- 1.15.6 *Technical release: less dependencies for the build.*
- 1.15.5 *Updated deps. Fixed a `node2nix`-related problem (thx [malte-v](https://github.com/malte-v)).*
- 1.15.4 *Updated deps. Fixed a yarn-related bug (thx [Michael Kriese](https://github.com/viceice)).*
- 1.15.3 *Extracted caching artifacts to separate packages. Added support for `RE2_DOWNLOAD_MIRROR` environment variable for precompiled artifact download during installation.*
- 1.15.2 *Added `linux-musl` target for precompiled images (thx [Uzlopak](https://github.com/Uzlopak)).*
- 1.15.1 *Refreshed dependencies, updated the verification check on installation, general maintenance.*
- 1.15.0 *Fix for multiline expressions (thx [Frederic Rudman](https://github.com/frudman)), `toString()` uses `source` now, updated deps.*

@@ -396,0 +377,0 @@ The rest can be consulted in the project's wiki [Release history](https://github.com/uhop/node-re2/wiki/Release-history).

@@ -53,2 +53,3 @@ #

absl::meta
absl::nullability
PUBLIC

@@ -55,0 +56,0 @@ )

@@ -52,2 +52,3 @@ #

DEPS
absl::config
absl::core_headers

@@ -60,2 +61,13 @@ COPTS

NAME
no_destructor
HDRS
"no_destructor.h"
DEPS
absl::config
COPTS
${ABSL_DEFAULT_COPTS}
)
absl_cc_library(
NAME
nullability

@@ -160,3 +172,2 @@ HDRS

"thread_annotations.h"
"internal/thread_annotations.h"
COPTS

@@ -242,2 +253,3 @@ ${ABSL_DEFAULT_COPTS}

absl::log_severity
absl::nullability
absl::raw_logging_internal

@@ -471,2 +483,3 @@ absl::spinlock_wait

absl::core_headers
absl::nullability
PUBLIC

@@ -518,2 +531,16 @@ )

NAME
no_destructor_test
SRCS
"no_destructor_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::no_destructor
absl::config
absl::raw_logging_internal
GTest::gtest_main
)
absl_cc_test(
NAME
raw_logging_test

@@ -686,3 +713,2 @@ SRCS

"prefetch.h"
"internal/prefetch.h"
COPTS

@@ -694,3 +720,3 @@ ${ABSL_DEFAULT_COPTS}

absl::config
absl::core_headers # TODO(b/265984188): remove
absl::core_headers
)

@@ -703,3 +729,2 @@

"prefetch_test.cc"
"internal/prefetch_test.cc"
COPTS

@@ -706,0 +731,0 @@ ${ABSL_TEST_COPTS}

@@ -80,3 +80,2 @@ #

absl::core_headers
absl::counting_allocator
absl::flags

@@ -88,2 +87,3 @@ absl::hash_testing

absl::strings
absl::test_allocator
absl::test_instance_tracker

@@ -150,3 +150,2 @@ GTest::gmock_main

absl::fixed_array
absl::counting_allocator
absl::config

@@ -156,2 +155,3 @@ absl::exception_testing

absl::memory
absl::test_allocator
GTest::gmock_main

@@ -184,2 +184,3 @@ )

absl::compressed_tuple
absl::config
absl::core_headers

@@ -212,5 +213,5 @@ absl::memory

NAME
counting_allocator
test_allocator
HDRS
"internal/counting_allocator.h"
"internal/test_allocator.h"
COPTS

@@ -220,2 +221,3 @@ ${ABSL_DEFAULT_COPTS}

absl::config
GTest::gmock
)

@@ -234,3 +236,2 @@

absl::core_headers
absl::counting_allocator
absl::exception_testing

@@ -241,2 +242,3 @@ absl::hash_testing

absl::strings
absl::test_allocator
absl::test_instance_tracker

@@ -316,2 +318,3 @@ GTest::gmock_main

absl::hash_generator_testing
absl::type_traits
absl::unordered_map_constructor_test

@@ -351,2 +354,4 @@ absl::unordered_map_lookup_test

absl::check
absl::config
absl::container_memory
absl::flat_hash_set

@@ -459,4 +464,6 @@ absl::hash_generator_testing

absl::container_memory
absl::no_destructor
absl::strings
absl::test_instance_tracker
absl::type_traits
GTest::gmock_main

@@ -512,2 +519,3 @@ )

absl::meta
absl::no_destructor
absl::strings

@@ -591,2 +599,3 @@ TESTONLY

absl::common_policy_traits
absl::config
GTest::gmock_main

@@ -675,2 +684,3 @@ )

DEPS
absl::config
absl::hash_policy_traits

@@ -690,3 +700,5 @@ absl::node_slot_policy

DEPS
absl::config
absl::container_memory
absl::core_headers
absl::raw_hash_set

@@ -755,9 +767,14 @@ absl::throw_delegate

absl::flat_hash_set
absl::hash
absl::hash_function_defaults
absl::hash_policy_testing
absl::hashtable_debug
absl::hashtablez_sampler
absl::log
absl::memory
absl::prefetch
absl::raw_hash_set
absl::strings
absl::test_allocator
absl::type_traits
GTest::gmock_main

@@ -774,5 +791,5 @@ )

DEPS
absl::config
absl::raw_hash_set
absl::tracked
absl::core_headers
GTest::gmock_main

@@ -792,2 +809,3 @@ )

absl::core_headers
absl::debugging_internal
absl::meta

@@ -811,4 +829,4 @@ absl::strings

absl::config
absl::core_headers
absl::span
absl::utility
GTest::gmock_main

@@ -815,0 +833,0 @@ )

@@ -45,6 +45,4 @@ # Copyright 2022 The Abseil Authors.

absl::crc_cpu_detect
absl::base
absl::config
absl::core_headers
absl::dynamic_annotations
absl::endian

@@ -68,3 +66,3 @@ absl::prefetch

"internal/crc_memcpy_fallback.cc"
"internal/crc_memcpy_x86_64.cc"
"internal/crc_memcpy_x86_arm_combined.cc"
"internal/crc_non_temporal_memcpy.cc"

@@ -79,3 +77,2 @@ COPTS

absl::core_headers
absl::dynamic_annotations
absl::endian

@@ -82,0 +79,0 @@ absl::prefetch

@@ -172,2 +172,3 @@ #

absl::flat_hash_map
absl::no_destructor
)

@@ -204,8 +205,5 @@

flags
SRCS
"flag.cc"
HDRS
"declare.h"
"flag.h"
"internal/flag_msvc.inc"
COPTS

@@ -248,3 +246,2 @@ ${ABSL_DEFAULT_COPTS}

absl::flags_reflection
absl::flat_hash_map
absl::strings

@@ -251,0 +248,0 @@ absl::synchronization

@@ -111,1 +111,25 @@ #

)
absl_cc_library(
NAME
overload
HDRS
"overload.h"
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::meta
PUBLIC
)
absl_cc_test(
NAME
overload_test
SRCS
"overload_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::strings
GTest::gmock_main
)

@@ -71,14 +71,18 @@ #

DEPS
absl::btree
absl::cord_test_helpers
absl::hash
absl::hash_testing
absl::core_headers
absl::btree
absl::flat_hash_map
absl::flat_hash_set
absl::hash
absl::hash_testing
absl::int128
absl::memory
absl::meta
absl::node_hash_map
absl::node_hash_set
absl::optional
absl::spy_hash_state
absl::meta
absl::int128
absl::string_view
absl::variant
GTest::gmock_main

@@ -91,3 +95,3 @@ )

SRCS
"hash_test.cc"
"hash_instantiated_test.cc"
"internal/hash_test.h"

@@ -105,3 +109,3 @@ COPTS

absl::node_hash_set
GTest::gtest_main
GTest::gmock_main
)

@@ -108,0 +112,0 @@

@@ -160,2 +160,3 @@ # Copyright 2022 The Abseil Authors.

absl::log_internal_strip
absl::absl_vlog_is_on
)

@@ -242,2 +243,3 @@

absl::log_sink
absl::no_destructor
absl::raw_logging_internal

@@ -464,2 +466,7 @@ absl::synchronization

# Warning: Many linkers will strip the contents of this library because its
# symbols are only used in a global constructor. A workaround is for clients
# to link this using $<LINK_LIBRARY:WHOLE_ARCHIVE,absl::log_flags> instead of
# the plain absl::log_flags.
# TODO(b/320467376): Implement the equivalent of Bazel's alwayslink=True.
absl_cc_library(

@@ -486,2 +493,3 @@ NAME

absl::strings
absl::vlog_config_internal
PUBLIC

@@ -509,2 +517,3 @@ )

absl::strings
absl::vlog_config_internal
)

@@ -543,2 +552,3 @@

absl::log_internal_log_impl
absl::vlog_is_on
PUBLIC

@@ -680,2 +690,91 @@ )

absl_cc_library(
NAME
vlog_config_internal
SRCS
"internal/vlog_config.cc"
HDRS
"internal/vlog_config.h"
COPTS
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::config
absl::core_headers
absl::log_internal_fnmatch
absl::memory
absl::no_destructor
absl::strings
absl::synchronization
absl::optional
)
absl_cc_library(
NAME
absl_vlog_is_on
COPTS
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
HDRS
"absl_vlog_is_on.h"
DEPS
absl::vlog_config_internal
absl::config
absl::core_headers
absl::strings
)
absl_cc_library(
NAME
vlog_is_on
COPTS
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
HDRS
"vlog_is_on.h"
DEPS
absl::absl_vlog_is_on
)
absl_cc_test(
NAME
vlog_is_on_test
SRCS
"vlog_is_on_test.cc"
COPTS
${ABSL_TEST_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::log
absl::log_flags
absl::log_globals
absl::scoped_mock_log
absl::vlog_is_on
absl::log_severity
absl::flags
absl::optional
GTest::gmock_main
)
absl_cc_library(
NAME
log_internal_fnmatch
SRCS
"internal/fnmatch.cc"
HDRS
"internal/fnmatch.h"
COPTS
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::config
absl::strings
)
# Test targets

@@ -699,4 +798,3 @@

absl::status
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -724,4 +822,3 @@

absl::scoped_mock_log
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -745,4 +842,3 @@

absl::status
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -786,4 +882,3 @@

absl::scoped_mock_log
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -812,4 +907,3 @@

absl::time
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -839,4 +933,3 @@

absl::strings
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -861,3 +954,3 @@

absl::scoped_mock_log
GTest::gtest_main
GTest::gmock_main
)

@@ -882,4 +975,3 @@

absl::strings
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -901,4 +993,3 @@

absl::scoped_mock_log
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -926,3 +1017,3 @@

absl::strings
GTest::gtest_main
GTest::gmock_main
)

@@ -950,3 +1041,3 @@

absl::strings
GTest::gtest_main
GTest::gmock_main
)

@@ -972,4 +1063,3 @@

absl::time
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -1017,4 +1107,3 @@

absl::log_severity
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -1037,7 +1126,7 @@

absl::log_severity
absl::status
absl::strerror
absl::strings
absl::str_format
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)

@@ -1061,4 +1150,17 @@

absl::scoped_mock_log
GTest::gmock
GTest::gtest_main
GTest::gmock_main
)
absl_cc_test(
NAME
internal_fnmatch_test
SRCS
"internal/fnmatch_test.cc"
COPTS
${ABSL_TEST_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::log_internal_fnmatch
GTest::gmock_main
)

@@ -23,2 +23,3 @@ #

"internal/status_internal.h"
"internal/status_internal.cc"
"status.cc"

@@ -38,7 +39,11 @@ "status_payload_printer.h"

absl::inlined_vector
absl::memory
absl::no_destructor
absl::nullability
absl::optional
absl::raw_logging_internal
absl::span
absl::stacktrace
absl::strerror
absl::str_format
absl::strerror
absl::strings

@@ -58,2 +63,3 @@ absl::symbolize

absl::status
absl::str_format
absl::strings

@@ -75,7 +81,11 @@ GTest::gmock_main

absl::base
absl::status
absl::config
absl::core_headers
absl::has_ostream_operator
absl::nullability
absl::raw_logging_internal
absl::status
absl::str_format
absl::strings
absl::type_traits
absl::strings
absl::utility

@@ -96,3 +106,4 @@ absl::variant

absl::statusor
absl::strings
GTest::gmock_main
)

@@ -30,2 +30,3 @@ #

absl::core_headers
absl::nullability
absl::throw_delegate

@@ -42,2 +43,3 @@ PUBLIC

"escaping.h"
"has_absl_stringify.h"
"internal/damerau_levenshtein_distance.h"

@@ -83,2 +85,3 @@ "internal/string_constant.h"

absl::bits
absl::charset
absl::config

@@ -89,2 +92,3 @@ absl::core_headers

absl::memory
absl::nullability
absl::raw_logging_internal

@@ -96,2 +100,27 @@ absl::throw_delegate

absl_cc_library(
NAME
charset
HDRS
charset.h
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::core_headers
absl::string_view
PUBLIC
)
absl_cc_library(
NAME
has_ostream_operator
HDRS
"has_ostream_operator.h"
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::config
PUBLIC
)
# Internal-only target, do not depend on directly.

@@ -102,3 +131,2 @@ absl_cc_library(

HDRS
"internal/char_map.h"
"internal/escaping.cc"

@@ -147,2 +175,3 @@ "internal/escaping.h"

GTest::gmock_main
absl::check
)

@@ -152,2 +181,28 @@

NAME
has_absl_stringify_test
SRCS
"has_absl_stringify_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::optional
absl::strings
GTest::gmock_main
)
absl_cc_test(
NAME
has_ostream_operator_test
SRCS
"has_ostream_operator_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::has_ostream_operator
absl::optional
GTest::gmock_main
)
absl_cc_test(
NAME
ascii_test

@@ -340,9 +395,10 @@ SRCS

DEPS
absl::strings
absl::config
absl::core_headers
absl::int128
absl::log
absl::pow10_helper
absl::config
absl::log
absl::random_distributions
absl::random_random
absl::random_distributions
absl::strings
absl::strings_internal

@@ -367,9 +423,9 @@ GTest::gmock_main

NAME
char_map_test
charset_test
SRCS
"internal/char_map_test.cc"
"charset_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::strings_internal
absl::strings
GTest::gmock_main

@@ -430,3 +486,8 @@ )

DEPS
absl::config
absl::core_headers
absl::nullability
absl::span
absl::str_format_internal
absl::string_view
PUBLIC

@@ -462,2 +523,3 @@ )

absl::core_headers
absl::fixed_array
absl::inlined_vector

@@ -479,6 +541,8 @@ absl::numeric_representation

DEPS
absl::config
absl::cord
absl::core_headers
absl::span
absl::str_format
absl::cord
absl::strings
absl::core_headers
GTest::gmock_main

@@ -509,2 +573,3 @@ )

DEPS
absl::config
absl::str_format

@@ -547,8 +612,11 @@ absl::str_format_internal

DEPS
absl::strings
absl::str_format_internal
absl::config
absl::core_headers
absl::int128
absl::log
absl::raw_logging_internal
absl::int128
absl::span
absl::str_format
absl::str_format_internal
absl::strings
GTest::gmock_main

@@ -579,2 +647,4 @@ )

absl::str_format_internal
absl::string_view
absl::config
absl::core_headers

@@ -639,4 +709,2 @@ GTest::gmock_main

"internal/cord_rep_flat.h"
"internal/cord_rep_ring.h"
"internal/cord_rep_ring_reader.h"
SRCS

@@ -649,3 +717,2 @@ "internal/cord_internal.cc"

"internal/cord_rep_consume.cc"
"internal/cord_rep_ring.cc"
COPTS

@@ -939,7 +1006,8 @@ ${ABSL_DEFAULT_COPTS}

absl::core_headers
absl::crc32c
absl::crc_cord_state
absl::endian
absl::fixed_array
absl::function_ref
absl::inlined_vector
absl::nullability
absl::optional

@@ -1002,2 +1070,3 @@ absl::raw_logging_internal

absl::core_headers
absl::nullability
absl::strings

@@ -1024,4 +1093,6 @@ TESTONLY

absl::fixed_array
absl::function_ref
absl::hash
absl::log
absl::optional
absl::random_random

@@ -1122,34 +1193,2 @@ absl::str_format

NAME
cord_ring_test
SRCS
"cord_ring_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::base
absl::config
absl::cord_internal
absl::core_headers
absl::raw_logging_internal
absl::strings
GTest::gmock_main
)
absl_cc_test(
NAME
cord_ring_reader_test
SRCS
"cord_ring_reader_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::base
absl::cord_internal
absl::core_headers
absl::strings
GTest::gmock_main
)
absl_cc_test(
NAME
cordz_test

@@ -1162,2 +1201,3 @@ SRCS

absl::cord
absl::cord_internal
absl::cord_test_helpers

@@ -1164,0 +1204,0 @@ absl::cordz_test_helpers

@@ -118,2 +118,3 @@ #

absl::core_headers
absl::nullability
absl::throw_delegate

@@ -179,2 +180,3 @@ absl::type_traits

absl::memory
absl::nullability
absl::type_traits

@@ -245,57 +247,4 @@ absl::utility

# Internal-only target, do not depend on directly.
absl_cc_library(
NAME
conformance_testing
HDRS
"internal/conformance_aliases.h"
"internal/conformance_archetype.h"
"internal/conformance_profile.h"
"internal/conformance_testing.h"
"internal/conformance_testing_helpers.h"
"internal/parentheses.h"
"internal/transform_args.h"
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::algorithm
absl::debugging
absl::type_traits
absl::strings
absl::utility
GTest::gmock_main
TESTONLY
)
absl_cc_test(
NAME
conformance_testing_test
SRCS
"internal/conformance_testing_test.cc"
COPTS
${ABSL_TEST_COPTS}
${ABSL_EXCEPTIONS_FLAG}
LINKOPTS
${ABSL_EXCEPTIONS_FLAG_LINKOPTS}
DEPS
absl::conformance_testing
absl::type_traits
GTest::gmock_main
)
absl_cc_test(
NAME
conformance_testing_test_no_exceptions
SRCS
"internal/conformance_testing_test.cc"
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::conformance_testing
absl::type_traits
GTest::gmock_main
)
absl_cc_library(
NAME
variant

@@ -343,2 +292,3 @@ HDRS

DEPS
absl::config
absl::core_headers

@@ -345,0 +295,0 @@ absl::type_traits

@@ -36,2 +36,7 @@ #

# Honor the GTest_ROOT variable if specified
if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif (POLICY CMP0074)
# option() honor variables

@@ -57,3 +62,3 @@ if (POLICY CMP0077)

project(absl LANGUAGES CXX VERSION 20230802)
project(absl LANGUAGES CXX VERSION 20240116)
include(CTest)

@@ -226,16 +231,37 @@

# Rewrite options.h to use the compiled ABI.
file(READ "absl/base/options.h" ABSL_INTERNAL_OPTIONS_H_CONTENTS)
if (ABSL_INTERNAL_AT_LEAST_CXX17)
string(REGEX REPLACE
"#define ABSL_OPTION_USE_STD_([^ ]*) 2"
"#define ABSL_OPTION_USE_STD_\\1 1"
# Handle features that require at least C++20.
if (ABSL_INTERNAL_AT_LEAST_CXX20)
foreach(FEATURE "ORDERING")
string(REPLACE
"#define ABSL_OPTION_USE_STD_${FEATURE} 2"
"#define ABSL_OPTION_USE_STD_${FEATURE} 1"
ABSL_INTERNAL_OPTIONS_H_PINNED
"${ABSL_INTERNAL_OPTIONS_H_CONTENTS}")
else()
string(REGEX REPLACE
"#define ABSL_OPTION_USE_STD_([^ ]*) 2"
"#define ABSL_OPTION_USE_STD_\\1 0"
set(ABSL_INTERNAL_OPTIONS_H_CONTENTS "${ABSL_INTERNAL_OPTIONS_H_PINNED}")
endforeach()
endif()
# Handle features that require at least C++17.
if (ABSL_INTERNAL_AT_LEAST_CXX17)
foreach(FEATURE "ANY" "OPTIONAL" "STRING_VIEW" "VARIANT")
string(REPLACE
"#define ABSL_OPTION_USE_STD_${FEATURE} 2"
"#define ABSL_OPTION_USE_STD_${FEATURE} 1"
ABSL_INTERNAL_OPTIONS_H_PINNED
"${ABSL_INTERNAL_OPTIONS_H_CONTENTS}")
set(ABSL_INTERNAL_OPTIONS_H_CONTENTS "${ABSL_INTERNAL_OPTIONS_H_PINNED}")
endforeach()
endif()
# Any feature that still has the value of 2 (because it was not handled above)
# should be set to 0.
string(REGEX REPLACE
"#define ABSL_OPTION_USE_STD_([^ ]*) 2"
"#define ABSL_OPTION_USE_STD_\\1 0"
ABSL_INTERNAL_OPTIONS_H_PINNED
"${ABSL_INTERNAL_OPTIONS_H_CONTENTS}")
file(WRITE "${CMAKE_BINARY_DIR}/options-pinned.h" "${ABSL_INTERNAL_OPTIONS_H_PINNED}")

@@ -242,0 +268,0 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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